PR symtab/15885
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-08-26 Doug Evans <dje@google.com>
2
3 PR symtab/15885
4 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
5 (clean): rm -f *.gdb-index *.with-index.
6 * gdb.dwarf2/gdb-index.exp: New testcase.
7
8 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
9 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
10 run_on_host. All callers updated.
11
12 2013-08-24 Yao Qi <yao@codesourcery.com>
13
14 * gdb.trace/entry-values.c (end): New
15 (main): Call end.
16 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
17 tracepoint and collect data. Test entry value is unavailable.
18
19 2013-08-24 Yao Qi <yao@codesourcery.com>
20
21 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
22 * gdb.trace/entry-values.c: New.
23 * gdb.trace/entry-values.exp: New.
24
25 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
26
27 PR gdb/15501
28 * gdb.base/ena-dis-br.exp: Add test to verify
29 enable/disable commands work correctly with
30 multiple arguments that include multiple locations.
31
32 2013-08-22 Samuel Bronson <naesten@gmail.com>
33
34 ARM Linux support for `catch syscall'.
35 * gdb.base/catch-syscall.exp: Test this on ARM now.
36 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
37
38 2013-08-22 Tom Tromey <tromey@redhat.com>
39
40 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
41 default addr_size.
42 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
43
44 2013-08-22 Tom Tromey <tromey@redhat.com>
45
46 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
47 standard_temp_file.
48
49 2013-08-22 Tom Tromey <tromey@redhat.com>
50
51 * gdb.arch/amd64-byte.exp: Use standard_testfile,
52 clean_restart.
53 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
54 * gdb.arch/amd64-dword.exp: Use standard_testfile,
55 clean_restart.
56 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
57 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
58 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
59 * gdb.arch/amd64-word.exp: Use standard_testfile,
60 clean_restart.
61 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
62 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
63 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
64 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
65 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
66 * gdb.arch/i386-signal.exp: Use standard_testfile.
67 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
68 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
69 * gdb.arch/i386-unwind.exp: Use standard_testfile.
70 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
71
72 2013-08-22 Tom Tromey <tromey@redhat.com>
73
74 * gdb.python/py-error.exp: Use gdb_remote_download.
75 * gdb.python/py-mi.exp: Use gdb_remote_download.
76 * gdb.python/py-objfile-script.exp: Use standard_output_file.
77 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
78 (run_lang_tests): Likewise.
79 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
80 filename.
81 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
82 compiling. Use gdb_remote_download. Update some tests.
83 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
84 standard_output_file.
85 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
86 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
87 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
88 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
89 standard_output_file.
90
91 2013-08-22 Tom Tromey <tromey@redhat.com>
92
93 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
94
95 2013-08-22 Tom Tromey <tromey@redhat.com>
96
97 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
98 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
99 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
100 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
101 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
102 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
103 * lib/gdb.exp (gdb_remote_download): New proc.
104
105 2013-08-22 Tom Tromey <tromey@redhat.com>
106
107 * gdb.dwarf2/clztest.exp: Use standard_testfile.
108 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
109 * gdb.dwarf2/fission-base.S: Remove directory from
110 DW_AT_GNU_dwo_name.
111 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
112 debug-file-directory.
113 * gdb.dwarf2/fission-reread.S: Remove directory from
114 DW_AT_GNU_dwo_name.
115 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
116 debug-file-directory.
117
118 2013-08-16 Doug Evans <dje@google.com>
119
120 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
121 prelink complains about an unhandled DWARF version.
122
123 2013-08-14 Cary Coutant <ccoutant@google.com>
124
125 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
126
127 2013-08-13 Tom Tromey <tromey@redhat.com>
128 Yao Qi <yao@codesourcery.com>
129
130 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
131 * lib/gdb.exp: Handle GDB_PARALLEL.
132 (default_gdb_version): Kill inotify_pid if it exists.
133 (default_gdb_exit): Emit warning if the inotify log is not
134 empty.
135 (standard_output_file): Respect GDB_PARALLEL.
136 (standard_temp_file): Likewise.
137 (gdb_init): Start inotifywait if requested.
138
139 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
140
141 * gdb.base/printcmds.exp (test_printf): Add test for printf of
142 pointer with various flags.
143
144 2013-08-13 Tom Tromey <tromey@redhat.com>
145
146 * lib/cache.exp: New file.
147 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
148 * lib/gdb.exp: Load cache.exp.
149 (support_complex_tests, is_ilp32_target, is_lp64_target)
150 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
151 (gdb_skip_xml_test): Use gdb_caching_proc.
152 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
153
154 2013-08-13 Tom Tromey <tromey@redhat.com>
155
156 * lib/gdb.exp (standard_temp_file): New proc.
157 (support_complex_tests, is_ilp32_target, is_lp64_target)
158 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
159 standard_temp_file.
160
161 2013-08-13 Tom Tromey <tromey@redhat.com>
162
163 * lib/gdb.exp (build_id_debug_filename_get): Use
164 standard_output_file.
165 * lib/prelink-support.exp (section_get)
166 (build_executable_own_libs): Use standard_output_file.
167
168 2013-08-12 Tom Tromey <tromey@redhat.com>
169
170 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
171
172 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
173
174 * gdb.base/break.exp: Test break via convenience variable
175 with file name.
176
177 2013-08-09 Doug Evans <dje@google.com>
178
179 * lib/future.exp (gdb_find_ldd): New proc.
180 * lib/prelink-support.exp (build_executable_own_libs): Call it.
181 Make "/usr/sbin/" in prelink path optional.
182
183 2013-08-09 Yao Qi <yao@codesourcery.com>
184
185 * gdb.trace/collection.exp (gdb_collect_args_test): Set
186 "only" and "both" to 'print entry-values' before selecting
187 trace frame.
188
189 2013-08-08 Yao Qi <yao@codesourcery.com>
190
191 * gdb.trace/mi-trace-unavailable.exp: Don't set
192 "print entry-values" to "no".
193 (test_trace_unavailable): Set various values to
194 "print entry-values" to test that the output of
195 '-stack-list-locals' is not affected, and then set
196 set "print entry-values" to "no".
197
198 2013-08-07 Doug Evans <dje@google.com>
199
200 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
201 * gdb.python/py-value-cc.exp: Update.
202 * gdb.python/py-value.exp: Use different names for .o files for
203 C and C++. Only perform C++ tests if !skip_cplus_tests.
204
205 2013-08-07 Tom Tromey <tromey@redhat.com>
206
207 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
208
209 2013-08-07 Tom Tromey <tromey@redhat.com>
210
211 * gdb.dwarf2/dwz.exp: New file.
212
213 2013-08-02 Tom Tromey <tromey@redhat.com>
214
215 * gdb.base/watchpoint.c (struct foo5): New.
216 (nullptr): New global.
217 * gdb.base/watchpoint.exp (test_watch_location): Add test.
218
219 2013-08-01 Doug Evans <dje@google.com>
220
221 PR symtab/15691
222 * gdb.dwarf2/fission-mix.exp: New file.
223 * gdb.dwarf2/fission-mix.h: New file.
224 * gdb.dwarf2/fission-mix.c: New file.
225 * gdb.dwarf2/fission-mix2.c: New file.
226
227 PR symtab/15695
228 * gdb.base/func-ptr.exp: New file.
229 * gdb.base/func-ptr.c: New file.
230
231 2013-08-01 Yao Qi <yao@codesourcery.com>
232
233 * gdb.python/py-sync-interp.c: New.
234 * gdb.python/py-sync-interp.exp: New.
235
236 2013-07-31 Yao Qi <yao@codesourcery.com>
237
238 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
239 'tdump' on stack frame 0 and 1 respectively.
240
241 2013-07-31 Yao Qi <yao@codesourcery.com>
242
243 PR gdb/13443
244 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
245 'traceframe'. Wrap test with with_test_prefix.
246 (top level): Update.
247
248 2013-07-31 Yao Qi <yao@codesourcery.com>
249
250 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
251 'gdb_start'.
252 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
253 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
254
255 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
256
257 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
258 when printing an optimized out value. Expect an error when using
259 an optimized out value in an expression.
260
261 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
262
263 * gdb.dwarf2/pieces-optimized-out.exp: New file.
264 * gdb.dwarf2/pieces-optimized-out.c: New file.
265 * gdb.dwarf2/pieces-optimized-out.S: New file.
266
267 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
268
269 PR gdb/15715
270 * gdb.base/setshow.exp: Test that relative paths passed to
271 'set history filename' are converted to absolute paths.
272
273 2013-07-26 Keith Seitz <keiths@redhat.com>
274
275 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
276 of f77.
277 Allow for compiler variations of integer types.
278 Use mi_create_varobj.
279 Use mi_list_varobj_children for the immediate children of `array'.
280 Add "has_more" attribute for grandchildren test.
281
282 2013-07-26 Pedro Alves <palves@redhat.com>
283
284 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
285 files.
286
287 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
288
289 * gdb.mi/mi-reg-undefined.exp: New file.
290 * gdb.mi/mi-reg-undefined.c: Likewise.
291 * gdb.mi/mi-reg-undefined.S: Likewise.
292
293 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
294
295 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
296 z, o, and t output formats.
297 * gdb.base/display.exp: Use 'k' as an undefined format now that
298 'z' is defined.
299
300 2013-07-24 Doug Evans <dje@google.com>
301
302 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
303 "--" to switch.
304
305 2013-07-24 Yao Qi <yao@codesourcery.com>
306
307 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
308 host.
309 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
310 Likewise. If host is remote, copy ${binfile} to host.
311
312 2013-07-23 Yao Qi <yao@codesourcery.com>
313
314 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
315 message.
316
317 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
318
319 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
320 instructions and enable disp-step-syscall for arm targets.
321
322 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
323
324 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
325 assembler errors on arm.
326 * gdb.dwarf2/mac-fileno.S: Likewise.
327 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
328 * gdb.dwarf2/pr13961.S: Likewise.
329
330 2013-07-19 Hui Zhu <hui@codesourcery.com>
331
332 PR gdb/15692
333 * gdb.mi/mi-dprintf.exp: Add double quotes test.
334
335 2013-07-19 Yao Qi <yao@codesourcery.com>
336
337 * gdb.trace/read-memory.exp (test_from_remote): Update test.
338 (teset_from_exec): Likewise.
339
340 2013-07-19 Yao Qi <yao@codesourcery.com>
341
342 * gdb.trace/read-memory.c: New.
343 * gdb.trace/read-memory.exp: New.
344
345 2013-07-19 Yao Qi <yao@codesourcery.com>
346
347 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
348 $dest to link options if host is remote. Move the
349 generated file to $dest.a on host if host is remote.
350
351 2013-07-18 Will Newton <will.newton@linaro.org>
352
353 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
354 to ensure the test is linked against pthreads.
355 * gdb.threads/tls-var-main.c: Likewise.
356 * gdb.threads/tls-shared.c: Likewise.
357
358 2013-07-18 Yao Qi <yao@codesourcery.com>
359
360 * lib/future.exp (gdb_default_target_compile): Use tail name
361 of $destfile as the output name of compile. Move the
362 generated file to $destfile on build.
363
364 2013-07-18 Yao Qi <yao@codesourcery.com>
365
366 * lib/gdb.exp (gdb_compile): Set
367 gdb_saved_set_unbuffered_mode_obj to
368 set_unbuffered_mode_saved.o if host is remote. Invoke
369 remote_download to copy $unbuf_obj to host.
370
371 2013-07-17 Doug Evans <dje@google.com>
372
373 * gdb.python/py-frame-args.c: New file.
374 * gdb.python/py-frame-args.py: New file.
375 * gdb.python/py-frame-args.exp New file.
376
377 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
378
379 * gdb.base/printcmds.exp (test_printf): Add tests for format
380 strings with missing format specifier.
381
382 2013-07-16 Tom Tromey <tromey@redhat.com>
383
384 * gdb.ada/info_types.exp: Use standard_testfile.
385
386 2013-07-16 Tom Tromey <tromey@redhat.com>
387
388 * gdb.mi/mi-basics.exp: Use standard_output_file.
389 (test_dir_specification, test_cwd_specification)
390 (test_path_specification): Use testsubdir, not subdir and objdir.
391
392 2013-07-16 Tom Tromey <tromey@redhat.com>
393
394 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
395
396 2013-07-09 Joel Brobecker <brobecker@adacore.com>
397
398 * gdb.ada/small_reg_param.exp: Accept optional entry value
399 for parameter "w".
400
401 2013-07-09 Joel Brobecker <brobecker@adacore.com>
402
403 * gdb.ada/small_reg_param.exp: Remove trailing space.
404
405 2013-07-09 Doug Evans <dje@google.com>
406
407 * gdb.base/default.exp: Update expected output of "show print array"
408 and "show print pretty".
409
410 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
411
412 * gdb.threads/wp-replication.exp: Stop counting available hardware
413 watchpoints after NR_THREADS iterations.
414
415 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
416
417 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
418
419 2013-07-07 Yao Qi <yao@codesourcery.com>
420
421 * boards/native-gdbserver.exp: Move invoke of
422 process_multilib_options to gdbserver-base.exp.
423 Move set_board_info 'compiler', 'gdb,noinferiorio',
424 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
425 gdbserver-base.exp.
426 Move proc ${board}_download, ${board}_upload and
427 ${board}_file to gdbserver-base.exp.
428 * boards/native-extended-gdbserver.exp: Likewise.
429 * boards/native-stdio-gdbserver.exp: Likewise.
430 * boards/gdbserver-base.exp: New file.
431
432 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
433
434 * gdb.base/dump.exp: Remove arch-specific tests and do a
435 generic data address check to set is64bitonly correctly.
436
437 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
438
439 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
440 the register number instead of expecting only 0.
441
442 2013-07-05 Will Newton <will.newton@linaro.org>
443
444 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
445 in asm syntax to allow building on ARM.
446
447 2013-07-05 Yao Qi <yao@codesourcery.com>
448
449 * boards/local-remote-host.exp: Remove obsolete comments.
450 * boards/native-extended-gdbserver.exp: Likewise.
451 * boards/native-gdbserver.exp: Likewise.
452 * boards/native-stdio-gdbserver.exp: Likewise.
453
454 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
455
456 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
457 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
458 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
459
460 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.base/break-on-linker-gcd-function.exp: Replace
463 prepare_for_testing by build_executable_from_specs and clean_restart.
464
465 2013-06-27 Tom Tromey <tromey@redhat.com>
466
467 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
468 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
469 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
470 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
471 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
472 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
473 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
474 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
475 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
476 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
477 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
478 Use standard_testfile, standard_output_file, prepare_for_testing,
479 clean_restart.
480
481 2013-06-27 Tom Tromey <tromey@redhat.com>
482
483 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
484 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
485 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
486 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
487 gdb.base/shreloc.exp, gdb.base/sigall.exp,
488 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
489 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
490 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
491 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
492 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
493 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
494 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
495 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
496 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
497 gdb.base/solib-weak.exp, gdb.base/source.exp,
498 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
499 gdb.base/stap-probe.exp, gdb.base/start.exp,
500 gdb.base/step-break.exp, gdb.base/step-bt.exp,
501 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
502 gdb.base/step-test.exp, gdb.base/structs.exp,
503 gdb.base/structs2.exp, gdb.base/structs3.exp,
504 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
505 standard_output_file, prepare_for_testing, clean_restart.
506
507 2013-06-27 Tom Tromey <tromey@redhat.com>
508
509 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
510 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
511 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
512 gdb.base/pending.exp, gdb.base/permissions.exp,
513 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
514 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
515 gdb.base/printcmds.exp, gdb.base/prologue.exp,
516 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
517 gdb.base/ptype.exp, gdb.base/randomize.exp,
518 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
519 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
520 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
521 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
522 standard_testfile, standard_output_file, prepare_for_testing,
523 clean_restart.
524
525 2013-06-27 Tom Tromey <tromey@redhat.com>
526
527 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
528 gdb.base/huge.exp, gdb.base/included.exp,
529 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
530 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
531 gdb.base/info-os.exp, gdb.base/info-proc.exp,
532 gdb.base/info-target.exp, gdb.base/infoline.exp,
533 gdb.base/interp.exp, gdb.base/interrupt.exp,
534 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
535 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
536 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
537 gdb.base/logical.exp, gdb.base/long_long.exp,
538 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
539 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
540 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
541 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
542 standard_testfile, standard_output_file, prepare_for_testing,
543 clean_restart.
544
545 2013-06-27 Tom Tromey <tromey@redhat.com>
546
547 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
548 gdb.base/enumval.exp, gdb.base/environ.exp,
549 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
550 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
551 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
552 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
553 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
554 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
555 gdb.base/fullname.exp, gdb.base/funcargs.exp,
556 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
557 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
558 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
559 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
560 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
561 gdb.base/gnu_vector.exp: Use standard_testfile,
562 standard_output_file, prepare_for_testing, clean_restart.
563
564 2013-06-27 Tom Tromey <tromey@redhat.com>
565
566 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
567 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
568 gdb.base/call-strs.exp, gdb.base/callexit.exp,
569 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
570 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
571 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
572 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
573 gdb.base/commands.exp, gdb.base/completion.exp,
574 gdb.base/complex.exp, gdb.base/cond-expr.exp,
575 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
576 gdb.base/constvars.exp, gdb.base/corefile.exp,
577 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
578 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
579 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
580 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
581 gdb.base/dup-sect.exp: Use standard_testfile,
582 standard_output_file, prepare_for_testing, clean_restart.
583
584 2013-06-27 Tom Tromey <tromey@redhat.com>
585
586 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
587 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
588 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
589 gdb.base/async-shell.exp, gdb.base/async.exp,
590 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
591 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
592 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
593 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
594 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
595 gdb.base/break-on-linker-gcd-function.exp,
596 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
597 standard_output_file, prepare_for_testing, clean_restart.
598
599 2013-06-26 Yao Qi <yao@codesourcery.com>
600
601 * gdb.trace/mi-trace-frame-collected.exp: New.
602
603 2013-06-25 Yao Qi <yao@codesourcery.com>
604
605 * boards/native-extended-gdbserver.exp: Set board_info
606 'gdb,predefined_tsv'.
607 * boards/native-gdbserver.exp: Likewise.
608 * boards/native-stdio-gdbserver.exp: Likewise.
609 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
610 uploaded TSVs if target supports tracing.
611 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
612 tracing and target has predefined tsv.
613
614 2013-06-25 Yao Qi <yao@codesourcery.com>
615 Hui Zhu <hui@codesourcery.com>
616 Pedro Alves <palves@redhat.com>
617
618 PR breakpoints/15075
619 PR breakpoints/15434
620 * gdb.base/dprintf-next.c: New file.
621 * gdb.base/dprintf-next.exp: New file.
622 * gdb.base/dprintf-non-stop.c: New file.
623 * gdb.base/dprintf-non-stop.exp: New file.
624 * gdb.base/dprintf.exp: Don't check "continue" in the output
625 of "info breakpoints".
626 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
627 Don't check "continue" in script field.
628
629 2013-06-21 Tom Tromey <tromey@redhat.com>
630
631 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
632 name in a test name.
633
634 2013-06-20 Yao Qi <yao@codesourcery.com>
635
636 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
637 and set an action.
638 (test_trace_unavailable): Test command -data-list-register-values
639 in the context of traceframe and with option --skip-unavailable.
640 * gdb.trace/trace-unavailable.c (foo): New.
641 (main): Call it.
642 * gdb.mi/gdb2549.exp: Update matching pattern.
643
644 2013-06-19 Mike Frysinger <vapier@gentoo.org>
645
646 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
647 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
648 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
649 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
650 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
651
652 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
653
654 * gdb.base/subst.exp: Delete default rules before further
655 tests.
656
657 2013-06-19 Yao Qi <yao@codesourcery.com>
658
659 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
660 unsupported if it is not registered.
661
662 2013-06-18 Tom Tromey <tromey@redhat.com>
663
664 * gdb.base/random-signal.c: New file.
665 * gdb.base/random-signal.exp: New file.
666
667 2013-06-18 Will Newton <will.newton@linaro.org>
668
669 * gdb.base/skip.c: Use comma to evaluate results of foo()
670 and bar() before passing to baz().
671 * gdb.base/skip.c: baz() now takes one argument instead of
672 two.
673
674 2013-06-18 Tom Tromey <tromey@redhat.com>
675
676 * gdb.dwarf2/implptrpiece.exp: New file.
677 * gdb.dwarf2/implptrconst.exp (d): New variable.
678 Print d.
679 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
680
681 2013-06-18 Tom Tromey <tromey@redhat.com>
682
683 * lib/selftest-support.exp (do_self_tests): Reject remote or
684 non-native targets.
685 * gdb.gdb/complaints.exp: Remove check.
686 * gdb.gdb/observer.exp: Remove check.
687 * gdb.gdb/xfullpath.exp: Remove check.
688 * gdb.gdb/complaints.exp: Remove check.
689
690 2013-06-07 Pedro Alves <palves@redhat.com>
691
692 * boards/native-extended-gdbserver.exp: Remove semicolon.
693 * config/arm-ice.exp: Likewise.
694 * config/bfin.exp: Likewise.
695 * config/cygmon.exp: Likewise.
696 * config/h8300.exp: Likewise.
697 * config/monitor.exp: Likewise.
698 * config/sid.exp: Likewise.
699 * config/sim.exp: Likewise.
700 * config/slite.exp: Likewise.
701 * config/vx.exp: Likewise.
702 * gdb.arch/i386-bp_permanent.exp: Likewise.
703 * gdb.asm/asm-source.exp: Likewise.
704 * gdb.base/args.exp: Likewise.
705 * gdb.base/attach-pie-misread.exp: Likewise.
706 * gdb.base/auxv.exp: Likewise.
707 * gdb.base/bigcore.exp: Likewise.
708 * gdb.base/bitfields2.exp: Likewise.
709 * gdb.base/bitfields.exp: Likewise.
710 * gdb.base/break.exp: Likewise.
711 * gdb.base/break-interp.exp: Likewise.
712 * gdb.base/callfuncs.exp: Likewise.
713 * gdb.base/call-sc.exp: Likewise.
714 * gdb.base/commands.exp: Likewise.
715 * gdb.base/corefile.exp: Likewise.
716 * gdb.base/dbx.exp: Likewise.
717 * gdb.base/ending-run.exp: Likewise.
718 * gdb.base/exprs.exp: Likewise.
719 * gdb.base/funcargs.exp: Likewise.
720 * gdb.base/hbreak2.exp: Likewise.
721 * gdb.base/huge.exp: Likewise.
722 * gdb.base/list.exp: Likewise.
723 * gdb.base/memattr.exp: Likewise.
724 * gdb.base/overlays.exp: Likewise.
725 * gdb.base/printcmds.exp: Likewise.
726 * gdb.base/recurse.exp: Likewise.
727 * gdb.base/remotetimeout.exp: Likewise.
728 * gdb.base/reread.exp: Likewise.
729 * gdb.base/savedregs.exp: Likewise.
730 * gdb.base/scope.exp: Likewise.
731 * gdb.base/sepdebug.exp: Likewise.
732 * gdb.base/setshow.exp: Likewise.
733 * gdb.base/setvar.exp: Likewise.
734 * gdb.base/sigaltstack.exp: Likewise.
735 * gdb.base/siginfo-addr.exp: Likewise.
736 * gdb.base/siginfo.exp: Likewise.
737 * gdb.base/siginfo-obj.exp: Likewise.
738 * gdb.base/sigrepeat.exp: Likewise.
739 * gdb.base/sigstep.exp: Likewise.
740 * gdb.base/structs.exp: Likewise.
741 * gdb.base/testenv.exp: Likewise.
742 * gdb.base/twice.exp: Likewise.
743 * gdb.base/valgrind-db-attach.exp: Likewise.
744 * gdb.base/valgrind-infcall.exp: Likewise.
745 * gdb.base/varargs.exp: Likewise.
746 * gdb.base/watchpoint.exp: Likewise.
747 * gdb.cp/gdb1355.exp: Likewise.
748 * gdb.cp/misc.exp: Likewise.
749 * gdb.disasm/hppa.exp: Likewise.
750 * gdb.disasm/t01_mov.exp: Likewise.
751 * gdb.disasm/t02_mova.exp: Likewise.
752 * gdb.disasm/t03_add.exp: Likewise.
753 * gdb.disasm/t04_sub.exp: Likewise.
754 * gdb.disasm/t05_cmp.exp: Likewise.
755 * gdb.disasm/t06_ari2.exp: Likewise.
756 * gdb.disasm/t07_ari3.exp: Likewise.
757 * gdb.disasm/t08_or.exp: Likewise.
758 * gdb.disasm/t09_xor.exp: Likewise.
759 * gdb.disasm/t10_and.exp: Likewise.
760 * gdb.disasm/t11_logs.exp: Likewise.
761 * gdb.disasm/t12_bit.exp: Likewise.
762 * gdb.disasm/t13_otr.exp: Likewise.
763 * gdb.gdb/selftest.exp: Likewise.
764 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
765 * gdb.mi/mi-reverse.exp: Likewise.
766 * gdb.pascal/floats.exp: Likewise.
767 * gdb.python/py-inferior.exp: Likewise.
768 * gdb.threads/attach-into-signal.exp: Likewise.
769 * gdb.threads/pthreads.exp: Likewise.
770 * gdb.threads/thread_events.exp: Likewise.
771 * gdb.threads/watchthreads.exp: Likewise.
772 * gdb.trace/actions-changed.exp: Likewise.
773 * gdb.trace/actions.exp: Likewise.
774 * gdb.trace/ax.exp: Likewise.
775 * gdb.trace/backtrace.exp: Likewise.
776 * gdb.trace/change-loc.exp: Likewise.
777 * gdb.trace/deltrace.exp: Likewise.
778 * gdb.trace/disconnected-tracing.exp: Likewise.
779 * gdb.trace/ftrace.exp: Likewise.
780 * gdb.trace/infotrace.exp: Likewise.
781 * gdb.trace/passc-dyn.exp: Likewise.
782 * gdb.trace/passcount.exp: Likewise.
783 * gdb.trace/pending.exp: Likewise.
784 * gdb.trace/qtro.exp: Likewise.
785 * gdb.trace/range-stepping.exp: Likewise.
786 * gdb.trace/report.exp: Likewise.
787 * gdb.trace/save-trace.exp: Likewise.
788 * gdb.trace/status-stop.exp: Likewise.
789 * gdb.trace/strace.exp: Likewise.
790 * gdb.trace/tfile.exp: Likewise.
791 * gdb.trace/tfind.exp: Likewise.
792 * gdb.trace/trace-break.exp: Likewise.
793 * gdb.trace/tracecmd.exp: Likewise.
794 * gdb.trace/trace-mt.exp: Likewise.
795 * gdb.trace/tspeed.exp: Likewise.
796 * gdb.trace/tsv.exp: Likewise.
797 * gdb.trace/while-stepping.exp: Likewise.
798 * lib/gdb.exp: Likewise.
799 * lib/gdbserver-support.exp: Likewise.
800 * lib/java.exp: Likewise.
801 * lib/mi-support.exp: Likewise.
802 * lib/pascal.exp: Likewise.
803 * lib/prompt.exp: Likewise.
804 * lib/trace-support.exp: Likewise.
805
806 2013-06-07 Pedro Alves <palves@redhat.com>
807
808 * gdb.ada/info_types.c: Fix formating in copyright header.
809 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
810 * gdb.base/float.c: Likewise.
811 * gdb.base/inferior-died.c: Likewise.
812 * gdb.base/interp.c: Likewise.
813 * gdb.base/jit-main.c: Likewise.
814 * gdb.base/jit-solib.c: Likewise.
815 * gdb.base/long_long.c: Likewise.
816 * gdb.base/longjmp.c: Likewise.
817 * gdb.base/nextoverexit.c: Likewise.
818 * gdb.base/pr11022.c: Likewise.
819 * gdb.base/prelink-lib.c: Likewise.
820 * gdb.base/prelink.c: Likewise.
821 * gdb.base/prologue.c: Likewise.
822 * gdb.base/restore.c: Likewise.
823 * gdb.base/sigchld.c: Likewise.
824 * gdb.base/solib-search-lib1.c: Likewise.
825 * gdb.base/solib-search-lib2.c: Likewise.
826 * gdb.base/solib-search.c: Likewise.
827 * gdb.base/solib-search.h: Likewise.
828 * gdb.base/whatis.c: Likewise.
829 * gdb.cp/abstract-origin.cc: Likewise.
830 * gdb.cp/anon-struct.cc: Likewise.
831 * gdb.cp/baseenum.cc: Likewise.
832 * gdb.cp/bs15503.cc: Likewise.
833 * gdb.cp/call-c-1.c: Likewise.
834 * gdb.cp/call-c.cc: Likewise.
835 * gdb.cp/class2.cc: Likewise.
836 * gdb.cp/classes.cc: Likewise.
837 * gdb.cp/cttiadd.cc: Likewise.
838 * gdb.cp/cttiadd1.cc: Likewise.
839 * gdb.cp/cttiadd2.cc: Likewise.
840 * gdb.cp/cttiadd3.cc: Likewise.
841 * gdb.cp/derivation.cc: Likewise.
842 * gdb.cp/derivation2.cc: Likewise.
843 * gdb.cp/dispcxx.cc: Likewise.
844 * gdb.cp/exception.cc: Likewise.
845 * gdb.cp/gdb2384-base.cc: Likewise.
846 * gdb.cp/gdb2384-base.h: Likewise.
847 * gdb.cp/gdb2384.cc: Likewise.
848 * gdb.cp/gdb2495.cc: Likewise.
849 * gdb.cp/mb-inline.h: Likewise.
850 * gdb.cp/mb-inline1.cc: Likewise.
851 * gdb.cp/mb-inline2.cc: Likewise.
852 * gdb.cp/member-name.cc: Likewise.
853 * gdb.cp/member-ptr.cc: Likewise.
854 * gdb.cp/misc.cc: Likewise.
855 * gdb.cp/namespace1.cc: Likewise.
856 * gdb.cp/nextoverthrow.cc: Likewise.
857 * gdb.cp/pr-574.cc: Likewise.
858 * gdb.cp/pr9631.cc: Likewise.
859 * gdb.cp/printmethod.cc: Likewise.
860 * gdb.cp/psmang1.cc: Likewise.
861 * gdb.cp/psmang2.cc: Likewise.
862 * gdb.cp/psymtab-parameter.cc: Likewise.
863 * gdb.cp/ptype-flags.cc: Likewise.
864 * gdb.cp/ref-params.cc: Likewise.
865 * gdb.cp/ref-types.cc: Likewise.
866 * gdb.cp/smartp.cc: Likewise.
867 * gdb.cp/try_catch.cc: Likewise.
868 * gdb.cp/userdef.cc: Likewise.
869 * gdb.cp/using-crash.cc: Likewise.
870 * gdb.cp/virtfunc.cc: Likewise.
871 * gdb.cp/virtfunc2.cc: Likewise.
872 * gdb.dwarf2/callframecfa.S: Likewise.
873 * gdb.dwarf2/dw2-ranges.c: Likewise.
874 * gdb.dwarf2/dw2-ranges2.c: Likewise.
875 * gdb.dwarf2/dw2-ranges3.c: Likewise.
876 * gdb.dwarf2/dw2-restore.S: Likewise.
877 * gdb.dwarf2/pieces.S: Likewise.
878 * gdb.dwarf2/valop.S: Likewise.
879 * gdb.java/jnpe.java: Likewise.
880 * gdb.mi/mi-stepn.c: Likewise.
881 * gdb.mi/mi-var-cp.cc: Likewise.
882 * gdb.mi/mi-var-rtti.cc: Likewise.
883 * gdb.mi/ns-stale-regcache.c: Likewise.
884 * gdb.mi/pr11022.c: Likewise.
885 * gdb.mi/solib-lib.c: Likewise.
886 * gdb.mi/solib-main.c: Likewise.
887 * gdb.python/py-arch.c: Likewise.
888 * gdb.python/py-block.c: Likewise.
889 * gdb.python/py-breakpoint.c: Likewise.
890 * gdb.python/py-events.c: Likewise.
891 * gdb.python/py-evthreads.c: Likewise.
892 * gdb.python/py-explore.c: Likewise.
893 * gdb.python/py-explore.cc: Likewise.
894 * gdb.python/py-finish-breakpoint.c: Likewise.
895 * gdb.python/py-finish-breakpoint2.cc: Likewise.
896 * gdb.python/py-symbol.c: Likewise.
897 * gdb.threads/execl.c: Likewise.
898 * gdb.threads/execl1.c: Likewise.
899
900 2013-06-07 Will Newton <will.newton@linaro.org>
901
902 * gdb.base/long_long.exp: Fix ARM EABI target glob.
903
904 2013-06-07 Will Newton <will.newton@linaro.org>
905
906 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
907 and "starting".
908
909 2013-06-07 Will Newton <will.newton@linaro.org>
910
911 * gdb.cp/anon-struct.exp: Conditionalize constructor and
912 destructor prototypes for ARM ABI.
913 * gdb.cp/m-static.exp: Likewise.
914
915 2013-06-07 Yao Qi <yao@codesourcery.com>
916
917 * gdb.trace/mi-trace-unavailable.exp: New.
918 * gdb.trace/trace-unavailable.c: New.
919
920 2013-06-06 Doug Evans <dje@google.com>
921
922 * gdb.cp/derivation.exp: Make tests have unique names.
923
924 2013-06-06 Tom Tromey <tromey@redhat.com>
925
926 * gdb.base/dump.exp (capture_value): Don't put expression into
927 test name if arguments passed in.
928 Rename a couple more tests to make them unique.
929
930 2013-06-06 Tom Tromey <tromey@redhat.com>
931
932 * gdb.base/break-always.exp: Explicitly specify test name.
933
934 2013-06-05 Doug Evans <dje@google.com>
935 Keith Seitz <keiths@redhat.com>
936
937 * gdb.cp/derivation2.cc: New file.
938 * gdb.cp/derivation.cc (main): Call foo2.
939 * gdb.cp/derivation.exp: Add tests for typedefs in another
940 file, and when there's an active block.
941
942 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
943
944 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
945 from targets that use function descriptors in the virtual tables.
946 Handle presence of dot symbols.
947
948 2013-06-04 Gary Benson <gbenson@redhat.com>
949
950 * gdb.base/break-probes.exp: New file.
951 * gdb.base/break-probes.c: Likewise.
952 * gdb.base/break-probes-solib.c: Likewise.
953 * gdb.base/info-shared.exp: New file.
954 * gdb.base/info-shared.c: Likewise.
955 * gdb.base/info-shared-solib1.c: Likewise.
956 * gdb.base/info-shared-solib2.c: Likewise.
957
958 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
959 Gary Benson <gbenson@redhat.com>
960
961 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
962 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
963 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
964 to be set to "no" to indicate that no ld.so copy should be made.
965 * gdb.base/break-interp.exp (solib_bp): New constant.
966 (reach_1): Use the above instead of "_dl_debug_state".
967 (test_attach): Likewise.
968 (test_ld): Likewise.
969 * gdb.threads/dlopen-libpthread.exp: New file.
970 * gdb.threads/dlopen-libpthread.c: Likewise.
971 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
972 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
973
974 2013-05-30 Yao Qi <yao@codesourcery.com>
975
976 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
977 Add a test that no MI notification is emitted when executing
978 -exec-arguments.
979
980 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
981
982 PR testsuite/12649
983 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
984 $mi_gdb_prompt expectation by mi_expect_stop.
985 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
986 (mi info dprintf second time): Replace them by mi_send_resuming_command
987 and mi_expect_stop.
988
989 2013-05-24 Gary Benson <gbenson@redhat.com>
990
991 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
992 backslash.
993 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
994 backslashes.
995 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
996 backslash.
997
998 2013-05-24 Yao Qi <yao@codesourcery.com>
999
1000 * gdb.trace/tfile.exp: Test inferior and thread.
1001
1002 2013-05-24 Yao Qi <yao@codesourcery.com>
1003 Pedro Alves <palves@redhat.com>
1004
1005 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1006 test fails.
1007 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1008 Return 0 if the test passes, otherwise return 1.
1009
1010 2013-05-23 Doug Evans <dje@google.com>
1011
1012 * boards/fission-dwp.exp: New file.
1013
1014 2013-05-23 Yao Qi <yao@codesourcery.com>
1015 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.base/range-stepping.c: New file.
1018 * gdb.base/range-stepping.exp: New file.
1019 * gdb.trace/range-stepping.c: New file.
1020 * gdb.trace/range-stepping.exp: New file.
1021 * lib/range-stepping-support.exp: New file.
1022
1023 2013-05-22 Tom Tromey <tromey@redhat.com>
1024
1025 * gdb.cp/class2.cc (main): New local 'aref'.
1026 * gdb.cp/class2.exp: Check printing of 'aref'.
1027
1028 2013-05-22 Doug Evans <dje@google.com>
1029
1030 * gdb.threads/wp-replication.c (main): Insert some code at the start
1031 to ensure the breakpoint on main is only hit once. Fix comment.
1032
1033 2013-05-21 Keith Seitz <keiths@redhat.com>
1034 Pedro Alves <palves@redhat.com>
1035
1036 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1037 gdb_expect.
1038 Add test to flush the remaining input buffer so that this
1039 file passes testsuite/12649.
1040
1041 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1042
1043 * gdb.base/catch-signal-fork.exp: New file.
1044 * gdb.base/catch-signal-fork.c: New file.
1045
1046 2013-05-21 Sterling Augustine <saugustine@google.com>
1047
1048 * boards/remote-stdio-gdbserver.exp: New file.
1049
1050 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 PR testsuite/12649
1053 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1054 racy matches.
1055
1056 2013-05-21 Christian Groessler <chris@groessler.org>
1057
1058 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1059 since it's not supported in all shells.
1060
1061 2013-05-21 Hui Zhu <hui@codesourcery.com>
1062
1063 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1064 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1065
1066 2013-05-20 Doug Evans <dje@google.com>
1067
1068 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1069 (_handle_DW_TAG): Use it.
1070 (cu, tu): Replace parameters is_64, version, addr_size with options.
1071 All callers updated. Add Fission support.
1072 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1073 * gdb.dwarf2/method-ptr.exp: Ditto.
1074 * gdb.dwarf2/nostaticblock.exp: Ditto.
1075 * gdb.dwarf2/subrange.exp: Ditto.
1076 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1077
1078 2013-05-20 Tom Tromey <tromey@redhat.com>
1079
1080 * gdb.gdb/python-selftest.exp: New file.
1081
1082 2013-05-20 Doug Evans <dje@google.com>
1083
1084 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1085 -fdebug-types-section.
1086
1087 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1088
1089 * gdb.ada/float_param: New testcase.
1090
1091 2013-05-17 Doug Evans <dje@google.com>
1092
1093 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1094 Add tests for "maint check-symtabs", "maint expand-symtabs".
1095
1096 * gdb.base/maint.exp: Remove testing of individual maint command
1097 help output.
1098
1099 2013-05-16 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1102 comment. Use gdb_test_no_output.
1103
1104 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1105
1106 * gdb.ada/complete.exp: Add test verifying completion using
1107 the "tab" key.
1108
1109 2013-05-15 Keith Seitz <keiths@redhat.com>
1110
1111 * gdb.base/filesym.exp: New completer test.
1112 * gdb.base/filesym.c: New file.
1113
1114 2013-05-15 Pedro Alves <palves@redhat.com>
1115
1116 * gdb.base/fixsection.c: Remove attribution.
1117 * gdb.base/watch-read.exp: Ditto.
1118
1119 2013-05-13 Tom Tromey <tromey@redhat.com>
1120
1121 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1122 size and change type sizes to 4 bytes.
1123
1124 2013-05-13 Tom Tromey <tromey@redhat.com>
1125
1126 * gdb.base/exprs.exp (test_expr): Add regression test.
1127 * gdb.base/exprs.c (null_t_struct): New global.
1128
1129 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1130
1131 * gdb.base/default.exp: Disable history saving.
1132 * gdb.base/setshow.exp: Likewise.
1133
1134 2013-05-10 Pedro Alves <palves@redhat.com>
1135
1136 PR remote/15455
1137
1138 * gdb.trace/qtro.c: New file.
1139 * gdb.trace/qtro.exp: New file.
1140
1141 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1142
1143 * gdb.python/py-framefilter.py: New File.
1144 * gdb.python/py-framefilter-mi.exp: Ditto.
1145 * gdb.python/py-framefilter.c: Ditto.
1146 * gdb.python/py-framefilter-mi.exp: Ditto.
1147 * gdb.python/py-framefilter-mi.c: Ditto,
1148 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1149
1150 2013-05-08 Tom Tromey <tromey@redhat.com>
1151
1152 * gdb.base/solib-search.exp: Set test name for "set
1153 solib-search-path" test.
1154
1155 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1156
1157 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1158 (set_a_tracepoint): Set tracepoint before prologue.
1159 (run_trace_experiment): Test setup_tracepoints and 'break end'
1160 in it.
1161 (trace_buffer_normal): Remove.
1162 (gdb_trace_circular_tests): Remove. Move tests to...
1163 (top level): ...here. Call 'runto_main' before checking for
1164 trace support. Use commands to check the support for circular
1165 trace buffer and changing of trace buffer size. Add test
1166 to calculate size of single frame. Use this size to
1167 calculate the size of trace buffer. Use 'tfind pc func9'
1168 instead of 'tfind 9'. Use 'with_test_prefix'.
1169
1170 2013-05-07 Tom Tromey <tromey@redhat.com>
1171
1172 * lib/selftest-support.exp: New file.
1173 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1174 do_self_tests.
1175 (setup_test, find_gdb): Remove.
1176 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1177 do_self_tests.
1178 (setup_test, find_gdb): Remove.
1179 (test_observer): Don't call setup_test. Remove argument.
1180 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1181 (find_gdb): Remove.
1182 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1183 do_self_tests.
1184 (setup_test, find_gdb): Remove.
1185 (test_with_self): Don't call setup_test. Remove argument.
1186
1187 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1188
1189 * gdb.arch/system-gcore.exp: Remove.
1190 * gdb.arch/gcore.c: Remove.
1191 * gdb.base/gcore.exp: Add "info reg system".
1192
1193 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1194
1195 PR breakpoints/15413:
1196 * gdb.base/pending.exp: Add test for completion of the "condition"
1197 command for pending breakpoints.
1198 * gdb.linespec/linespec.ex: Add test for completion of the
1199 "condition" command when dealing with multiple locations.
1200
1201 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1202
1203 * gdb.threads/wp-replication.c: New file.
1204 * gdb.threads/wp-replication.exp: New file.
1205
1206 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1207
1208 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1209
1210 2013-05-06 Doug Evans <dje@google.com>
1211
1212 * gdb.base/solib-search-lib1.c: New file.
1213 * gdb.base/solib-search-lib2.c: New file.
1214 * gdb.base/solib-search.c: New file.
1215 * gdb.base/solib-search.h: New file.
1216 * gdb.base/solib-search.exp: New file.
1217
1218 * lib/gdb.exp (gdb_core_cmd): New function.
1219 * gdb.arch/system-gcore.exp: Use it.
1220 * gdb.arch/vsx-regs.exp: Ditto.
1221 * gdb.base/gcore.exp: Ditto.
1222 * gdb.threads/gcore-thread.exp: Ditto.
1223
1224 * gdb.reverse/shr.h: New file.
1225 * gdb.reverse/shr1.c: New file.
1226 * gdb.reverse/shr2.c: #include "shr.h".
1227 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1228 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1229 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1230 Update tests using sleep/printf to use shr2.sl instead.
1231 * gdb.reverse/solib-reverse.exp: Ditto.
1232
1233 2013-05-06 Tom Tromey <tromey@redhat.com>
1234
1235 * gdb.dwarf2/implptrconst.c: New file.
1236 * gdb.dwarf2/implptrconst.exp: New file.
1237 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1238 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1239 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1240
1241 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1242
1243 * gdb.base/catch-sig.c (main): Raise SIGINT.
1244 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1245
1246 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1247
1248 * status-stop.exp (test_tstart_tstart): Check for error
1249 returned by the second 'tstart' command.
1250
1251 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1252
1253 * gdb.xml/maint_print_struct.exp: New file.
1254 * gdb.xml/maint_print_struct.xml: New file.
1255
1256 2013-04-25 Tom Tromey <tromey@redhat.com>
1257
1258 * gdb.dwarf2/nostaticblock.exp: New file.
1259
1260 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1261
1262 PR gdb/10462
1263 * gdb.base/setshow.exp: Add test case.
1264
1265 2013-04-23 Hui Zhu <hui@codesourcery.com>
1266
1267 PR gdb/15293
1268 * gdb.base/dprintf.exp: Add ignore command.
1269
1270 2013-04-23 Hui Zhu <hui@codesourcery.com>
1271
1272 PR gdb/15165
1273 * gdb.base/save-bp.exp: Add test for dprintf.
1274
1275 2013-04-22 Tom Tromey <tromey@redhat.com>
1276
1277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1278 notice_open_fds.
1279
1280 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1281
1282 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1283 ldflags.
1284
1285 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1286
1287 * gdb.arch/arm-bl-branch-dest.c: New file.
1288 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1289
1290 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1291 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.arch/i386-float.S: New file.
1294 * gdb.arch/i386-float.exp: New file.
1295
1296 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1297
1298 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1299 type void *.
1300
1301 2013-04-17 Doug Evans <dje@google.com>
1302
1303 * lib/dwarf.exp (Dwarf): New proc "tu".
1304 * gdb.dwarf2/missing-sig-type.exp: New file.
1305
1306 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1307
1308 Add option to link testcases with Pthreads library when
1309 using 'prepare_for_testing' in tests.
1310
1311 * lib/gdb.exp (build_executable_from_specs): Use
1312 gdb_compile_pthreads to compile if option "pthreads" is
1313 specified.
1314
1315 2013-04-15 Tom Tromey <tromey@redhat.com>
1316
1317 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1318
1319 2013-04-15 Tom Tromey <tromey@redhat.com>
1320
1321 * gdb.base/default.exp: Update for $_exception.
1322 * gdb.cp/exceptprint.cc: New file.
1323 * gdb.cp/exceptprint.exp: New file.
1324 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1325
1326 2013-04-15 Tom Tromey <tromey@redhat.com>
1327
1328 * gdb.cp/typeid.cc: New file.
1329 * gdb.cp/typeid.exp: New file.
1330
1331 2013-04-15 Tom Tromey <tromey@redhat.com>
1332
1333 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1334
1335 2013-04-13 Yao Qi <yao@codesourcery.com>
1336
1337 * gdb.base/completion.exp: Test completion of command
1338 'target ctf' if target ctf is supported.
1339
1340 2013-04-10 Pedro Alves <palves@redhat.com>
1341
1342 * gdb.base/completion.exp: Test "set height", "set listsize" and
1343 "set trace-buffer-size" completion.
1344 * gdb.base/setshow.exp: Test "set height unlimited".
1345 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1346 unlimited".
1347
1348 2013-04-10 Yao Qi <yao@codesourcery.com>
1349
1350 * gdb.trace/actions.exp: Save trace data to CTF.
1351 Change to ctf target if GDB supports, read CTF data in ctf
1352 target, and check the actions of tracepoints.
1353 * gdb.trace/while-stepping.exp: Likewise.
1354 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1355 format and read CTF trace file if GDB supports.
1356 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1357 target is supported, change to ctf target, read trace data and
1358 check output of command "tstatus".
1359 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1360 read CTF data by target ctf and call check_tsv.
1361
1362 2013-04-10 Yao Qi <yao@codesourcery.com>
1363
1364 * gdb.trace/actions.exp (check_tracepoint): New.
1365 (top level): Start the tracing and check the actions of
1366 tracepoints. Save trace data to tfile format. Restart GDB
1367 and read trace file in tfile target. Check the actions of
1368 tracepoints again.
1369 * gdb.trace/while-stepping.exp: Likewise.
1370
1371 2013-04-10 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.trace/report.exp: Use standard_output_file for saved
1374 trace file.
1375
1376 2013-04-10 Hui Zhu <hui@codesourcery.com>
1377
1378 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1379 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1380 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1381
1382 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1383
1384 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1385 response.
1386
1387 2013-04-08 Pedro Alves <palves@redhat.com>
1388
1389 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1390 the location.
1391
1392 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1393
1394 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1395 for breakpoint location.
1396
1397 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1398
1399 * gdb.linespec/linespec.exp: Make dir/file:line tests
1400 conditional for non-remote hosts only.
1401
1402 2013-04-04 Stan Shebs <stan@codesourcery.com>
1403 Pedro Alves <palves@redhat.com>
1404
1405 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1406 * gdb.trace/actions-changed.c: New file.
1407 * gdb.trace/actions-changed.exp: New file.
1408 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1409 (gdb_trace_setactions_command): ... this. Add "actions_command"
1410 parameter, and handle it.
1411 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1412
1413 2013-04-04 Yao Qi <yao@codesourcery.com>
1414
1415 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1416 'step'.
1417
1418 2013-04-03 Yao Qi <yao@codesourcery.com>
1419
1420 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1421 "tfile-basic.tf".
1422 (test_tfind_tfile): Likewise.
1423
1424 2013-04-03 Yao Qi <yao@codesourcery.com>
1425
1426 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1427 "tfile-basic.tf" instead of "basic.tf".
1428 (write_error_trace_file): Pass argument "tfile-error.tf"
1429 instead of "error.tf".
1430 * gdb.trace/tfile.exp: Update tfile names to
1431 "tfile-basic.tf" and "tfile-error.tf".
1432
1433 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1434
1435 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1436 empty directory in file for breakpoint hit.
1437
1438 2013-03-29 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.base/completion.exp: Test completion of commands
1441 "target core", "target tfile" and "target exec".
1442 * gdb.trace/tfile.exp: Test completion of command
1443 "target tfile".
1444
1445 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.ada/win_fu_syms: New testcase.
1448
1449 2013-03-28 Doug Evans <dje@google.com>
1450
1451 * gdb.base/maint.exp (maint print statistics): Update expected output.
1452
1453 2013-03-28 Pedro Alves <palves@redhat.com>
1454
1455 PR gdb/15294
1456
1457 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1458 mean unlimited instead of $arg < 0.
1459 (test_listsize): Remove "listsize of 0 suppresses output" test.
1460 Test that "set listsize 0" ends up with an unlimited listsize.
1461
1462 2013-03-28 Pedro Alves <palves@redhat.com>
1463
1464 * gdb.base/list.exp (last_line): New global.
1465 (last_line_re): New global.
1466 (test_listsize, test_list_function, test_list_forward)
1467 (test_repeat_list_command, test_list_range)
1468 (test_list_filename_and_function): Use them.
1469 * gdb.base/list0.c: Comment the last line of the file with "last
1470 line".
1471
1472 2013-03-28 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1475 list the whole file.
1476
1477 2013-03-28 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1480 "set listsize".
1481
1482 2013-03-26 Keith Seitz <keiths@redhat.com>
1483
1484 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1485 from passing.
1486
1487 2013-03-26 Pedro Alves <palves@redhat.com>
1488
1489 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1490 until after GDB has run.
1491
1492 2013-03-26 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1495 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1496
1497 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1498
1499 * gdb.btrace/enable.exp: Add regression test.
1500
1501 2013-03-25 Tom Tromey <tromey@redhat.com>
1502
1503 * gdb.cp/m-static.exp: Add destructor-printing tests.
1504
1505 2013-03-25 Tom Tromey <tromey@redhat.com>
1506
1507 * gdb.cp/m-static.exp: Add constructor ptype tests.
1508 * gdb.cp/m-static.cc (single_constructor): New class.
1509 (main): Make instance of single_constructor.
1510
1511 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1512 Pedro Alves <palves@redhat.com>
1513
1514 * gdb.server/server-kill.c: New file.
1515 * gdb.server/server-kill.exp: New file.
1516
1517 2013-03-21 Pedro Alves <palves@redhat.com>
1518
1519 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1520 Expect $gdb_prompt in gdb_test_multiple.
1521
1522 2013-03-21 Doug Evans <dje@google.com>
1523
1524 * gdb.base/maint.exp: Update tests for per-command stats.
1525
1526 2013-03-21 Tom Tromey <tromey@redhat.com>
1527
1528 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1529 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1530
1531 2013-03-20 Pedro Alves <palves@redhat.com>
1532
1533 PR gdb/15289
1534
1535 * gdb.base/remote.exp: Test
1536 "set remote hardware-watchpoint-limit -1",
1537 "set remote hardware-breakpoint-limit -1",
1538 "set remote hardware-watchpoint-limit 2147483647" and
1539 "set remote hardware-breakpoint-limit 2147483647".
1540
1541 2013-03-20 Pedro Alves <palves@redhat.com>
1542 Yao Qi <yao@codesourcery.com>
1543
1544 * gdb.trace/tfile.c: Add comments.
1545 (nonconstglob): New global.
1546 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1547 global that is not covered by the trace frame. Test
1548 disassembling.
1549
1550 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1551
1552 * gdb.base/valgrind-infcall.exp
1553 (continue #$continue_count) <remote connection closed>
1554 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1555 $valgrind_pid.
1556
1557 2013-03-15 Tom Tromey <tromey@redhat.com>
1558
1559 * gdb.cp/overload.cc (intintfunc): New.
1560 * gdb.cp/overload.exp: Add regression test.
1561
1562 2013-03-15 Yao Qi <yao@codesourcery.com>
1563
1564 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1565 using with_test_prefix.
1566 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1567 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1568 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1569 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1570 * gdb.base/break-interp.exp (test_core): Likewise.
1571 (test_attach_gdb): Likewise.
1572 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1573 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1574 Likewise.
1575 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1576 * gdb.base/jit.exp (one_jit_test): Likewise.
1577 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1578 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1579 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1580 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1581 Likewise.
1582 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1583 Likewise.
1584 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1585 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1586 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1587 (tracepoint_change_loc_2): Likewise.
1588 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1589 Likewise.
1590 (disconnected_tfind): Likewise.
1591 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1592 Likewise.
1593 (test_tfind_remote): Likewise.
1594 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1595 Likewise.
1596 (test_pending_resolved): Likewise.
1597 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1598 Likewise.
1599 (test_upload_tsv): Likewise.
1600 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1601 Likewise.
1602 (pending_tracepoint_works): Likewise.
1603 * gdb.trace/report.exp (use_collected_data): Likewise.
1604 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1605 Likewise.
1606 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1607 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1608 (strace_trace_on_same_addr): Likewise.
1609 (strace_trace_on_diff_addr): Likewise.
1610 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1611 (gdb_collect_locals_test): Likewise.
1612 (gdb_unavailable_registers_test): Likewise.
1613 (gdb_collect_globals_test): Likewise.
1614
1615 2013-03-15 Yao Qi <yao@codesourcery.com>
1616
1617 * gdb.base/condbreak.exp: Add semicolon back which was removed
1618 by my previous commit.
1619
1620 2013-03-14 Yao Qi <yao@codesourcery.com>
1621
1622 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1623 'return'.
1624 (gdb_target_monitor, gdb_load): Likewise.
1625 * config/sid.exp (gdb_load): Likewise.
1626 * config/slite.exp (gdb_load): Likewise.
1627 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1628 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1629 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1630 (single_step_until): Likewise.
1631 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1632 * gdb.arch/system-gcore.exp: Likewise.
1633 * gdb.base/bigcore.exp (extract_heap): Likewise.
1634 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1635 * gdb.base/call-ar-st.exp: Likewise.
1636 * gdb.base/call-rt-st.exp: Likewise.
1637 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1638 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1639 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1640 * gdb.base/corefile.exp: Likewise.
1641 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1642 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1643 * gdb.base/fixsection.exp: Likewise.
1644 * gdb.base/funcargs.exp: Likewise.
1645 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1646 * gdb.base/gcore-relro.exp: Likewise.
1647 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1648 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1649 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1650 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1651 * gdb.base/list.exp: Likewise.
1652 (set_listsize): Likewise.
1653 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1654 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1655 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1656 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1657 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1658 * gdb.base/setvar.exp: Likewise.
1659 (test_set): Likewise.
1660 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1661 * gdb.base/solib-overlap.exp: Likewise.
1662 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1663 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1664 * gdb.base/watchpoint.exp (initialize): Likewise.
1665 (test_simple_watchpoint): Likewise.
1666 (test_disabling_watchpoints): Likewise.
1667 (test_watchpoint_triggered_in_syscall): Likewise.
1668 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1669 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1670 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1671 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1672 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1673 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1674 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1675 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1676 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1677 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1678 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1679 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1680 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1681 * gdb.mi/gdb792.exp: Likewise.
1682 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1683 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1684 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1685 * gdb.threads/gcore-thread.exp: Likewise.
1686 (load_core): Likewise.
1687 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1688 (test_startup, check_control_c): Likewise.
1689 * gdb.threads/sigstep-threads.exp: Likewise.
1690 * gdb.threads/thread_check.exp: Likewise.
1691 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1692 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1693 (set_a_tracepoint, trace_buffer_normal): Likewise.
1694 (gdb_trace_circular_tests): Likewise.
1695 * gdb.trace/collection.exp: Likewise.
1696 * gdb.trace/disconnected-tracing.exp: Likewise.
1697 * gdb.trace/infotrace.exp: Likewise.
1698 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1699 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1700 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1701 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1702 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1703 * gdb.trace/stap-trace.exp: Likewise.
1704 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1705 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1706 * gdb.trace/trace-buffer-size.exp: Likewise.
1707 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1708 * gdb.trace/unavailable.exp: Likewise.
1709 * gdb.trace/while-dyn.exp: Likewise.
1710 * lib/fortran.exp (set_lang_fortran): Likewise.
1711 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1712 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1713 (default_gdb_start, get_compiler_info): Likewise.
1714 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1715 (get_debug_format, setup_xfail_format): Likewise.
1716 (rerun_to_main, gdb_skip_float_test): Likewise.
1717 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1718 * lib/java.exp (set_lang_java): Likewise.
1719 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1720 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1721 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1722 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1723 * lib/objc.exp (set_lang_objc): Likewise.
1724 * lib/pascal.exp (set_lang_pascal): Likewise.
1725 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1726 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1727 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1728
1729 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1730
1731 PR c++/15203
1732 PR c++/15210
1733 * gdb.cp/m-static.cc (keepalive_int): New function.
1734 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1735 * gdb.cp/m-static.exp: New test for `sintvar'.
1736
1737 2013-03-14 Yao Qi <yao@codesourcery.com>
1738
1739 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1740 of 'tstatus' into tstatus_output.
1741 (top level): Save the trace data to tfile. Read trace file in
1742 tfile target. Check the trace status.
1743
1744 2013-03-13 Yao Qi <yao@codesourcery.com>
1745
1746 * gdb.trace/tsv.exp (check_tsv): New.
1747 (top level): Save a tfile on current trace session. Call
1748 check_tsv on live target. Load the tfile with target tfile
1749 and call check_tsv again.
1750
1751 2013-03-13 Yao Qi <yao@codesourcery.com>
1752
1753 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1754 Replace some "gdb_test" with "gdb_test_no_output".
1755
1756 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1757
1758 * gdb.ada/expr_delims.exp: New file.
1759 * gdb.ada/expr_delims/foo.adb: New file.
1760 * gdb.ada/expr_delims/pck.ads: New file.
1761 * gdb.ada/expr_delims/pck.adb: New file.
1762
1763 2013-03-11 Keith Seitz <keiths@redhat.com>
1764
1765 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1766 both condition and thread. Then delete the watchpoint.
1767
1768 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1769
1770 * Makefile.in: Add btrace testsuite.
1771 * configure: Regenerated.
1772 * configure.ac: Add btrace testsuite.
1773 * gdb.btrace/Makefile.in: New file.
1774 * gdb.btrace/enable.c: New file.
1775 * gdb.btrace/enable.exp: New file.
1776 * gdb.btrace/function_call_history.c: New file.
1777 * gdb.btrace/function_call_history.exp: New file.
1778 * gdb.btrace/instruction_history.c: New file.
1779 * gdb.btrace/instruction_history.exp: New file.
1780 * gdb.btrace/instruction_history.S: New file.
1781 * lib/gdb.exp: Add btrace skip proc.
1782
1783 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1784
1785 Fix entry-values if the callee called a noreturn function.
1786 * gdb.arch/amd64-tailcall-noret.S: New file.
1787 * gdb.arch/amd64-tailcall-noret.c: New file.
1788 * gdb.arch/amd64-tailcall-noret.exp: New file.
1789
1790 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1791
1792 Fix entry-values in C++ across CUs.
1793 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1794 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1795 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1796 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1797 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1798
1799 2013-03-08 Stan Shebs <stan@codesourcery.com>
1800 Hafiz Abid Qadeer <abidh@codesourcery.com>
1801
1802 gdb/testsuite/
1803 * gdb.trace/trace-buffer-size.exp: New file.
1804 * gdb.trace/trace-buffer-size.c: New file.
1805
1806 2013-03-06 Pedro Alves <palves@redhat.com>
1807
1808 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1809 doesn't support the tested optional feature, call "unsupported"
1810 with the same test message as the "pass" case, instead of calling
1811 "pass" with a different message. Use the same text for the "fail"
1812 cases too.
1813
1814 2013-03-06 Yao Qi <yao@codesourcery.com>
1815
1816 * gdb.trace/tstatus.exp: Remove the invocation of
1817 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1818 (test_tracepoints): Don't set fast tracepoint.
1819 (top level): Don't check agent library is loaded or not.
1820
1821 2013-03-06 Yao Qi <yao@codesourcery.com>
1822
1823 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1824 parentheses by "\\".
1825
1826 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1827
1828 * gdb.linespec/base/one/thefile.cc (twodup): New.
1829 (m): Call it.
1830 * gdb.linespec/base/two/thefile.cc (dupname): New.
1831 (n): Call it.
1832 * gdb.linespec/break-ask.exp: New file.
1833 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1834
1835 2013-02-28 Yao Qi <yao@codesourcery.com>
1836
1837 * gdb.trace/report.exp: Move some code to ...
1838 (use_collected_data): New.
1839 (top level): Call use_collected_data once on the live target.
1840 Save at file of the current trace session, load it with target
1841 tfile, and call use_collected_data again.
1842
1843 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1844
1845 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1846
1847 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1848
1849 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1850 Add final kill of ${valgrind_pid}.
1851
1852 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1853
1854 * gdb.python/py-arch.c: New test case
1855 * gdb.python/py-arch.exp: New tests to test
1856 gdb.Architecture.disassemble
1857 * gdb.python/Makefile.in: Add py-arch to the list of
1858 EXECUTABLES.
1859
1860 2013-02-18 Tom Tromey <tromey@redhat.com>
1861
1862 * gdb.dwarf2/subrange.exp: New file.
1863
1864 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1865 Hafiz Abid Qadeer <abidh@codesourcery.com>
1866
1867 * gdb.trace/tfile.exp: Add test for -trace-status command.
1868
1869 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1870
1871 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1872 nanosleep by sleep.
1873
1874 2013-02-14 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1877
1878 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1879 Hafiz Abid Qadeer <abidh@codesourcery.com>
1880
1881 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1882
1883 2013-02-12 Tom Tromey <tromey@redhat.com>
1884
1885 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1886 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1887
1888 2013-02-12 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.base/catch-signal.c: Update copyright years.
1891 * gdb.base/catch-signal.exp: Update copyright years.
1892 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1893 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1894 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1895 * gdb.dwarf2/dw2-error.S: Update copyright years.
1896 * gdb.dwarf2/dw2-error.c: Update copyright years.
1897 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1898 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1899 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1900
1901 2013-02-12 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1904 message.
1905 * gdb.base/sigaltstack.exp: Ditto.
1906 * gdb.base/siginfo.exp: Ditto.
1907 * gdb.base/sizeof.exp: Ditto.
1908
1909 2013-02-12 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.mi/mi-basics.exp: Tweak intro comment.
1912 * gdb.mi/mi-break.exp: Tweak intro comment.
1913 * gdb.mi/mi-console.exp: Tweak intro comment.
1914 * gdb.mi/mi-file.exp: Tweak intro comment.
1915 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1916 * gdb.mi/mi-return.exp: Tweak intro comment.
1917 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1918 * gdb.mi/mi-until.exp: Tweak intro comment.
1919 * gdb.mi/mi-watch.exp: Tweak intro comment.
1920
1921 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1922
1923 * gdb.server/no-thread-db.exp: New file.
1924 * gdb.server/no-thread-db.c: New file.
1925 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1926
1927 2013-02-11 Doug Evans <dje@google.com>
1928
1929 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1930 two decfloats.
1931
1932 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1933
1934 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1935 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1936
1937 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1938
1939 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1940
1941 2013-02-06 Yao Qi <yao@codesourcery.com>
1942
1943 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1944 to ...
1945 (test_create_delete_modify_tsv): ... here. New test on modifying
1946 the initial value of a tsv.
1947
1948 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1949
1950 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1951 (cd .../rdir): ... here.
1952
1953 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1954
1955 * gdb.linespec/base/one/header.h: New file.
1956 * gdb.linespec/base/two/header.h: New file.
1957 * gdb.linespec/macro-relative.c: New file.
1958 * gdb.linespec/macro-relative.exp: New file.
1959
1960 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1961
1962 * gdb.base/fullpath-expand-func.c: New file.
1963 * gdb.base/fullpath-expand.c: New file.
1964 * gdb.base/fullpath-expand.exp: New file.
1965 * gdb.base/realname-expand-real.c: New file.
1966 * gdb.base/realname-expand.c: New file.
1967 * gdb.base/realname-expand.exp: New file.
1968
1969 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1972 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1973
1974 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1975
1976 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1977 (compare_filenames_for_search does not match)
1978 (compare_filenames_for_search does match): New tests.
1979
1980 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1981
1982 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1983
1984 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1987
1988 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1989
1990 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1991 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1992 ${binfile}.mini_debuginfo-debuglink and
1993 ${binfile}.mini_debuginfo-debuglink.xz.
1994
1995 2013-02-01 Tom Tromey <tromey@redhat.com>
1996
1997 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1998 attributes.
1999
2000 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2001 Tom Tromey <tromey@redhat.com>
2002
2003 * gdb.dwarf2/method-ptr.exp: Link with c++.
2004 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2005
2006 2013-01-31 Tom Tromey <tromey@redhat.com>
2007
2008 * gdb.base/jit.exp (compile_jit_test): New proc.
2009 Add PIE tests.
2010
2011 2013-01-31 Tom Tromey <tromey@redhat.com>
2012
2013 * gdb.dwarf2/method-ptr.cc: New file.
2014 * gdb.dwarf2/method-ptr.exp: New file.
2015
2016 2013-01-31 Tom Tromey <tromey@redhat.com>
2017
2018 * lib/dwarf.exp (namespace Dwarf): New.
2019
2020 2013-01-29 Tom Tromey <tromey@redhat.com>
2021
2022 * gdb.dwarf2/fission-reread.exp: Add unload test.
2023
2024 2013-01-28 Doug Evans <dje@google.com>
2025
2026 * gdb.dwarf2/fission-loclists.exp: New file.
2027 * gdb.dwarf2/fission-loclists.S: New file.
2028
2029 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 Code cleanup.
2032 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2033 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2034 and prepare_for_testing.
2035 * gdb.base/store.exp: Likewise.
2036
2037 2013-01-25 Tom Tromey <tromey@redhat.com>
2038
2039 * gdb.python/py-explore.exp: Expect the gdb prompt.
2040
2041 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2042
2043 * gdb.base/gnu_vector.c: New variable for use in tests.
2044 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2045 changes in scalar to vector casting and widening.
2046 * gdb.python/py-type.c: New variables for use in tests.
2047 * gdb.python/py-type.exp: Update vector related tests to reflect
2048 changes in scalar to vector casting and widening.
2049
2050 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2051
2052 * gdb.base/prologue-include.c: New file.
2053 * gdb.base/prologue-include.exp: New file.
2054 * gdb.base/prologue-include.h: New file.
2055
2056 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2057
2058 PR gdb/13443
2059 * gdb.mi/mi-var-block.exp: Make test messages unique.
2060
2061 2013-01-23 Tom Tromey <tromey@redhat.com>
2062
2063 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2064
2065 2013-01-23 Tom Tromey <tromey@redhat.com>
2066
2067 * gdb.cp/converts.cc (main): Initialize 'a'.
2068
2069 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2070
2071 * testsuite/gdb.python/frame.exp: Add a test for
2072 gdb.Frame.architecture() method.
2073
2074 2013-01-22 Pedro Alves <palves@redhat.com>
2075
2076 * gdb.base/annota1.exp (signal sent): No longer expect
2077 breakpoints-invalid.
2078 * gdb.cp/annota2.exp (continue until exit)
2079 (watch triggered on a.x): Ditto.
2080
2081 2013-01-22 Pedro Alves <palves@redhat.com>
2082
2083 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2084 Adjust tests to breakpoints-invalid changes.
2085 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2086 variables.
2087 Adjust tests to breakpoints-invalid changes.
2088
2089 2013-01-22 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/annota1.exp (annotate ignore count change): Add
2092 expected output for failure case.
2093
2094 2013-01-22 Tom Tromey <tromey@redhat.com>
2095
2096 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2097 call.
2098
2099 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2100
2101 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2102 * gdb.mi/mi-catch-load.exp: Ditto.
2103 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2104 Also handle 'thread' field.
2105 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2106 * gdb.mi/mi-watch.exp: Ditto.
2107 * lib/mi-support.exp: Ditto.
2108
2109 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2110
2111 * gdb.python/py-explore.exp: Improve a test
2112
2113 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2114
2115 * gdb.base/label.c (main): Correct the type of the second
2116 parameter.
2117
2118 2013-01-18 Tom Tromey <tromey@redhat.com>
2119
2120 * gdb.dwarf2/trace-crash.s: New file.
2121 * gdb.dwarf2/trace-crash.exp: New file.
2122
2123 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2124
2125 PR gdb/13443
2126 * gdb.base/checkpoint.exp: Update test messages to make them
2127 unique.
2128
2129 2013-01-18 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2132 output of 'info tracepoints'.
2133 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2134 Likewise.
2135 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2136 * gdb.trace/disconnected-tracing.c (struct foo): New.
2137
2138 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2139
2140 * gdb.dwarf2/dw2-dos-drive.S: New file.
2141 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2142
2143 2013-01-17 Doug Evans <dje@google.com>
2144
2145 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2146 CXX_FOR_TARGET.
2147
2148 * boards/cc-with-tweaks.exp: New file.
2149
2150 2013-01-17 Tom Tromey <tromey@redhat.com>
2151
2152 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2153
2154 2013-01-17 Pedro Alves <palves@redhat.com>
2155
2156 Merge dg-extract-results.sh from upstream (svn 195224).
2157
2158 2013-01-15 David Blaikie <dblaikie@gmail.com>
2159 * dg-extract-results.sh: Fix order of summary counts.
2160
2161 2013-01-15 David Blaikie <dblaikie@gmail.com>
2162 * dg-extract-results.sh: Constrain the start-of-log pattern.
2163
2164 2013-01-15 David Blaikie <dblaikie@gmail.com>
2165 * dg-extract-results.sh: Handle KPASSes.
2166
2167 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2168 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2169 of grep -q.
2170
2171 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2172
2173 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2174 interface.
2175 * gdb.base/jithost.c: New file.
2176 * gdb.base/jithost.h: New file.
2177 * gdb.base/jitreader.c : New file.
2178 * gdb.base/jit-protocol.h: New file.
2179
2180 2013-01-16 Tom Tromey <tromey@redhat.com>
2181
2182 * gdb.base/catch-signal.c: New file.
2183 * gdb.base/catch-signal.exp: New file.
2184
2185 2013-01-16 Tom Tromey <tromey@redhat.com>
2186
2187 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2188
2189 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2192
2193 2013-01-14 Tom Tromey <tromey@redhat.com>
2194
2195 * gdb.base/completion.exp: Add "set gnutarget" test.
2196
2197 2013-01-14 Tom Tromey <tromey@redhat.com>
2198
2199 * gdb.dwarf2/dw2-restrict.S: New file.
2200 * gdb.dwarf2/dw2-restrict.c: New file.
2201 * gdb.dwarf2/dw2-restrict.exp: New file.
2202
2203 2013-01-14 Tom Tromey <tromey@redhat.com>
2204
2205 * gdb.dwarf2/dw2-error.exp: New file.
2206 * gdb.dwarf2/dw2-error.c: New file.
2207 * gdb.dwarf2/dw2-error.S: New file.
2208
2209 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2210
2211 * gdb.cp/parse-lang.cc: New file.
2212 * gdb.cp/parse-lang.exp: New file.
2213
2214 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2217 (set substitute-path): New test.
2218 (fullname present): Remove content.
2219 (substituted fullname): New test.
2220
2221 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2222
2223 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2224 check. Move $gdb_py_is_py24 value check right after.
2225
2226 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2229 targets.
2230
2231 2013-01-11 Yao Qi <yao@codesourcery.com>
2232
2233 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2234 for dprintf.
2235 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2236 Check the fields in "=breakpoint-created" for dprintf.
2237
2238 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 * gdb.mi/mi-fullname-deleted.exp: New file.
2241
2242 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2243
2244 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2245 expected output.
2246 (info skip with pending file): Remove.
2247 (ignoring function in solib, info skip for function multiply): Update
2248 the expected output.
2249 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2250 (info skip (delete 1), info skip after disabling all)
2251 (info skip after enabling all, info skip after disabling 4 2-3)
2252 (info skip after enabling 2-3, info skip 2-3)
2253 (info skip after deleting 2 3): Update the expected output.
2254 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2255 statement to its initialization and return.
2256 * gdb.linespec/skip-two.exp: New file.
2257
2258 2012-12-19 Doug Evans <dje@google.com>
2259
2260 * gdb.base/maint.exp: Handle testing with .gdb_index.
2261
2262 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2263
2264 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2265 Cavium to FSF.
2266
2267 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2268
2269 * dg-extract-results.sh: Update contact info in copyright notice.
2270 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2271 GPL v3 or later. Update contact info.
2272 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2273 gdb.threads/watchpoint-fork-mt.c,
2274 gdb.threads/watchpoint-fork-parent.c,
2275 gdb.threads/watchpoint-fork-st.c,
2276 gdb.threads/watchpoint-fork.h: Likewise.
2277
2278 2012-12-15 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2281 'installed' field in '=breakpoint-modified'.
2282 (test_reconnect): Check 'installed' field in
2283 '=breakpoint-modified' and '=breakpoint-created'.
2284
2285 * gdb.trace/actions.exp: Update test for 'installed' field.
2286 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2287 (tracepoint_change_loc_2): Likewise.
2288 Check 'info tracepoint' display nothing else.
2289 * gdb.trace/deltrace.exp: Likewise.
2290 * gdb.trace/infotrace.exp: Likewise.
2291 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2292 Likewise.
2293 * gdb.trace/passcount.exp: Likewise.
2294 * gdb.trace/tracecmd.exp: Likewise.
2295 * gdb.trace/while-stepping.exp: Likewise.
2296
2297 2012-12-14 Tom Tromey <tromey@redhat.com>
2298
2299 * gdb.cp/member-name.exp: New file.
2300 * gdb.cp/member-name.cc: New file.
2301
2302 2012-12-14 Tom Tromey <tromey@redhat.com>
2303
2304 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2305
2306 2012-12-14 Doug Evans <dje@google.com>
2307
2308 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2309 DW_OP_GNU_implicit_pointer is section-relative.
2310
2311 2012-12-14 Tom Tromey <tromey@redhat.com>
2312
2313 * gdb.base/info-proc.exp: Add core file tests.
2314
2315 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2316
2317 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2318
2319 2012-12-13 Doug Evans <dje@google.com>
2320
2321 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2322 * gdb.multi/multi-arch.exp: Ditto.
2323
2324 2012-12-12 Keven Boell <keven.boell@intel.com>
2325
2326 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2327 catch load test library source file.
2328 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2329 load test source file.
2330 * gdb.mi/mi-catch-load.exp: New. Test file for
2331 basic MI -catch-load and -catch-unload tests.
2332
2333 2012-12-11 Paul Koning <paul_koning@dell.com>
2334
2335 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2336 exception.
2337 (_iterator_except): New function.
2338 (ArrayPrinter): Use _iterator function instead of local _iterator
2339 class for Python 3 compatibility.
2340 (NoStringContainerPrinter): Use _iterator_except instead of
2341 _iterator.
2342 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2343 execfile for Python 3 compatibility.
2344 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2345 format in error_prompt test.
2346
2347 2012-12-10 Paul Koning <paul_koning@dell.com>
2348
2349 * gdb.base/charset.exp: Change print syntax for Python 3
2350 compatibility.
2351 * gdb.python/py-block.exp: Ditto.
2352 * gdb.python/py-breakpoint.exp: Ditto.
2353 * gdb.python/py-cmd.exp: Ditto.
2354 * gdb.python/py-events.py: Ditto.
2355 * gdb.python/py-finish-breakpoint.py: Ditto.
2356 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2357 * gdb.python/py-finish-breakpoint2.py: Ditto.
2358 * gdb.python/py-frame-inline.exp: Ditto.
2359 * gdb.python/py-frame.exp: Ditto.
2360 * gdb.python/py-infthread.exp: Ditto.
2361 * gdb.python/py-objfile.exp: Ditto.
2362 * gdb.python/py-parameter.exp: Ditto.
2363 * gdb.python/py-progspace.exp: Ditto.
2364 * gdb.python/py-prompt.exp: Ditto.
2365 * gdb.python/py-symbol.exp: Ditto.
2366 * gdb.python/py-symtab.exp: Ditto.
2367 * gdb.python/py-template.exp: Ditto.
2368 * gdb.python/py-value-cc.exp: Ditto.
2369 * gdb.python/python.exp: Ditto.
2370 * gdb.python/source2.py: Ditto.
2371 * gdb.python/lib-types.exp: Change print syntax for Python 3
2372 compatibility.
2373 Use sorted() function rather than sort() method.
2374 Accept either int or long values for enum values.
2375 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2376 execfile for Python 3 compatibility.
2377 * gdb.python/py-evsignal.exp: Ditto.
2378 * gdb.python/py-evthreads.exp: Ditto.
2379 * gdb.python/py-mi.exp: Ditto.
2380 * gdb.python/py-pp-maint.exp: Ditto.
2381 * gdb.python/py-prettyprint.exp: Ditto.
2382 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2383 Python 3 compatibility.
2384 Skip tests for Python 2.4.
2385 * gdb.python/py-inferior.exp: Change print syntax for
2386 Python 3 compatibility.
2387 Use byte string rather than character string in memory write test
2388 if Python 3.
2389 * gdb.python/py-pp-maint.py: Change class declarations to "new
2390 class" syntax.
2391 * gdb.python/py-prettyprint.py: Change iterator class to generator
2392 function for Python 3 compatibility.
2393 Make all classes "new style".
2394 Fix indentation issue and stray semicolon.
2395 * gdb.python/py-shared.expChange print syntax for Python 3
2396 compatibility.
2397 Define "long" if Python 3.
2398 * gdb.python/py-type.exp: Change print syntax for Python 3
2399 compatibility.
2400 Accept either int or long values for enum values.
2401 * gdb.python/py-value.exp: Change print syntax for Python 3
2402 compatibility.
2403 Skip "long" and "unicode" tests if Python 3.
2404 Accept either "type" or "class" in type checks.
2405 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2406 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2407
2408 2012-12-10 Tom Tromey <tromey@redhat.com>
2409
2410 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2411 (test): Add "two_cu" argument.
2412 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2413 for types; allow two CUs.
2414
2415 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2418 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2419
2420 2012-12-08 Yao Qi <yao@codesourcery.com>
2421 Pedro Alves <palves@redhat.com>
2422
2423 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2424 '=breakpoint-created' when GDB merges the tracepoints of both
2425 sides.
2426
2427 2012-12-07 Tom Tromey <tromey@redhat.com>
2428
2429 * gdb.base/break1.c (enum some_enum, union some_union): New.
2430 (some_enum_global, some_union_global, some_value): New globals.
2431 * gdb.base/completion.exp: Add tag completion tests.
2432
2433 2012-12-07 Tom Tromey <tromey@redhat.com>
2434
2435 * gdb.base/completion.exp: Add tests for ptype and whatis
2436 completion.
2437
2438 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2439
2440 * gdb.base/stale-infcall.exp: Fix copyright line.
2441
2442 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2443
2444 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2445
2446 2012-12-06 Pedro Alves <palves@redhat.com>
2447 Tom Tromey <tromey@redhat.com>
2448
2449 * gdb.base/exprs.exp: Add tests for cast to void.
2450
2451 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2452
2453 * gdb.python/py-mi.exp: Correct expected results for attribute
2454 "dynamic" returned by -var-update.
2455 Add test case for correct handling of "diplayhint" for children
2456 of dynamic varobjs.
2457 * gdb.python/py-prettyprint.c (set_itme): New function.
2458 (bug_14741) New function.
2459 (main) Add call to bug_14741().
2460 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2461
2462 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2463
2464 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2465 ${binfile}.funcsyms list.
2466
2467 2012-12-04 Yao Qi <yao@codesourcery.com>
2468
2469 PR gdb/13443
2470 * gdb.trace/actions.exp: Make test messages unique.
2471
2472 2012-11-29 Tom Tromey <tromey@redhat.com>
2473
2474 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2475
2476 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2477
2478 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2479 * gdb.opencl/datatypes.exp: Likewise.
2480 * gdb.opencl/operators.exp: Likewise.
2481 * gdb.opencl/vec_comps.exp: Likewise.
2482
2483 2012-11-29 Jerome Guitton <guitton@adacore.com>
2484
2485 * gdb.ada/iwide: New testcase.
2486
2487 2012-11-29 Jerome Guitton <guitton@adacore.com>
2488
2489 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2490 ptype test.
2491
2492 2012-11-29 Jerome Guitton <guitton@adacore.com>
2493
2494 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2495 form {VARIANT_TYPE}ADDRESS.
2496
2497 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2498
2499 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2500 (func): New function.
2501 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2502 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2503 pointers to members with pointer-to-function type.
2504
2505 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2506 Tom Tromey <tromey@redhat.com>
2507
2508 * gdb.base/gnu-debugdata.exp: New file.
2509 * gdb.base/gnu-debugdata.c: New file.
2510 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2511 (gdb_unload): Return 0 on success.
2512
2513 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2514
2515 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2516
2517 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2518
2519 * gdb.base/empty_exe.exp: New testcase.
2520
2521 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2522
2523 * gdb.base/completion.exp: Add test for help aliases completion.
2524
2525 2012-11-20 Yao Qi <yao@codesourcery.com>
2526
2527 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2528 Don't test 'maint set show-debug-regs'.
2529 Use command 'set remotecache' instead of
2530 'set circular-trace-buffer'.
2531
2532 2012-11-16 Keith Seitz <keiths@redhat.com>
2533
2534 PR c++/13615
2535 * gdb.cp/baseenum.cc: New file.
2536 * gdb.cp/baseenum.exp: New file.
2537 * gdb.cp/derivation.cc (A): Add copyright.
2538 Add a typedef.
2539 (B): Use A::value_type instead of int. Change all references.
2540 (D): Use value_type instead of int. Change all references.
2541 (E): Likewise.
2542 (F); Likewise.
2543 (Z): New class.
2544 (ZZ): New class.
2545 (N, Base, Derived): New namespace and classes.
2546 (main): Add instances of Z and ZZ.
2547 Make sure all symbols from N are kept.
2548 * gdb.cp/derivation.exp: Update typedef changes in tests.
2549 Add tests for class typedefs both before and after starting
2550 the inferior.
2551 Add tests for searching for a typedef while stopped in a
2552 method.
2553
2554 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2555
2556 * gdb.mi/mi-var-create-rtti.c: New file.
2557 * gdb.mi/mi-var-create-rtti.exp: New file.
2558
2559 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2560
2561 * gdb.base/structs3.exp: Run to main before doing any tests.
2562
2563 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2564
2565 * gdb.python/py-type.exp: Uniquify test names.
2566
2567 2012-11-14 Yao Qi <yao@codesourcery.com>
2568
2569 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2570 (thread_function) [DEBUG]: Call 'printf'.
2571 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2572 command line if 'DEBUG=1' is passed to test.
2573 Remove a pattern to match inferior's output.
2574
2575 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2576
2577 * gdb.mi/mi-fill-memory.exp: New test.
2578
2579 2012-11-12 Tom Tromey <tromey@redhat.com>
2580
2581 * gdb.base/completion.exp: Update for "info type-printers".
2582 * gdb.python/py-typeprint.cc: New file.
2583 * gdb.python/py-typeprint.exp: New file.
2584 * gdb.python/py-typeprint.py: New file.
2585
2586 2012-11-12 Tom Tromey <tromey@redhat.com>
2587
2588 * gdb.base/call-sc.exp: Use "ptype/r".
2589 * gdb.base/volatile.exp: Don't expect "int".
2590 * gdb.cp/ptype-flags.cc: New file.
2591 * gdb.cp/ptype-flags.exp: New file.
2592 * gdb.cp/templates.exp: Use ptype/r.
2593 (test_ptype_of_templates, test_template_typedef): Likewise.
2594 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2595 argument. Handle template names and template parameters.
2596 * gdb.mi/mi-var-cmd.exp: Accept "long".
2597 * gdb.mi/mi-var-child.exp: Accept "long".
2598 * gdb.mi/mi-var-display.exp: Accept "long".
2599 * gdb.mi/mi2-var-child.exp: Accept "long".
2600
2601 2012-11-12 Tom Tromey <tromey@redhat.com>
2602
2603 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2604 "ptype" from calls to cp_test_ptype_class.
2605 (test_enums): Likewise.
2606 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2607 cp_test_ptype_class.
2608 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2609 calls to cp_test_ptype_class.
2610 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2611 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2612 from calls to cp_test_ptype_class.
2613 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2614 command here. Change "in_command" argument to "in_exp".
2615
2616 2012-11-10 Keith Seitz <keiths@redhat.com>
2617
2618 PR gdb/14288
2619 * gdb.base/printcmds.c: Add invalid_XXX globals
2620 for repeated byte tests.
2621 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2622 * gdb.base/wchar.c (main): Add and construct a wchar_t
2623 array with repeated characters.
2624 * gdb.base/wchar.exp: Add repeated character tests.
2625
2626 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2627
2628 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2629 disassembly output.
2630
2631 2012-11-09 Pedro Alves <palves@redhat.com>
2632
2633 PR gdb/14306
2634
2635 * gdb.multi/multi-arch-exec.c: New file.
2636 * gdb.multi/multi-arch-exec.exp: New file.
2637
2638 2012-11-09 Yao Qi <yao@codesourcery.com>
2639
2640 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2641 (top level): Call it.
2642
2643 2012-11-09 Yao Qi <yao@codesourcery.com>
2644
2645 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2646 typo.
2647
2648 2012-11-09 Pedro Alves <palves@redhat.com>
2649
2650 * gdb.multi/multi-arch.exp: New.
2651
2652 2012-11-08 Tom Tromey <tromey@redhat.com>
2653
2654 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2655 core files, if possible.
2656 * gdb.base/siginfo-thread.c: New file
2657 * gdb.base/siginfo-thread.exp: New file
2658
2659 2012-11-08 Tom Tromey <tromey@redhat.com>
2660
2661 * gdb.base/comprdebug.exp: New file.
2662
2663 2012-11-06 Pedro Alves <palves@redhat.com>
2664
2665 PR gdb/14810
2666
2667 * gdb.base/disabled-location.c: New file.
2668 * gdb.base/disabled-location.exp: New file.
2669
2670 2012-11-06 Tom Tromey <tromey@redhat.com>
2671
2672 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2673 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2674 gdb_gcore_cmd.
2675 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2676 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2677 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2678 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2679 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2680 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2681 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2682 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2683 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2684
2685 2012-11-05 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2688 procedure.
2689 (do_vfork_and_follow_child_tests_exec)
2690 (do_vfork_and_follow_child_tests_exit): Call it.
2691
2692 2012-11-05 Pedro Alves <palves@redhat.com>
2693
2694 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2695 fails.
2696
2697 2012-11-03 Yao Qi <yao@codesourcery.com>
2698
2699 Fix PR gdb/14617.
2700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2701 Remove setup_kfail, and update test.
2702
2703 2012-11-02 Tom Tromey <tromey@redhat.com>
2704
2705 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2706 test.
2707
2708 2012-11-02 Pedro Alves <palves@redhat.com>
2709
2710 PR gdb/14766
2711
2712 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2713 setup_kfail.
2714 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2715 get registers".
2716
2717 2012-11-02 Pedro Alves <palves@redhat.com>
2718
2719 * gdb.base/foll-vfork-exit.c: New file.
2720 * gdb.base/foll-vfork.exp (top level): New file-describing
2721 comment.
2722 (vfork_child_follow_to_exit): New procedure.
2723 (tcatch_vfork_then_child_follow): Rename as ...
2724 (tcatch_vfork_then_child_follow_exec): ... this.
2725 (tcatch_vfork_then_child_follow_exit): New procedure.
2726 (do_vfork_and_follow_parent_tests): New procedure, factored out
2727 from do_vfork_and_exec_tests.
2728 (do_vfork_and_follow_child_tests_exec): Ditto.
2729 (do_vfork_and_exec_tests): Delete.
2730 (do_vfork_and_follow_child_tests_exit): New procedure.
2731 (top level): Run tests with both the program that has the vfork
2732 child execing, and the program has the vfork child exiting.
2733
2734 2012-11-02 Pedro Alves <palves@redhat.com>
2735
2736 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2737 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2738 (vfork_parent_follow_to_bp): Call it.
2739 (kill_child): Delete.
2740 (vfork_and_exec_child_follow_to_main_bp)
2741 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2742 longer call kill_child.
2743 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2744 (do_vfork_and_exec_tests): Don't runto_main before calling each
2745 test procedure.
2746 (top level): Don't clean restart and set verbose before running
2747 each test procedure.
2748
2749 2012-11-02 Pedro Alves <palves@redhat.com>
2750
2751 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2752 (vfork_parent_follow_to_bp)
2753 (vfork_and_exec_child_follow_to_main_bp)
2754 (vfork_and_exec_child_follow_through_step)
2755 (tcatch_vfork_then_parent_follow)
2756 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2757 Use with_test_prefix.
2758
2759 2012-11-02 Pedro Alves <palves@redhat.com>
2760
2761 * gdb.base/foll-vfork.c: Add copyright header.
2762 * gdb.base/vforked-prog.c: Add copyright header.
2763
2764 2012-11-02 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.base/foll-vfork.exp
2767 (vfork_and_exec_child_follow_through_step): Don't skip on
2768 non-HP/UX targets. Expect the next to only step one line on
2769 non-HP/UX targets, rather than stopping only after the exec.
2770
2771 2012-11-02 Pedro Alves <palves@redhat.com>
2772
2773 Don't hard code line numbers.
2774
2775 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2776 Expect text from the sources instead of a line number.
2777 (vfork_parent_follow_to_bp)
2778 (vfork_and_exec_child_follow_to_main_bp)
2779 (vfork_and_exec_child_follow_through_step)
2780 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2781 Use gdb_get_line_number.
2782
2783 2012-11-02 Pedro Alves <palves@redhat.com>
2784
2785 Modernize.
2786
2787 * gdb.base/foll-vfork.exp: Use standard_testfile and
2788 build_executable. Pass descriptive string to untested.
2789 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2790 (vfork_and_exec_child_follow_to_main_bp)
2791 (vfork_and_exec_child_follow_through_step)
2792 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2793 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2794 of send_gdb/gdb_expect.
2795
2796 (kill_child): New procedure.
2797 (vfork_and_exec_child_follow_to_main_bp)
2798 (vfork_and_exec_child_follow_through_step): Use it.
2799
2800 2012-11-02 Yao Qi <yao@codesourcery.com>
2801
2802 * gdb.base/setvar.exp: Test setting nested struct.
2803 * gdb.base/setvar.c (v_struct3): New.
2804
2805 2012-11-01 Doug Evans <dje@google.com>
2806
2807 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2808 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2809 use them.
2810
2811 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2812
2813 PR cli/14772
2814 * gdb.base/gnu_vector.c (union_with_vector_1)
2815 (struct_with_vector_1): Add new struct and union for testing
2816 ptype.
2817 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2818 structs / unions containing vectors.
2819
2820 2012-10-25 Yao Qi <yao@codesourcery.com>
2821
2822 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2823 'setup_kfail' instead of 'setup_kfail_for_target'.
2824 * gdb.base/varargs.exp: Likewise.
2825 * lib/gdb.exp (setup_kfail_for_target): Remove.
2826
2827 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2828
2829 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2830
2831 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2832
2833 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2834
2835 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2836
2837 * gdb.ada/set_wstr: New testcase.
2838
2839 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2842
2843 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2844
2845 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2846
2847 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2848
2849 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2850
2851 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2852
2853 * gdb.base/callfuncs.exp (do_function_calls): Fix
2854 setup_kfail_for_target for -m32 mode.
2855
2856 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2857
2858 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2859 are now fixed.
2860
2861 2012-10-23 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.base/info-os.exp: Resume the inferior until it exits.
2864
2865 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2866
2867 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2868 * gdb.base/print-file-var.exp: Likewise.
2869 * gdb.base/type-opaque.exp: Likewise.
2870
2871 2012-10-17 Yao Qi <yao@codesourcery.com>
2872
2873 * gdb.mi/mi-memory-changed.exp: New.
2874
2875 2012-10-16 Yao Qi <yao@codesourcery.com>
2876
2877 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2878 returns true.
2879 Call gdb_load_shlibs.
2880 * gdb.reverse/solib-reverse.exp: Likewise.
2881
2882 2012-10-15 Keith Seitz <keiths@redhat.com>
2883
2884 * lib/cp-support.exp (cp_test_ptype_class): Add support
2885 for class typedefs.
2886
2887 * gdb.cp/derivation.exp: Add tests for g_instance.
2888
2889 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2890
2891 Fix entry values resolving in inlined frames.
2892 * gdb.arch/amd64-entry-value-inline.S: New file.
2893 * gdb.arch/amd64-entry-value-inline.c: New file.
2894 * gdb.arch/amd64-entry-value-inline.exp: New file.
2895
2896 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2897 Doug Evans <dje@google.com>
2898
2899 Fix recent gdb_breakpoint regression.
2900 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2901 braces from the parameter.
2902 * gdb.java/jprint.exp: Likewise.
2903
2904 2012-10-15 Doug Evans <dje@google.com>
2905
2906 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2907
2908 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2909
2910 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2911
2912 2012-10-15 Tom Tromey <tromey@redhat.com>
2913
2914 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2915
2916 2012-10-15 Tom Tromey <tromey@redhat.com>
2917
2918 * gdb.python/py-symbol.exp: Test symbol destructor.
2919
2920 2012-10-14 Yao Qi <yao@codesourcery.com>
2921
2922 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2923 * gdb.mi/mi-cli.exp: New.
2924
2925 * gdb.mi/mi2-basics.exp: Remove.
2926 * gdb.mi/mi2-break.exp: Remove.
2927 * gdb.mi/mi2-console.exp: Remove.
2928 * gdb.mi/mi2-disassemble.exp: Remove.
2929 * gdb.mi/mi2-eval.exp: Remove.
2930 * gdb.mi/mi2-file.exp: Remove.
2931 * gdb.mi/mi2-hack-cli.exp: Remove.
2932 * gdb.mi/mi2-pthreads.exp: Remove.
2933 * gdb.mi/mi2-read-memory.exp: Remove.
2934 * gdb.mi/mi2-regs.exp: Remove.
2935 * gdb.mi/mi2-return.exp: Remove.
2936 * gdb.mi/mi2-simplerun.exp: Remove.
2937 * gdb.mi/mi2-stack.exp: Remove.
2938 * gdb.mi/mi2-stepi.exp: Remove.
2939 * gdb.mi/mi2-syn-frame.exp: Remove.
2940 * gdb.mi/mi2-until.exp: Remove.
2941 * gdb.mi/mi2-watch.exp: Remove.
2942 * gdb.mi/mi2-var-block.exp: Remove.
2943 * gdb.mi/mi2-var-cmd.exp: Remove.
2944 * gdb.mi/mi2-var-display.exp: Remove.
2945
2946 2012-10-12 Yao Qi <yao@codesourcery.com>
2947
2948 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2949 trail '.*' on matching patterns.
2950
2951 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2952
2953 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2954 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2955 * gdb.arch/i386-disp-step.exp: Likewise.
2956 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2957 * gdb.arch/i386-prologue.exp: Likewise.
2958 * gdb.arch/i386-size-overlap.exp: Likewise.
2959 * gdb.arch/i386-size.exp: Likewise.
2960 * gdb.arch/i386-unwind.exp: Likewise.
2961
2962 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2965 * gdb.arch/i386-word.exp: Likewise.
2966
2967 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2970 is_ilp32_target to set nr_regs.
2971 * gdb.arch/i386-sse.exp: Likewise.
2972
2973 2012-10-11 Doug Evans <dje@google.com>
2974
2975 PR breakpoints/14643.
2976 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2977 * gdb.linespec/thread.c: New file.
2978 * gdb.linespec/thread.exp: New file.
2979
2980 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2981 Recognize "message" -> print pass and fail. Add eof case.
2982 (runto): Recognize message, no-message. Print pass/fail if requested,
2983 with same treatment as gdb_breakpoint.
2984 (runto_main): Pass no-message to runto.
2985 (gdb_internal_error_resync): Add log message.
2986 (gdb_file_cmd): Tweak internal error fail text for consistency.
2987
2988 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2989
2990 Fix crash during stepping on ppc32.
2991 * gdb.base/step-symless.c: New file.
2992 * gdb.base/step-symless.exp: New file.
2993
2994 2012-10-03 Doug Evans <dje@google.com>
2995
2996 PR symtab/14601
2997 * gdb.cp/using-crash.exp: New file.
2998 * gdb.cp/using-crash.cc: New file.
2999
3000 2012-10-02 Doug Evans <dje@google.com>
3001
3002 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3003 more consistent.
3004 (runto,gdb_debug_format): Ditto.
3005 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3006 Clean up logging and error messages.
3007
3008 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3009
3010 Test find command on unmapped memory.
3011 * gdb.base/find-unmapped.c: New file.
3012 * gdb.base/find-unmapped.exp: New file.
3013
3014 2012-09-29 Yao Qi <yao@codesourcery.com>
3015
3016 * gdb.trace/mi-tracepoint-changed.exp: New.
3017 * gdb.mi/mi-breakpoint-changed.exp: New.
3018 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3019 * gdb.mi/pendshr2.c: New.
3020
3021 2012-09-28 Yao Qi <yao@codesourcery.com>
3022
3023 * gdb.mi/pr11022.exp: New.
3024 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3025
3026 2012-09-27 Tom Tromey <tromey@redhat.com>
3027
3028 * gdb.cp/derivation.exp: Add regression test.
3029 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3030 V_derived): New.
3031 (vderived): New global.
3032
3033 2012-09-26 Tom Tromey <tromey@redhat.com>
3034
3035 * gdb.dwarf2/dw2-common-block.S: New file.
3036 * gdb.dwarf2/dw2-common-block.exp: New file.
3037
3038 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3039
3040 * gdb.fortran/common-block.exp: New file.
3041 * gdb.fortran/common-block.f90: New file.
3042
3043 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3044
3045 * gdb.base/duplicate-bp.c: New file.
3046 * gdb.base/duplicate-bp.exp: New file.
3047
3048 2012-09-26 Yao Qi <yao@codesourcery.com>
3049
3050 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3051
3052 Revert:
3053 2012-09-21 Yao Qi <yao@codesourcery.com>
3054
3055 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3056
3057 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
3059 * gdb.base/longest-types.c: New test case.
3060 * gdb.base/longest-types.exp: New test case.
3061
3062 2012-09-25 Yao Qi <yao@codesourcery.com>
3063
3064 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3065
3066 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 Fix internal error on canonicalization of clang types.
3069 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3070 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3071 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3072
3073 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 Fix disassemble without parameters in tailcall frame.
3076 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3077
3078 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3079
3080 * gdb.dwarf2/dw2-op-out-param.S: New file.
3081 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3082
3083 2012-09-21 Yao Qi <yao@codesourcery.com>
3084
3085 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3086
3087 2012-09-21 Yao Qi <yao@codesourcery.com>
3088
3089 * gdb.mi/mi-cli.exp: Remove.
3090 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3091
3092 2012-09-21 Yao Qi <yao@codesourcery.com>
3093
3094 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3095 "=record-started" notification.
3096
3097 2012-09-21 Yao Qi <yao@codesourcery.com>
3098
3099 * gdb.mi/mi-record-changed.exp: New.
3100 * gdb.mi/mi-reverse.exp: Adjust expected output.
3101
3102 2012-09-20 Tom Tromey <tromey@redhat.com>
3103
3104 * gdb.python/python.exp: Test atexit.register.
3105
3106 2012-09-20 Doug Evans <dje@google.com>
3107
3108 * boards/dwarf4-gdb-index.exp: New file.
3109
3110 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3111 while running the tests.
3112
3113 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3114
3115 * gdb.ada/bp_reset: New testcase.
3116
3117 2012-09-18 Yao Qi <yao@codesourcery.com>
3118
3119 * gdb.trace/mi-tsv-changed.exp: New.
3120
3121 2012-09-18 Yao Qi <yao@codesourcery.com>
3122
3123 * gdb.trace/mi-traceframe-changed.exp: New.
3124
3125 2012-09-17 Yao Qi <yao@codesourcery.com>
3126
3127 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3128 when it is less than 0.
3129
3130 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3131
3132 PR 14119
3133 * gdb.arch/amd64-tailcall-ret.S: New file.
3134 * gdb.arch/amd64-tailcall-ret.c: New file.
3135 * gdb.arch/amd64-tailcall-ret.exp: New file.
3136 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3137 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3138 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3139
3140 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3141
3142 PR 14548
3143 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3144 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3145 * gdb.reverse/singlejmp-reverse.S: New file.
3146 * gdb.reverse/singlejmp-reverse.c: New file.
3147 * gdb.reverse/singlejmp-reverse.exp: New file.
3148
3149 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3150
3151 Fix compatibility with old GCC (~4.1).
3152 * gdb.cp/converts.cc (my_enum_var): New variable.
3153
3154 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3155
3156 * gdb.xml/tdesc-regs.exp: Update expected output for new
3157 vector_size syntax of vector types.
3158
3159 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3160
3161 Refactor Python "gdb" module into a proper Python package, by
3162 introducing a new "_gdb" module for code implemented in C, and
3163 using reload/__import__ instead of exec.
3164 * gdb.python/python.exp (Test stderr location): Update module
3165 location of GDB-specific sys.stderr.
3166 (Test stdout location): Ditto for sys.stdout.
3167
3168 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3169
3170 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3171
3172 2012-09-12 Keith Seitz <keiths@redhat.com>
3173
3174 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3175 conversion statement.
3176
3177 2012-09-12 Doug Evans <dje@google.com>
3178
3179 * gdb.base/help.exp: Remove testing of individual command help text,
3180 too much of a maintenance burden. Instead, test the functionality
3181 of "help" itself.
3182
3183 2012-09-11 Doug Evans <dje@google.com>
3184
3185 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3186 breakpoint.
3187
3188 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3189 * gdb.dwarf2/fission-reread.S: Ditto.
3190 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3191 * gdb.dwarf2/fission-reread.exp: Ditto.
3192
3193 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3194
3195 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3196
3197 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3198
3199 * gdb.ada/optim_drec: New testcase.
3200
3201 2012-09-10 Doug Evans <dje@google.com>
3202
3203 * boards/fission.exp: Explicitly mark "board" as not remote.
3204
3205 2012-09-10 Keith Seitz <keiths@redhat.com>
3206
3207 PR gdb/13483
3208 * gdb.cp/converts.cc (A::A): Add ctor.
3209 (A::member_): Add member.
3210 (enum my_enum): New enumeration.
3211 (main): Add calls to foo1_7 with various
3212 permitted arguments.
3213 * gdb.cp/converts.exp: Add tests for boolean
3214 conversions permitted by the standard.
3215
3216 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3217
3218 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3219 avoid spurious results due to ~/.gdbinit.
3220 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3221 $INTERNAL_GDBFLAGS in run command.
3222 * gdb.gdb/observer.exp (setup_test): Ditto.
3223 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3224 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3225
3226 2012-09-06 Doug Evans <dje@google.com>
3227
3228 * boards/fission.exp: New file.
3229
3230 * gdb.python/py-value.exp: Use clean_restart.
3231
3232 2012-09-05 Doug Evans <dje@google.com>
3233
3234 * gdb.base/info-macros.c: Fix whitespace.
3235
3236 2012-08-28 Pedro Alves <palves@redhat.com>
3237
3238 PR gdb/14428
3239
3240 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3241
3242 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3243
3244 * gdb.base/break-caller-line.c: New file.
3245 * gdb.base/break-caller-line.exp: New file.
3246
3247 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3250 * gdb.arch/i386-cfi-notcurrent.S: New file.
3251 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3252
3253 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3254 Yao Qi <yao@codesourcery.com>
3255 Pedro Alves <palves@redhat.com>
3256
3257 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3258 New procedures.
3259 (top level): Add overlap checking tests.
3260
3261 2012-08-24 Tom Tromey <tromey@redhat.com>
3262
3263 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3264 gdb_test_multiple fails for other reasons.
3265
3266 2012-08-24 Yao Qi <yao@codesourcery.com>
3267
3268 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3269
3270 2012-08-23 Pedro Alves <palves@redhat.com>
3271
3272 * gdb.base/help.exp: Adjust to "handle" help text change.
3273
3274 2012-08-23 Yao Qi <yao@codesourcery.com>
3275
3276 * gdb.trace/disconnected-tracing.c (start, end): New.
3277 (main): Call start and end.
3278 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3279 existing tests into this proc.
3280 (disconnected_tfind): New.
3281
3282 2012-08-23 Yao Qi <yao@codesourcery.com>
3283
3284 * boards/native-gdbserver.exp (${board}_upload): New.
3285 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3286 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3287 Execute tfile on remote target.
3288 Copy trace file from target to host.
3289
3290 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3291
3292 * gdb.arch/thumb-bx-pc.S: New file.
3293 * gdb.arch/thumb-bx-pc.exp: New file.
3294
3295 2012-08-22 Tom Tromey <tromey@redhat.com>
3296
3297 * gdb.base/maint.exp: Update.
3298
3299 2012-08-22 Tom Tromey <tromey@redhat.com>
3300
3301 * lib/gdb.exp (skip_unwinder_tests): New proc.
3302 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3303 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3304
3305 2012-08-21 Tom Tromey <tromey@redhat.com>
3306
3307 * gdb.hp/gdb.aCC/exception.exp: Remove.
3308
3309 012-08-19 Andrew Pinski <apinski@cavium.com>
3310
3311 * gdb.arch/mips-octeon-bbit.c: New file.
3312 * gdb.arch/mips-octeon-bbit.exp: New Test.
3313
3314 012-08-19 Keith Seitz <keiths@redhat.com>
3315
3316 PR c++/14365
3317 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3318 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3319
3320 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3323 verbose -log by more specific untested call.
3324
3325 2012-08-18 Yao Qi <yao@codesourcery.com>
3326
3327 * gdb.trace/tfind.exp: Move tests on various command help before
3328 checking target supports trace.
3329 Fix the expected output of 'help tfind end'.
3330
3331 2012-08-17 Keith Seitz <keiths@redhat.com>
3332
3333 PR c++/13356
3334 * gdb.base/default.exp: Update all "check type" tests.
3335 * gdb.base/help.exp: Likewise.
3336 * gdb.base/setshow.exp: Likewise.
3337 * gdb.cp/converts.cc (foo1_type_check): New function.
3338 (foo2_type_check): New function.
3339 (foo3_type_check): New function.
3340 (main): Call new functions.
3341 * converts.exp: Add tests for integer-to-pointer conversions
3342 with/without strict type-checking.
3343
3344 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3345
3346 * gdb.base/help.exp: Update expected output.
3347
3348 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3349
3350 * gdb.ada/rdv_wait: New testcase.
3351
3352 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3355
3356 2012-08-13 Doug Evans <dje@google.com>
3357
3358 * gdb.base/help.exp: Update expected output.
3359 * gdb.base/default.exp: Update expected output of "show convenience".
3360
3361 2012-08-10 Doug Evans <dje@google.com>
3362
3363 * gdb.python/py-strfns.c: New file.
3364 * gdb.python/py-strfns.exp: New file.
3365 * gdb.python/py-type.exp (test_fields): Add vector tests.
3366
3367 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3368
3369 PR cli/10436:
3370 * gdb.base/completion.exp: Add tests for handle completion.
3371
3372 2012-08-09 Yao Qi <yao@codesourcery.com>
3373
3374 * gdb.mi/mi-cmd-param-changed.exp: New.
3375 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3376 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3377 * gdb.mi/mi2-prompt.exp: Likewise.
3378
3379 2012-08-08 Doug Evans <dje@google.com>
3380
3381 * gdb.base/debug-expr.c: New file.
3382 * gdb.base/debug-expr.exp: New file.
3383 * gdb.base/exprs.exp: Test {type} casts.
3384 * gdb.cp/debug-expr.exp: New file.
3385
3386 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3387
3388 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3389 global variable loop, not a 'break'. Add loop count limit to 100.
3390 Add new fail case for terminated vgdb.
3391
3392 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3393 Jean-Marc Saffroy <saffroy@gmail.com>
3394
3395 PR 11804
3396 * gdb.base/gcore-relro.exp: New file.
3397 * gdb.base/gcore-relro-main.c: New file.
3398 * gdb.base/gcore-relro-lib.c: New file.
3399
3400 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3401
3402 Do not false FAIL with old GCCs.
3403 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3404 GCC < 4.5 in $no_hw mode.
3405
3406 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3409
3410 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3411
3412 * gdb.base/list.exp (test_only_end): New function.
3413 Call it.
3414
3415 2012-08-06 Tom Tromey <tromey@redhat.com>
3416
3417 * gdb.python/py-mi.exp: Add test for printer whose children
3418 are a list.
3419 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3420 (main): New variable children_as_list.
3421 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3422 New.
3423 (register_pretty_printers): Register new printer.
3424
3425 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3426
3427 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3428 symbols. Abort if vgdb remote connection is closed.
3429
3430 2012-08-02 Doug Evans <dje@google.com>
3431
3432 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3433
3434 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3435
3436 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3437 s390x, PowerPC 64 and m68k-linux.
3438
3439 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3440
3441 * gdb.base/annota1.exp: Accept no frames-invalid notification
3442 when starting up the program.
3443 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3444 show a symbolic value as well.
3445 * gdb.server/server-exec-info.exp: Skip test when skipping
3446 gdbserver test and/or when skipping shared library tests.
3447 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3448 avoid name conflicts with other tests.
3449
3450 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3451
3452 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3453 Fix wrong output on big-endian systems.
3454 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3455 4-byte pointer types on 64-bit s390x.
3456
3457 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3458
3459 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3460 marker comment at the beginning (after intialization).
3461 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3462 breakpoint on marker comment instead of function begin.
3463 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3464 PowerPC.
3465 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3466 or 64-bit PowerPC.
3467 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3468 gdb,no_hardware_watchpoints flag is set.
3469 (initialize): Remove now redundant can-use-hw-watchpoints change.
3470
3471 2012-08-02 Yao Qi <yao@codesourcery.com>
3472 Pedro Alves <palves@redhat.com>
3473
3474 * boards/local-remote-host.exp: New.
3475
3476 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3477
3478 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3479 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3480 * gdb.base/print-file-var.exp: Likewise.
3481 * gdb.server/solib-list.exp: Skip on remote targets.
3482
3483 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3484
3485 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3486 watchpoints on ARM. When expecting software watchpoints, tolerate
3487 (remote) targets that report unsupported hardware watchpoint only
3488 at continue time.
3489 (test_wide_location_2): Likewise.
3490
3491 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3492
3493 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3494 valgrind versions.
3495
3496 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3497
3498 * gdb.base/valgrind-infcall.c: New file.
3499 * gdb.base/valgrind-infcall.exp: New file.
3500
3501 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3502
3503 2012-07-30 Keith Seitz <keiths@redhat.com>
3504
3505 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3506 linespecs.
3507
3508 2012-07-30 Doug Evans <dje@google.com>
3509
3510 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3511 * gdb.dwarf2/pr13961.S: Ditto.
3512
3513 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3514
3515 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3516
3517 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3518 change its format immediately after reloading the binary.
3519
3520 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3521
3522 Fix testsuite regression after --use-deprecated-index-sections removal.
3523 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3524 string.
3525 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3526
3527 2012-07-27 Yao Qi <yao@codesourcery.com>
3528
3529 KFAIL for PR remote/14161.
3530 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3531 Cleanup socket files.
3532 (strace_info_marker): Detach inferior.
3533
3534 2012-07-26 Tom Tromey <tromey@redhat.com>
3535
3536 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3537
3538 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3539
3540 * gdb.python/py-inferior.c (thread): New function.
3541 (check_threads): New function.
3542 (test_threads): New function.
3543 * gdb.python/py-inferior.exp: Added test.
3544 Replaced runto with continue to breakpoint.
3545
3546 2012-07-26 Tom Tromey <tromey@redhat.com>
3547
3548 * lib/ada.exp (standard_ada_testfile): New proc.
3549 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3550 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3551 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3552 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3553 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3554 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3555 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3556 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3557 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3558 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3559 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3560 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3561 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3562 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3563 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3564 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3565 * gdb.ada/complete.exp: Use standard_ada_testfile.
3566 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3567 standard_output_file.
3568 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3569 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3570 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3571 standard_output_file.
3572 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3573 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3574 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3575 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3576 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3577 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3578 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3579 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3580 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3581 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3582 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3583 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3584 * gdb.ada/interface.exp: Use standard_ada_testfile.
3585 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3586 standard_output_file
3587 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3588 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3589 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3590 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3591 * gdb.ada/nested.exp: Use standard_ada_testfile.
3592 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3593 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3594 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3595 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3596 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3597 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3598 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3599 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3600 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3601 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3602 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3603 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3604 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3605 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3606 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3607 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3608 * gdb.ada/start.exp: Use standard_ada_testfile.
3609 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3610 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3611 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3612 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3613 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3614 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3615 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3616 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3617 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3618 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3619 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3620 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3621 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3622 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3623
3624 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3625
3626 Fix testsuite regression after --use-deprecated-index-sections removal.
3627 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3628
3629 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3630
3631 Fix compatibility with Tcl before 7.5.
3632 * lib/future.exp (lreverse): New function if it does not exist.
3633
3634 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3635
3636 * gdb.mi/mi-pending.c: New method to set a second pending
3637 breakpoint.
3638 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3639 condition.
3640
3641 2012-07-20 Pedro Alves <palves@redhat.com>
3642
3643 PR threads/11692
3644 PR gdb/12203
3645
3646 * gdb.threads/create-fail.c: New file.
3647 * gdb.threads/create-fail.exp: New file.
3648
3649 2012-07-19 Pedro Alves <palves@redhat.com>
3650
3651 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3652 * config/vx.exp (gdb_start): Likewise.
3653 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3654 * gdb.base/setvar.exp (test_set): Likewise.
3655 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3656 * gdb.reverse/sigall-precsave.exp: Likewise.
3657 * gdb.reverse/sigall-reverse.exp: Likewise.
3658
3659 2012-07-19 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3662 handler before recording.
3663
3664 2012-07-19 Tom Tromey <tromey@redhat.com>
3665
3666 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3667 * gdb.cp/casts.cc (decltype): New function.
3668 (main): Use it.
3669
3670 2012-07-19 Pedro Alves <palves@redhat.com>
3671
3672 * gdb.base/sigall.exp (signals): New list.
3673 <top level>: Loop over signals in the $signals list instead of
3674 calling a test function once per signal.
3675 * gdb.reverse/sigall-precsave.exp (signals): New list.
3676 <top level>: Loop over signals in the $signals list instead of
3677 calling a test function once per signal.
3678 * gdb.reverse/sigall-reverse.exp (signals): New list.
3679 <top level>: Loop over signals in the $signals list instead of
3680 calling a test function once per signal.
3681
3682 2012-07-19 Yao Qi <yao@codesourcery.com>
3683
3684 * gdb.base/setshow.exp: Test 'set args ~'.
3685
3686 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 * gdb.base/store.exp (check_set): Import gdb_prompt.
3689 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3690 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3691
3692 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3693
3694 PR 11914
3695 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3696 (main): Call eval_sub.
3697 * gdb.python/py-prettyprint.exp:
3698 (python execfile ('py-prettyprint.py')): Move it earlier.
3699 New breakpoint for eval-break.
3700 (continue to breakpoint: eval-break, info locals): New test.
3701 (python execfile ('py-prettyprint.py')): Move it from here.
3702 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3703 (register_pretty_printers): Register pp_eval_type.
3704
3705 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3706
3707 Fix a testcase regression by me.
3708 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3709 DW_FORM_data4.
3710
3711 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3712 Doug Evans <dje@google.com>
3713
3714 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3715 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3716
3717 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3718
3719 Fix gdbserver run regression.
3720 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3721
3722 2012-07-12 Tom Tromey <tromey@redhat.com>
3723
3724 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3725 (clean_restart): Likewise.
3726 (core_find): Use standard_output_file.
3727
3728 2012-07-12 Tom Tromey <tromey@redhat.com>
3729
3730 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3731 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3732 prepare_for_testing_full.
3733 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3734 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3735 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3736 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3737 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3738 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3739 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3740 prepare_for_testing_full.
3741 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3742 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3743 prepare_for_testing_full.
3744 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3745 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3746 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3747
3748 2012-07-12 Tom Tromey <tromey@redhat.com>
3749
3750 * lib/gdb.exp (build_executable_from_specs): New proc, from
3751 build_executable.
3752 (build_executable): Use it.
3753 (prepare_for_testing_full): New proc.
3754
3755 2012-07-11 Tom Tromey <tromey@redhat.com>
3756
3757 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3758 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3759 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3760 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3761 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3762 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3763 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3764 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3765 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3766 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3767
3768 2012-07-10 Tom Tromey <tromey@redhat.com>
3769
3770 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3771 standard_output_file.
3772 * gdb.mi/gdb2549.exp: Use standard_testfile.
3773 * gdb.mi/gdb669.exp: Use standard_testfile.
3774 * gdb.mi/gdb701.exp: Use standard_testfile.
3775 * gdb.mi/gdb792.exp: Use standard_testfile.
3776 * gdb.mi/mi-async.exp: Use standard_testfile.
3777 * gdb.mi/mi-basics.exp: Use standard_testfile.
3778 * gdb.mi/mi-break.exp: Use standard_testfile.
3779 * gdb.mi/mi-cli.exp: Use standard_testfile.
3780 * gdb.mi/mi-console.exp: Use standard_testfile.
3781 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3782 * gdb.mi/mi-eval.exp: Use standard_testfile.
3783 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3784 * gdb.mi/mi-file.exp: Use standard_testfile.
3785 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3786 * gdb.mi/mi-logging.exp: Use standard_testfile.
3787 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3788 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3789 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3790 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3791 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3792 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3793 * gdb.mi/mi-pending.exp: Use standard_testfile,
3794 standard_output_file.
3795 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3796 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3797 * gdb.mi/mi-regs.exp: Use standard_testfile.
3798 * gdb.mi/mi-return.exp: Use standard_testfile.
3799 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3800 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3801 * gdb.mi/mi-solib.exp: Use standard_testfile,
3802 standard_output_file.
3803 * gdb.mi/mi-stack.exp: Use standard_testfile.
3804 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3805 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3806 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3807 * gdb.mi/mi-until.exp: Use standard_testfile.
3808 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3809 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3810 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3811 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3812 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3813 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3814 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3815 standard_output_file.
3816 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3817 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3818 * gdb.mi/mi-watch.exp: Use standard_testfile.
3819 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3820 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3821 * gdb.mi/mi2-break.exp: Use standard_testfile.
3822 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3823 * gdb.mi/mi2-console.exp: Use standard_testfile.
3824 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3825 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3826 * gdb.mi/mi2-file.exp: Use standard_testfile.
3827 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3828 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3829 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3830 * gdb.mi/mi2-return.exp: Use standard_testfile.
3831 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3832 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3833 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3834 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3835 * gdb.mi/mi2-until.exp: Use standard_testfile.
3836 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3837 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3838 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3839 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3840 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3841
3842 2012-07-10 Tom Tromey <tromey@redhat.com>
3843
3844 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3845 * gdb.cp/ambiguous.exp: Use standard_testfile,
3846 prepare_for_testing.
3847 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3848 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3849 * gdb.cp/anon-ns.exp: Use standard_testfile.
3850 * gdb.cp/anon-struct.exp: Use standard_testfile.
3851 * gdb.cp/anon-union.exp: Use standard_testfile,
3852 prepare_for_testing.
3853 * gdb.cp/arg-reference.exp: Use standard_testfile,
3854 prepare_for_testing.
3855 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3856 * gdb.cp/breakpoint.exp: Use standard_testfile,
3857 prepare_for_testing.
3858 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3859 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3860 standard_output_file.
3861 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3862 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3863 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3864 (test_static_members): Update.
3865 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3866 * gdb.cp/converts.exp: Use standard_testfile.
3867 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3868 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3869 prepare_for_testing.
3870 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3871 * gdb.cp/cplabel.exp: Use standard_testfile.
3872 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3873 prepare_for_testing.
3874 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3875 * gdb.cp/derivation.exp: Use standard_testfile,
3876 prepare_for_testing.
3877 * gdb.cp/destrprint.exp: Use standard_testfile.
3878 * gdb.cp/dispcxx.exp: Use standard_testfile.
3879 * gdb.cp/exception.exp: Use standard_testfile,
3880 prepare_for_testing.
3881 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3882 * gdb.cp/extern-c.exp: Use standard_testfile,
3883 prepare_for_testing.
3884 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3885 prepare_for_testing.
3886 * gdb.cp/fpointer.exp: Use standard_testfile.
3887 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3888 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3889 standard_output_file.
3890 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3891 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3892 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3893 standard_output_file.
3894 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3895 (do_tests): Update.
3896 * gdb.cp/koenig.exp: Use standard_testfile.
3897 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3898 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3899 * gdb.cp/m-static.exp: Use standard_testfile,
3900 prepare_for_testing.
3901 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3902 * gdb.cp/mb-inline.exp: Use standard_testfile,
3903 prepare_for_testing.
3904 * gdb.cp/mb-templates.exp: Use standard_testfile,
3905 prepare_for_testing.
3906 * gdb.cp/member-ptr.exp: Use standard_testfile,
3907 prepare_for_testing.
3908 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3909 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3910 * gdb.cp/method2.exp: Use standard_testfile.
3911 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3912 standard_output_file.
3913 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3914 (do_tests): Update.
3915 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3916 prepare_for_testing.
3917 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3918 prepare_for_testing.
3919 * gdb.cp/namespace.exp: Use standard_testfile,
3920 prepare_for_testing.
3921 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3922 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3923 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3924 * gdb.cp/nsimport.exp: Use standard_testfile,
3925 prepare_for_testing.
3926 * gdb.cp/nsnested.exp: Use standard_testfile.
3927 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3928 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3929 prepare_for_testing.
3930 * gdb.cp/nsstress.exp: Use standard_testfile,
3931 prepare_for_testing.
3932 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3933 * gdb.cp/operator.exp: Use standard_testfile.
3934 * gdb.cp/oranking.exp: Use standard_testfile.
3935 * gdb.cp/overload-const.exp: Use standard_testfile.
3936 * gdb.cp/overload.exp: Use standard_testfile,
3937 prepare_for_testing.
3938 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3939 * gdb.cp/ovsrch.exp: Use standard_testfile.
3940 * gdb.cp/paren-type.exp: Use standard_testfile.
3941 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3942 prepare_for_testing.
3943 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3944 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3945 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3946 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3947 * gdb.cp/pr10728.exp: Use standard_testfile,
3948 standard_output_file.
3949 * gdb.cp/pr12028.exp: Use standard_testfile.
3950 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3951 * gdb.cp/pr9167.exp: Use standard_testfile.
3952 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3953 * gdb.cp/printmethod.exp: Use standard_testfile,
3954 prepare_for_testing.
3955 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3956 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3957 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3958 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3959 standard_output_file.
3960 * gdb.cp/readnow-language.exp: Use standard_testfile.
3961 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3962 (gdb_start_again): Use clean_restart.
3963 * gdb.cp/ref-types.exp: Use standard_testfile,
3964 prepare_for_testing.
3965 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3966 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3967 * gdb.cp/smartp.exp: Use standard_testfile.
3968 * gdb.cp/static-method.exp: Use standard_testfile.
3969 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3970 * gdb.cp/temargs.exp: Use standard_testfile.
3971 * gdb.cp/templates.exp: Use standard_testfile,
3972 prepare_for_testing.
3973 (do_tests): Update.
3974 * gdb.cp/try_catch.exp: Use standard_testfile,
3975 prepare_for_testing.
3976 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3977 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3978 * gdb.cp/virtbase.exp: Use standard_testfile,
3979 prepare_for_testing.
3980 * gdb.cp/virtfunc.exp: Use standard_testfile,
3981 prepare_for_testing.
3982 (do_tests): Update.
3983 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3984 prepare_for_testing.
3985
3986 2012-07-10 Tom Tromey <tromey@redhat.com>
3987
3988 * lib/gdb.exp (standard_testfile): Unset output variables from
3989 earlier invocations.
3990
3991 2012-07-10 Yao Qi <yao@codesourcery.com>
3992
3993 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3994 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3995 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3996 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3997 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3998 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3999 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4000 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4001 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4002 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4003 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4004 * gdb.mi/mi-var-display.exp: Likewise.
4005 * gdb.mi/mi-var-invalidate.exp: Likewise.
4006 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4007 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4008 * gdb.mi/mi2-console.exp: Likewise.
4009 * gdb.mi/mi2-disassemble.exp: Likewise.
4010 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4011 * gdb.mi/mi2-read-memory.exp: Likewise.
4012 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4013 * gdb.mi/mi2-simplerun.exp: Likewise.
4014 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4015 * gdb.mi/mi2-syn-frame.exp: Likewise.
4016 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4017 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4018 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4019
4020 2012-07-09 Tom Tromey <tromey@redhat.com>
4021
4022 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4023 * gdb.base/callfuncs.exp: Add cast-based test.
4024 * gdb.base/callfuncs.c (voidfunc): New function.
4025
4026 2012-07-08 Doug Evans <dje@google.com>
4027
4028 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4029
4030 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4031
4032 Fix XFAIL compatibility with old i386 systems.
4033 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4034 Check also 'Cannot insert breakpoint 0'.
4035
4036 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4037
4038 PR 14321
4039 * gdb.base/find.exp
4040 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4041
4042 2012-07-06 Tom Tromey <tromey@redhat.com>
4043
4044 * gdb.base/whatis.exp: Add test.
4045
4046 2012-07-06 Tom Tromey <tromey@redhat.com>
4047
4048 * gdb.base/whatis.exp: Add regression test.
4049
4050 2012-07-06 Tom Tromey <tromey@redhat.com>
4051
4052 * gdb.base/whatis.exp: Add tests.
4053
4054 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4055
4056 PR 12649
4057 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4058 gdb_test_multiple $gdb_prompt terminator.
4059
4060 2012-07-04 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4063 supports_process_record.
4064
4065 2012-07-04 Pedro Alves <palves@redhat.com>
4066
4067 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4068 endings.
4069 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4070
4071 2012-07-03 Stan Shebs <stan@codesourcery.com>
4072
4073 * gdb.base/info-os.c (main): Retry resource acquisition until an
4074 available one is found.
4075 * gdb.base/info-os.exp: Collect resource keys from the program
4076 and use them in matching.
4077
4078 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4079
4080 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4081 Wrap the test into loop for corefile and core0file.
4082
4083 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4084
4085 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4086 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4087 .note.GNU-stack.
4088
4089 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4090
4091 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4092
4093 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4094 break): Include help message for the new `-probe' and `-probe-stap'
4095 options.
4096
4097 2012-07-02 Stan Shebs <stan@codesourcery.com>
4098
4099 * gdb.base/dprintf.exp: Add agent style tests.
4100
4101 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 * gdb.base/stale-infcall.c (infcall): New label test-next.
4104 (main): New labels test-pass and test-fail.
4105 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4106 $test_fail_bpnum to test-fail.
4107 (test system longjmp tracking support): New test.
4108 Delete $test_fail_bpnum.
4109 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4110 breakpoint.
4111
4112 2012-06-30 Doug Evans <dje@google.com>
4113
4114 * gdb.dwarf2/fission-reread.S: New file.
4115 * gdb.dwarf2/fission-reread.exp: New file.
4116
4117 2012-06-28 Stan Shebs <stan@codesourcery.com>
4118
4119 * gdb.mi/mi-logging.exp: New file.
4120
4121 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4122 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.threads/siginfo-threads.exp: New file.
4125 * gdb.threads/siginfo-threads.c: New file.
4126 * gdb.threads/sigstep-threads.exp: New file.
4127 * gdb.threads/sigstep-threads.c: New file.
4128
4129 2012-06-28 Tom Tromey <tromey@redhat.com>
4130
4131 * gdb.go/package.exp: Partially revert earlier patch; use
4132 gdb_compile again. Use standard_output_file.
4133
4134 2012-06-27 Doug Evans <dje@google.com>
4135
4136 * gdb.dwarf2/fission-base.c: New file.
4137 * gdb.dwarf2/fission-base.S: New file.
4138 * gdb.dwarf2/fission-base.exp: New file.
4139
4140 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4141
4142 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4143
4144 2012-06-27 Tom Tromey <tromey@redhat.com>
4145
4146 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4147 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4148
4149 2012-06-27 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4152 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4153 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4154 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4155 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4156 prepare_for_testing.
4157 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4158 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4159 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4160 standard_testfile.
4161 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4162 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4163 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4164 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4165 prepare_for_testing.
4166 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4167 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4168 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4169 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4170 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4171 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4172 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4173 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4174 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4175 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4176 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4177 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4178 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4179 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4180 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4181 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4182 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4183 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4184 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4185 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4186 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4187 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4188 standard_output_file.
4189 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4190 standard_output_file.
4191 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4192 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4193 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4194 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4195 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4196 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4197 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4198 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4199 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4200 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4201 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4202 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4203 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4204 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4205 * gdb.dwarf2/valop.exp: Use standard_testfile,
4206 prepare_for_testing.
4207
4208 2012-06-27 Tom Tromey <tromey@redhat.com>
4209
4210 * gdb.python/python.exp: Fix regexps in pagination tests.
4211
4212 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4213
4214 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4215 'last' of gdb.Symtab_and_line.
4216 * gdb.python/py-symbol.c: Move break point comment to enable
4217 testing of gdb.Symtab_and_line.last.
4218
4219 2012-06-26 Tom Tromey <tromey@redhat.com>
4220
4221 * gdb.threads/step.c: Remove.
4222 * gdb.threads/step.exp: Remove.
4223 * gdb.threads/step2.exp: Remove.
4224
4225 2012-06-26 Tom Tromey <tromey@redhat.com>
4226
4227 * gdb.threads/watchpoint-fork.exp (test): Use
4228 standard_output_file. Don't declare objdir.
4229 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4230 standard_output_file.
4231 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4232 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4233 clean_restart. Remove incdir.
4234 * gdb.threads/corethreads.exp: Use standard_testfile.
4235 * gdb.threads/execl.exp: Use standard_testfile,
4236 standard_output_file, clean_restart.
4237 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4238 clean_restart.
4239 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4240 clean_restart.
4241 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4242 incdir.
4243 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4244 clean_restart. Remove incdir.
4245 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4246 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4247 clean_restart. Remove incdir.
4248 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4249 Remove incdir.
4250 * gdb.threads/leader-exit.exp: Use standard_testfile.
4251 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4252 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4253 clean_restart.
4254 * gdb.threads/manythreads.exp: Use standard_testfile,
4255 clean_restart. Remove incdir.
4256 * gdb.threads/multi-create.exp: Use standard_testfile,
4257 clean_restart.
4258 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4259 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4260 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4261 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4262 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4263 * gdb.threads/pending-step.exp: Use standard_testfile,
4264 clean_restart. Remove incdir.
4265 * gdb.threads/print-threads.exp: Use standard_testfile,
4266 clean_restart. Remove incdir.
4267 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4268 clean_restart. Remove incdir.
4269 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4270 Remove incdir.
4271 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4272 incdir.
4273 * gdb.threads/sigthread.exp: Use standard_testfile,
4274 clean_restart.
4275 * gdb.threads/staticthreads.exp: Use standard_testfile,
4276 clean_restart. Remove incdir.
4277 * gdb.threads/switch-threads.exp: Use standard_testfile,
4278 clean_restart. Remove incdir.
4279 * gdb.threads/thread-execl.exp: Use standard_testfile,
4280 clean_restart. Remove incdir.
4281 * gdb.threads/thread-find.exp: Use standard_testfile,
4282 clean_restart.
4283 * gdb.threads/thread-specific.exp: Use standard_testfile,
4284 clean_restart. Remove incdir.
4285 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4286 clean_restart. Remove incdir.
4287 * gdb.threads/thread_check.exp: Use standard_testfile,
4288 clean_restart. Remove incdir.
4289 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4290 incdir.
4291 * gdb.threads/threadapply.exp: Use standard_testfile,
4292 clean_restart. Remove incdir.
4293 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4294 clean_restart. Remove incdir.
4295 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4296 clean_restart.
4297 * gdb.threads/tls-shared.exp: Use standard_testfile,
4298 clean_restart, standard_output_file.
4299 * gdb.threads/tls-var.exp: Use standard_testfile,
4300 standard_output_file.
4301 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4302 Remove incdir.
4303 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4304 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4305 incdir.
4306 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4307 clean_restart. Remove incdir.
4308
4309 2012-06-26 Tom Tromey <tromey@redhat.com>
4310
4311 * gdb.trace/actions.exp: Use standard_testfile.
4312 * gdb.trace/ax.exp: Use standard_testfile.
4313 * gdb.trace/backtrace.exp: Use standard_testfile.
4314 * gdb.trace/change-loc.exp: Use standard_testfile.
4315 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4316 * gdb.trace/collection.exp: Use standard_testfile,
4317 prepare_for_testing.
4318 * gdb.trace/deltrace.exp: Use standard_testfile.
4319 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4320 * gdb.trace/ftrace.exp: Use standard_testfile.
4321 * gdb.trace/infotrace.exp: Use standard_testfile.
4322 * gdb.trace/packetlen.exp: Use standard_testfile.
4323 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4324 * gdb.trace/passcount.exp: Use standard_testfile.
4325 * gdb.trace/pending.exp: Use standard_testfile.
4326 * gdb.trace/report.exp: Use standard_testfile.
4327 * gdb.trace/save-trace.exp: Use standard_testfile.
4328 * gdb.trace/stap-trace.exp: Use standard_testfile.
4329 * gdb.trace/status-stop.exp: Use standard_testfile.
4330 * gdb.trace/strace.exp: Use standard_testfile.
4331 * gdb.trace/tfile.exp: Use standard_testfile.
4332 * gdb.trace/tfind.exp: Use standard_testfile.
4333 * gdb.trace/trace-break.exp: Use standard_testfile.
4334 * gdb.trace/trace-mt.exp: Use standard_testfile.
4335 * gdb.trace/tracecmd.exp: Use standard_testfile.
4336 * gdb.trace/tspeed.exp: Use standard_testfile.
4337 * gdb.trace/tstatus.exp: Use standard_testfile.
4338 * gdb.trace/tsv.exp: Use standard_testfile.
4339 * gdb.trace/unavailable.exp: Use standard_testfile,
4340 prepare_for_testing.
4341 * gdb.trace/while-dyn.exp: Use standard_testfile.
4342 * gdb.trace/while-stepping.exp: Use standard_testfile.
4343
4344 2012-06-26 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4347 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4348 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4349 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4350 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4351 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4352 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4353 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4354 prepare_for_testing.
4355 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4356 prepare_for_testing.
4357 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4358 prepare_for_testing.
4359 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4360 prepare_for_testing.
4361 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4362 prepare_for_testing
4363 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4364 * gdb.reverse/machinestate.exp: Use standard_testfile.
4365 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4366 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4367 build_executable.
4368 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4369 build_executable.
4370 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4371 standard_output_file.
4372 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4373 standard_output_file.
4374 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4375 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4376 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4377 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4378 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4379 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4380
4381 2012-06-26 Tom Tromey <tromey@redhat.com>
4382
4383 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4384 standard_output_file.
4385 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4386 prepare_for_testing. Remove directory-checking code.
4387
4388 2012-06-25 Tom Tromey <tromey@redhat.com>
4389
4390 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4391 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4392 build_executable, not prepare_for_testing.
4393 * gdb.multi/base.exp: Use standard_output_file. Use
4394 build_executable, not prepare_for_testing.
4395
4396 2012-06-25 Tom Tromey <tromey@redhat.com>
4397
4398 * gdb.fortran/subarray.exp: Use standard_testfile,
4399 prepare_for_testing.
4400 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4401 * gdb.fortran/module.exp: Use standard_testfile.
4402 * gdb.fortran/logical.exp: Use standard_testfile.
4403 * gdb.fortran/library-module.exp: Use standard_testfile,
4404 standard_output_file.
4405 * gdb.fortran/derived-type.exp: Use standard_testfile,
4406 prepare_for_testing.
4407 * gdb.fortran/complex.exp: Use standard_testfile,
4408 prepare_for_testing.
4409 * gdb.fortran/charset.exp: Use standard_testfile.
4410 * gdb.fortran/array-element.exp: Use standard_testfile,
4411 prepare_for_testing.
4412
4413 2012-06-25 Keith Seitz <keiths@redhat.com>
4414
4415 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4416 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4417
4418 2012-06-25 Tom Tromey <tromey@redhat.com>
4419
4420 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4421 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4422 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4423 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4424
4425 2012-06-25 Tom Tromey <tromey@redhat.com>
4426
4427 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4428 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4429 * gdb.linespec/linespec.exp: Use standard_testfile.
4430
4431 2012-06-25 Tom Tromey <tromey@redhat.com>
4432
4433 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4434 prepare_for_testing.
4435
4436 2012-06-25 Tom Tromey <tromey@redhat.com>
4437
4438 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4439 prepare_for_testing.
4440 * gdb.opt/inline-break.exp: Use standard_testfile,
4441 prepare_for_testing.
4442 * gdb.opt/inline-bt.exp: Use standard_testfile,
4443 prepare_for_testing.
4444 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4445 prepare_for_testing.
4446 * gdb.opt/inline-locals.exp: Use standard_testfile,
4447 prepare_for_testing.
4448
4449 2012-06-25 Tom Tromey <tromey@redhat.com>
4450
4451 * gdb.asm/asm-source.exp: Use standard_output_file,
4452 standard_testfile. Construct .o files in proper subdir.
4453
4454 2012-06-25 Tom Tromey <tromey@redhat.com>
4455
4456 * gdb.server/ext-attach.exp: Use standard_testfile,
4457 prepare_for_testing.
4458 * gdb.server/ext-run.exp: Use standard_testfile,
4459 build_executable.
4460 * gdb.server/file-transfer.exp: Use standard_testfile,
4461 prepare_for_testing.
4462 * gdb.server/server-exec-info.exp: Use standard_testfile.
4463 * gdb.server/server-mon.exp: Use standard_testfile,
4464 prepare_for_testing.
4465 * gdb.server/server-run.exp: Use standard_testfile,
4466 build_executable.
4467 * gdb.server/solib-list.exp: Use standard_testfile,
4468 standard_output_file.
4469
4470 2012-06-25 Tom Tromey <tromey@redhat.com>
4471
4472 * lib/gdb.exp (standard_output_file): Use "file join".
4473 * gdb.go/chan.exp: Use standard_testfile.
4474 * gdb.go/handcall.exp: Use standard_testfile.
4475 * gdb.go/hello.exp: Use standard_testfile.
4476 * gdb.integers/chan.exp: Use standard_testfile.
4477 * gdb.go/methods.exp: Use standard_testfile.
4478 * gdb.go/package.exp: Use standard_testfile.
4479 * gdb.go/strings.exp: Use standard_testfile.
4480 * gdb.go/types.exp: Use standard_testfile.
4481 * gdb.go/unsafe.exp: Use standard_testfile.
4482
4483 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4484
4485 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4486
4487 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4488
4489 Fix regression by the previous commit.
4490 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4491
4492 2012-06-22 Tom Tromey <tromey@redhat.com>
4493
4494 * gdb.python/lib-types.exp: Use standard_testfile,
4495 prepare_for_testing.
4496 * gdb.python/py-block.exp: Use standard_testfile.
4497 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4498 * gdb.python/py-events.exp: Use standard_testfile,
4499 standard_output_file.
4500 * gdb.python/py-evsignal.exp: Use standard_testfile.
4501 * gdb.python/py-evethreads.exp: Use standard_testfile.
4502 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4503 * gdb.python/py-explore.exp: Use standard_testfile.
4504 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4505 standard_output_file.
4506 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4507 prepare_for_testing.
4508 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4509 * gdb.python/py-frame.exp: Use standard_testfile.
4510 * gdb.python/py-inferior.exp: Use standard_testfile.
4511 * gdb.python/py-infthread.exp: Use standard_testfile.
4512 * gdb.python/py-mi.exp: Use standard_testfile.
4513 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4514 build_executable.
4515 * gdb.python/py-objfile.exp: Use standard_testfile.
4516 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4517 prepare_for_testing.
4518 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4519 * gdb.python/py-progspace.exp: Use standard_testfile,
4520 build_executable.
4521 * gdb.python/py-prompt.exp: Use standard_testfile,
4522 build_executable.
4523 * gdb.python/py-section-script.exp: Use standard_testfile,
4524 build_executable.
4525 * gdb.python/py-shared.exp: Use standard_testfile,
4526 standard_output_file, clean_restart.
4527 * gdb.python/py-symbol.exp: Use standard_output_file,
4528 prepare_for_testing.
4529 * gdb.python/py-symtab.exp: Use standard_output_file,
4530 prepare_for_testing
4531 * gdb.python/py-template.exp: Use standard_testfile.
4532 * gdb.python/py-type.exp: Use standard_testfile.
4533 * gdb.python/py-value-cc.exp: Use standard_testfile.
4534 * gdb.python/py-value.exp: Use standard_testfile.
4535 * gdb.python/python.exp: Use standard_testfile, build_executable.
4536
4537 2012-06-22 Tom Tromey <tromey@redhat.com>
4538
4539 * gdb.objc/basicclass.exp: Use standard_testfile.
4540 (do_objc_tests): Don't declare objdir.
4541 * gdb.objc/nondebug.exp: Use standard_testfile.
4542 (do_objc_tests): Don't declare objdir.
4543 * gdb.objc/objcdecode.exp: Use standard_testfile.
4544 (do_objc_tests): Don't declare objdir.
4545
4546 2012-06-22 Tom Tromey <tromey@redhat.com>
4547
4548 * gdb.java/jmain.exp: Use standard_testfile.
4549 * gdb.java/jmisc.exp: Use standard_testfile.
4550 * gdb.java/jnpe.exp: Use standard_testfile.
4551 * gdb.java/jprint.exp: Use standard_testfile.
4552
4553 2012-06-22 Tom Tromey <tromey@redhat.com>
4554
4555 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4556 (standard_output_file, standard_testfile): New procs.
4557 (build_executable, clean_restart): Use standard_output_file.
4558
4559 2012-06-22 Yao Qi <yao@codesourcery.com>
4560
4561 * boards/native-gdbserver.exp: New proc ${board}_exec.
4562 * boards/native-stdio-gdbserver.exp: Likewise.
4563
4564 2012-06-21 Tom Tromey <tromey@redhat.com>
4565
4566 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4567 (build_executable): Update.
4568 (get_compiler_info): Remove 'binfile' argument.
4569 * gdb.ada/arrayidx.exp: Update.
4570 * gdb.ada/null_array.exp: Update.
4571 * gdb.arch/altivec-abi.exp: Update.
4572 * gdb.arch/altivec-regs.exp: Update.
4573 * gdb.arch/amd64-byte.exp: Update.
4574 * gdb.arch/amd64-dword.exp: Update.
4575 * gdb.arch/amd64-word.exp: Update.
4576 * gdb.arch/i386-avx.exp: Update.
4577 * gdb.arch/i386-byte.exp: Update.
4578 * gdb.arch/i386-sse.exp: Update.
4579 * gdb.arch/i386-word.exp: Update.
4580 * gdb.arch/ppc-dfp.exp: Update.
4581 * gdb.arch/ppc-fp.exp: Update.
4582 * gdb.arch/vsx-regs.exp: Update.
4583 * gdb.base/all-bin.exp: Update.
4584 * gdb.base/annota1.exp: Update.
4585 * gdb.base/async.exp: Update.
4586 * gdb.base/attach.exp: Update.
4587 * gdb.base/break-interp.exp: Update.
4588 * gdb.base/call-ar-st.exp: Update.
4589 * gdb.base/call-rt-st.exp: Update.
4590 * gdb.base/call-sc.exp: Update.
4591 * gdb.base/callfuncs.exp: Update.
4592 * gdb.base/catch-load.exp: Update.
4593 * gdb.base/completion.exp: Update.
4594 * gdb.base/complex.exp: Update.
4595 * gdb.base/condbreak.exp: Update.
4596 * gdb.base/consecutive.exp: Update.
4597 * gdb.base/constvars.exp: Update.
4598 * gdb.base/corefile.exp: Update.
4599 * gdb.base/eval-skip.exp: Update.
4600 * gdb.base/expand-psymtabs.exp: Update.
4601 * gdb.base/exprs.exp: Update.
4602 * gdb.base/fileio.exp: Update.
4603 * gdb.base/fixsection.exp: Update.
4604 * gdb.base/funcargs.exp: Update.
4605 * gdb.base/gdb11530.exp: Update.
4606 * gdb.base/gdb1555.exp: Update.
4607 * gdb.base/gnu-ifunc.exp: Update.
4608 * gdb.base/gnu_vector.exp: Update.
4609 * gdb.base/info-macros.exp: Update.
4610 * gdb.base/jit-simple.exp: Update.
4611 * gdb.base/jit-so.exp: Update.
4612 * gdb.base/jit.exp: Update.
4613 * gdb.base/langs.exp: Update.
4614 * gdb.base/list.exp: Update.
4615 * gdb.base/logical.exp: Update.
4616 * gdb.base/long_long.exp: Update.
4617 * gdb.base/longjmp.exp: Update.
4618 * gdb.base/macscp.exp: Update.
4619 * gdb.base/mips_pro.exp: Update.
4620 * gdb.base/miscexprs.exp: Update.
4621 * gdb.base/morestack.exp: Update.
4622 * gdb.base/nodebug.exp: Update.
4623 * gdb.base/opaque.exp: Update.
4624 * gdb.base/pc-fp.exp: Update.
4625 * gdb.base/pending.exp: Update.
4626 * gdb.base/permissions.exp: Update.
4627 * gdb.base/pointers.exp: Update.
4628 * gdb.base/prelink.exp: Update.
4629 * gdb.base/printcmds.exp: Update.
4630 * gdb.base/psymtab.exp: Update.
4631 * gdb.base/ptype.exp: Update.
4632 * gdb.base/relational.exp: Update.
4633 * gdb.base/scope.exp: Update.
4634 * gdb.base/setvar.exp: Update.
4635 * gdb.base/shlib-call.exp: Update.
4636 * gdb.base/shreloc.exp: Update.
4637 * gdb.base/signals.exp: Update.
4638 * gdb.base/sizeof.exp: Update.
4639 * gdb.base/so-impl-ld.exp: Update.
4640 * gdb.base/so-indr-cl.exp: Update.
4641 * gdb.base/solib-disc.exp: Update.
4642 * gdb.base/solib-display.exp: Update.
4643 * gdb.base/solib-nodir.exp: Update.
4644 * gdb.base/solib-overlap.exp: Update.
4645 * gdb.base/solib-symbol.exp: Update.
4646 * gdb.base/solib-weak.exp: Update.
4647 * gdb.base/solib.exp: Update.
4648 * gdb.base/store.exp: Update.
4649 * gdb.base/structs.exp: Update.
4650 * gdb.base/structs2.exp: Update.
4651 * gdb.base/type-opaque.exp: Update.
4652 * gdb.base/unload.exp: Update.
4653 * gdb.base/varargs.exp: Update.
4654 * gdb.base/volatile.exp: Update.
4655 * gdb.base/watch_thread_num.exp: Update.
4656 * gdb.base/watchpoint-solib.exp: Update.
4657 * gdb.base/watchpoint.exp: Update.
4658 * gdb.base/watchpoints.exp: Update.
4659 * gdb.base/whatis.exp: Update.
4660 * gdb.cell/arch.exp: Update.
4661 * gdb.cell/break.exp: Update.
4662 * gdb.cell/bt.exp: Update.
4663 * gdb.cell/core.exp: Update.
4664 * gdb.cell/data.exp: Update.
4665 * gdb.cell/ea-cache.exp: Update.
4666 * gdb.cell/f-regs.exp: Update.
4667 * gdb.cell/fork.exp: Update.
4668 * gdb.cell/gcore.exp: Update.
4669 * gdb.cell/mem-access.exp: Update.
4670 * gdb.cell/ptype.exp: Update.
4671 * gdb.cell/registers.exp: Update.
4672 * gdb.cell/sizeof.exp: Update.
4673 * gdb.cell/solib-symbol.exp: Update.
4674 * gdb.cell/solib.exp: Update.
4675 * gdb.cp/ambiguous.exp: Update.
4676 * gdb.cp/breakpoint.exp: Update.
4677 * gdb.cp/bs15503.exp: Update.
4678 * gdb.cp/casts.exp: Update.
4679 * gdb.cp/class2.exp: Update.
4680 * gdb.cp/cpexprs.exp: Update.
4681 * gdb.cp/cplusfuncs.exp: Update.
4682 * gdb.cp/ctti.exp: Update.
4683 * gdb.cp/dispcxx.exp: Update.
4684 * gdb.cp/gdb1355.exp: Update.
4685 * gdb.cp/gdb2384.exp: Update.
4686 * gdb.cp/gdb2495.exp: Update.
4687 * gdb.cp/infcall-dlopen.exp: Update.
4688 * gdb.cp/local.exp: Update.
4689 * gdb.cp/m-data.exp: Update.
4690 * gdb.cp/m-static.exp: Update.
4691 * gdb.cp/mb-ctor.exp: Update.
4692 * gdb.cp/mb-inline.exp: Update.
4693 * gdb.cp/mb-templates.exp: Update.
4694 * gdb.cp/member-ptr.exp: Update.
4695 * gdb.cp/method.exp: Update.
4696 * gdb.cp/namespace.exp: Update.
4697 * gdb.cp/nextoverthrow.exp: Update.
4698 * gdb.cp/nsdecl.exp: Update.
4699 * gdb.cp/nsrecurs.exp: Update.
4700 * gdb.cp/nsstress.exp: Update.
4701 * gdb.cp/nsusing.exp: Update.
4702 * gdb.cp/pr-1023.exp: Update.
4703 * gdb.cp/pr-1210.exp: Update.
4704 * gdb.cp/pr-574.exp: Update.
4705 * gdb.cp/pr9631.exp: Update.
4706 * gdb.cp/printmethod.exp: Update.
4707 * gdb.cp/psmang.exp: Update.
4708 * gdb.cp/re-set-overloaded.exp: Update.
4709 * gdb.cp/rtti.exp: Update.
4710 * gdb.cp/shadow.exp: Update.
4711 * gdb.cp/templates.exp: Update.
4712 * gdb.cp/try_catch.exp: Update.
4713 * gdb.dwarf2/dw2-ranges.exp: Update.
4714 * gdb.dwarf2/pr10770.exp: Update.
4715 * gdb.fortran/library-module.exp: Update.
4716 * gdb.hp/gdb.aCC/optimize.exp: Update.
4717 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4718 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4719 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4720 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4721 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4722 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4723 * gdb.hp/gdb.compat/xdb1.exp: Update.
4724 * gdb.hp/gdb.compat/xdb2.exp: Update.
4725 * gdb.hp/gdb.compat/xdb3.exp: Update.
4726 * gdb.hp/gdb.defects/bs14602.exp: Update.
4727 * gdb.hp/gdb.defects/solib-d.exp: Update.
4728 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4729 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4730 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4731 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4732 * gdb.mi/gdb792.exp: Update.
4733 * gdb.mi/mi-pending.exp: Update.
4734 * gdb.mi/mi-solib.exp: Update.
4735 * gdb.mi/mi-var-cp.exp: Update.
4736 * gdb.opt/clobbered-registers-O2.exp: Update.
4737 * gdb.opt/inline-bt.exp: Update.
4738 * gdb.opt/inline-cmds.exp: Update.
4739 * gdb.opt/inline-locals.exp: Update.
4740 * gdb.python/py-events.exp: Update.
4741 * gdb.python/py-finish-breakpoint.exp: Update.
4742 * gdb.python/py-type.exp: Update.
4743 * gdb.reverse/solib-precsave.exp: Update.
4744 * gdb.reverse/solib-reverse.exp: Update.
4745 * gdb.server/solib-list.exp: Update.
4746 * gdb.stabs/weird.exp: Update.
4747 * gdb.threads/attach-into-signal.exp: Update.
4748 * gdb.threads/attach-stopped.exp: Update.
4749 * gdb.threads/tls-shared.exp: Update.
4750 * gdb.trace/change-loc.exp: Update.
4751 * gdb.trace/strace.exp: Update.
4752
4753 2012-06-19 Tom Tromey <tromey@redhat.com>
4754
4755 * gdb.base/whatis.exp: Add tests.
4756
4757 2012-06-19 Tom Tromey <tromey@redhat.com>
4758
4759 * gdb.cp/m-static.cc (keepalive): New function.
4760 (gnu_obj_1::method): Use it.
4761
4762 2012-06-18 Doug Evans <dje@google.com>
4763
4764 * gdb.base/info-fun.exp: New file.
4765 * gdb.base/info-fun.c: New file.
4766 * gdb.base/info-fun-solib.c: New file.
4767
4768 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4769
4770 Remove stale dummy frames.
4771 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4772 (maintenance info breakpoints): New tests.
4773 * gdb.base/stale-infcall.c: New file.
4774 * gdb.base/stale-infcall.exp: New file.
4775
4776 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4777
4778 * gdb.arch/amd64-entry-value-param.S: New file.
4779 * gdb.arch/amd64-entry-value-param.c: New file.
4780 * gdb.arch/amd64-entry-value-param.exp: New file.
4781
4782 2012-06-15 Tom Tromey <tromey@redhat.com>
4783
4784 * gdb.cp/namespace.exp: Add "show lang" test.
4785
4786 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4787
4788 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4789 case. (top level): Use gdb_file_cmd instead of gdb_load.
4790
4791 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 PR tdep/14222
4794 * gdb.arch/i386-sse-stack-align.S: New file.
4795 * gdb.arch/i386-sse-stack-align.c: New file.
4796 * gdb.arch/i386-sse-stack-align.exp: New file.
4797
4798 2012-06-13 Keith Seitz <keiths@redhat.com>
4799
4800 PR breakpoints/13798 and mi/11541
4801 * gdb.linespec/ls-errs.exp: Add a few more tests for
4802 filenames with spaces and colons.
4803
4804 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4805
4806 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4807 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4808 (test_function): Call CV_f.
4809 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4810 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4811 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4812 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4813 (p CV_f(CV::i)): New tests.
4814
4815 2012-06-13 Tom Tromey <tromey@redhat.com>
4816
4817 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4818
4819 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4820
4821 Fix regression by the "ambiguous linespec" series.
4822 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4823 tests.
4824
4825 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4826
4827 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4828 missing.
4829
4830 2012-06-11 Tom Tromey <tromey@redhat.com>
4831
4832 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4833 location...
4834 (main): ...here.
4835
4836 2012-06-07 Yao Qi <yao@codesourcery.com>
4837
4838 * gdb.trace/strace.exp: Shorten some too-long lines.
4839
4840 2012-06-06 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.threads/clone-new-thread-event.c: New file.
4843 * gdb.threads/clone-new-thread-event.exp: New file.
4844
4845 2012-06-06 Yao Qi <yao@codesourcery.com>
4846
4847 * gdb.base/dprintf.c (main): Add extra parameter when calling
4848 printf and fprintf.
4849 (bar): New function. It is a dead function, but to ensure
4850 'malloc' is linked explicitly.
4851
4852 2012-06-06 Yao Qi <yao@codesourcery.com>
4853
4854 * gdb.base/info-proc.exp: Return if target doesn't support
4855 'info proc'.
4856
4857 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4860 (run program with breakpoint commands): XFAIl if it is not.
4861
4862 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4863
4864 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4865 and add comment.
4866 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4867 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4868 "STOP" marker. Adjust testing strategy to make it work on
4869 all targets.
4870
4871 * gdb.base/print-file-var-main.c (main): Rewrite using local
4872 variables and adjust get_version_2's return value check.
4873 Add small comment.
4874 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4875 marker. Adjust testing strategy to make it work on all targets.
4876
4877 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4878
4879 * gdb.ada/bad-task-bp-keyword: New testcase.
4880
4881 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4884 Simplify it to ...
4885 (symbol-file ${testfile1}): ... here.
4886 (test eliminated var my_global_symbol)
4887 (test eliminated var my_static_symbol)
4888 (test eliminated var my_global_func, get address of main): Wrap them to
4889 'single psymtabs' and 'single symtabs'
4890 (get address of my_global_symbol, get address of my_static_symbol)
4891 (get address of my_global_func, get address of main): Wrap them to
4892 'order1' and 'order2'.
4893
4894 * gdb.base/code_elim.exp
4895 (add-symbol-file ${testfile1} 0x100000)
4896 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4897 'order2'.
4898 (order1: add-symbol-file ${testfile1} 0x100000)
4899 (order1: add-symbol-file ${testfile2} 0x200000)
4900 (order2: add-symbol-file ${testfile2} 0x200000)
4901 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4902 .bss as appropriate.
4903
4904 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * gdb.server/solib-list-lib.c: New file.
4907 * gdb.server/solib-list-main.c: New file.
4908 * gdb.server/solib-list.exp: New file.
4909
4910 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4911
4912 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4913 for 'set print symbol' change.
4914
4915 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4916
4917 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4918 .debug_abbrev_seg3.
4919
4920 2012-05-24 John Steele Scott <toojays@toojays.net>
4921
4922 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4923 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4924 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4925
4926 2012-05-23 Stan Shebs <stan@codesourcery.com>
4927
4928 * gdb.mi/mi-info-os.exp: New file.
4929
4930 2012-05-23 Keith Seitz <keiths@redhat.com>
4931
4932 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4933 return -1 to suppress the rest of the tests.
4934 (compile_stap_bin): Return boolean success value.
4935
4936 2012-05-21 Tom Tromey <tromey@redhat.com>
4937
4938 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4939 Remove kfails.
4940 (test_print_mi_member_types): Likewise.
4941
4942 2012-05-21 Tom Tromey <tromey@redhat.com>
4943
4944 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4945 print symbol' change.
4946
4947 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4948
4949 * gdb.python/py-prompt.exp: Quit if the target is remote.
4950
4951 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4952
4953 Fix ERROR: internal buffer is full.
4954 * gdb.base/info-os.exp (expect_multiline): New function.
4955 (get process list, get process groups, get threads)
4956 (get file descriptors, get internet-domain sockets)
4957 (get shared-memory regions, get semaphores, get message queues): Use
4958 it for these tests.
4959
4960 2012-05-18 Tom Tromey <tromey@redhat.com>
4961
4962 * gdb.mi/mi-var-cmd.exp: Update.
4963 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4964 * gdb.cp/virtbase.exp: Update.
4965 * gdb.cp/classes.exp (test_static_members): Update.
4966 * gdb.cp/casts.exp: Update.
4967 * gdb.base/pointers.exp: Update.
4968 * gdb.base/funcargs.exp (pointer_args): Update.
4969 (structs_by_reference): Update.
4970 * gdb.base/find.exp: Update.
4971 * gdb.base/call-strs.exp: Send "set print symbol off".
4972 * gdb.base/call-ar-st.exp: Update.
4973 * gdb.ada/fun_addr.exp: Update.
4974 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4975 Call it.
4976 (test_print_repeats_10, test_print_strings)
4977 (test_print_char_arrays): Update.
4978
4979 2012-05-18 Tom Tromey <tromey@redhat.com>
4980
4981 * gdb.base/charset.exp (string_display): Update.
4982
4983 2012-05-18 Tom Tromey <tromey@redhat.com>
4984
4985 * gdb.mi/mi2-var-display.exp: Update.
4986 * gdb.mi/mi-var-display.exp: Update.
4987 * gdb.mi/mi-var-child.exp: Update.
4988 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4989 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4990
4991 2012-05-17 Doug Evans <dje@google.com>
4992
4993 * info-macros.exp: Pass "debug" to prepare_for_testing.
4994
4995 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4996 * gdb.ada/Makefile.in (clean): Ditto.
4997 * gdb.arch/Makefile.in (clean): Ditto.
4998 * gdb.asm/Makefile.in (clean): Ditto.
4999 * gdb.base/Makefile.in (clean): Ditto.
5000 * gdb.cell/Makefile.in (clean): Ditto.
5001 * gdb.cp/Makefile.in (clean): Ditto.
5002 * gdb.disasm/Makefile.in (clean): Ditto.
5003 * gdb.dwarf2/Makefile.in (clean): Ditto.
5004 * gdb.fortran/Makefile.in (clean): Ditto.
5005 * gdb.go/Makefile.in (clean): Ditto.
5006 * gdb.hp/Makefile.in (clean): Ditto.
5007 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5008 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5009 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5010 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5011 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5012 * gdb.java/Makefile.in (clean): Ditto.
5013 * gdb.linespec/Makefile.in (clean): Ditto.
5014 * gdb.mi/Makefile.in (clean): Ditto.
5015 * gdb.modula2/Makefile.in (clean): Ditto.
5016 * gdb.multi/Makefile.in (clean): Ditto.
5017 * gdb.objc/Makefile.in (clean): Ditto.
5018 * gdb.opencl/Makefile.in (clean): Ditto.
5019 * gdb.opt/Makefile.in (clean): Ditto.
5020 * gdb.pascal/Makefile.in (clean): Ditto.
5021 * gdb.python/Makefile.in (clean): Ditto.
5022 * gdb.reverse/Makefile.in (clean): Ditto.
5023 * gdb.server/Makefile.in (clean): Ditto.
5024 * gdb.stabs/Makefile.in (clean): Ditto.
5025 * gdb.threads/Makefile.in (clean): Ditto.
5026 * gdb.trace/Makefile.in (clean): Ditto.
5027 * gdb.xml/Makefile.in (clean): Ditto.
5028
5029 2012-05-16 Tom Tromey <tromey@redhat.com>
5030
5031 * gdb.base/macscp1.c (macscp_expr): Add comment.
5032 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5033
5034 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5035
5036 * gdb.base/return-nodebug.exp: Also test float and double types.
5037
5038 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5039
5040 PR testsuite/12649
5041 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5042
5043 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5044
5045 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5046
5047 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5048 `rerun_to_main'.
5049 (stap_test_no_debuginfo): Likewise.
5050
5051 2012-05-14 Stan Shebs <stan@codesourcery.com>
5052
5053 * gdb.base/dprintf.c: New file.
5054 * gdb.base/dprintf.exp: New file.
5055
5056 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5057
5058 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5059 * gdb.trace/disconnected-tracing.c: New file.
5060 * gdb.trace/disconnected-tracing.exp: New file.
5061
5062 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5063
5064 * gdb.python/python.c: Add a new breakpoint comment.
5065 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5066
5067 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5068
5069 * gdb.base/info-os.exp: New file.
5070 * gdb.base/info-os.c: New file.
5071
5072 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5073
5074 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5075 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5076 New files.
5077
5078 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5079
5080 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5081 gdb.base/ctxobj.exp: New files.
5082
5083 2012-05-09 Tom Tromey <tromey@redhat.com>
5084
5085 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5086
5087 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5088
5089 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5090
5091 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5092
5093 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5094 before using it.
5095
5096 2012-05-04 Tristan Gingold <gingold@adacore.com>
5097
5098 * gdb.base/set-noassign.exp: New test.
5099
5100 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5101
5102 * gdb.python/py-symbol.exp: Add tests to test the new methods
5103 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5104 * gdb.python/py-symbol.c: Add new struct to help test
5105 gdb.Symtab.static_block().
5106
5107 2012-05-03 Doug Evans <dje@google.com>
5108
5109 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5110 commented out.
5111
5112 2012-05-03 Yao Qi <yao@codesourcery.com>
5113
5114 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5115 doesn't support.
5116 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5117 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5118
5119 2012-05-03 Yao Qi <yao@codesourcery.com>
5120
5121 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5122
5123 2012-04-30 Doug Evans <dje@google.com>
5124
5125 PR testsuite/13961
5126 * gdb.dwarf2/pr13961.S: New file.
5127 * gdb.dwarf2/pr13961.exp: New file.
5128
5129 2012-04-29 Yao Qi <yao@codesourcery.com>
5130
5131 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5132
5133 2012-04-28 Doug Evans <dje@google.com>
5134
5135 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5136 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5137 All uses updated.
5138 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5139 "ptype func_cu1" to expand cu2 before cu1.
5140
5141 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5142 Tom Tromey <tromey@redhat.com>
5143
5144 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5145 variables.
5146 * gdb.base/stap-probe.c: New file.
5147 * gdb.base/stap-probe.exp: New file.
5148 * gdb.trace/stap-trace.c: New file.
5149 * gdb.trace/stap-trace.exp: New file.
5150 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5151 libgcc's unwinder.
5152
5153 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5154
5155 * gdb.arch/mips16-thunks-inmain.c: New file.
5156 * gdb.arch/mips16-thunks-main.c: New file.
5157 * gdb.arch/mips16-thunks-sin.c: New file.
5158 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5159 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5160 * gdb.arch/mips16-thunks-sinmain.c: New file.
5161 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5162 * gdb.arch/mips16-thunks.exp: New file.
5163
5164 2012-04-25 Doug Evans <dje@google.com>
5165
5166 * configure.ac: Create gdb.go/Makefile.
5167 * configure: Regenerate.
5168 * gdb.base/default.exp: Add "go" to "set language" testing.
5169 * gdb.go/Makefile.in: New file.
5170 * gdb.go/basic-types.exp: New file.
5171 * gdb.go/chan.exp: New file.
5172 * gdb.go/chan.go: New file.
5173 * gdb.go/handcall.exp: New file.
5174 * gdb.go/handcall.go: New file.
5175 * gdb.go/hello.exp: New file.
5176 * gdb.go/hello.go: New file.
5177 * gdb.go/integers.exp: New file.
5178 * gdb.go/integers.go: New file.
5179 * gdb.go/methods.exp: New file.
5180 * gdb.go/methods.go: New file.
5181 * gdb.go/package.exp: New file.
5182 * gdb.go/package1.go: New file.
5183 * gdb.go/package2.go: New file.
5184 * gdb.go/print.exp: New file.
5185 * gdb.go/strings.exp: New file.
5186 * gdb.go/strings.go: New file.
5187 * gdb.go/types.exp: New file.
5188 * gdb.go/types.go: New file.
5189 * gdb.go/unsafe.exp: New file.
5190 * gdb.go/unsafe.go: New file.
5191 * lib/future.exp: Add Go support.
5192 (gdb_find_go, gdb_find_go_linker): New procs.
5193 (gdb_default_target_compile): Add Go support.
5194 * lib/gdb.exp (skip_go_tests): New proc.
5195 * lib/go.exp: New file.
5196
5197 2012-04-25 Tom Tromey <tromey@redhat.com>
5198
5199 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5200
5201 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 Jan Kratochvil <jan.kratochvil@redhat.com>
5203
5204 PR symtab/7259:
5205 * gdb.base/enumval.c: New test case.
5206 * gdb.base/enumval.exp: New test case.
5207 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5208 field.bitpos.
5209
5210 2012-04-17 Pedro Alves <palves@redhat.com>
5211
5212 * Makefile.in (site.exp): Make site.exp source
5213 $srcdir/lib/append_gdb_boards_dir.exp.
5214 * lib/append_gdb_boards_dir.exp: New file.
5215
5216 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5217
5218 New option "set auto-load safe-path".
5219 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5220 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5221
5222 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5223
5224 auto-load: Implementation.
5225 * gdb.base/help.exp (test set height): Increase the height.
5226 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5227 to ...
5228 (info auto-load python-scripts): ... here.
5229 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5230 to ...
5231 (info auto-load python-scripts *): ... here.
5232
5233 2012-04-16 Yao Qi <yao@codesourcery.com>
5234
5235 * lib/trace-support.exp (get_in_proc_agent): New.
5236 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5237 of in process trace agent.
5238 * gdb.trace/ftrace.exp: Likewise.
5239 * gdb.trace/pending.exp: Likewise.
5240 * gdb.trace/trace-break.exp: Likewise.
5241 * gdb.trace/trace-mt.exp
5242 * gdb.trace/tspeed.exp: Likewise.
5243 * gdb.trace/tstatus.exp
5244 * gdb.trace/strace.exp: Likewise.
5245
5246 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5247
5248 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5249 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5250
5251 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5252
5253 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5254
5255 PR mi/13393
5256 * gdb.mi/mi-var-rtti.cc: New file.
5257 * gdb.mi/mi-var-rtti.exp: New file.
5258 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5259 function.
5260 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5261
5262 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5263
5264 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5265 EXECUTABLES.
5266 * gdb.python/py-explore.c: C program used for testing the new
5267 'explore' command on C constructs.
5268 * gdb.python/py-explore.cc: C++ program used for testing the new
5269 'explore' command on C++ constructs.
5270 * gdb-python/py-explore.exp: Tests for the new 'explore'
5271 command on C constructs.
5272 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5273 command on C++ constructs.
5274
5275 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5276
5277 * gdb.base/funcargs.exp (complex_args): Fix typo.
5278
5279 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5280
5281 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5282 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5283
5284 2012-04-05 Keith Seitz <keiths@redhat.com>
5285
5286 * gdb.base/advance.exp: Update error message for
5287 "advance malformed" test.
5288 * gdb.base/break.exp: Likewise for "breakpoint with
5289 trailing garbage" test.
5290 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5291 with trailing garbage" test.
5292 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5293 trailng garbage" test.
5294 * gdb.base/until.exp: Likewise for "malformed until" test.
5295 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5296 for "breakpoint info (after setting on all)".
5297 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5298 tests.
5299 * gdb.cp/cplabel.cc: New file.
5300 * gdb.cp/cplabel.exp: New test.
5301 * gdb.linespec/ls-errs.c: New file.
5302 * gdb.linespec/ls-errs.exp: New test.
5303
5304 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 * gdb.trace/unavailable.exp
5307 (collect globals: print object on: print derived_partial)
5308 (collect globals: print object on: print derived_whole)
5309 (collect globals: print object off: print derived_partial)
5310 (collect globals: print object off: print derived_whole): Update
5311 expected output.
5312
5313 2012-03-30 Keith Seitz <keiths@redhat.com>
5314
5315 * gdb.python: Add test for linespecs with commas.
5316
5317 2012-03-28 Keith Seitz <keiths@redhat.com>
5318
5319 * gdb.linespec/ls-dollar.cc: New file.
5320 * gdb.linespec/ls-dollar.exp: New test.
5321
5322 2012-03-28 Keith Seitz <keiths@redhat.com>
5323
5324 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5325 starting with the global namespace.
5326
5327 2012-03-23 Doug Evans <dje@google.com>
5328
5329 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5330
5331 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5332
5333 * gdb.python/py-value.cc: Add test case for testing the
5334 methodology exposing C++ values to Python.
5335 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5336 exposing C++ values to Python.
5337 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5338
5339 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5340 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5343 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5344 (generate native core dump): Make the test unsupported if core cannot
5345 be generated.
5346
5347 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5348
5349 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5350 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5351 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5352
5353 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5354
5355 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5356
5357 2012-03-17 Doug Evans <dje@google.com>
5358
5359 * dg-extract-results.sh: Handle KFAILs.
5360
5361 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5362
5363 PR symtab/13777
5364 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5365
5366 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5367
5368 * gdb.ada/set_pckd_arr_elt: New testcase.
5369
5370 2012-03-16 Gary Benson <gbenson@redhat.com>
5371
5372 PR breakpoints/10738
5373 * gdb.opt/inline-break.exp: New file.
5374 * gdb.opt/inline-break.c: Likewise.
5375 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5376 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5377 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5378 * gdb.base/async-shell.exp: Likewise.
5379 * lib/mi-support.exp (library_loaded_re): Likewise.
5380
5381 2012-03-15 Tom Tromey <tromey@redhat.com>
5382
5383 * gdb.cp/virtfunc2.exp: Update expected output.
5384 * gdb.cp/pr9631.exp: Update expected output.
5385 * gdb.cp/member-ptr.exp: Update expected output.
5386 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5387 output.
5388 * gdb.cp/casts.exp: Update expected output.
5389
5390 2012-03-15 Tom Tromey <tromey@redhat.com>
5391
5392 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5393 (test_info_vtbl): Likewise.
5394 (do_tests): Call test_info_vtbl.
5395 * gdb.cp/virtfunc.cc (va): New global.
5396
5397 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5398
5399 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5400 describing DWARF data structures.
5401 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5402 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5403 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5404 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5405 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5406 * gdb.dwarf2/dw2-param-error.S: Likewise.
5407 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5408 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5409 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5410 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5411 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5412 * gdb.dwarf2/pr11465.S: Likewise.
5413
5414 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.mi/mi2-prompt.exp: New file.
5417
5418 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5419
5420 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5421
5422 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5423
5424 * gdb.ada/bp_range_type: New testcase.
5425
5426 2012-03-13 Doug Evans <dje@google.com>
5427
5428 * gdb.base/default.exp: Delete tests for symbol-reloading.
5429 * gdb.base/help.exp: Ditto.
5430 * gdb.base/setshow.exp: Ditto.
5431 * gdb.base/gdb_history: Delete references to symbol-reloading.
5432
5433 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5434
5435 * gdb.base/attach-twice.c: New files.
5436 * gdb.base/attach-twice.exp: New files.
5437
5438 2012-03-08 Keith Seitz <keiths@redhat.com>
5439
5440 * lib/gdb.exp (gdb_get_line_number): Throw an
5441 error instead of returning -1.
5442 * gdb.base/break.exp: Remove unused variable
5443 bp_location5.
5444 * gdb.base/hbreak2.exp: Likewise.
5445 * gdb.base/sepdebug.exp: Likewise.
5446
5447 2012-03-08 Yao Qi <yao@codesourcery.com>
5448 Pedro Alves <palves@redhat.com>
5449
5450 Fix PR server/13392.
5451 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5452 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5453 download tracepoints.
5454 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5455 (pending_tracepoint_resolved_during_trace): Likewise.
5456 (pending_tracepoint_installed_during_trace): Likewise.
5457 (pending_tracepoint_with_action_resolved): Likewise.
5458
5459 2012-03-08 Keith Seitz <keiths@redhat.com>
5460
5461 * gdb.ada/array_bounds.exp: Get breakpoint for line
5462 with "START", not "STOP".
5463 * gdb.python/py-infthread.exp: Do not continue to
5464 line marked "Break here.", which is undefined.
5465
5466 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5467
5468 Revert:
5469
5470 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5471
5472 Implement testsuite workaround for PR breakpoints/13781.
5473 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5474 (set breakpoint condition-evaluation host): New conditional command.
5475
5476 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 Fix CU relative vs. absolute DIE offsets.
5479 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5480 one.
5481
5482 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5483
5484 Fix false FAIL on distros with relro linkage as default.
5485 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5486 -Wl,-z,norelro first.
5487
5488 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5489
5490 * gdb.ada/bp_on_var: New testcase.
5491
5492 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5493
5494 * gdb.ada/bp_enum_homonym: New testcase.
5495
5496 2012-03-06 Yao Qi <yao@codesourcery.com>
5497
5498 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5499 x86_64-*-* and i?86-*-*.
5500 Set up KFAIL for gdb/13808.
5501
5502 2012-03-05 Tom Tromey <tromey@redhat.com>
5503
5504 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5505 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5506
5507 2012-03-05 Tom Tromey <tromey@redhat.com>
5508
5509 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5510
5511 2012-03-04 Yao Qi <yao@codesourcery.com>
5512
5513 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5514 messages for KFAIL.
5515
5516 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5517
5518 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5519 (print one_two_three, indexes off, print few_reps, indexes off)
5520 (print many_reps, indexes off, print empty, indexes off)
5521 (print one_two_three, print few_reps, print many_reps, print empty):
5522 Call setup_xfail if $gcc_old.
5523
5524 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5525
5526 Implement testsuite workaround for PR breakpoints/13781.
5527 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5528 (set breakpoint condition-evaluation host): New conditional command.
5529
5530 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5531
5532 Code cleanup.
5533 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5534 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5535 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5536 number 1 by $bpnum. Four times.
5537
5538 2012-03-03 Yao Qi <yao@codesourcery.com>
5539
5540 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5541
5542 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5543
5544 Setup KFAIL for PR server/13796.
5545 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5546
5547 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5548
5549 * gdb.ada/operator_bp: New testcase.
5550
5551 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5552
5553 * gdb.ada/info_locals_renaming: New testcase.
5554
5555 2012-03-02 Tom Tromey <tromey@redhat.com>
5556
5557 * gdb.base/nextoverexit.c: New file.
5558 * gdb.base/nextoverexit.exp: New file.
5559
5560 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5561
5562 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5563 parameter.
5564
5565 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5566
5567 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5568 core registers.
5569
5570 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5571 Maciej W. Rozycki <macro@codesourcery.com>
5572 Daniel Jacobowitz <dan@codesourcery.com>
5573
5574 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5575
5576 2012-03-01 Pedro Alves <palves@redhat.com>
5577
5578 PR gdb/13767
5579
5580 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5581 (gdb_collect_globals_test): Call it.
5582
5583 2012-03-01 Keith Seitz <keiths@redhat.com>
5584
5585 * gdb.cp/method2.exp: Output of overload menu is now
5586 alphabetized. Update tests for "break A::method".
5587 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5588 of hard-coding them.
5589 Overload menu is alphabetized: rewrite to accommodate.
5590 Unset variables LINE and TYPES which are used in other tests.
5591 Compute the output of "info break".
5592 Update the breakpoint table after all breakpoints are deleted.
5593 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5594 compute ACTUALS and the method body based on parameters.
5595 Update expected output accordingly.
5596 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5597 unique comments to allow the use of gdb_get_line_number.
5598
5599 2012-03-01 Keith Seitz <keiths@redhat.com>
5600
5601 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5602 some Tcl syntax.
5603 * gdb.cp/ovldbreak.exp: Likewise.
5604
5605 2012-03-01 Keith Seitz <keiths@redhat.com>
5606
5607 * gdb.base/help.exp (help show user): Update expected result
5608 for new doc string changes (add "non-python").
5609
5610 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5611
5612 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5613 be put in the user-defined category and that the commands appear in
5614 "help user-defined".
5615
5616 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5617
5618 * gdb.ada/tagged_not_init: New testcase.
5619
5620 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5621
5622 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5623 * gdb.ada/enum_idx_packed: New testcase.
5624
5625 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5626
5627 * gdb.ada/aliased_array: New testcase.
5628
5629 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5630
5631 * gdb.ada/whatis_array_val: New testcase.
5632
5633 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5634
5635 Fix disp-step-syscall.exp: fork: single step over fork.
5636 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5637 whitespaces.
5638 (single step over $syscall): Remove its check.
5639 (single step over $syscall final pc): New check.
5640
5641 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 Support processors without SSSE3.
5644 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5645 pabsd into ...
5646 (ssse3_test): ... a new function.
5647 (main): Call ssse3_test.
5648 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5649 Update expected values everywhere.
5650 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5651 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5652 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5653 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5654 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5655 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5656 Move these tests lower.
5657 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5658 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5659 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5660 New tests.
5661
5662 2012-02-29 Yao Qi <yao@codesourcery.com>
5663 Pedro Alves <palves@redhat.com>
5664
5665 * gdb.trace/trace-mt.c: New.
5666 * gdb.trace/trace-mt.exp: New.
5667
5668 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5669
5670 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5671 numbers instead of hardcoding them.
5672 * gdb.base/annota1.c: Provide suitable markers.
5673 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5674 numbers instead of hardcoding them.
5675 * gdb.base/annota3.c: Provide suitable markers.
5676
5677 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5678 * gdb.base/annota3.c: Likewise.
5679 * gdb.base/sigall.c: Likewise.
5680 * gdb.base/signals.c: Likewise.
5681 * gdb.reverse/sigall-reverse.c: Likewise.
5682
5683 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5684
5685 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5686 failure return path.
5687
5688 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5689
5690 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5691
5692 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5693
5694 * gdb.base/cond-eval-mode.exp: New file.
5695
5696 2012-02-24 Pedro Alves <palves@redhat.com>
5697
5698 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5699 (top level): Use with_test_prefix.
5700
5701 2012-02-24 Pedro Alves <palves@redhat.com>
5702
5703 * gdb.threads/attach-into-signal.exp (corefunc): Use
5704 with_test_prefix.
5705
5706 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5707
5708 Fix false FAILs on old CPUs without SSE.
5709 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5710 Return untested for Illegal instruction.
5711
5712 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5713
5714 Fix false FAILs with glibc debug infos installed.
5715 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5716 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5717
5718 2012-02-22 Sterling Augustine <saugustine@google.com>
5719
5720 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5721 constant with cast.
5722
5723 2012-02-21 Pedro Alves <palves@redhat.com>
5724
5725 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5726
5727 2012-02-21 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5730
5731 2012-02-21 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5734 with_test_prefix.
5735
5736 2012-02-21 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5739 with_test_prefix here.
5740 (top level): Do it here instead. Remove `:' from the
5741 with_test_prefix string.
5742 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5743 the suffix `:' from the with_test_prefix prefix string.
5744 * gdb.base/break-interp.exp: Ditto.
5745 * gdb.base/catch-load.exp: Ditto.
5746 * gdb.base/disp-step-syscall.exp: Ditto.
5747 * gdb.base/jit-so.exp: Ditto.
5748 * gdb.base/jit.exp: Ditto.
5749 * gdb.base/sepdebug.exp: Ditto.
5750 * gdb.base/solib-display.exp: Ditto.
5751 * gdb.base/solib-overlap.exp: Ditto.
5752 * gdb.base/watch-cond-infcall.exp: Ditto.
5753 * gdb.base/watchpoint.exp: Ditto.
5754 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5755 * gdb.mi/mi-watch.exp: Ditto.
5756 * gdb.mi/mi2-watch.exp: Ditto.
5757 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5758 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5759 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5760 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5761 * gdb.threads/watchpoint-fork.exp: Ditto.
5762 * gdb.threads/watchthreads-reorder.exp: Ditto.
5763 * gdb.trace/change-loc.exp: Ditto.
5764 * gdb.trace/pending.exp: Ditto.
5765 * gdb.trace/status-stop.exp: Ditto.
5766 * gdb.trace/strace.exp: Ditto.
5767 * gdb.trace/trace-break.exp: Ditto.
5768 * gdb.trace/unavailable.exp: Ditto.
5769 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5770 suffix with colon. Adjust leading comments.
5771
5772 2012-02-21 Pedro Alves <palves@redhat.com>
5773 Tom Tromey <tromey@redhat.com>
5774
5775 * lib/gdb.exp: Add description of test prefixes.
5776 (with_test_prefix): New procedure.
5777 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5778 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5779 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5780 instead of lappend to append to pf_prefix.
5781 * gdb.base/catch-load.exp: Use with_test_prefix.
5782 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5783 * gdb.base/jit-so.exp: Use with_test_prefix.
5784 * gdb.base/jit.exp: Use with_test_prefix.
5785 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5786 lappend to append to pf_prefix.
5787 * gdb.base/sepdebug.exp: Use with_test_prefix.
5788 * gdb.base/solib-display.exp: Use with_test_prefix.
5789 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5790 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5791 * gdb.base/watchpoint.exp: Use with_test_prefix.
5792 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5793 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5794 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5795 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5796 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5797 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5798 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5799 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5800 append instead of lappend to append to pf_prefix.
5801 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5802 * gdb.trace/change-loc.exp: Use with_test_prefix.
5803 * gdb.trace/pending.exp: Use with_test_prefix.
5804 * gdb.trace/status-stop.exp: Use with_test_prefix.
5805 * gdb.trace/strace.exp: Use with_test_prefix.
5806 * gdb.trace/trace-break.exp: Use with_test_prefix.
5807 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5808 instead of lappend to append to pf_prefix.
5809
5810 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 Fix racy FAILs.
5813 * gdb.base/inferior-died.c (main): Add return of 0.
5814 * gdb.base/inferior-died.exp (continue): Fix expectation of
5815 asynchronous events.
5816 (p 1): New test.
5817
5818 2012-02-20 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5821 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5822 gdb's internal debug output. For the non-threaded case, look for
5823 "Program received signal SIGLARM", for the threaded case, peek at
5824 the thread's siginfo.
5825
5826 2012-02-20 Pedro Alves <palves@redhat.com>
5827
5828 General cleanup, make output test messages unique, and build
5829 different executable files for the non-threaded and threaded
5830 cases.
5831
5832 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5833 Delete.
5834 (executable_nothr, executable_thr): New globals.
5835 (top level): Adjust to delete both executables.
5836 (corefunc): New parameter $executable. Set $pf_prefix instead of
5837 hand writing a prefix in tests. Issue a clean_restart and enable
5838 lin-lwp debug output here.
5839 (top level): Adjust. Use build_executable. Don't start gdb here,
5840 and don't enable lin-lwp debug output here.
5841 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5842
5843 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5844
5845 Fix racy FAILs.
5846 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5847 "continue" command.
5848
5849 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5850
5851 Fix for gdbserver non-extended mode.
5852 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5853 and gdb_run_cmd.
5854
5855 2012-02-17 Tom Tromey <tromey@redhat.com>
5856
5857 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5858 * gdb.python/py-events.exp: Check 'dir' output.
5859 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5860
5861 2012-02-17 Yao Qi <yao@codesourcery.com>
5862
5863 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5864
5865 2012-02-16 Tom Tromey <tromey@redhat.com>
5866
5867 * gdb.base/inferior-died.c: Don't include stdio.h.
5868
5869 2012-02-16 Tom Tromey <tromey@redhat.com>
5870
5871 * gdb.base/inferior-died.c: New file.
5872 * gdb.base/inferior-died.exp: New file.
5873
5874 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5875
5876 * gdb.base/break-inline.exp: New file.
5877 * gdb.base/break-inline.c: New file.
5878
5879 2012-02-15 Tom Tromey <tromey@redhat.com>
5880
5881 * gdb.base/pc-fp.exp: Add "info register" tests.
5882
5883 2012-02-15 Tom Tromey <tromey@redhat.com>
5884
5885 * gdb.base/regs.exp: Remove.
5886
5887 2012-02-15 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5890 the target doesn't support tracepoints.
5891 * gdb.trace/circ.exp: Ditto.
5892 * gdb.trace/collection.exp: Ditto.
5893 * gdb.trace/packetlen.exp: Ditto.
5894 * gdb.trace/passc-dyn.exp: Ditto.
5895 * gdb.trace/report.exp: Ditto.
5896 * gdb.trace/tfind.exp: Ditto.
5897 * gdb.trace/tspeed.exp: Ditto.
5898 * gdb.trace/tsv.exp: Ditto.
5899 * gdb.trace/unavailable.exp: Ditto.
5900 * gdb.trace/while-dyn.exp: Ditto.
5901
5902 2012-02-15 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5905 gdb_test_multiple, and call unsupported instead of fail, if the
5906 remote side does not support the request.
5907
5908 2012-02-15 Pedro Alves <palves@redhat.com>
5909
5910 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5911 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5912 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5913 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5914 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5915 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5916 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5917 doesn't start with "extended-" already.
5918
5919 2012-02-15 Pedro Alves <palves@redhat.com>
5920
5921 Support extended-remote. Avoid cascading timeouts.
5922
5923 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5924 the extended-remote target. If attaching with no file fails, load
5925 the file manually.
5926 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5927
5928 2012-02-14 Stan Shebs <stan@codesourcery.com>
5929
5930 * gdb.base/ena-dis-br.exp: Add enable count test.
5931
5932 2012-02-13 Pedro Alves <palves@redhat.com>
5933
5934 * config/mips-idt.exp: Delete.
5935 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5936 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5937 * gdb.base/break.exp: Remove mips-idt references.
5938 * gdb.base/chng-syms.exp: Ditto.
5939 * gdb.base/default.exp: Ditto.
5940 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5941 (top level): Don't call it.
5942 * gdb.base/opaque.exp: Remove mips-idt restarts.
5943 * gdb.base/ptype.exp: Remove mips-idt xfails.
5944 * gdb.base/scope.exp: Remove mips-idt restarts.
5945 * gdb.base/sepdebug.exp: Remove mips-idt references.
5946 * gdb.base/watchpoint.exp (maybe_clean_restart)
5947 (maybe_reinitialize): Delete.
5948 (test_disabling_watchpoints, test_disabling_watchpoints)
5949 (test_watchpoint_triggered_in_syscall)
5950 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5951 Don't call them.
5952
5953 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5954
5955 * gdb.server/server-exec-info.exp: New file.
5956
5957 2012-02-10 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5960 always non-empty.
5961 (test_attach): Always pass $exec to test_attach_gdb.
5962
5963 2012-02-08 Tom Tromey <tromey@redhat.com>
5964
5965 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5966 before inferior is started.
5967
5968 2012-02-07 Tom Tromey <tromey@redhat.com>
5969
5970 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5971 Symbol.value.
5972 * gdb.python/py-symbol.c (qq): Set default value.
5973
5974 2012-02-07 Tom Tromey <tromey@redhat.com>
5975
5976 * gdb.python/py-symbol.c (qq): New global.
5977 * gdb.python/py-symbol.exp: Add test for frame-less
5978 lookup_symbol.
5979 * gdb.python/py-symtab.exp: Fix line number.
5980
5981 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5982
5983 * gdb.ada/mi_task_arg: New testcase.
5984
5985 2012-02-02 Pedro Alves <palves@redhat.com>
5986
5987 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5988 extended timeout.
5989
5990 2012-02-02 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5993 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5994
5995 2012-02-02 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.base/term.exp: Rewrite.
5998 * gdb.base/term.c: New.
5999
6000 2012-02-02 Pedro Alves <palves@redhat.com>
6001
6002 * gdb.base/default.exp (run "r" abbreviation, run): Add
6003 extended-remote expected output.
6004
6005 2012-02-02 Tom Tromey <tromey@redhat.com>
6006
6007 * gdb.cp/dispcxx.exp: New file.
6008 * gdb.cp/dispcxx.cc: New file.
6009
6010 2012-02-01 Tom Tromey <tromey@redhat.com>
6011
6012 * gdb.base/jit-simple.exp: New file.
6013 * gdb.base/jit-simple.c: New file.
6014
6015 2012-01-30 Yao Qi <yao@codesourcery.com>
6016
6017 * gdb.base/skip.exp: Make test result unique.
6018
6019 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6020
6021 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6022 compatibility with valgrind-3.7.0.
6023
6024 2012-01-27 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.base/watchpoint.exp (no_hw): New global.
6027 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6028 disable hw watchpoints.
6029 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6030 don't expect hw watchpoints.
6031 (no_hw_watchpoints): Always clean restart.
6032 (do_tests): New procedure, factored out from the top level.
6033 (top level): Run tests twice. Once with hw watchpoints enabled,
6034 another time with hw watchpoints disabled.
6035
6036 2012-01-27 Pedro Alves <palves@redhat.com>
6037
6038 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6039 out from the top level.
6040 (top level): Call it instead.
6041
6042 2012-01-27 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6045 watchpoints sooner.
6046
6047 2012-01-27 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6050
6051 2012-01-27 Pedro Alves <palves@redhat.com>
6052
6053 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6054 "You may have requested too many hardware
6055 breakpoints/watchpoints".
6056
6057 2012-01-27 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/watchpoint.exp (maybe_clean_restart)
6060 (maybe_reinitialize): New.
6061 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6062 expect "hit N times".
6063 (test_disabling_watchpoints, test_complex_watchpoint)
6064 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6065 Call maybe_clean_restart.
6066 (top level): Use clean_restart. Remove "mips-idt-*"
6067 reinitialization.
6068
6069 2012-01-27 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6072
6073 2012-01-27 Pedro Alves <palves@redhat.com>
6074
6075 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6076 require `initialize' anymore. Remove unnecessary `initialize'
6077 calls.
6078
6079 2012-01-27 Pedro Alves <palves@redhat.com>
6080
6081 * gdb.base/watchpoint.exp (wp_set): Delete.
6082 (initialize, test_simple_watchpoint, top level): Remove dead code.
6083
6084 2012-01-27 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6087 typo.
6088
6089 2012-01-27 Pedro Alves <palves@redhat.com>
6090
6091 * config/extended-gdbserver.exp: New file.
6092 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6093 comment.
6094 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6095 * boards/native-extended-gdbserver.exp: New file.
6096
6097 2012-01-26 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6100 and gdb_test_multiple.
6101
6102 2012-01-26 Pedro Alves <palves@redhat.com>
6103
6104 Make test messages unique, and more identifiable.
6105 * gdb.multi/watchpoint-multi.exp: Change test messages.
6106
6107 2012-01-25 Tom Tromey <tromey@redhat.com>
6108
6109 * gdb.base/solib-disc.exp: Fix regexps.
6110
6111 2012-01-24 Tom Tromey <tromey@redhat.com>
6112
6113 * lib/mi-support.exp (mi_expect_stop): Add special case for
6114 solib-event.
6115 * gdb.base/catch-load-so.c: New file.
6116 * gdb.base/catch-load.exp: New file.
6117 * gdb.base/catch-load.c: New file.
6118 * gdb.base/break-interp.exp (reach_1): Update regexp.
6119
6120 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6121
6122 Fix fuzzy results.
6123 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6124 lpsimple and func.
6125
6126 2012-01-24 Gary Benson <gbenson@redhat.com>
6127
6128 Delete #if 0'd out code.
6129 * gdb.base/default.exp (info catch): Remove.
6130 * gdb.base/gdb_history (info catch): Likewise.
6131 * gdb.base/help.exp (info catch): Likewise.
6132
6133 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6134
6135 Fix watchpoints to be specific for each inferior.
6136 * gdb.multi/watchpoint-multi.c: New file.
6137 * gdb.multi/watchpoint-multi.exp: New file.
6138
6139 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6140
6141 Fix watchpoints across inferior fork.
6142 * gdb.threads/watchpoint-fork-child.c: New file.
6143 * gdb.threads/watchpoint-fork-mt.c: New file.
6144 * gdb.threads/watchpoint-fork-parent.c: New file.
6145 * gdb.threads/watchpoint-fork-st.c: New file.
6146 * gdb.threads/watchpoint-fork.exp: New file.
6147 * gdb.threads/watchpoint-fork.h: New file.
6148
6149 2012-01-23 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.base/call-signal-resume.exp: Allow output after "return".
6152
6153 2012-01-20 Pedro Alves <palves@redhat.com>
6154
6155 * gdb.python/py-finish-breakpoint.py: Fix typo.
6156
6157 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6158
6159 * gdb.base/info-proc.exp: Also run on remote targets. Main
6160 "info proc" command is now always present; whether target supports
6161 actual info proc operation is detected when attempting to issue
6162 the command.
6163
6164 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 * .gdbinit: Remove.
6167
6168 2012-01-19 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6171 look at the funtions' returns.
6172 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6173 (jprint.print(int, int)): Change return type to int. Adjust.
6174
6175 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6176
6177 PR gdb/9538
6178 * gdb.base/sepdebug.exp: New test.
6179
6180 2012-01-18 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6183 Allow output before ^done.
6184
6185 2012-01-16 Tom Tromey <tromey@redhat.com>
6186
6187 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6188 Add tests for relative directory.
6189
6190 2012-01-16 Tom Tromey <tromey@redhat.com>
6191
6192 * gdb.base/printcmds.c (enum flag_enum): New.
6193 (three): New global.
6194 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6195 enum printing.
6196 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6197 FlagEnumerationPrinter.
6198 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6199 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6200 (fval): New global.
6201
6202 2012-01-16 Pedro Alves <palves@redhat.com>
6203
6204 * lib/gdb.exp (banned_procedures): New variable.
6205 (banned_variables_traced): Rename to ...
6206 (banned_traced): ... this.
6207 (gdb_init): Also trace banned procedures.
6208 (gdb_finish): Also untrace banned procedures.
6209
6210 2012-01-16 Pedro Alves <palves@redhat.com>
6211
6212 Remove all calls to strace.
6213
6214 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6215
6216 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6217 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6218
6219 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6220
6221 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6222 * gdb.base/pie-execl.exp: Likewise.
6223
6224 2012-01-12 Keith Seitz <keiths@redhat.com>
6225
6226 PR mi/10586
6227 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6228 (do_anonymous_type_tests): New function.
6229 (main): Call do_anonymous_type_tests.
6230 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6231 (verify_everything): New procedure.
6232 * gdb.mi/mi-var-cp.cc (class A): New class.
6233 (anonymous_structs_and_unions): New function.
6234 (main): Call anonymous_structs_and_unions.
6235 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6236 (verify_everything): New procedure.
6237
6238 2012-01-12 Keith Seitz <keiths@redhat.com>
6239
6240 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6241 (varobj_tree::get_path_expr): Assume that all varobjs are
6242 compound unless they are known simple types.
6243 Adjust path expressions based on parent type, path parent type,
6244 and tree language.
6245 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6246 the root varobj.
6247 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6248
6249 2012-01-11 Pedro Alves <palves@redhat.com>
6250
6251 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6252 core files on this machine" anymore.
6253
6254 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6255
6256 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6257 (main): Repeat recurser call.
6258 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6259 equivalent to 'local_x'.
6260
6261 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6262 Joel Brobecker <brobecker@adacore.com>
6263
6264 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6265
6266 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6267
6268 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6269 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6270 * gdb.python/py-events.exp: Test that "step N" tripping on a
6271 breakpoint emits a breakpoint event.
6272
6273 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6274
6275 * gdb.base/auxv.exp: Reformat the copyright notice.
6276
6277 2012-01-03 Yao Qi <yao@codesourcery.com>
6278
6279 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6280 (strace_trace_on_diff_addr): New.
6281 * gdb.trace/strace.c: (main): Add two local variables.
6282
6283 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6284
6285 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6286 * gdb.cell/gcore.exp: Likewise.
6287 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6288 to verify the correct instance of main is selected.
6289
6290 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6291
6292 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6293 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6294 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6295 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6296 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6297 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6298 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6299 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6300 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6301 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6302 gdb.threads/thread_check.c: Reformat copyright header.
6303
6304 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6305
6306 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6307 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6308 is not enabled.
6309
6310 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6311
6312 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6313 parameter to self_exec, adjust the function.
6314 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6315 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6316 (set var do_exit = 0): Remove test.
6317 (newline at end of file): Add one.
6318
6319 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6320
6321 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6322 New files.
6323
6324 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6325
6326 Fix racy FAILs.
6327 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6328 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6329 (main): Call pthread_barrier_init for it.
6330
6331 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6332
6333 Fix double send_gdb leading to racy FAILs.
6334 * gdb.base/break.exp (set silent break bp_location1): Replace
6335 3x send_gdb and gdb_expect by gdb_test.
6336 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6337 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6338 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6339 instead of send_gdb. Twice.
6340 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6341 3x send_gdb and gdb_expect by gdb_test.
6342 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6343
6344 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6345
6346 * gdb.linespec/linespec.exp: Compile using {c++}.
6347
6348 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6349
6350 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6351 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6352 (verify GCC PR debug/51668): New test.
6353
6354 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6355
6356 Introduce gdb.FinishBreakpoint in Python.
6357 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6358 py-finish-breakpoint2
6359 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6360 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6361 instead of line number.
6362 * gdb.python/py-finish-breakpoint.c: New file.
6363 * gdb.python/py-finish-breakpoint.exp: New file.
6364 * gdb.python/py-finish-breakpoint.py: New file.
6365 * gdb.python/py-finish-breakpoint2.cc: New file.
6366 * gdb.python/py-finish-breakpoint2.exp: New file.
6367 * gdb.python/py-finish-breakpoint2.py: New file.
6368
6369 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6370
6371 Partial fix of compatibility with gcc-4.7.
6372 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6373 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6374 Add comment to add a PASS case in the future.
6375
6376 Fix compatibility with gcc-4.7.
6377 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6378
6379 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6380
6381 PR tdep/12797
6382 * gdb.base/callfuncs.exp: Remove KFAIL.
6383
6384 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6385
6386 * gdb.ada/task_bp: New testcase.
6387
6388 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6389
6390 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6391 -DNO_SECTIONS.
6392 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6393
6394 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6395
6396 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6397 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6398 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6399 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6400 conditional for gcc <= 4.5.
6401
6402 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6403
6404 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6405 by XFAIL.
6406 * gdb.cp/static-method.exp (info addr A::func())
6407 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6408 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6409 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6410 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6411 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6412 (test value of F in k3_m): Likewise.
6413 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6414 Likewise.
6415
6416 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6419 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6420 Remove.
6421 * gdb.threads/attachstop-mt.c: Remove.
6422 * gdb.threads/attachstop-mt.exp: Remove.
6423
6424 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6425
6426 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6427
6428 2011-12-16 Doug Evans <dje@google.com>
6429
6430 * boards/native-stdio-gdbserver.exp: New file.
6431 * boards/native-gdbserver.exp: New file.
6432
6433 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6434 gdbserver output.
6435 (gdbserver_default_get_remote_address): New function.
6436 (gdbserver_start): Call gdb,get_remote_address to compute argument
6437 to "target remote" command.
6438
6439 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6440
6441 * gdb.python/py-function.exp: Change "on" to "full" for
6442 python print-stack. Add set/show python print-stack
6443 off|full|message tests.
6444
6445 2011-12-15 Yao Qi <yao@codesourcery.com>
6446
6447 * gdb.trace/strace.c: New
6448 * gdb.trace/strace.exp: New.
6449
6450 2011-12-14 Tom Tromey <tromey@redhat.com>
6451
6452 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6453
6454 2011-12-14 Doug Evans <dje@google.com>
6455
6456 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6457
6458 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6459
6460 PR threads/10729
6461
6462 * gdb.mi/watch-nonstop.c: New file.
6463 * gdb.mi/mi-watch-nonstop.exp: New file.
6464
6465 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6466 Doug Evans <dje@google.com>
6467
6468 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6469 (clean_restart): Remove references to the gdb_stub target board
6470 variable.
6471 (gdb_step_for_stub): Delete.
6472
6473 * gdb.base/annota1.exp: Remove all references to [target_info
6474 exists gdb_stub], gdb_step_for_stub and usestubs.
6475 * gdb.base/annota3.exp: Ditto.
6476 * gdb.base/async.exp: Ditto.
6477 * gdb.base/break.exp: Ditto.
6478 * gdb.base/code-expr.exp: Ditto.
6479 * gdb.base/commands.exp: Ditto.
6480 * gdb.base/completion.exp: Ditto.
6481 * gdb.base/condbreak.exp: Ditto.
6482 * gdb.base/consecutive.exp: Ditto.
6483 * gdb.base/cvexpr.exp: Ditto.
6484 * gdb.base/define.exp: Ditto.
6485 * gdb.base/display.exp: Ditto.
6486 * gdb.base/ena-dis-br.exp: Ditto.
6487 * gdb.base/environ.exp: Ditto.
6488 * gdb.base/gnu-ifunc.exp: Ditto.
6489 * gdb.base/maint.exp: Ditto.
6490 * gdb.base/pending.exp: Ditto.
6491 * gdb.base/sect-cmd.exp: Ditto.
6492 * gdb.base/sepdebug.exp: Ditto.
6493 * gdb.base/unload.exp: Ditto.
6494 * gdb.base/watchpoint-solib.exp: Ditto.
6495 * gdb.cp/annota2.exp: Ditto.
6496 * gdb.cp/annota3.exp: Ditto.
6497 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6498 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6499 * gdb.mi/mi-pending.exp: Ditto.
6500 * gdb.trace/circ.exp: Ditto.
6501 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6502 * gdb.base/list.exp: Ditto.
6503
6504 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6505 breakpoint function and all references to the usestubs macro.
6506 * gdb.base/exprs.c: Ditto.
6507 * gdb.base/freebpcmd.c: Ditto.
6508 * gdb.base/bitfields.c: Ditto.
6509 * gdb.base/bitfields2.c: Ditto.
6510 * gdb.base/break.c: Ditto.
6511 * gdb.base/call-sc.c: Ditto.
6512 * gdb.base/call-signals.c: Ditto.
6513 * gdb.base/callfuncs.c: Ditto.
6514 * gdb.base/charset.c: Ditto.
6515 * gdb.base/consecutive.c: Ditto.
6516 * gdb.base/constvars.c: Ditto.
6517 * gdb.base/funcargs.c: Ditto.
6518 * gdb.base/int-type.c: Ditto.
6519 * gdb.base/interrupt.c: Ditto.
6520 * gdb.base/langs0.c: Ditto.
6521 * gdb.base/list0.c: Ditto.
6522 * gdb.base/mips_pro.c: Ditto.
6523 * gdb.base/miscexprs.c: Ditto.
6524 * gdb.base/nodebug.c: Ditto.
6525 * gdb.base/opaque0.c: Ditto.
6526 * gdb.base/pointers.c: Ditto.
6527 * gdb.base/printcmds.c: Ditto.
6528 * gdb.base/ptype.c: Ditto.
6529 * gdb.base/recurse.c: Ditto.
6530 * gdb.base/reread1.c: Ditto.
6531 * gdb.base/reread2.c: Ditto.
6532 * gdb.base/restore.c: Ditto.
6533 * gdb.base/return.c: Ditto.
6534 * gdb.base/run.c: Ditto.
6535 * gdb.base/scope0.c: Ditto.
6536 * gdb.base/sepdebug.c: Ditto.
6537 * gdb.base/setshow.c: Ditto.
6538 * gdb.base/setvar.c: Ditto.
6539 * gdb.base/sigall.c: Ditto.
6540 * gdb.base/signals.c: Ditto.
6541 * gdb.base/structs.c: Ditto.
6542 * gdb.base/structs2.c: Ditto.
6543 * gdb.base/testenv.c: Ditto.
6544 * gdb.base/twice.c: Ditto.
6545 * gdb.base/unwindonsignal.c: Ditto.
6546 * gdb.base/watchpoint.c: Ditto.
6547 * gdb.base/watchpoints.c: Ditto.
6548 * gdb.base/whatis.c: Ditto.
6549 * gdb.cp/classes.cc: Ditto.
6550 * gdb.cp/cplusfuncs.cc: Ditto.
6551 * gdb.cp/derivation.cc: Ditto.
6552 * gdb.cp/formatted-ref.cc: Ditto.
6553 * gdb.cp/misc.cc: Ditto.
6554 * gdb.cp/overload.cc: Ditto.
6555 * gdb.cp/ovldbreak.cc: Ditto.
6556 * gdb.cp/ref-params.cc: Ditto.
6557 * gdb.cp/ref-types.cc: Ditto.
6558 * gdb.cp/templates.cc: Ditto.
6559 * gdb.cp/virtfunc.cc: Ditto.
6560 * gdb.hp/gdb.aCC/run.c: Ditto.
6561 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6562 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6563 * gdb.reverse/consecutive-reverse.c: Ditto.
6564 * gdb.reverse/sigall-reverse.c: Ditto.
6565 * gdb.reverse/until-reverse.c: Ditto.
6566 * gdb.reverse/watch-reverse.c: Ditto.
6567 * gdb.trace/actions.c: Ditto.
6568 * gdb.trace/circ.c: Ditto.
6569 * gdb.trace/collection.c: Ditto.
6570
6571 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6572
6573 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6574 (func6, func7): New.
6575 (main): Call func6 and func7.
6576 * gdb.base/watchpoint.exp (test_wide_location_1)
6577 (test_wide_location_2): New.
6578 (top level): Re-enable hardware watchpoints if necessary. Call
6579 test_wide_location_1 and test_wide_location_2.
6580
6581 2011-12-11 Yao Qi <yao@codesourcery.com>
6582
6583 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6584
6585 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6586
6587 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6588 expected output for unsupported case.
6589
6590 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 PR testsuite/12649
6593 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6594 Protect gdb_test_multiple by final $gdb_prompt match.
6595
6596 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6597
6598 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6599 New variable, new test.
6600 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6601 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6602 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6603 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6604 them if HAVE_GCC_45682_FIXED is not set.
6605
6606 2011-12-10 Yao Qi <yao@codesourcery.com>
6607
6608 * gdb.trace/status-stop.exp: New.
6609 * gdb.trace/status-stop.c: New.
6610
6611 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6612
6613 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6614 timeout.
6615
6616 2011-12-08 Tom Tromey <tromey@redhat.com>
6617
6618 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6619 condition.
6620
6621 2011-12-07 Stan Shebs <stan@codesourcery.com>
6622
6623 * gdb.trace/tfind.exp: Update for output changes.
6624
6625 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6626
6627 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6628 throws "Cannot insert catchpoints in this configuration".
6629 * gdb.ada/mi_catch_ex.exp: Likewise.
6630
6631 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6632
6633 * gdb.base/break-always.exp: Test changing memory at addresses
6634 with breakpoints inserted.
6635
6636 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6637
6638 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6639 involving a fully qualified function name.
6640
6641 2011-12-06 Tom Tromey <tromey@redhat.com>
6642
6643 * gdb.ada/homonym.exp: Add three breakpoint tests.
6644
6645 2011-12-06 Tom Tromey <tromey@redhat.com>
6646
6647 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6648 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6649 * gdb.objc/objcdecode.exp: Update for output changes.
6650 * gdb.linespec/linespec.exp: New file.
6651 * gdb.linespec/lspec.cc: New file.
6652 * gdb.linespec/lspec.h: New file.
6653 * gdb.linespec/body.h: New file.
6654 * gdb.linespec/base/two/thefile.cc: New file.
6655 * gdb.linespec/base/one/thefile.cc: New file.
6656 * gdb.linespec/Makefile.in: New file.
6657 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6658 output changes.
6659 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6660 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6661 makes one breakpoint.
6662 * gdb.cp/method2.exp (test_break): Update for output changes.
6663 * gdb.cp/mb-templates.exp: Update for output changes.
6664 * gdb.cp/mb-inline.exp: Update for output changes.
6665 * gdb.cp/mb-ctor.exp: Update for output changes.
6666 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6667 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6668 has multiple matches.
6669 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6670 error message change.
6671 * gdb.base/list.exp (test_list_filename_and_number): Update for
6672 error message change.
6673 * gdb.base/break.exp: Disable pending breakpoints. Update for
6674 output changes.
6675 * configure.ac: Add gdb.linespec.
6676 * configure: Rebuild.
6677 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6678
6679 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6680
6681 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6682 last_break register on s390*-*-* targets.
6683
6684 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6685
6686 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6687 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6688 of parameter X in procedure Foo.
6689
6690 2011-12-05 Stan Shebs <stan@codesourcery.com>
6691
6692 * gdb.trace/tfind.exp: Update help string matches.
6693
6694 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6695
6696 * gdb.server/ext-run.exp (get process list): Accept also systemd
6697 as PID 1.
6698
6699 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6700 Pedro Alves <pedro@codesourcery.com>
6701
6702 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6703 starting GDB.
6704 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6705 $use_gdb_stub.
6706 * gdb.base/display.exp: Likewise.
6707 * gdb.base/ending-run.exp: Likewise.
6708 * gdb.base/list.exp (test_listsize): Likewise.
6709 * gdb.base/setshow.exp: Likewise.
6710 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6711 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6712 check by global $use_gdb_stub.
6713 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6714 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6715 (default_gdb_init): Unset global $use_gdb_stub.
6716 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6717 by global $use_gdb_stub.
6718 * lib/gdbserver-support.exp: Extend comments for set_board_info
6719 gdb_protocol and gdb,socketport.
6720 (gdbserver_start_extended): Set global gdbserver_protocol and
6721 gdbserver_gdbport. Clear global use_gdb_stub.
6722 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6723 from target use_gdb_stub.
6724 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6725
6726 2011-12-03 Doug Evans <dje@google.com>
6727
6728 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6729 (gdb_step_for_stub): Add comments.
6730
6731 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6732
6733 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6734 to the caller.
6735 (gdb_test_multiple): Likewise.
6736
6737 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6738
6739 Fix gdb.mi/mi-solib.exp without system debug info installed.
6740 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6741 expect attribute, return 0 for it. Update comments.
6742
6743 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6744
6745 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6746 (corrupted list): Adjust the expectation.
6747
6748 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6749
6750 PR threads/13448
6751 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6752 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6753 * gdb.threads/tls-var-main.c: New file.
6754 * gdb.threads/tls-var.c: New file.
6755 * gdb.threads/tls-var.exp: New file.
6756
6757 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6758
6759 PR testsuite/12649
6760 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6761 Protect gdb_test_multiple by final $gdb_prompt match.
6762 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6763 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6764 (test_tracepoints): Likewise.
6765
6766 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6767
6768 PR breakpoints/13346
6769 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6770 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6771 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6772
6773 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6774
6775 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6776 * gdb.ada/homonym/homonym.adb: For use of all types defined
6777 locally inside both Get_Value subprograms.
6778
6779 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6780
6781 Fix racy FAILs.
6782 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6783 of send_gdb.
6784
6785 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6786
6787 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6788 environment variable after test completed.
6789
6790 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6791
6792 * gdb.base/solib-nodir.exp: Skip if remote target.
6793 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6794 application. Call gdb_load_shlibs.
6795 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6796
6797 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6800
6801 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6802
6803 * gdb.ada/fullname_bp: New testcase.
6804
6805 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6806
6807 PR testsuite/12649
6808 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6809 Wrap send_gdb into a new gdb_test.
6810
6811 Code cleanup.
6812 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6813 Convert send_gdb and gdb_expect to gdb_test_multiple.
6814
6815 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6816
6817 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6818
6819 2011-11-23 Keith Seitz <keiths@redhat.com>
6820
6821 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6822 (mi_varobj_tree_test_children_callback): New proc.
6823 (mi_walk_varobj_tree): New proc.
6824
6825 2011-11-22 Tom Tromey <tromey@redhat.com>
6826
6827 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6828 Add "use_mi_command" argument.
6829 (mi_run_cmd, mi_run_with_cli): New procs.
6830 * gdb.mi/solib-lib.c: New file.
6831 * gdb.mi/solib-main.c: New file.
6832 * gdb.mi/mi-solib.exp: New file.
6833
6834 2011-11-21 Doug Evans <dje@google.com>
6835
6836 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6837 _Unwind_DebugHook is missing.
6838
6839 2011-11-20 Stan Shebs <stan@codesourcery.com>
6840
6841 * gdb.trace/tstatus.exp: New.
6842 * gdb.trace/actions.c: Include string.h.
6843
6844 2011-11-18 Yao Qi <yao@codesourcery.com>
6845
6846 * gdb.trace/pending.exp: New.
6847 * gdb.trace/pending.c: New.
6848 * gdb.trace/pendshr1.c: New.
6849 * gdb.trace/pendshr2.c: New.
6850 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6851 tracepoint location becomes pending.
6852 (tracepoint_change_loc_2): New.
6853
6854 2011-11-16 David S. Miller <davem@davemloft.net>
6855
6856 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6857 target is sparc*-*-linux*
6858
6859 2011-11-15 Paul Koning <paul_koning@dell.com>
6860
6861 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6862 types.
6863
6864 2011-11-14 Doug Evans <dje@google.com>
6865
6866 * gdb.base/shell.exp: New file.
6867
6868 2011-11-14 Stan Shebs <stan@codesourcery.com>
6869
6870 * gdb.trace/ftrace.c: New.
6871 * gdb.trace/ftrace.exp: New.
6872
6873 2011-11-14 Yao Qi <yao@codesourcery.com>
6874
6875 * gdb.trace/change-loc-1.c: New.
6876 * gdb.trace/change-loc-2.c: New.
6877 * gdb.trace/change-loc.c: New.
6878 * gdb.trace/change-loc.exp: New.
6879 * gdb.trace/change-loc.h: New.
6880 * gdb.trace/trace-break.c (marker): Define new symbol.
6881 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6882 New.
6883 (break_trace_same_addr_6): New.
6884
6885 2011-11-12 Matt Rice <ratmice@gmail.com>
6886
6887 * gdb.base/info-macros.exp: Make tests for info definitions
6888 test info macro. Add tests for info macro argument processing.
6889 Rename a few tests.
6890
6891 2011-11-11 Keith Seitz <keiths@redhat.com>
6892
6893 PR gdb/12843
6894 * gdb.base/linespecs.exp: New file.
6895
6896 2011-11-11 Doug Evans <dje@google.com>
6897
6898 * gdb.threads/print-threads.exp: Extend timeout for slower
6899 tests.
6900
6901 2011-11-10 Doug Evans <dje@google.com>
6902
6903 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6904 "record to end of main" test.
6905
6906 * gdb.python/py-type.c (TS): New typedef.
6907 (ts): New global.
6908 * gdb.python/py-type.exp: Test field list of typedef.
6909
6910 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6911
6912 * gdb.ada/small_reg_param: New testcase.
6913
6914 2011-11-09 Tom Tromey <tromey@redhat.com>
6915
6916 * gdb.cp/destrprint.exp: New file.
6917 * gdb.cp/destrprint.cc: New file.
6918
6919 2011-11-08 Meador Inge <meadori@codesourcery.com>
6920
6921 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6922 (switch_stack_to_other): New test function.
6923 * gdb.arch/thumb-prologue.exp: New test cases.
6924
6925 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6926
6927 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6928
6929 2011-11-08 Yao Qi <yao@codesourcery.com>
6930
6931 * gdb.exp (supports_process_record): New.
6932 (supports_reverse): New.
6933 * gdb.reverse/break-precsave.exp: Call support_process_record
6934 to run test conditionally.
6935 * gdb.reverse/consecutive-precsave.exp: Likewise.
6936 * gdb.reverse/i386-precsave.exp: Likewise.
6937 * gdb.reverse/machinestate-precsave.exp: Likewise.
6938 * gdb.reverse/solib-precsave.exp: Likewise.
6939 * gdb.reverse/step-precsave.exp: Likewise.
6940 * gdb.reverse/until-precsave.exp: Likewise.
6941 * gdb.reverse/watch-precsave.exp: Likewise.
6942 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6943 test conditionally.
6944 * gdb.reverse/consecutive-reverse.exp: Likewise.
6945 * gdb.reverse/finish-precsave.exp: Likewise.
6946 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6947 * gdb.reverse/finish-reverse.exp: Likewise.
6948 * gdb.reverse/i386-reverse.exp: Likewise.
6949 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6950 * gdb.reverse/machinestate.exp: Likewise.
6951 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6952 * gdb.reverse/sigall-precsave.exp: Likewise.
6953 * gdb.reverse/sigall-reverse.exp: Likewise.
6954 * gdb.reverse/solib-reverse.exp: Likewise.
6955 * gdb.reverse/step-reverse.exp: Likewise.
6956 * gdb.reverse/until-reverse.exp: Likewise.
6957 * gdb.reverse/watch-reverse.exp: Likewise.
6958
6959 2011-11-05 Yao Qi <yao@codesourcery.com>
6960
6961 * gdb.trace/trace-break.exp: Add test on setting two
6962 fast tracepoints at the same address.
6963
6964 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6965
6966 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6967
6968 2011-11-02 Stan Shebs <stan@codesourcery.com>
6969
6970 * gdb.trace/collection.c: Add code using strings.
6971 * gdb.trace/collection.exp: Add tests of string collection.
6972
6973 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6974
6975 * gdb.base/skip-solib.exp (executable_main): New variable.
6976 (binfile_main): Base it on that.
6977 Use $executable_main in clean_restart calls. Drop gdb_exit and
6978 gdb_start calls.
6979
6980 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6981
6982 Fix racy FAILs.
6983 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6984 breakpoint_re globals import by async. Set string_regex to .* for
6985 async. Remove the optional thread_selected_re and breakpoint_re
6986 globals expectations.
6987
6988 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6989
6990 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6991 well as Cygwin.
6992
6993 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6994
6995 Add tests for skip command.
6996 * gdb.base/skip-solib-lib.c: New
6997 * gdb.base/skip-solib-main.c: New
6998 * gdb.base/skip-solib.exp: New
6999 * gdb.base/skip.c: New
7000 * gdb.base/skip.exp: New
7001 * gdb.base/skip1.c: New
7002 * gdb.base/Makefile.in: Adding new files.
7003
7004 2011-10-31 Yao Qi <yao@codesourcery.com>
7005 Pedro Alves <pedro@codesourcery.com>
7006
7007 * gdb.trace/trace-break.c: New.
7008 * gdb.trace/trace-break.exp: New.
7009
7010 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7011
7012 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7013 break-here-2.
7014
7015 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7016
7017 * gdb.threads/no-unwaited-for-left.c: New.
7018 * gdb.threads/no-unwaited-for-left.exp: New.
7019 * gdb.threads/non-ldr-exc-1.c: New.
7020 * gdb.threads/non-ldr-exc-1.exp: New.
7021 * gdb.threads/non-ldr-exc-2.c: New.
7022 * gdb.threads/non-ldr-exc-2.exp: New.
7023 * gdb.threads/non-ldr-exc-3.c: New.
7024 * gdb.threads/non-ldr-exc-3.exp: New.
7025 * gdb.threads/non-ldr-exc-4.c: New.
7026 * gdb.threads/non-ldr-exc-4.exp: New.
7027
7028 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7031 * gdb.base/attach-pie-misread.exp: Likewise.
7032 * gdb.base/break-interp.exp: Likewise.
7033 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7034 testcases for use_gdb_stub.
7035 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7036 (continue): New testcase.
7037 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7038 * gdb.threads/attach-into-signal.exp: Likewise.
7039 * gdb.threads/attach-stopped.exp: Likewise.
7040 * gdb.threads/attachstop-mt.exp: Likewise.
7041
7042 2011-10-28 Paul Koning <paul_koning@dell.com>
7043
7044 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7045
7046 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7047
7048 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7049 (mi_gdb_test): Import globals thread_selected_re
7050 and breakpoint_re. Expect them optionally at the regex start.
7051
7052 2011-10-27 Doug Evans <dje@google.com>
7053
7054 * gdb.python/python.exp: Test source -s.
7055
7056 2011-10-26 Paul Koning <paul_koning@dell.com>
7057
7058 * gdb.python/lib-types.cc (struct A): New structure.
7059 * gdb.python/lib-types.exp (deepitems): New tests.
7060
7061 2011-10-25 Paul Koning <paul_koning@dell.com>
7062
7063 PR python/13327
7064
7065 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7066 fetch_lazy method.
7067
7068 2011-10-24 Yao Qi <yao@codesourcery.com>
7069
7070 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7071 target is tic6x-*-*.
7072
7073 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7074
7075 * gdb.ada/mi_task_info/task_switch.adb: New file.
7076 * gdb.ada/mi_task_info.exp: New file.
7077
7078 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7081 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7082
7083 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7084
7085 PR python/12656
7086
7087 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7088 global_block tests.
7089
7090 2011-10-18 Tom Tromey <tromey@redhat.com>
7091
7092 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7093
7094 2011-10-18 Tom Tromey <tromey@redhat.com>
7095
7096 * gdb.base/source.exp: Don't include full file name in test name.
7097 * gdb.python/python.exp: Don't include full file name in test
7098 name.
7099
7100 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7101
7102 * gdb.base/attach-pie-noexec.c: New files.
7103 * gdb.base/attach-pie-noexec.exp: New files.
7104
7105 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7106
7107 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7108 prompt for each extra line in command.
7109
7110 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7111
7112 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7113 Revert the part of:
7114 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7115 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7116 Change the expected string.
7117
7118 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7119
7120 Fix results with system glibc debug info installed.
7121 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7122 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7123 Accept also __libc_ symbol prefix and no prefix.
7124
7125 2011-10-14 Keith Seitz <keiths@redhat.com>
7126
7127 PR c++/13225
7128 * gdb.cp/converts.cc (foo3_1): New function.
7129 (foo3_2): New functions.
7130 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7131 and null pointer conversions of integer constant zero.
7132 Add test to check if all arguments are checked for incompatible
7133 conversion BADNESS.
7134
7135 2011-10-14 Tom Tromey <tromey@redhat.com>
7136
7137 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7138 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7139 linespec.
7140
7141 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7142
7143 Fix internal error regression.
7144 * gdb.dwarf2/implptr-optimized-out.S: New file.
7145 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7146
7147 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7148
7149 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7150 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7151 (loclist): New.
7152 (4): New abbrev.
7153 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7154 Use prepare_for_testing, remove clean_restart.
7155 (p arraynoloc, p arraycallnoloc): New tests.
7156
7157 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 * gdb.cp/namespace-enum.exp (executable): New variable.
7160 (binfile): Use ${objdir}/${subdir}/ prefix.
7161 Use ${executable} for clean_restart.
7162
7163 2011-10-11 Sterling Augustine <saugustine@google.com>
7164
7165 * gdb.cp/Makefile.in: Add namespace-enum test.
7166 * gdb.cp/namespace-enum.exp: New file.
7167 * gdb.cp/namespace-enum.c: New file.
7168 * gdb.cp/namespace-enum-main.c: New file.
7169
7170 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7171
7172 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7173 sysroot.
7174
7175 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7176
7177 Reimplement @entry in input expressions.
7178 * gdb.base/exprs.c (v_int_array_init): New variable.
7179 * gdb.base/exprs.exp (print v_int_array_init)
7180 (print *v_int_array_init@1, print *v_int_array_init@2)
7181 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7182 (print v_int_array_init[1]@1): New tests.
7183
7184 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7185
7186 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7187 expected message.
7188
7189 2011-10-09 Doug Evans <dje@google.com>
7190
7191 * gdb.base/alias.exp: Add tests for alias command.
7192
7193 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 * gdb.arch/amd64-entry-value.s: New file.
7196 * gdb.mi/mi2-amd64-entry-value.s: New file.
7197
7198 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7199
7200 Display @entry parameter values even for references.
7201 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7202 functions.
7203 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7204 reference and datap_input.
7205 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7206 breakpoints.
7207 (continue to breakpoint: entry_reference: reference)
7208 (entry_reference: bt at entry)
7209 (continue to breakpoint: entry_reference: breakhere_reference)
7210 (entry_reference: bt, entry_reference: ptype regparam)
7211 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7212 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7213 (entry_reference: p regcopy, entry_reference: p nodataparam)
7214 (entry_reference: p nodataparam@entry): New tests.
7215
7216 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7217
7218 Support @entry in input expressions.
7219 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7220 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7221 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7222 (tailcall: p j@entry): New tests.
7223 * gdb.cp/koenig.cc (A::entry): New function.
7224 (main): Call it.
7225 * gdb.cp/koenig.exp (p entry (c)): New test.
7226
7227 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7228
7229 Display @entry parameter values (without references).
7230 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7231 (different, validity, invalid): New functions.
7232 (main): Call them.
7233 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7234 stacktest, breakhere_stacktest, different, breakhere_different,
7235 breakhere_validity and breakhere_invalid.
7236 (entry: bt): Update for @entry.
7237 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7238 (entry_validity: *, entry_invalid: *): Many new tests.
7239 * gdb.base/break.exp
7240 (run until breakpoint set at small function, optimized file): Accept
7241 also the @entry suffix.
7242 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7243 * gdb.mi/mi2-amd64-entry-value.c: New files.
7244 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7245
7246 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 Protect entry values against self tail calls.
7249 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7250 (main): Call self.
7251 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7252 (set debug entry-values 1, self: bt debug entry-values): New tests.
7253
7254 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 Recognize virtual tail call frames.
7257 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7258 (amb_b, amb_a): New.
7259 (main): Call a and b.
7260 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7261 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7262 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7263 New tests.
7264
7265 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7266
7267 Implement basic support for DW_TAG_GNU_call_site.
7268 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7269 * gdb.arch/amd64-entry-value.cc: New file.
7270 * gdb.arch/amd64-entry-value.exp: New file.
7271
7272 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7273
7274 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7275 * gdb.dwarf2/implptr-64bit.S: New file.
7276 * gdb.dwarf2/implptr-64bit.exp: New file.
7277
7278 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7279
7280 Fix initial language detection with -readnow.
7281 * gdb.cp/readnow-language.cc: New file.
7282 * gdb.cp/readnow-language.exp: New file.
7283
7284 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 Fix printed anonymous struct name.
7287 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7288
7289 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7290
7291 * gdb.base/solib-symbol.exp: Do not include directories in
7292 filenames in expected messages.
7293
7294 2011-10-07 Doug Evans <dje@google.com>
7295
7296 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7297
7298 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7299
7300 Allow Python notification of new object-file loadings.
7301 * gdb.python/py-events.exp: Test newobjfile event.
7302 * gdb.python/py-events.py: Register newobjfile callback.
7303 * gdb.python/py-events.c: Add call to shared library
7304 * gdb.python/py-events-shlib.c: New file.
7305
7306 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7307
7308 * gdb.base/fixsection.exp: Do not include directories in filename
7309 in expected message.
7310
7311 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7312
7313 Add tests for passing of environment variables to inferior.
7314 * gdb.base/testenv.c: New test source.
7315 * gdb.base/testenv.exp: New expect test.
7316
7317 2011-10-04 Paul Koning <paul_koning@dell.com>
7318
7319 * gdb.python/py-value.c (main): Break before return.
7320
7321 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7322
7323 PR python/12691: Add the inferior to Python exited event
7324 * gdb.python/py-events.exp: Test the inferior attribute of exited
7325 event with a fork.
7326 * gdb.python/py-events.py: Print inferior number on exit.
7327 * gdb.python/py-events.c: Fork the inferior.
7328
7329 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7330
7331 * gdb.base/jit.exp: Add testcase name to log message
7332
7333 2011-10-03 Paul Koning <paul_koning@dell.com>
7334 Jan Kratochvil <jan.kratochvil@redhat.com>
7335
7336 * gdb.python/py-value.exp
7337 (python inval = gdb.parse_and_eval('*(int*)0'))
7338 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7339 (set argc=2, python print argc_lazy): New tests.
7340
7341 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7342
7343 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7344
7345 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7346 Pedro Alves <pedro@codesourcery.com>
7347
7348 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7349 can_read_0, test for it.
7350 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7351 (parse_and_eval with memory error): ... here, make it untested if
7352 can_read_0.
7353
7354 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7355
7356 * gdb.python/python.exp (verify pagination beforehand)
7357 (verify pagination afterwards): Fix race by splitting the line.
7358
7359 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7360
7361 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7362 for 64-bit multilibs from i?86-* targets.
7363
7364 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7365
7366 * lib/gdb.exp: Fix a typo in one of the comments.
7367
7368 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7369
7370 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7371 matching pattern.
7372
7373 2011-09-28 Paul Koning <paul_koning@dell.com>
7374
7375 * gdb.python/py-type.c (enum E): New.
7376 * gdb.python/py-type.exp (test_fields): Add tests for Python
7377 mapping access to fields.
7378 (test_enums): New test for field access on enums.
7379
7380 2011-09-27 Stan Shebs <stan@codesourcery.com>
7381
7382 * gdb.trace/collection.exp: Test collection of $_ret.
7383
7384 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7385
7386 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7387 list of compilation switches for <*-*-freebsd*>.
7388
7389 2011-09-19 Stan Shebs <stan@codesourcery.com>
7390
7391 * gdb.trace/tspeed.exp: New file.
7392 * gdb.trace/tspeed.c: New file.
7393
7394 2011-09-18 Yao Qi <yao@codesourcery.com>
7395
7396 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7397 instructions.
7398 (test_adr_32bit, test_pop_pc): Likewise.
7399 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7400 Thumb instructions.
7401 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7402 in gdb_test_multiple.
7403 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7404
7405 2011-09-17 Yao Qi <yao@codesourcery.com>
7406
7407 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7408 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7409 support single step to signal handler.
7410
7411 2011-09-17 Yao Qi <yao@codesourcery.com>
7412
7413 * gdb.base/disp-step-fork.c: New.
7414 * gdb.base/disp-step-syscall.exp: New.
7415 * gdb.base/disp-step-vfork.c: New.
7416
7417 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7418
7419 * gdb.ada/tasks.exp: Make the expected output for
7420 the `info tasks' tests more resilient to spacing
7421 changes.
7422
7423 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7424
7425 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7426 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7427
7428 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7429
7430 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7431 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7432
7433 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7434
7435 Handle multiple breakpoint hits in Python interface:
7436 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7437 presence.
7438 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7439 breakpoint hits.
7440
7441 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7442 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.python/py-events.exp: Remove pretty printing comment.
7445 * gdb.python/py-evsignal.exp: New file.
7446 * gdb.python/py-evthreads.c: Include signal.h.
7447 (thread3): Remove variable count3. Remove variable bad and use raise
7448 instead.
7449 (thread2): Remove variable count2. Move thread3 pthread_create here,
7450 merge pthread_join to a single line.
7451 (main): Remove variable count1. Merge pthread_join with pthread_create
7452 to a single line.
7453 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7454 KFAIL python/12966 for gdbserver. Test return value of
7455 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7456 gdb_expect by gdb_test and gdb_test_multiple.
7457 (thread 2, thread 3): New tests.
7458
7459 2011-09-12 Matt Rice <ratmice@gmail.com>
7460 Pedro Alves <pedro@codesourcery.com>
7461
7462 PR gdb/13175
7463
7464 * gdb.base/interp.exp: New tests.
7465 * gdb.base/interp.c: New file.
7466
7467 2011-09-12 Doug Evans <dje@google.com>
7468
7469 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7470 * gdb.dwarf2/typeddwarf.exp: Ditto.
7471
7472 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7473
7474 Fix compatibility with x32 arch.
7475 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7476 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7477 is_x86_like_target.
7478 * testsuite/gdb.trace/collection.exp: Likewise.
7479 * testsuite/gdb.trace/report.exp: Likewise.
7480 * testsuite/gdb.trace/unavailable.exp: Likewise.
7481 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7482 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7483 (is_x86_like_target): Check also is_amd64_regs_target.
7484
7485 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7486
7487 PR breakpoints/12435
7488 * gdb.arch/amd64-prologue-xmm.c: New file.
7489 * gdb.arch/amd64-prologue-xmm.exp: New file.
7490 * gdb.arch/amd64-prologue-xmm.s: New file.
7491
7492 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7493
7494 * gdb.dwarf2/dw2-param-error-main.c: New file.
7495 * gdb.dwarf2/dw2-param-error.S: New file.
7496 * gdb.dwarf2/dw2-param-error.exp: New file.
7497
7498 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7499
7500 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7501 inferior's pid and look for a core dump named core.$pid. Use
7502 `remote_file' commands on the host instead of hand coding shell
7503 commands on the build.
7504 * gdb.base/valgrind-db-attach.exp: Kill the program before
7505 finishing the test.
7506
7507 2011-09-02 Matt Rice <ratmice@gmail.com>
7508
7509 * lib/prompt.exp: New file for testing the first prompt.
7510 * gdb.python/py-prompt.exp: Ditto.
7511 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7512
7513 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7514
7515 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7516 0, before testing gcore.
7517
7518 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7519
7520 * dw2-ifort-parameter-debug.S: Update copyright year.
7521 * dw2-ifort-parameter.c: Update copyright year.
7522 * dw2-ifort-parameter.exp: Update copyright year.
7523
7524 * dw2-ifort-parameter-debug.S: New file.
7525 * dw2-ifort-parameter.c: New file.
7526 * dw2-ifort-parameter.exp: New file.
7527
7528 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7529
7530 * gdb.base/commands.exp (error_clears_commands_left): New function.
7531 (): Call it.
7532
7533 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7534
7535 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7536 (C): Initialize `a'.
7537 * gdb.mi/mi-inheritance-syntax-error.exp
7538 (-data-evaluate-expression $path): Expect `a' as 5.
7539
7540 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7541
7542 PR mi/11912
7543 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7544 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7545 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7546 keyword in output of -var-info-path-expression.
7547
7548 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7551 * gdb.trace/collection.exp: Likewise.
7552 * gdb.trace/report.exp: Likewise.
7553 * gdb.trace/unavailable.exp: Likewise.
7554 * gdb.trace/while-dyn.exp: Likewise.
7555
7556 2011-08-18 Keith Seitz <keiths@redhat.com>
7557
7558 PR c++/12266
7559 * gdb.cp/meth-typedefs.cc: New file.
7560 * gdb.cp/meth-typedefs.exp: New file.
7561
7562 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7563
7564 * gdb.python/python.exp: Add extended-prompt tests.
7565
7566 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 * gdb.arch/i386-dr3-watch.exp
7569 (watchpoint on gap1 does not fit debug registers)
7570 (delete all watchpoints): Fix racy expect strings.
7571
7572 2011-08-14 Yao Qi <yao@codesourcery.com>
7573
7574 * gdb.base/maint.exp: set data_section to ".neardata".
7575 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7576 * gdb.base/savedregs.exp: Handle SIGILL.
7577 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7578 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7579
7580 2011-08-12 Doug Evans <dje@google.com>
7581
7582 * gdb.python/py-symbol.exp: Add test for symbol.type.
7583
7584 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7585
7586 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7587 * gdb.mi/mi-pthreads.exp: Likewise.
7588 * gdb.mi/mi2-pthreads.exp: Likewise.
7589 * gdb.mi/gdb669.exp.exp: Likewise.
7590
7591 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7592
7593 * lib/mi-support.exp (detect_async): Rename to...
7594 (mi_detect_async): ... this.
7595 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7596 * gdb.mi/mi-nonstop.exp: Adjust.
7597 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7598 * gdb.mi/mi-nsintrall.exp: Adjust.
7599 * gdb.mi/mi-nsmoribund.exp: Adjust.
7600 * gdb.mi/mi-nsthrexec.exp: Adjust.
7601
7602 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7603
7604 * gdb.base/display.c (do_loops): New `p_i' local.
7605 * gdb.base/display.exp: Test displaying a variable that is
7606 temporarily at a bad address.
7607
7608 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7609
7610 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7611 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7612
7613 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7616 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7617 (p fuNC_symtab): Permit also ppc64 leading dot.
7618
7619 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7620
7621 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7622 procedure.
7623 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7624
7625 2011-08-05 Yao Qi <yao@codesourcery.com>
7626
7627 * gdb.base/callfuncs.exp: Set language after main.
7628 * gdb.cp/cplusfuncs.exp: Likewise.
7629 * gdb.cp/inherit.exp: Likewise.
7630
7631 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7632
7633 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7634 * gdb.base/watch-vfork.exp: Skip on remote targets.
7635
7636 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7637
7638 * gdb.threads/thread-find.exp: Support remote targets.
7639
7640 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7641
7642 * gdb.base/jit.exp: Download solib_binfile to target.
7643 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7644 and call dlopen without full path name.
7645 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7646 dlopen without full path name.
7647
7648 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7649
7650 * gdb.base/break-always.exp: Complete the test
7651 with duplicated breakpoints and enabling/disabling them.
7652
7653 2011-08-02 Tom Tromey <tromey@redhat.com>
7654
7655 PR gdb/11289:
7656 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7657
7658 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7659
7660 PR gdb/13045
7661 * gdb.base/float.exp: Add new test case for PR gdb/13045
7662 * gdb.base/float.c: New file.
7663
7664 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7665
7666 * gdb.python/py-mi.exp: Test printers returning string hint, and
7667 also not returning a value.
7668 * gdb.python/py-prettyprint.c: Add testcase for above.
7669 * gdb.python/py-prettyprint.py: Add test printer for above.
7670
7671 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7674 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7675 (.Ldie30) Add as field "data4".
7676 (.Ldie32) Rename field "b" to "shl".
7677 (abbrev4) Change for the "data4" field.
7678 (abbrev5, abbrev6) Remove.
7679 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7680 (p &s.shl): ... here. Add comment.
7681 (p &s.data4): New.
7682
7683 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 Fix crash on lval_computed values.
7686 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7687
7688 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7689
7690 * gdb.base/help.exp (help whatis): Update the expected string.
7691
7692 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7695 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7696 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7697 Change the expected string.
7698
7699 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7700
7701 * gdb.base/watchpoint.exp
7702 (test_disable_enable_software_watchpoint): New procedure.
7703 (top level): Run it.
7704
7705 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7706
7707 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7708 executable file "${binfile}", C++ version "${binfile}-cxx".
7709 * gdb.python/py-prettyprint.exp: Likewise.
7710 * gdb.python/py-symbol.exp: Likewise.
7711 * gdb.python/py-type.exp: Likewise.
7712 * gdb.python/py-value.exp: Likewise.
7713 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7714 file name instead of just suffix.
7715
7716 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7717
7718 Fix implicit pointer offsets.
7719 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7720 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7721 (continue to breakpoint: continue to baz breakpoint for implptr)
7722 (sanity check element 0, sanity check element 1)
7723 (enter the inlined function, check element 0 for the offset)
7724 (check element 1 for the offset)
7725 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7726 (set foo breakpoint for implptr): Update the breakpoint number.
7727
7728 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7729
7730 * gdb.python/py-mi.exp: Use different file names for different
7731 versions of the executable under test.
7732 * gdb.python/py-prettyprint.exp: Likewise.
7733 * gdb.python/py-symbol.exp: Likewise.
7734 * gdb.python/py-template.exp: Likewise.
7735 * gdb.python/py-type.exp: Likewise.
7736 * gdb.python/py-value.exp: Likewise.
7737
7738 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7739
7740 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7741 flag after restarting GDB if necessary.
7742
7743 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7744
7745 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7746
7747 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7748
7749 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7750 backend doesn't leave used debug registers behind.
7751
7752 2011-07-22 Tom Tromey <tromey@redhat.com>
7753
7754 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7755 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7756 argument.
7757 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7758
7759 2011-07-21 Matt Rice <ratmice@gmail.com>
7760
7761 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7762 in mostlyclean rule. Add files ending in .core.
7763
7764 2011-07-21 Matt Rice <ratmice@gmail.com>
7765
7766 PR macros/12999
7767 * gdb.base/info-macros.c: New test sources.
7768 * gdb.base/info-macros.exp: New tests.
7769
7770 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7771
7772 * gdb.python/python.exp: Add prompt substitution tests.
7773
7774 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7775
7776 Fix crash if referenced CU is aged out.
7777 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7778 New.
7779 * gdb.dwarf2/implptr.exp: Likewise.
7780
7781 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7782
7783 * gdb.dwarf2/implptr.S: Rebuilt.
7784 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7785 (bar): Use them for j, k, l.
7786 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7787 COMPILE.
7788 (print j in implptr:bar): Update for the intp typedef.
7789 (print p[0].x in implptr:foo): Use more exact regex.
7790
7791 2011-07-18 Tom Tromey <tromey@redhat.com>
7792
7793 * gdb.cp/static-method.exp: Add missing single quote.
7794
7795 2011-07-18 Yao Qi <yao@codesourcery.com>
7796
7797 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7798 supported.
7799 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7800 * gdb.mi/mi-nonstop.exp: Likewise.
7801 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7802 * gdb.mi/mi-nsintrall.exp: Likewise.
7803 * gdb.mi/mi-nsmoribund.exp: Likewise.
7804 * gdb.mi/mi-nsthrexec.exp: Likewise.
7805 * gdb.python/py-evthreads.exp: Likewise.
7806
7807 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7808
7809 Code cleanup.
7810 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7811 it. Substitute it instead of test_compiler_info everywhere.
7812
7813 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7814
7815 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7816 remote targets as well.
7817
7818 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7819
7820 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7821 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7822
7823 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7824
7825 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7826 a remote machine, not the host.
7827 (gdb_compile_shlib): Set soname if target is remote.
7828
7829 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7830
7831 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7832
7833 2011-07-13 Matt Rice <ratmice@gmail.com>
7834
7835 * gdb.python/py-objfile-script-gdb.py: Renamed to
7836 py-objfile-script-gdb.py.in.
7837 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7838 py-objfile-script-gdb.py.
7839 * gdb.python/py-objfile-script.exp: Update reference to
7840 py-objfile-script-gdb.py.
7841
7842 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7843
7844 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7845 reference undefined label.
7846
7847 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7848
7849 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7850 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7851 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7852 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7853
7854 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7855
7856 PR python/12438
7857 * gdb.python/python.exp: Add maint set/show python print-stack
7858 deprecated tests. Add set/show python print-backtrace tests.
7859
7860 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7861
7862 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7863 debug info.
7864
7865 2011-07-06 Matt Rice <ratmice@gmail.com>
7866
7867 * gdb.python/python.exp: Update filename paths.
7868 * gdb.python/py-symtab.exp: Ditto.
7869
7870 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7871
7872 * gdb.python/py-evthreads.exp: Add missing `$'.
7873
7874 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7875
7876 * config/bfin.exp: New file.
7877 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7878 * gdb.asm/bfin.inc: New file.
7879
7880 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7881
7882 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7883 the whole output.
7884
7885 2011-07-05 Tom Tromey <tromey@redhat.com>
7886
7887 * gdb.java/jprint.java (jprint.hi): New field.
7888 * gdb.java/jprint.exp: Print string.
7889
7890 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7891
7892 * gdb.base/call-sc.c: Fix typos.
7893 * gdb.base/ifelse.exp: Likewise.
7894 * gdb.base/structs.c: Likewise.
7895
7896 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7897
7898 * gdb.base/jit-so.exp: New test.
7899 * gdb.base/jit-dlmain.c: New file.
7900 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7901
7902 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 * gdb.cp/m-static.exp: Call get_compiler_info.
7905 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7906 * gdb.cp/pr9167.exp (p b): Likewise.
7907 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7908 (test value of P in inner_m, test type of Z in inner_m): Call
7909 setup_xfail for gcc <= 4.5.
7910
7911 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7912
7913 * gdb.cp/paren-type.cc: New files.
7914 * gdb.cp/paren-type.exp: New files.
7915
7916 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7917
7918 Stop on first linespec terminator instead of eating what we can.
7919 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7920 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7921 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7922 (break C::f()): ... this one.
7923 (break C::operator()()): New test.
7924 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7925 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7926 test.
7927
7928 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7929
7930 Fall back linespec to minimal symbols.
7931 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7932 error message.
7933 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7934 * gdb.cp/minsym-fallback-main.cc: New file.
7935 * gdb.cp/minsym-fallback.cc: New file.
7936 * gdb.cp/minsym-fallback.exp: New file.
7937 * gdb.cp/minsym-fallback.h: New file.
7938
7939 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7940
7941 * gdb.cp/no-dmgl-verbose.cc: New file.
7942 * gdb.cp/no-dmgl-verbose.exp: New file.
7943
7944 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7945
7946 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7947 __GI_.
7948 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7949 (f): New function.
7950 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7951 (complete p 'func<short>(): ... here.
7952 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7953 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7954 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7955 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7956 Make them KFAIL gcc/49546.
7957
7958 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7959
7960 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7961
7962 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7963
7964 Test GCC PR debug/49546.
7965 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7966 (test type of F in k3_m, test value of F in k3_m): New.
7967 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7968 (main): New variable k3. Call k3.k3_m.
7969
7970 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7971
7972 * gdb.ada/packed_array.exp: Fix expected outout.
7973
7974 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7975
7976 * gdb.ada/packed_array.exp: fixed expected output.
7977
7978 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7979
7980 * gdb.ada/same_enum: New testcase.
7981
7982 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7983
7984 * gdb.ada/ptr_typedef: New testcase.
7985
7986 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7987
7988 * gdb.ada/arrayptr.exp: Add ptype test.
7989
7990 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7991
7992 * gdb.ada/char_enum: New testcase.
7993
7994 2011-07-01 Yao Qi <yao@codesourcery.com>
7995
7996 * gdb.base/dump.exp (capture_pointer_with_type): New.
7997 Get value from address instead of name.
7998 Start GDB once, and do `dump' and `restore'
7999 tests together.
8000
8001 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8002 Mike Frysinger <vapier@gentoo.org>
8003
8004 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8005 helper functions for getting/setting remotetimeout variable.
8006 * lib/gdb.exp (gdb_load): If the target is remote, set
8007 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8008 with $loadtimeout. Set $load_ok to 0 before doing the load.
8009 Instead of returning, immediately, set $load_ok to 0. Call
8010 set_remotetimeout with $oldremotetimeout, and then return if
8011 $load_ok is 1.
8012
8013 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8014
8015 * gdb.python/py-template.exp: Don't run this test if the target
8016 does not support c++ tests.
8017
8018 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8019
8020 Fix non-only rename list for Fortran modules import.
8021 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8022 tests.
8023 * gdb.fortran/module.f90 (module moduse): New.
8024 (program module): use moduse, test var_x, var_y and var_z.
8025
8026 2011-06-29 Tom Tromey <tromey@redhat.com>
8027
8028 PR testsuite/12040:
8029 * gdb.fortran/array-element.exp: Use f90, not f77.
8030 * gdb.fortran/complex.exp: Use f90, not f77.
8031 * gdb.fortran/derived-type.exp: Use f90, not f77.
8032 * gdb.fortran/library-module.exp: Use f90, not f77.
8033 * gdb.fortran/logical.exp: Use f90, not f77.
8034 * gdb.fortran/module.exp: Use f90, not f77.
8035 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8036 * gdb.fortran/subarray.exp: Use f90, not f77.
8037
8038 2011-06-29 Tom Tromey <tromey@redhat.com>
8039
8040 * gdb.fortran/charset.exp: New file.
8041 * gdb.fortran/charset.f90: New file.
8042
8043 2011-06-29 Tom Tromey <tromey@redhat.com>
8044
8045 PR testsuite/12040:
8046 * lib/future.exp: New file, mostly extracted from ada.exp.
8047 Rewrote compatibility code to use rename.
8048 (gdb_find_gfortran): New proc.
8049 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8050 gfortran patch.
8051 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8052 Move to future.exp.
8053 * lib/gdb.exp: Always load future.exp.
8054
8055 2011-06-28 Yao Qi <yao@codesourcery.com>
8056
8057 * gdb.cp/exception.cc: Don't include iostream.
8058 (bar): Remove print statement.
8059 (catcher): New.
8060 (main): Remove print statements. Call function catcher.
8061 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8062 Set breakpoint on catcher, and check the value of parameter.
8063
8064 2011-06-23 Yao Qi <yao@codesourcery.com>
8065
8066 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8067 breakpoint 1.2 is disabled. KFAIL for uclinux.
8068
8069 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8070
8071 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8072 mi_gdb_test.
8073
8074 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8075
8076 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8077
8078 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8079
8080 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8081
8082 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8083
8084 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8085 `test_exec_and_symbol_mi_operatons' return value.
8086 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8087 gdb_test_multiple.
8088 (test_exec_and_symbol_mi_operatons): Likewise.
8089 (test_path_specification): Likewise.
8090
8091 2011-06-23 Yao Qi <yao@codesourcery.com>
8092
8093 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8094 supported.
8095 * lib/gdb.exp (support_displaced_stepping): New.
8096
8097 2011-06-23 Yao Qi <yao@codesourcery.com>
8098
8099 * gdb.threads/execl.exp: Skip on remote target.
8100
8101 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8102
8103 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8104 mi_gdb_test.
8105
8106 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8107
8108 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8109
8110 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8111
8112 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8113 mi_gdb_test.
8114
8115 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8116
8117 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8118
8119 2011-06-14 Yao Qi <yao@codesourcery.com>
8120
8121 gdb/testsuite/
8122 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8123
8124 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8125
8126 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8127
8128 2011-06-10 Tom Tromey <tromey@redhat.com>
8129
8130 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8131 Add tests for pointer-to-member-function.
8132 * gdb.cp/temargs.cc (S::somefunc): New function.
8133 (K2): New class.
8134 (main): Instantiate K2; call method.
8135
8136 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8137
8138 * gdb.python/py-inferior.c (f2): Make str an array rather
8139 than a pointer.
8140 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8141
8142 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8143
8144 * gdb.base/async-shell.c: New file.
8145 * gdb.base/async-shell.exp: New file.
8146
8147 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8148
8149 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8150
8151 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8152
8153 From Stephen Kitt <steve@sk2.org>
8154 * gdb.base/help.exp: Adjust following some spelling corrections
8155 in GDB.
8156
8157 2011-06-01 Yao Qi <yao@codesourcery.com>
8158
8159 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8160
8161 2010-05-31 Keith Seitz <keiths@redhat.com>
8162
8163 PR c++/12750
8164 * gdb.cp/static-method.cc: New file.
8165 * gdb.cp/static-method.exp: New file.
8166
8167 2010-05-31 Keith Seitz <keiths@redhat.com>
8168
8169 PR symtab/12704
8170 * gdb.cp/anon-ns.cc: New file.
8171 * gdb.cp/anon-ns.exp: New file.
8172
8173 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8174
8175 * gdb.arch/i386-dr3-watch.c: New file.
8176 * gdb.arch/i386-dr3-watch.exp: New file.
8177
8178 2011-05-30 Yao Qi <yao@codesourcery.com>
8179
8180 * gdb.base/callfuncs.c (t_structs_fc): New.
8181 (t_structs_dc, t_structs_ldc): New.
8182 (t_double_many_args):
8183 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8184 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8185 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8186 * gdb.base/callfuncs.exp: Call new functions.
8187
8188 2011-05-30 Yao Qi <yao@codesourcery.com>
8189
8190 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8191 Call rerun_and_prepare for each test to isolate effects.
8192
8193 2011-05-30 Yao Qi <yao@codesourcery.com>
8194
8195 * gdb.base/varargs.c (find_max_float_real): New.
8196 (find_max_double_real, find_max_long_double_real): New.
8197 * gdb.base/varargs.exp: Call these new added functions.
8198 * lib/gdb.exp (setup_kfail_for_target): New.
8199
8200 2011-05-30 Yao Qi <yao@codesourcery.com>
8201
8202 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8203 (callcd, callce, callcf, callc1a, callc1b): New.
8204 (callc2a, callc2b): New.
8205 * gdb.base/funcargs.exp (complex_args): New.
8206 (complex_integral_args, complex_float_integral_args): New.
8207 * lib/gdb.exp (support_complex_tests): New. Determine
8208 whether to run test cases on _Complex types.
8209
8210 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8211
8212 * gdb.threads/leader-exit.c: New file.
8213 * gdb.threads/leader-exit.exp: New file.
8214
8215 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8216
8217 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8218
8219 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8220
8221 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8222 remove the `supported' variable.
8223 * gdb.mi/mi-nonstop.exp: Likewise.
8224 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8225 * gdb.mi/mi-nsintrall.exp: Likewise.
8226 * gdb.mi/mi-nsmoribund.exp: Likewise.
8227 * gdb.mi/mi-nsthrexec.exp: Likewise.
8228
8229 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8230
8231 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8232
8233 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8234
8235 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8236
8237 2011-05-24 Keith Seitz <keiths@redhat.com>
8238
8239 PR breakpoint/12803
8240 * gdb.cp/cmpd-minsyms.cc (a): New method.
8241 (b): New method.
8242 (c): New method.
8243 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8244
8245 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8246
8247 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8248 watchpoint's command list didn't execute when the watchpoint went
8249 out of scope.
8250
8251 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8252
8253 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8254 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8255 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8256 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8257 * gdb.arch/i386-permbkpt.exp: Likewise.
8258 * gdb.arch/i386-prologue.exp: Likewise.
8259 * gdb.arch/i386-size-overlap.exp: Likewise.
8260 * gdb.arch/i386-size.exp: Likewise.
8261 * gdb.arch/i386-unwind.exp: Likewise.
8262 * gdb.reverse/i386-precsave.exp: Likewise.
8263 * gdb.reverse/i386-reverse.exp: Likewise.
8264 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8265 * gdb.reverse/i387-env-reverse.exp: Likewise.
8266 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8267
8268 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8269
8270 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8271 file doesn't error, using MI.
8272
8273 2011-05-23 Tom Tromey <tromey@redhat.com>
8274
8275 * gdb.base/charset.exp (string_display): Add tests to assign to
8276 arrays.
8277 * gdb.base/charset.c (short_array, int_array, long_array): New.
8278
8279 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8280
8281 Cope with async mode.
8282
8283 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8284 into gdb_test + mi_expect_stop.
8285
8286 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8287
8288 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8289 (callme): Remove printf call.
8290
8291 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8292
8293 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8294 quote pattern to avoid problems with Cygwin/mingw expect versions.
8295 * gdb.base/default.exp (show convenience): Use double
8296 quote pattern for regular expressions.
8297
8298 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8299
8300 Fix -readnow for -gdwarf-4 unused type units.
8301 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8302 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8303
8304 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8305
8306 * gdb.base/kill-after-signal.c: New file.
8307 * gdb.base/kill-after-signal.exp: New file.
8308
8309 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8310
8311 * gdb.ada/start.exp: Call untested with the correct test filename.
8312 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8313 test filename. Make the test's binary unique.
8314 * gdb.arch/i386-signal.exp: Call untested with the correct test
8315 filename.
8316 * gdb.arch/i386-size-overlap.exp: Ditto.
8317 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8318 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8319 * gdb.cp/call-c.exp: Ditto.
8320 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8321 filename. Make the test's binary unique.
8322 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8323 * gdb.python/py-mi.exp: Ditto.
8324 * gdb.python/Makefile.in (EXECUTABLES): Update.
8325 * gdb.reverse/i386-precsave.exp: Ditto.
8326 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8327 test filename.
8328 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8329 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8330 unique.
8331 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8332 test filename.
8333 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8334 * gdb.trace/tfile.exp: Ditto.
8335
8336 2011-05-14 Yao Qi <yao@codesourcery.com>
8337
8338 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8339 type.
8340
8341 2011-05-13 Doug Evans <dje@google.com>
8342
8343 * gdb.python/py-objfile-script.exp: New file.
8344 * gdb.python/py-objfile-script.c: New file.
8345 * gdb.python/py-objfile-script-gdb.py: New file.
8346 * testsuite/gdb.python/py-section-script.exp: Test
8347 "info auto-load-scripts".
8348
8349 2011-05-13 Tom Tromey <tromey@redhat.com>
8350
8351 * gdb.dwarf2/clztest.exp: New file.
8352 * gdb.dwarf2/clztest.c: New file.
8353 * gdb.dwarf2/clztest.S: New file.
8354
8355 2011-05-13 Doug Evans <dje@google.com>
8356
8357 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8358 String16 tests.
8359
8360 2011-05-13 Tom Tromey <tromey@redhat.com>
8361
8362 * lib/gdb.exp (is_x86_like_target): New proc.
8363 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8364 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8365 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8366 -nostdlib to compiler.
8367 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8368 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8369 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8370 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8371 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8372
8373 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8374
8375 * gdb.python/py-function.exp: Test setting a value from a function
8376 which executes a command.
8377
8378 2011-05-12 Tom Tromey <tromey@redhat.com>
8379
8380 * gdb.dwarf2/typeddwarf.S: New file.
8381 * gdb.dwarf2/typeddwarf.c: New file.
8382 * gdb.dwarf2/typeddwarf.exp: New file.
8383
8384 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8385
8386 * gdb.mi/mi-basics.exp: Fix races. Honour the
8387 `test_exec_and_symbol_mi_operatons' return value.
8388 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8389 gdb_test_multiple.
8390 (test_exec_and_symbol_mi_operatons): Likewise.
8391 (test_path_specification): Likewise.
8392
8393 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8396 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8397 Replace `file copy' and `file rename' by `file mtime'. Twice.
8398
8399 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8400
8401 * gdb.base/readline-ask.c: New file.
8402 * gdb.base/readline-ask.exp: New file.
8403 * gdb.base/readline-ask.inputrc: New file.
8404
8405 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8406
8407 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8408 to avoid race condition.
8409 * gdb.cell/coremaker.c: Use small stack size.
8410 * gdb.cell/ea-standalone.exp: Use file name without path as
8411 argument to c_to.
8412 * gdb.cell/fork.exp: Allow other output when continuing to end.
8413
8414 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8415
8416 * gdb.threads/corethreads.c: New file.
8417 * gdb.threads/corethreads.exp: New file.
8418
8419 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8420
8421 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8422 Try to compile the test using -Wl,-z,norelro first.
8423 (load_core): New variable libthread_db_seen, initialize it.
8424 (zeroed-threads cannot be listed): Protect it by XFAIL on
8425 !$libthread_db_seen.
8426
8427 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8428
8429 PR 12573
8430 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8431 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8432 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8433
8434 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8435
8436 * gdb.cp/psymtab-parameter.cc: New file.
8437 * gdb.cp/psymtab-parameter.exp: New file.
8438
8439 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8440
8441 Fix a race.
8442 * gdb.cp/static-print-quit.exp (print c): Split to ...
8443 (print c - <return>, print c - q <return>, print c - to quit):
8444 ... these. Make the testfile untested on gdb-7.1.
8445
8446 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8447
8448 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8449 gdb_rename_execfile, gdb_touch_execfile): New.
8450 * gdb.base/reread.exp: Use new procs to handle multiple
8451 exec files.
8452
8453 2011-05-05 Yao Qi <yao@codesourcery.com>
8454
8455 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8456 (test_adr_32bit, test_pop_pc): New.
8457 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8458 (test_adr_32bit, test_pop_pc): New.
8459
8460 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8461
8462 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8463 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8464 targets.
8465 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8466 handle targets.
8467
8468 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8469
8470 * gdb.base/completion.exp (complete help info wat): Rename to ...
8471 (complete 'help info wat'): ... here.
8472 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8473 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8474
8475 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8476
8477 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8478 gdb_test and explicit $gdb_prompt/timeout matches.
8479
8480 2011-05-04 Yao Qi <yao@codesourcery.com>
8481
8482 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8483 and __thumb2__.
8484
8485 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8486
8487 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8488 in place of `gdb_test "delete breakpoints"'. This eliminates two
8489 testcases.
8490
8491 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8492
8493 PR testsuite/12649
8494 Fix races.
8495
8496 * gdb.base/completion.exp: Remove all sleep calls. Remove
8497 unnecessary regexs. Don't explicitly expect anything after the
8498 prompt. Eat the prompt if necessary.
8499
8500 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8501
8502 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8503 accept to show the caller line again as well as the line after.
8504
8505 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8506
8507 PR mi/12531
8508
8509 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8510 compile target.
8511 * gdb.python/py-prettyprint.exp: Add C++ object for
8512 CPLUS_FAKE_CHILD test.
8513
8514 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8515
8516 * gdb.base/signest.exp: New file.
8517 * gdb.base/signest.c: Likewise.
8518
8519 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8520
8521 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8522 thread and breakpoint notifications.
8523
8524 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8525
8526 * gdb.base/fortran-sym-case.c: New file.
8527 * gdb.base/fortran-sym-case.exp: New file.
8528 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8529 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8530 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8531
8532 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8533
8534 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8535 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8536 false #1', `if true else false #2' and `if true else false #3'.
8537
8538 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8539
8540 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8541 while delivering signal.
8542
8543 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8544
8545 MI breakpoint notifications.
8546
8547 * testsuite/gdb.mi/mi-cli.exp: Adust.
8548 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8549 * testsuite/gdb.mi/mi-watch.exp: Adust.
8550 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8551 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8552 notifications.
8553
8554 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8555
8556 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8557 * gdb.base/gdbindex-stabs.c: New file.
8558 * gdb.base/gdbindex-stabs.exp: New file.
8559
8560 2011-04-25 Yao Qi <yao@codesourcery.com>
8561
8562 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8563 with /*...*/.
8564 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8565
8566 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.python/py-value.exp (test_objfiles): Name the first test
8569 `py-value in file.filename'.
8570
8571 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8572
8573 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8574 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8575 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8576 !gdbserver_reconnect_p..
8577 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8578
8579 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 * gdb.cp/cpcompletion.exp (complete class methods)
8582 (complete class methods beginning with F): Move them above runto. New
8583 comment about the runto delimiter.
8584
8585 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8586
8587 * gdb.base/maint.exp: Test that "maint print registers" works
8588 without a running program.
8589
8590 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8591
8592 * gdb.base/setshow.exp: Fix racy tests.
8593 ($old_gdb_prompt): New variable.
8594
8595 2011-04-19 Tom Tromey <tromey@redhat.com>
8596
8597 * gdb.mi/mi-nsmoribund.exp:
8598 * gdb.hp/gdb.objdbg/objdbg01.exp:
8599 * gdb.base/structs.exp (test_struct_returns):
8600 * gdb.base/call-sc.exp (test_scalar_returns):
8601 * gdb.base/bigcore.exp: Remove duplicate words.
8602
8603 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8604
8605 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8606 * gdb.base/break-interp.exp (test_attach): New comment.
8607
8608 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8609
8610 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8611 (clear __stack_user.next, clear stack_used.next)
8612 (save a zeroed-threads corefile): New test.
8613 Call core_load for $core0file.
8614 (zeroed-threads cannot be listed): New test.
8615
8616 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8617
8618 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8619 filename.
8620 ($srcfile): Preserve the original value.
8621 ($testfile): Match it the .exp filename.
8622 ($corefile): New variable. Substitute it around.
8623 Use clean_restart.
8624 ($prev_timeout): Remove.
8625 (load_core): Move core loading into this proc.
8626 Fix restore of $timeout if load_core fails.
8627
8628 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * gdb.base/eu-strip-infcall.c: New file.
8631 * gdb.base/eu-strip-infcall.exp: New file.
8632
8633 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8634
8635 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8636 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8637
8638 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8639
8640 Fix Python access to inlined frames.
8641 * gdb.python/py-frame-inline.c: New file.
8642 * gdb.python/py-frame-inline.exp: New file.
8643
8644 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8645
8646 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8647 content of 's24' correctly (avoiding "optimized out").
8648 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8649
8650 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8651
8652 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8653
8654 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8655
8656 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8657 expect a colon in watch -location output.
8658
8659 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8660
8661 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8662 New testcase `expect response to define backtrace'. Also remove
8663 redundant `default' block.
8664
8665 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8666
8667 * gdb.python/py-prettyprint.c (struct hint_error): New.
8668 (main): New variable hint_error.
8669 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8670 "print hint_error".
8671 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8672 (register_pretty_printers): Register it.
8673
8674 2011-04-04 Tom Tromey <tromey@redhat.com>
8675
8676 * gdb.cp/maint.exp (test_help): Update.
8677 (test_namespace): Likewise.
8678
8679 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8680
8681 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8682 * gdb.ada/arrayptr.exp: Add new tests.
8683
8684 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8685
8686 * gdb.ada/mi_catch_ex: New testcase.
8687
8688 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8689
8690 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8691 base::overload(void) method without specifying "const".
8692
8693 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8694
8695 * gdb.arch/thumb-singlestep.S: New file.
8696 * gdb.arch/thumb-singlestep.exp: Likewise.
8697
8698 2011-03-31 Tom Tromey <tromey@redhat.com>
8699
8700 * gdb.python/py-prettyprint.py (exception_flag): New global.
8701 (NoStringContainerPrinter._iterator.next): Check it.
8702 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8703 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8704
8705 2011-03-29 Tom Tromey <tromey@redhat.com>
8706
8707 * gdb.cp/anon-struct.cc: New file.
8708 * gdb.cp/anon-struct.exp: New file.
8709
8710 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8711
8712 Test STT_GNU_IFUNC support.
8713 * gdb.base/gnu-ifunc-lib.c: New file.
8714 * gdb.base/gnu-ifunc.c: New file.
8715 * gdb.base/gnu-ifunc.exp: New file.
8716
8717 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8718
8719 Support a ring of related breakpoints.
8720 * gdb.base/watchpoint-delete.c: New file.
8721 * gdb.base/watchpoint-delete.exp: New file.
8722
8723 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8724
8725 * gdb.ada/arrayparam.exp (print first after function call): Use
8726 explicit package name. Add a comment
8727 (print lasta after function call): Rename ...
8728 (print last after function call): ... it and use explicit package
8729 name.
8730 (print length after function call): Use explicit package name.
8731 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8732 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8733 (multiple matches for symbol i): Rename ...
8734 (multiple matches for symbol integervar): ... it.
8735 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8736 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8737
8738 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8739
8740 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8741 environment variable to make grep output more predictable. Move
8742 all the environment setup into gdb_init so it's done once per test
8743 case rather than each time we start gdb.
8744
8745 2011-03-24 Tom Tromey <tromey@redhat.com>
8746
8747 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8748 test.
8749
8750 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8751
8752 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8753 * gdb.dwarf2/dw2-entry-value.S: New file.
8754 * gdb.dwarf2/dw2-entry-value.exp: New file.
8755
8756 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8757
8758 PR python/12183
8759
8760 * gdb.python/py-function.exp: Add GdbError tests.
8761
8762 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8763
8764 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8765 (reglocal_test_func, statlocal_test_func): New functions.
8766 (globals_test_func): Call new functions.
8767 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8768 (gdb_collect_locals_test): New procedure.
8769 (gdb_trace_collection_test): Call new procedures.
8770
8771 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8772
8773 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8774 (test_register, test_register_unavailable): New procedures.
8775 (gdb_unavailable_registers_test): New procedure.
8776 (gdb_trace_collection_test): Call it.
8777
8778 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8779
8780 PR python/12149
8781
8782 * gdb.python/python.exp: Add gdb.write tests.
8783
8784 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8785
8786 * gdb.python/Makefile.in: Add py-objfile.
8787 * gdb.python/py-objfile.exp: New file.
8788 * gdb.python/py-objfile.c: New file.
8789 * gdb.python/py-block.exp: Add is_valid tests.
8790 * gdb.python/py-inferior.exp: Ditto.
8791 * gdb.python/py-infthread.exp: Ditto.
8792 * gdb.python/py-symbol.exp: Ditto.
8793 * gdb.python/py-symtab.exp: Ditto.
8794
8795 2011-03-16 Keith Seitz <keiths@redhat.com>
8796
8797 PR c++/12273
8798 * gdb.cp/cmpd-minsyms.exp: New test.
8799 * gdb.cp/cmpd-minsyms.cc: New file.
8800
8801 PR c++/11734
8802 * gdb.cp/ovsrch.exp: New test.
8803 * gdb.cp/ovsrch.h: New file.
8804 * gdb.cp/ovsrch1.cc: New file.
8805 * gdb.cp/ovsrch2.cc: New file.
8806 * gdb.cp/ovsrch3.cc: New file.
8807 * gdb.cp/ovsrch4.cc: New file.
8808
8809 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8810
8811 PR gdb/12528
8812 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8813 * gdb.base/break-on-linker-gcd-function.exp: New test.
8814 * gdb.base/break-on-linker-gcd-function.cc: New file.
8815
8816 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8817
8818 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8819
8820 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8821
8822 * lib/gdb.exp (gdb_unload): Add another termination case.
8823
8824 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8825
8826 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8827 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8828 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8829 Provide a stub byte there.
8830 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8831 DW_AT_entry_pc.
8832 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8833
8834 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8835
8836 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8837 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8838 "generic ABI, auto".
8839 (altivec_abi_tests): Accept vectors returned by reference.
8840
8841 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8842
8843 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8844
8845 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8846
8847 * gdb.python/py-section-script.exp: Skip test if no Python support.
8848
8849 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8850
8851 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8852
8853 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8854
8855 * gdb.python/py-parameter.exp: Update tests to the new Python
8856 parameter API. Add "no documentation" test. Add deprecated API
8857 backward compatibility test.
8858
8859 2011-03-09 Tom Tromey <tromey@redhat.com>
8860
8861 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8862 gdb_continue_to_end.
8863
8864 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8865
8866 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8867 tabs.
8868
8869 2011-03-09 Tom Tromey <tromey@redhat.com>
8870
8871 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8872 parentheses.
8873 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8874 $command.
8875 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8876 argument to gdb_continue_to_end.
8877 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8878 argument to gdb_continue_to_end.
8879 * gdb.cp/annota3.exp: Fix regex.
8880 * gdb.cp/annota2.exp: Fix regex.
8881 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8882 gdb_continue_to_end.
8883 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8884 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8885 gdb_continue_to_end.
8886
8887 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8888
8889 * gdb.server/ext-run.exp
8890 (load new file without any gdbserver inferior): New test.
8891
8892 2011-03-07 Tom Tromey <tromey@redhat.com>
8893
8894 * Makefile.in (TAGS): Rewrite.
8895
8896 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8897
8898 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8899 initial commands echo. New match for `Found trace'. Anchor all the
8900 other matches. Anchor and match for `No trace frame found' the final
8901 match.
8902
8903 2011-03-07 Tom Tromey <tromey@redhat.com>
8904
8905 * Makefile.in (TAGS): New target.
8906
8907 2011-03-07 Tom Tromey <tromey@redhat.com>
8908
8909 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8910 change.
8911 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8912 change.
8913 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8914 exit message change.
8915 (skip_altivec_tests): Update for exit message change.
8916 (skip_vsx_tests): Likewise.
8917 (gdb_continue_to_end): Likewise. Add 'command' argument.
8918 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8919 * gdb.threads/tls.exp: Update for exit message change.
8920 * gdb.threads/thread-unwindonsignal.exp: Use
8921 gdb_continue_to_end.
8922 * gdb.threads/step.exp (step_it): Update for exit message change.
8923 (continue_all): Likewise.
8924 * gdb.threads/print-threads.exp (test_all_threads): Update for
8925 exit message change.
8926 * gdb.threads/interrupted-hand-call.exp: Use
8927 gdb_continue_to_end.
8928 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8929 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8930 gdb_continue_to_end.
8931 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8932 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8933 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8934 * gdb.cp/method.exp: Update for exit message change.
8935 * gdb.cp/mb-templates.exp: Update for exit message change.
8936 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8937 * gdb.cp/annota3.exp: Update for exit message change.
8938 * gdb.cp/annota2.exp: Update for exit message change.
8939 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8940 * gdb.base/term.exp: Update for exit message change.
8941 * gdb.base/step-test.exp (test_i): Update for exit message change.
8942 * gdb.base/sigstep.exp (advance): Update for exit message change.
8943 (advancei): Likewise.
8944 * gdb.base/siginfo.exp: Update for exit message change.
8945 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8946 * gdb.base/reread.exp: Use gdb_continue_to_end.
8947 * gdb.base/langs.exp: Use gdb_continue_to_end.
8948 * gdb.base/interrupt.exp: Update for exit message change.
8949 * gdb.base/gdb1555.exp: Update for exit message change.
8950 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8951 * gdb.base/ending-run.exp: Update for exit message change.
8952 * gdb.base/chng-syms.exp: Update for exit message change.
8953 * gdb.base/checkpoint.exp: Update for exit message change.
8954 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8955 gdb_continue_to_end.
8956 (test_catch_syscall_with_wrong_args): Likewise.
8957 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8958 * gdb.base/break-interp.exp (test_ld): Update for exit message
8959 change.
8960 * gdb.base/bang.exp: Update for exit message change.
8961 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8962 (do_call_attach_tests): Likewise.
8963 * gdb.base/a2-run.exp: Update for exit message change.
8964 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8965 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8966 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8967
8968 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8969
8970 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8971
8972 2011-03-03 Tom Tromey <tromey@redhat.com>
8973
8974 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8975 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8976 * gdb.hp/gdb.aCC/configure.ac: Remove.
8977 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8978 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8979 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8980 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8981 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8982 * gdb.hp/gdb.compat/configure.ac: Remove.
8983 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8984 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8985 * gdb.hp/gdb.defects/configure.ac: Remove.
8986 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8987 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8988 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8989 * gdb.hp/configure.ac: Remove.
8990 * gdb.hp/configure: Remove.
8991 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8992 substitution.
8993 (Makefile): Remove rule.
8994 * gdb.cell/configure.ac: Remove.
8995 * gdb.cell/configure: Remove.
8996 * gdb.stabs/Makefile.in (Makefile): Remove.
8997 (distclean): Don't remove config.status or config.log.
8998 * gdb.stabs/configure (Makefile): Remove.
8999 * gdb.stabs/configure.ac: Remove.
9000 * configure: Rebuild.
9001 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9002 Remove stabs- and cell-specific logic. Test for existence of
9003 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9004 subdirectories, gdb.cell, and and gdb.stabs.
9005 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9006
9007 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9008
9009 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9010 end of buffer.
9011
9012 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9013
9014 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9015 gdb_test when running a test where we expected no output back.
9016
9017 2011-02-28 Michael Snyder <msnyder@vmware.com>
9018
9019 * gdb.cp/overload.cc: Change initializer value to integer.
9020
9021 2011-02-27 Michael Snyder <msnyder@vmware.com>
9022
9023 * gdb.multi/base.exp: Add test for remove-inferiors.
9024
9025 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9026
9027 * gdb.python/py-frame.exp: Simplify the initialization phase
9028 using prepare_for_testing.
9029
9030 2011-02-25 Michael Snyder <msnyder@vmware.com>
9031
9032 * gdb.multi/base.exp: Add tests for info inferiors with args.
9033
9034 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9035
9036 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9037 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9038 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9039 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9040 asmfile3. Comment the STABS (#3) file compilation. Compile
9041 everything through assembler. Provide KFAIL for symtab/12497.
9042 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9043 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9044 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9045 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9046
9047 2011-02-24 Michael Snyder <msnyder@vmware.com>
9048
9049 * gdb.base/break.exp: Add tests for delete breakpoints using
9050 convenience variables and value history references.
9051
9052 2011-02-24 Michael Snyder <msnyder@vmware.com>
9053
9054 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9055 left behind in previous check-in.
9056
9057 2011-02-23 Michael Snyder <msnyder@vmware.com>
9058
9059 * gdb.base/break.exp: Add tests for "info break" with arguments.
9060 * gdb.trace/infotrace.exp: Update patterns for error and help.
9061 * gdb.base/completion.exp: Update pattern.
9062 * gdb.base/ena-dis-br.exp: Update pattern.
9063 * gdb.base/help.exp: Update patterns.
9064
9065 2011-02-23 Michael Snyder <msnyder@vmware.com>
9066
9067 * gdb.base/memattr.exp: New test.
9068 * gdb.base/memattr.c: Test load for memattr.exp.
9069
9070 2011-02-22 Doug Evans <dje@google.com>
9071
9072 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9073
9074 2011-02-22 Michael Snyder <msnyder@vmware.com>
9075
9076 * Makefile.in: Make more clean.
9077 * gdb.ada/Makefile.in: Ditto.
9078 * gdb.arch/Makefile.in: Ditto.
9079 * gdb.asm/Makefile.in: Ditto.
9080 * gdb.base/Makefile.in: Ditto.
9081 * gdb.cp/Makefile.in: Ditto.
9082 * gdb.dwarf2/Makefile.in: Ditto.
9083 * gdb.java/Makefile.in: Ditto.
9084 * gdb.mi/Makefile.in: Ditto.
9085 * gdb.modula2/Makefile.in: Ditto.
9086 * gdb.python/Makefile.in: Ditto.
9087 * gdb.server/Makefile.in: Ditto.
9088 * gdb.stabs/Makefile.in: Ditto.
9089 * gdb.threads/Makefile.in: Ditto.
9090 * gdb.trace/Makefile.in: Ditto.
9091
9092 2011-02-22 Michael Snyder <msnyder@vmware.com>
9093
9094 * gdb.threads/thread-find.exp: Add tests for bad input to
9095 info threads.
9096
9097 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9098
9099 * gdb.python/py-breakpoint.exp: Fix the expected output of
9100 one of the "maint info breakpoints" tests to accept the output
9101 generated on platforms that do not have hardware watchpoints.
9102
9103 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9104
9105 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9106 clean_restart. Be a little stricter in the expected output
9107 for one of the tests. Fix a typo in one of the comments.
9108
9109 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9110
9111 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9112 Delete variable binfile, no longer use. Add or modify test
9113 comments to make them unique.
9114
9115 2011-02-21 Michael Snyder <msnyder@vmware.com>
9116
9117 * Makefile.in: Update for make clean.
9118 * gdb.ada/Makefile.in: Ditto.
9119 * gdb.arch/Makefile.in: Ditto.
9120 * gdb.asm/Makefile.in: Ditto.
9121 * gdb.base/Makefile.in: Ditto.
9122 * gdb.cp/Makefile.in: Ditto.
9123 * gdb.dwarf2/Makefile.in: Ditto.
9124 * gdb.java/Makefile.in: Ditto.
9125 * gdb.mi/Makefile.in: Ditto.
9126 * gdb.modula2/Makefile.in: Ditto.
9127 * gdb.python/Makefile.in: Ditto.
9128 * gdb.server/Makefile.in: Ditto.
9129 * gdb.stabs/Makefile.in: Ditto.
9130 * gdb.threads/Makefile.in: Ditto.
9131 * gdb.trace/Makefile.in: Ditto.
9132
9133 2011-02-21 Michael Snyder <msnyder@vmware.com>
9134
9135 * gdb.threads/thread-find.exp: Update patterns for changes in
9136 output of "info threads" command.
9137
9138 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9139 Ulrich Weigand <uweigand@de.ibm.com>
9140
9141 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9142 (skip_hw_watchpoint_tests): Likewise.
9143 (skip_hw_watchpoint_multi_tests): Likewise.
9144
9145 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9146
9147 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9148 (skip_hw_watchpoint_tests): Likewise.
9149 (skip_hw_watchpoint_multi_tests): Likewise.
9150 (skip_hw_watchpoint_access_tests): Likewise.
9151
9152 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9153 * gdb.base/pr11022.exp: Likewise.
9154 * gdb.base/watch-read.exp: Likewise.
9155 * gdb.base/watch_thread_num.exp: Likewise.
9156 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9157 * gdb.base/watchpoint-hw.exp: Likewise.
9158 * gdb.base/watchpoint.exp: Likewise.
9159 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9160 * gdb.threads/watchthreads-reorder.exp: Likewise.
9161 * gdb.threads/watchthreads.exp: Likewise.
9162 * gdb.threads/watchthreads2.exp: Likewise.
9163
9164 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9165
9166 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9167 the debugger is unable to find the array bounds.
9168
9169 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9170
9171 * gdb.cp/typedef-operator.exp: New file.
9172 * gdb.cp/typedef-operator.cc: New file.
9173
9174 2011-02-17 Michael Snyder <msnyder@vmware.com>
9175
9176 * gdb.threads/thread-find.exp: Fix regular expressions.
9177
9178 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9179
9180 * gdb.ada/packed_array: Expand testcase to test printing of
9181 unconstrained packed array.
9182
9183 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9184
9185 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9186
9187 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9188
9189 * gdb.trace/collection.c (globalarr3): New global.
9190 (main): Initialize it before collecting, and and clear it
9191 afterwards.
9192 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9193 collecting with '{type} addr', where the addr expression is not an
9194 rvalue.
9195
9196 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9197
9198 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9199 a bool variable. Expect correct OpenCL names for vector types. Use the
9200 uc3 variable name instead of referring to the uchar3 built-in type.
9201 Escape the asterisk at the half pointer test.
9202
9203 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9204
9205 * gdb.trace/collection.c (globalarr2): New global.
9206 (main): Initialize it before collecting, and and clear it
9207 afterwards.
9208 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9209 collecting overlapping memory ranges.
9210
9211 2011-02-15 Michael Snyder <msnyder@vmware.com>
9212
9213 * gdb.base/default.exp: Add tests for thread commands.
9214 * gdb.base/help.exp: Add tests for thread commands.
9215 * gdb.threads/thread-find.exp: New test for thread find command.
9216
9217 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9218
9219 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9220
9221 2011-02-15 Yao Qi <yao@codesourcery.com>
9222
9223 PR tdep/12352
9224 * gdb.arch/arm-disp-step.S : New test for str instruction.
9225 * gdb.arch/arm-disp-step.exp : Likewise.
9226
9227 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9228
9229 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9230 "vector_register2_vr" test strings. Test the extended floating
9231 point registers (F32~F63).
9232 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9233 IBM XL C compiler. Make the test program use a register provided
9234 by the compiler for the lxvd2x instruction.
9235
9236 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9237
9238 * gdb.trace/unavailable.cc (class Base, class Middle, class
9239 Derived): New types.
9240 (derived_unavail, derived_partial, derived_whole): New globals.
9241 (virtual_partial): New global.
9242 (virtualp): Point at virtual_partial.
9243 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9244 related to unavailable vptr.
9245
9246 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9247
9248 * gdb.trace/unavailable.cc (a, b, c): New globals.
9249 (main): Set and clear them.
9250 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9251 `a' and `c', and check that `b' isn't collected, although `a' and
9252 `c' are.
9253
9254 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9255
9256 * gdb.trace/unavailable.cc (struct Virtual): New.
9257 (virtualp): New global pointer.
9258 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9259 printing a pointer to an object whose type has a vtable, with
9260 print object on.
9261
9262 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9263
9264 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9265 value repeat handles unavailableness.
9266
9267 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9268
9269 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9270 tests for building arrays from unavailable values, subscripting
9271 non-memory rvalue unvailable arrays, and accessing fields or
9272 baseclasses of non-lazy unavailable values,
9273 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9274 struct types.
9275 (g_smallstruct, g_smallstruct_b): New globals.
9276
9277 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9278
9279 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9280
9281 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9282
9283 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9284 * gdb.cp/overload-const.exp: New file.
9285 * gdb.cp/overload-const.cc: New file.
9286
9287 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9288
9289 * gdb.opencl/callfuncs.cl: New file.
9290 * gdb.opencl/callfuncs.exp: New test.
9291 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9292
9293 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9294
9295 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9296 when computing result.
9297 * gdb.arch/altivec-abi.exp: Update expected results.
9298
9299 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9300
9301 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9302 * gdb.base/jit.exp: Likewise.
9303 * gdb.base/pie-execl.exp: Likewise.
9304 * gdb.base/solib-nodir.exp: Likewise.
9305 * gdb.base/solib-overlap.exp: Likewise.
9306
9307 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9308
9309 * gdb.trace/collection.c (global_pieces): New.
9310 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9311 New procedure.
9312 (gdb_trace_collection_test): Call it.
9313
9314 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9315
9316 * gdb.python/py-evthreads.c: New file.
9317 * gdb.python/py-evthreads.exp: New file.
9318 * gdb.python/py-events.py: New file.
9319 * gdb.python/py-events.exp: New file.
9320 * gdb.python/py-events.c: New file.
9321
9322 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9323
9324 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9325
9326 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9327
9328 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9329 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9330 boundary between two compilation units.
9331
9332 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9333
9334 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9335 (Virtual): New structs.
9336 (virtual_o, virtual_middle_b): New globals.
9337 * gdb.cp/virtbase.exp: New tests.
9338
9339 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9340
9341 * gdb.base/jit.exp: New file.
9342 * gdb.base/jit-main.c: New file.
9343 * gdb.base/jit-solib.c: New file.
9344
9345 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9346
9347 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9348 proceed to initial kernel entry point.
9349 * gdb.opencl/datatypes.exp: Likewise.
9350 * gdb.opencl/operators.exp: Likewise.
9351 * gdb.opencl/vec_comps.exp: Likewise.
9352
9353 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9354
9355 * gdb.cp/nsnested.cc: New.
9356 * gdb.cp/nsnested.exp: New.
9357 * gdb.cp/nsnoimports.exp: New.
9358 * gdb.cp/nsnoimports.cc: New.
9359
9360 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9361
9362 * gdb.base/interact.exp: Add extra tests that verify that
9363 the value of the interactive-mode setting does not change
9364 after the script is sourced.
9365
9366 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9367
9368 * gdb.cp/noparam.exp: New file.
9369 * gdb.cp/noparam.cc: New file.
9370
9371 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9372
9373 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9374 there's no stack or registers.
9375
9376 2011-01-26 Tom Tromey <tromey@redhat.com>
9377
9378 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9379 space before string output. Add test for "set print pretty off"
9380 case.
9381
9382 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9383
9384 * gdb.base/frame-args.exp: Adjust.
9385 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9386 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9387 * gdb.dwarf2/pieces.exp: Adjust.
9388 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9389 * gdb.opt/inline-locals.exp: Adjust.
9390 * gdb.threads/fork-child-threads.exp: Adjust.
9391
9392 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9393
9394 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9395 OpenCL kernel function. Add a comment as marker. Add address space
9396 qualifiers for the remaining program scope variables.
9397 * gdb.opencl/datatypes.cl: Likewise.
9398 * gdb.opencl/operators.cl: Likewise.
9399 * gdb.opencl/vec_comps.cl: Likewise.
9400 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9401 Add breakpoint at the marker comment.
9402 * gdb.opencl/datatypes.exp: Likewise.
9403 * gdb.opencl/operators.exp: Likewise.
9404 * gdb.opencl/vec_comps.exp: Likewise.
9405
9406 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9407
9408 * gdb.base/printcmds.c (some_struct): New struct and instance.
9409 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9410 procedure.
9411 <global scope>: Call it.
9412
9413 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9414
9415 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9416 argument to the gdb_compile_opencl_hostapp call.
9417
9418 2011-01-19 Yao Qi <yao@codesourcery.com>
9419
9420 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9421 positve list.
9422
9423 2011-01-19 Yao Qi <yao@codesourcery.com>
9424
9425 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9426 canonical form.
9427 Remove "xscale-*-*"
9428 * gdb.xml/tdesc-regs.exp: Likewise.
9429 * gdb.python/py-section-script.exp: Replace ARM target triplet
9430 with canonical form.
9431 Match arm*-*-symbianelf*.
9432 * gdb.base/dup-sect.exp: Likewise.
9433 * lib/dwarf.exp: New.
9434 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9435 dwarf2_support.
9436 * gdb.dwarf2/dup-psym.exp: Likewise.
9437 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9438 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9439 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9440 * gdb.dwarf2/dw2-basic.exp: Likewise.
9441 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9442 * gdb.dwarf2/dw2-const.exp: Likewise.
9443 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9444 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9445 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9446 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9447 * gdb.dwarf2/dw2-filename.exp: Likewise.
9448 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9449 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9450 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9451 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9452 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9453 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9454 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9455 * gdb.dwarf2/dw2-producer.exp: Likewise.
9456 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9457 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9458 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9459 * gdb.dwarf2/dw2-strp.exp: Likewise.
9460 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9461 * gdb.dwarf2/implptr.exp: Likewise.
9462 * gdb.dwarf2/mac-fileno.exp: Likewise.
9463 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9464 * gdb.dwarf2/pieces.exp: Likewise.
9465 * gdb.dwarf2/pr11465.exp: Likewise.
9466 * gdb.dwarf2/valop.exp: Likewise.
9467 * gdb.dwarf2/watch-notconst.exp: Likewise.
9468 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9469
9470 2011-01-19 Tom Tromey <tromey@redhat.com>
9471
9472 * gdb.python/py-infthread.exp: Add thread tests.
9473
9474 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9475
9476 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9477
9478 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9479
9480 * gdb.ada/widewide: New testcase.
9481
9482 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9483
9484 * gdb.base/interact.exp: New testcase.
9485
9486 2011-01-12 Tom Tromey <tromey@redhat.com>
9487
9488 * gdb.mi/gdb2549.exp: Update for error message changes.
9489 * gdb.mi/mi-cli.exp: Likewise.
9490 * gdb.mi/mi-disassemble.exp: Likewise.
9491 * gdb.mi/mi-pthreads.exp: Likewise.
9492 * gdb.mi/mi-regs.exp: Likewise.
9493 * gdb.mi/mi-stack.exp: Likewise.
9494 * gdb.mi/mi-var-block.exp: Likewise.
9495 * gdb.mi/mi-var-cmd.exp: Likewise.
9496 * gdb.mi/mi2-cli.exp: Likewise.
9497 * gdb.mi/mi2-disassemble.exp: Likewise.
9498 * gdb.mi/mi2-pthreads.exp: Likewise.
9499 * gdb.mi/mi2-regs.exp: Likewise.
9500 * gdb.mi/mi2-stack.exp: Likewise.
9501 * gdb.mi/mi2-var-block.exp: Likewise.
9502 * gdb.mi/mi2-var-cmd.exp: Likewise.
9503
9504 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9505 Jan Kratochvil <jan.kratochvil@redhat.com>
9506
9507 PR fortran/11104 and DWARF unbound arrays detection.
9508 * gdb.fortran/multi-dim.exp: New file.
9509 * gdb.fortran/multi-dim.f90: New file.
9510
9511 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9512
9513 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9514 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9515 add new tests for opcode dumping.
9516
9517 2011-01-11 Tom Tromey <tromey@redhat.com>
9518
9519 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9520
9521 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9522
9523 Convert hardware watchpoints to use breakpoint_ops.
9524 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9525 type is not supported.
9526 * gdb.base/foll-fork.exp: Likewise.
9527 * gdb.base/foll-vfork.exp: Likewise.
9528
9529 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9530
9531 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9532 Use load_lib gdb-python.exp.
9533 * gdb.python/python.exp: Ditto.
9534 * gdb.python/py-function.exp: Ditto.
9535
9536 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9537
9538 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9539
9540 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9541
9542 * configure: Regenerate.
9543
9544 2011-01-06 Tom Tromey <tromey@redhat.com>
9545
9546 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9547
9548 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9549
9550 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9551 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9552 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9553 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9554 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9555 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9556 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9557 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9558 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9559 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9560 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9561 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9562 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9563 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9564 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9565 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9566 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9567 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9568 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9569 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9570 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9571 gdb.ada/uninitialized_vars.exp,
9572 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9573 Simplify by using clean_restart.
9574
9575 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9576
9577 Add marker to be used as anchor for inserting breakpoints.
9578 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9579 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9580 Likewise.
9581
9582 Remove uses of gdb_start_cmd.
9583 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9584 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9585
9586 Do not run testcase if testing with GDBserver.
9587 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9588 if testing with GDBserver.
9589
9590 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9591
9592 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9593 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9594 copyright header.
9595
9596 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9597
9598 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9599 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9600 testsuite/gdb.fortran/complex.f,
9601 testsuite/gdb.fortran/derived-type.f90,
9602 testsuite/gdb.fortran/library-module-lib.f90,
9603 testsuite/gdb.fortran/library-module-main.f90,
9604 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9605 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9606 Copyright year update.
9607
9608 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9609
9610 * gdb.base/langs1.f: Add copyright header.
9611
9612 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9613
9614 * gdb.base/morestack.exp: New file.
9615 * gdb.base/morestack.c: New file.
9616
9617 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9618
9619 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9620
9621 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9622
9623 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9624 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9625
9626 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9627
9628 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9629
9630 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9631
9632 * gdb.threads/tls.exp: Fix typo.
9633
9634 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9635 * gdb.threads/execl.exp: Update.
9636
9637 2010-12-23 Yao Qi <yao@codesourcery.com>
9638
9639 * gdb.arch/arm-disp-step.exp: New.
9640 * gdb.arch/arm-disp-step.S: New.
9641
9642 2010-12-21 Tom Tromey <tromey@redhat.com>
9643
9644 * gdb.threads/execl.exp: Update.
9645 * gdb.threads/linux-dp.exp: Update.
9646 * gdb.threads/manythreads.exp: Update.
9647 * gdb.threads/tls.exp: Update.
9648
9649 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9652 (NextOverThrowDerivates) <resumebpt>: New.
9653 (resumebpt_test): New.
9654 (main): Call resumebpt_test.
9655 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9656
9657 2010-12-12 Stan Shebs <stan@codesourcery.com>
9658
9659 * gdb.trace/tsv.exp: Test print command on trace state variables.
9660
9661 2010-12-09 Tom Tromey <tromey@redhat.com>
9662
9663 * gdb.base/interp.exp: Add regression test.
9664
9665 2010-12-09 Tom Tromey <tromey@redhat.com>
9666
9667 * gdb.java/jnpe.java: New file.
9668 * gdb.java/jnpe.exp: New file.
9669 * gdb.cp/nextoverthrow.exp: New file.
9670 * gdb.cp/nextoverthrow.cc: New file.
9671
9672 2010-12-07 Doug Evans <dje@google.com>
9673
9674 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9675 of data-directory.
9676 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9677 updated.
9678 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9679
9680 2010-11-29 Michael Snyder <msnyder@vmware.com>
9681
9682 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9683 * gdb.base/call-sc.exp: Ditto.
9684 * gdb.base/finish.exp: Ditto.
9685 * gdb.base/return.exp: Ditto.
9686 * gdb.base/return2.exp: Ditto.
9687
9688 2010-11-30 Doug Evans <dje@google.com>
9689
9690 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9691 (gdb_expect_list): Fix spelling errors in comments.
9692 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9693 send_gdb/gdb_expect_list where applicable.
9694 * gdb.base/call-ar-st.exp: Ditto.
9695 * gdb.base/funcargs.exp: Ditto.
9696 * gdb.base/gcore.exp: Ditto.
9697 * gdb.base/page.exp: Ditto.
9698 * gdb.base/sigaltstack.exp: Ditto.
9699 * gdb.base/siginfo.exp: Ditto.
9700 * gdb.base/sigstep.exp: Ditto.
9701 * gdb.base/trace-commands.exp: Ditto.
9702
9703 2010-11-29 Doug Evans <dje@google.com>
9704
9705 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9706 printer-name;subprinter-name.
9707
9708 2010-11-29 Tom Tromey <tromey@redhat.com>
9709
9710 * gdb.dwarf2/implptr.exp: New file.
9711 * gdb.dwarf2/implptr.c: New file.
9712 * gdb.dwarf2/implptr.S: New file.
9713
9714 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9715
9716 PR python/12199
9717
9718 * gdb.python/py-breakpoint.exp: Test the delete method.
9719
9720 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9721
9722 Fix step_resume_breakpoint unsaved during an infcall.
9723 * gdb.base/step-resume-infcall.exp: New file.
9724 * gdb.base/step-resume-infcall.c: New file.
9725
9726 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9727
9728 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9729
9730 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9731
9732 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9733 on ppc64's symbols; "finish" and "return" commands must accept to
9734 show the caller line again as well as the line after.
9735 * gdb.asm/powerpc64.inc: New file.
9736
9737 2010-11-23 Doug Evans <dje@google.com>
9738
9739 * lib/gdb.exp (gdb_test_sequence): New function.
9740 (gdb_expect_list): Add verbose -log call for each pattern.
9741 * gdb.base/signals.exp (test_handle_all_print): Call it.
9742 Reduce timeout increment from 6 minutes to 1 minute.
9743 * gdb.server/ext-run.exp: Call it.
9744
9745 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9746
9747 PR python/12212
9748
9749 * gdb.python/python.exp: Check that selected_thread raises an
9750 error when no inferior is loaded.
9751
9752 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9753
9754 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9755 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9756
9757 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9758
9759 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9760 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9761
9762 2010-11-18 Doug Evans <dje@google.com>
9763
9764 * gdb.server/ext-run.exp: Fix intermittent failures.
9765
9766 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9767
9768 * gdb.stabs/gdb11479.exp: Use runto_main.
9769
9770 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9771
9772 * gdb.base/break-entry.exp: Skip if using a stub.
9773
9774 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9775
9776 * gdb.python/py-inferior.exp: Pack values in target endianness.
9777
9778 2010-11-12 Tom Tromey <tromey@redhat.com>
9779
9780 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9781 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9782 MemoryError.
9783 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9784 type.
9785 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9786 MemoryError.
9787 (test_subscript_regression): Update exception type.
9788
9789 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9790
9791 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9792 breakpoint tests.
9793
9794 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9795
9796 * gdb.base/watchpoint.exp: Test "watch -location" with an
9797 innacessible location.
9798
9799 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9800 Luis Machado <luisgpm@br.ibm.com>
9801
9802 * gdb.base/maint.exp: Expect "." prefix.
9803 * gdb.base/nodebug.exp: Expect "." Likewise.
9804 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9805 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9806 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9807 POWER server processors.
9808
9809 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9810 Luis Machado <luisgpm@br.ibm.com>
9811
9812 * gdb.base/break-entry.exp: convert entry point for
9813 ppc64 and expect leading `.' on ppc64's symbols
9814
9815 2010-11-05 Doug Evans <dje@google.com>
9816
9817 * gdb.base/help.exp: Update expected output.
9818 * gdb.python/py-param.exp: Delete, contents moved to ...
9819 * gdb.python/py-parameter.exp: ... here. New file.
9820 Add test for gdb.parameter ("directories").
9821
9822 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9823
9824 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9825 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9826 * configure: Regenerate.
9827 * gdb.opencl/Makefile.in: New File.
9828 * gdb.opencl/datatypes.exp: Likewise.
9829 * gdb.opencl/datatypes.cl: Likewise.
9830 * gdb.opencl/operators.exp: Likewise.
9831 * gdb.opencl/operators.cl: Likewise.
9832 * gdb.opencl/vec_comps.exp: Likewise.
9833 * gdb.opencl/vec_comps.cl: Likewise.
9834 * gdb.opencl/convs_casts.exp: Likewise.
9835 * gdb.opencl/convs_casts.cl: Likewise.
9836 * lib/opencl.exp: Likewise.
9837 * lib/opencl_hostapp.c: Likewise.
9838 * lib/opencl_kernel.cl: Likewise.
9839 * lib/cl_util.c: Likewise.
9840 * lib/cl_util.c: Likewise.
9841 * gdb.base/default.exp (set language): Add "opencl" to the list of
9842 languages.
9843
9844 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9845
9846 * gdb.cp/overload.exp: Added test for inheritance overload.
9847 * gdb.cp/overload.cc: Ditto.
9848 * gdb.cp/oranking.exp: Removed releveant kfails.
9849
9850 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9851 Joel Brobecker <brobecker@adacore.com>
9852
9853 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9854 check test_compiler_info.
9855
9856 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9857
9858 * gdb.base/gnu_vector.exp: Adjust expect messages.
9859
9860 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9861
9862 * gdb.base/gnu_vector.exp: Add unary operator tests.
9863
9864 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9865
9866 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9867
9868 2010-11-02 Doug Evans <dje@google.com>
9869
9870 * gdb.python/py-pp-maint.c: New file.
9871 * gdb.python/py-pp-maint.exp: New file.
9872 * gdb.python/py-pp-maint.py: New file.
9873
9874 2010-11-02 Tom Tromey <tromey@redhat.com>
9875
9876 * gdb.base/default.exp: Remove "scheme" from language list.
9877
9878 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9879
9880 Revert:
9881 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9882 * gdb.threads/sigstep-threads.exp: New file.
9883 * gdb.threads/sigstep-threads.c: New file.
9884
9885 2010-10-20 Michael Snyder <msnyder@vmware.com>
9886
9887 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9888
9889 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9890
9891 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9892 Skip test completely if gdb,no_hardware_watchpoints.
9893
9894 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9895
9896 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9897 strict, but do not check for any particular function name within libc.
9898
9899 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9900
9901 * gdb.cp/smartp.exp: New test.
9902 * gdb.cp/smartp.cc : New test.
9903
9904 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9905
9906 * gdb.cp/converts.exp: Test pointer to bool conversion.
9907 Test pointer to long conversion.
9908 * gdb.cp/oranking.exp: Removed relevant kfail.
9909
9910 2010-10-18 Tom Tromey <tromey@redhat.com>
9911
9912 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9913 argument to lazy_string.
9914 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9915 (pp_ls.to_string): Use it.
9916 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9917 Add "estring2" local.
9918
9919 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9920
9921 Fix s390x compatibility.
9922 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9923 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9924
9925 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 * gdb.threads/sigstep-threads.exp: New file.
9928 * gdb.threads/sigstep-threads.c: New file.
9929
9930 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 * gdb.base/pie-execl.exp: New file.
9933 * gdb.base/pie-execl.c: New file.
9934
9935 2010-10-13 Doug Evans <dje@google.com>
9936 Jan Kratochvil <jan.kratochvil@redhat.com>
9937
9938 PR exp/12117
9939 * gdb.cp/ptype-cv-cp.cc: New file.
9940 * gdb.cp/ptype-cv-cp.exp: New file.
9941
9942 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9943
9944 * gdb.cp/converts.cc: New test program.
9945 * gdb.cp/converts.exp: New test.
9946 * gdb.cp/overload.exp: Added test for void* vs int*.
9947 * gdb.cp/overload.exp: Ditto.
9948 * gdb.cp/oranking.exp: Removed related kfail.
9949
9950 2010-10-13 Doug Evans <dje@google.com>
9951
9952 * lib/gdb-python.exp (gdb_check_python_config): New function.
9953 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9954 * gdb.python/lib-types.cc: New file.
9955 * gdb.python/lib-types.exp: New file.
9956
9957 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9958
9959 * gdb.python/py-error.exp: New file.
9960 * gdb.python/py-error.py: New file.
9961
9962 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9963
9964 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9965 gdb_test_multiple.
9966
9967 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9970 * gdb.base/prelink.exp: Likewise.
9971 * gdb.base/solib-nodir.exp: Likewise.
9972 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9973 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9974 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9975
9976 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9977
9978 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9979 for the "info files" test to avoid timeouts on slow machines.
9980
9981 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9982
9983 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9984 (main): Make openlib dummy call.
9985
9986 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9989 * break-interp.exp (reach): Move the core body ...
9990 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9991 (test_ld): Provide always real argument, even to the linker. Replace
9992 dl_main by _dl_debug_state.
9993
9994 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9995
9996 Fix results of prelinked PIEs on ppc*.
9997 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9998 Accept also DISPLACEMENT "PRESENT".
9999 (main): Replace "ZERO" displacements by "PRESENT".
10000
10001 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10002
10003 * gdb.cp/oranking.exp: New test.
10004 * gdb.cp/oranking.cc: New test program.
10005
10006 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10007
10008 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10009 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10010
10011 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10012
10013 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10014 lush, lynx) New constant.
10015 * gdb.base/constvars.exp: Test const array types.
10016 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10017
10018 2010-10-06 Doug Evans <dje@google.com>
10019
10020 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10021 of syscall staging area.
10022
10023 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10024
10025 * gdb.base/gnu_vector.c: Add variable c4.
10026 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10027 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10028
10029 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10030
10031 * gdb.arch/altivec-abi.exp: Fix a typo.
10032
10033 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10034
10035 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10036 to match a thread ID.
10037
10038 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10039
10040 Fix s390x testcase compatibility.
10041 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10042
10043 2010-10-01 Doug Evans <dje@google.com>
10044
10045 * lib/gdb-python.exp: New file.
10046 * gdb.python/py-block.exp: Use it.
10047 * gdb.python/py-breakpoint.exp: Ditto.
10048 * gdb.python/py-frame.exp: Ditto.
10049 * gdb.python/py-inferior.exp: Ditto.
10050 * gdb.python/py-param.exp: Ditto.
10051 * gdb.python/py-prettyprint.exp: Ditto.
10052 * gdb.python/py-shared.exp: Ditto.
10053 * gdb.python/py-symbol.exp: Ditto.
10054 * gdb.python/py-symtab.exp: Ditto.
10055 * gdb.python/py-type.exp: Ditto.
10056 * gdb.python/py-value.exp: Ditto.
10057 * gdb.python/python.exp: Ditto.
10058
10059 2010-09-30 Tom Tromey <tromey@redhat.com>
10060
10061 * gdb.base/anon.exp: New file.
10062 * gdb.base/anon.c: New file.
10063
10064 2010-09-30 Tom Tromey <tromey@redhat.com>
10065
10066 * gdb.base/completion.exp: Test completion through anonymous
10067 union.
10068 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10069
10070 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10071
10072 Fix printing parameters of inlined functions.
10073 * gdb.dwarf2/dw2-inline-param.exp: New file.
10074 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10075 * gdb.dwarf2/dw2-inline-param.S: New file.
10076
10077 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10078
10079 PR corefiles/12071.
10080 * gdb.base/corefile.exp (quit with a process, no question: load core)
10081 (quit with a core file): New tests.
10082
10083 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10084
10085 Fix GDB crash on inferior calls with self-referencing classes.
10086 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10087 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10088 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10089
10090 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10091
10092 Fix lost siginfo_t for inferior calls.
10093 * gdb.base/siginfo-infcall.exp: New file.
10094 * gdb.base/siginfo-infcall.c: New file.
10095
10096 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10097
10098 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10099
10100 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10101
10102 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10103 New test.
10104 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10105
10106 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10107
10108 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10109 type of our const type.
10110
10111 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10112
10113 * gdb.cp/pr12028.cc: New.
10114 * gdb.cp/pr12028.exp: New.
10115
10116 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10117
10118 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10119
10120 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10121 Jan Kratochvil <jan.kratochvil@redhat.com>
10122
10123 PR mi/11407
10124 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10125 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10126 * gdb.mi/dw2-ref-missing-frame.S New File.
10127 * gdb.mi/dw2-ref-missing-frame.exp New File.
10128
10129 2010-09-14 Tom Tromey <tromey@redhat.com>
10130
10131 PR symtab/8399:
10132 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10133
10134 2010-09-14 Tom Tromey <tromey@redhat.com>
10135
10136 PR exp/11803:
10137 * gdb.threads/tls.exp: Use C++.
10138 (check_thread_local): Use K::another_thread_local.
10139 * gdb.threads/tls.c (class K): New.
10140 (another_thread_local): Now a member of K.
10141 (spin): Update. No longer K&R C.
10142
10143 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10144
10145 * gdb.cp/koenig.cc: created class for testing member lookup.
10146 * gdb.cp/koenig.exp: Added test for member lookup.
10147
10148 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10149
10150 Fix false FAILs on sourcetree topdir directory containing "kill".
10151 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10152 source line matching regexp.
10153
10154 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10155
10156 * gdb.python/python.exp (set height 0, collect help from uiout)
10157 (verify help to uiout): New tests.
10158
10159 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10160
10161 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10162 is_lp64_target to check 64bit target.
10163
10164 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10165
10166 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10167 (test_ld) <powerpc64-*>: New.
10168
10169 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10172
10173 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10174
10175 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10176 (FunctionArg::method): New function.
10177 (empty, arg): New variables.
10178 (main): Call arg.method.
10179 * gdb.cp/templates.exp (test_template_args): New function.
10180 (do_tests): Call it.
10181
10182 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10183
10184 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10185 of "next" to proceed over pthread_exit call.
10186
10187 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10188
10189 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10190 "maint print statistics" output to prevent expect timeouts.
10191
10192 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10193
10194 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10195 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10196 (test_float_rejected): ... here.
10197 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10198 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10199 (test_float_rejected): ... here.
10200 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10201 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10202 (test_float_rejected): ... here.
10203 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10204 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10205 (test_float_rejected): ... here.
10206
10207 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10208
10209 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10210 before disabling hardware watchpoints.
10211 (test_inaccessible_watchpoint): Check that hardware watchpoints
10212 are used. Test for watchpoints on a constant address.
10213
10214 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10215
10216 * gdb.base/ui-redirect.exp: New file.
10217
10218 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10219 Joel Brobecker <brobecker@adacore.com>
10220
10221 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10222
10223 2010-08-31 Doug Evans <dje@google.com>
10224
10225 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10226
10227 2010-08-30 Tom Tromey <tromey@redhat.com>
10228
10229 PR python/11792:
10230 * gdb.python/py-value.exp (test_subscript_regression): Add
10231 dynamic_type test.
10232
10233 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10234
10235 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10236 instead of running to main. Do not test the main function.
10237 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10238 Add new main.
10239
10240 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10241
10242 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10243 one test.
10244
10245 2010-08-24 Doug Evans <dje@google.com>
10246
10247 PR symtab/11942
10248 * gdb.dwarf2/dw4-sig-types.cc: New file.
10249 * gdb.dwarf2/dw4-sig-types.h: New file.
10250 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10251 * gdb.dwarf2/dw4-sig-types.exp: New file.
10252
10253 2010-08-23 Tom Tromey <tromey@redhat.com>
10254
10255 PR python/11145:
10256 * gdb.python/py-value.c (Base, Derived): New types.
10257 (base): New global.
10258 * gdb.python/py-value.exp (test_subscript_regression): Add
10259 dynamic_cast test.
10260
10261 2010-08-23 Tom Tromey <tromey@redhat.com>
10262
10263 PR python/10676:
10264 * gdb.python/py-type.exp (test_fields): Add tests for type
10265 equality.
10266
10267 2010-08-23 Tom Tromey <tromey@redhat.com>
10268
10269 PR python/11915:
10270 * gdb.python/py-type.exp (test_fields): Add tests for array.
10271
10272 2010-08-23 Keith Seitz <keiths@redhat.com>
10273
10274 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10275 have any children. Create a new abbrev for it.
10276 Add missing terminal sequence to .debug_abbrev.
10277
10278 2010-08-20 Keith Seitz <keiths@redhat.com>
10279
10280 PR symtab/11465:
10281 * gdb.dwarf2/pr11465.exp: New test.
10282 * gdb.dwarf2/pr11465.S: New file.
10283 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10284 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10285
10286 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10287
10288 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10289 registers. Update data sets with the new v2_double element in the
10290 VSX register union. Add vector_register3_vr data set for the AltiVec
10291 registers. Use gdb_test_no_output instead of send_gdb.
10292
10293 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10294
10295 * gdb.python/py-shared.exp: New file, factored out from
10296 python.exp.
10297 * gdb.python/py-shared.c: New file.
10298 * gdb.python/py-shared-sl.c: New file.
10299 * gdb.python/python-1.c: New file.
10300 * gdb.python/python-sl.c: Delete.
10301 * gdb.python/python.c: Mention python-1.c.
10302 * gdb.python/python.exp: Move shared library tests to
10303 py-shared.exp.
10304 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10305 (MISCELLANEOUS): New.
10306 (clean mostlyclean): Also remove $MISCELLANEOUS.
10307
10308 2010-08-19 Doug Evans <dje@google.com>
10309
10310 PR exp/11926
10311 * gdb.base/printcmds.exp (test_float_accepted): New function.
10312 Move existing float tests there. Add tests for floats with suffixes.
10313 (test_float_rejected): New function.
10314 * gdb.java/jv-print.exp (test_float_accepted): New function.
10315 (test_float_rejected): New function.
10316 * gdb.objc/print.exp: New file.
10317 * gdb.pascal/print.exp: New file.
10318 * lib/objc.exp: New file.
10319
10320 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10321
10322 * gdb.base/default.exp (info set): Avoid full buffer error and force
10323 reading up to final gdb prompt.
10324 (show): Likewise.
10325
10326 2010-08-18 Tom Tromey <tromey@redhat.com>
10327
10328 PR symtab/11919:
10329 * gdb.base/completion.exp: Add test.
10330
10331 2010-08-18 Doug Evans <dje@google.com>
10332
10333 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10334 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10335 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10336 Simplify, early exit if runto_main fails.
10337 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10338 (set_lang_fortran): Moved to lib/fortran.exp.
10339 * gdb.fortran/types.exp: load_lib fortran.exp.
10340 (set_lang_fortran): Moved to lib/fortran.exp.
10341 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10342 * gdb.java/jprint.exp (set_lang_java): Ditto.
10343 * gdb.java/jv-exp.exp: load_lib java.exp.
10344 If set_lang_java fails, issue a warning instead of failure to be
10345 consistent with other set_lang_foo uses.
10346 (set_lang_java): Moved to lib/java.exp.
10347 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10348 If set_lang_java fails, issue a warning instead of failure to be
10349 consistent with other set_lang_foo uses.
10350 * gdb.pascal/types.exp: load_lib pascal.exp.
10351 (set_lang_pascal): Moved to lib/pascal.exp.
10352 * lib/fortran.exp: New file.
10353 * lib/java.exp (set_lang_java): New function.
10354 * lib/pascal.exp (set_lang_pascal): New function.
10355
10356 2010-08-18 Yao Qi <yao@codesourcery.com
10357
10358 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10359 func_nofb_start and func_loopfb_start, so that address of functions
10360 is equal to these labels on Thumb.
10361
10362 2010-08-18 Yao Qi <yao@codesourcery.com>
10363
10364 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10365 to reflect latest c source file.
10366
10367 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10368
10369 * gdb.cp/infcall-dlopen.exp: New file.
10370 * gdb.cp/infcall-dlopen.cc: New file.
10371 * gdb.cp/infcall-dlopen-lib.cc: New file.
10372
10373 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10374 Pedro Alves <pedro@codesourcery.com>
10375
10376 PR breakpoints/11371
10377
10378 * gdb.base/watch-cond-infcall.exp: New file.
10379 * gdb.base/watch-cond-infcall.c: New file.
10380
10381 2010-08-16 Tom Tromey <tromey@redhat.com>
10382
10383 * gdb.base/help.exp: Update.
10384 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10385 watchpoint.
10386 (test_watch_location): New proc.
10387 (test_watchpoint_in_big_blob): Delete watchpoint.
10388 * gdb.base/watchpoint.c (func5): New function.
10389 (main): Call it.
10390
10391 2010-08-16 Doug Evans <dje@google.com>
10392
10393 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10394
10395 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10396
10397 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10398 tests.
10399
10400 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10401
10402 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10403 * gdb.base/gnu_vector.c: New File.
10404 * gdb.base/gnu_vector.exp: Likewise.
10405
10406 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10407
10408 * gdb.python/python.c: New File.
10409 * gdb.python/python-sl.c: New File.
10410 * gdb.python/python.exp: Test solib_address and decode_line
10411 * functions.
10412
10413 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10414
10415 * gdb.python/python.exp (show height, set height 10)
10416 (verify pagination beforehand, verify pagination beforehand: q)
10417 (gdb.execute does not page, verify pagination afterwards)
10418 (verify pagination afterwards: q): New.
10419
10420 2010-08-02 Doug Evans <dje@google.com>
10421
10422 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10423 because of an older gcc, change test2
10424 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10425 to unsupported.
10426
10427 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10428
10429 * gdb.base/break-always.exp: Do not expect full paths to file
10430 names.
10431 * gdb.base/commands.exp: Likewise.
10432
10433 2010-07-30 Doug Evans <dje@google.com>
10434
10435 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10436 xfail them when run with older gccs.
10437
10438 * lib/gdb.exp (build_executable): Forward "c++" option to
10439 get_compiler_info.
10440
10441 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10442 "python print ttype.template_argument(1)" and
10443 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10444 if using gcc 4.4 or earlier.
10445
10446 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10447 attach-to-debugger handling.
10448
10449 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10450
10451 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10452 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10453 (main): Use copyreloc.
10454 * gdb.base/prelink.exp (split debug of executable)
10455 (.dynbss vs. .bss address shift): New tests.
10456
10457 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10458
10459 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10460 in gdb_test_multiple.
10461
10462 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10463
10464 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10465 environment.
10466
10467 2010-07-28 Tom Tromey <tromey@redhat.com>
10468
10469 PR python/11060:
10470 * gdb.python/py-type.c (Temargs): New template.
10471 (temvar): New variable.
10472 * gdb.python/py-type.exp (test_template): New proc.
10473
10474 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10475
10476 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10477 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10478
10479 2010-07-28 Tom Tromey <tromey@redhat.com>
10480
10481 PR c++/9946:
10482 * gdb.cp/temargs.exp: New file.
10483 * gdb.cp/temargs.cc: New file.
10484
10485 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10486
10487 * gdb.base/help.exp (help disassemble): Update the content.
10488
10489 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10490
10491 * gdb.threads/ia64-sigill.exp: New file.
10492 * gdb.threads/ia64-sigill.c: New file.
10493
10494 2010-07-27 Tom Tromey <tromey@redhat.com>
10495
10496 * gdb.opt/inline-cmds.c (ATTR): New define.
10497 (func1): Use it.
10498 (func2): Likewise.
10499 (func3): Likewise.
10500 (outer_inline1): Likewise.
10501 (outer_inline2): Likewise.
10502 * gdb.opt/inline-bt.c (ATTR): New define.
10503 (func1): Use it.
10504 (func2): Likewise.
10505 * gdb.opt/inline-locals.c (ATTR): New define.
10506 (func1): Use it.
10507 (func2): Likewise.
10508
10509 2010-07-27 Tom Tromey <tromey@redhat.com>
10510
10511 * gdb.stabs/gdb11479.c (hack): New function.
10512 (test): Use it.
10513 (test2): Use it.
10514 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10515 (int32_search_buf, int64_search_buf): No longer static.
10516 (x): Remove.
10517 * gdb.base/relocate.c (hack): New function.
10518
10519 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10520
10521 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10522 * gdb.python/py-value.c (func1): New function.
10523 (func2): Likewise.
10524
10525 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10526
10527 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10528 as not to clash with .data section.
10529
10530 2010-07-26 Jerome Guitton <guitton@adacore.com>
10531
10532 * gdb.base/code_elim.exp: New file.
10533 * gdb.base/code_elim1.c: New file.
10534 * gdb.base/code_elim2.c: New file.
10535
10536 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10537
10538 PR symtab/11827
10539
10540 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10541 (some_volatile_enum): New variable.
10542 * gdb.base/printcmds.exp (test_print_enums): New.
10543 <top level>: Call it.
10544
10545 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10546
10547 * gdb.cp/fpointer.cc: New test.
10548 * gdb.cp/fpointer.exp: New test.
10549
10550 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10551
10552 * gdb.base/solib-nodir.exp: New file.
10553 * lib/gdb.exp (runto): New case for a GDB internal error.
10554
10555 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10556 Ulrich Weigand <uweigand@de.ibm.com>
10557 Tom Tromey <tromey@redhat.com>
10558
10559 * gdb.base/charset-malloc.c: New file.
10560 * gdb.base/charset.c (malloc_stub): New prototype.
10561 (main): Call it instead of malloc itself.
10562 * gdb.base/charset.exp: Use only prepare_for_testing.
10563 (binfile): Remove the variable.
10564
10565 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10566
10567 Make core files the process_stratum.
10568 * gdb.base/corefile.exp (run: load core again)
10569 (run: sanity check we see the core file, run: with core)
10570 (run: core file is cleared, attach: load core again)
10571 (attach: sanity check we see the core file, attach: with core)
10572 (attach: core file is cleared): New tests.
10573 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10574
10575 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10576
10577 * gdb.arch/altivec-abi.exp: New tests.
10578
10579 2010-07-13 Tom Tromey <tromey@redhat.com>
10580
10581 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10582 (main): Use it.
10583 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10584
10585 2010-07-13 Tom Tromey <tromey@redhat.com>
10586
10587 * gdb.base/label.exp: New file.
10588 * gdb.base/label.c: New file.
10589
10590 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10591 H.J. Lu <hongjiu.lu@intel.com>
10592
10593 * lib/gdb.exp (is_ilp32_target): New.
10594 (is_lp64_target): Likewise.
10595
10596 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10597 target.
10598 * gdb.arch/amd64-disp-step.exp: Likewise.
10599 * gdb.arch/amd64-dword.exp: Likewise.
10600 * gdb.arch/amd64-i386-address.exp: Likewise.
10601 * gdb.arch/amd64-word.exp: Likewise.
10602
10603 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10604 target.
10605 * gdb.arch/i386-bp_permanent.exp: Likewise.
10606 * gdb.arch/i386-byte.exp: Likewise.
10607 * gdb.arch/i386-disp-step.exp: Likewise.
10608 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10609 * gdb.arch/i386-prologue.exp: Likewise.
10610 * gdb.arch/i386-size-overlap.exp: Likewise.
10611 * gdb.arch/i386-size.exp: Likewise.
10612 * gdb.arch/i386-sse.exp: Likewise.
10613 * gdb.arch/i386-unwind.exp: Likewise.
10614 * gdb.arch/i386-word.exp: Likewise.
10615
10616 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10617 test only when building 64-bit executables. Do not hard-code
10618 -m64 option.
10619
10620 2010-07-07 Doug Evans <dje@google.com>
10621
10622 * lib/gdb.exp (gdb_test_list_exact): New function.
10623 * gdb.base/default.exp (show convenience): Call it, add tests for
10624 $_sdata = void, $_thread = 0.
10625
10626 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10627 Joel Brobecker <brobecker@adacore.com>
10628
10629 Fix re-run of PIE executable, PR shlibs/11776.
10630 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10631 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10632 and re-"run" of the inferior.
10633
10634 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10635 Joel Brobecker <brobecker@adacore.com>
10636
10637 Cope with missing /usr/sbin/prelink.
10638 * lib/prelink-support.exp (prelink_no):
10639 <result == 1 && $output is "no such file or directory">: New.
10640 (prelink_yes): Likewise. Return on failed prelink_no.
10641
10642 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10643 Joel Brobecker <brobecker@adacore.com>
10644
10645 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10646 build_executable by build_executable_own_libs. Replace "prelink -R"
10647 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10648 change.
10649 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10650 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10651 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10652 Replace build_executable by build_executable_own_libs's function
10653 build_executable_own_libs.
10654 (prelinkNO): Create new stub to call prelink_no.
10655 (prelinkYES): Create new stub to call prelink_yes.
10656 (test_attach): Rename calls of copy to file_copy.
10657 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10658 (copy): Move to ...
10659 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10660 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10661 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10662 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10663 special flags by gdb_compile_shlib. Replace second gdb_compile by
10664 build_executable_own_libs. Replace "prelink -R" execution by a call of
10665 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10666 a second call of prelink_yes. Replace restart commands by
10667 clean_restart.
10668 (prelink): Rename to ...
10669 (seen displacement message): ... this test. Extend its expectation
10670 strictness.
10671
10672 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10673
10674 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10675 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10676 displacement message exactly once.
10677
10678 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10679 Joel Brobecker <brobecker@adacore.com>
10680
10681 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10682 its restore after the <$relink_args != ""> loop. new comment.
10683
10684 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10685 Joel Brobecker <brobecker@adacore.com>
10686
10687 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10688 code for it. New variable relink_args.
10689 (prelinkYES): Call prelinkNO.
10690 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10691 in such case. Move the core code to ...
10692 (test_attach_gdb): ... a new function. Send GDB command "file".
10693 Extend expected "Attaching to " string.
10694
10695 2010-07-02 Tom Tromey <tromey@redhat.com>
10696
10697 * gdb.base/bitops.exp: Remove extraneous "pass".
10698
10699 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10700
10701 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10702
10703 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10704
10705 * gdb.base/help.exp: Adjust expected output.
10706
10707 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10708
10709 * gdb.base/help.exp: Adjust expected output.
10710
10711 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10712
10713 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10714 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10715 c++/11702.
10716
10717 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10718 Doug Evans <dje@google.com>
10719
10720 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10721 add .dynamic entry'.
10722
10723 2010-06-29 Doug Evans <dje@google.com>
10724
10725 Test PR c++/11702.
10726 * gdb.cp/m-static.exp: Add testcase.
10727 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10728
10729 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10730 Tom Tromey <tromey@redhat.com>
10731 Thiago Jung Bauermann <bauerman@br.ibm.com>
10732
10733 * gdb.python/py-inferior.c: New File.
10734 * gdb.python/py-infthread.c: New File.
10735 * gdb.python/py-inferior.exp: New File.
10736 * gdb.python/py-infthread.exp: New File.
10737
10738 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10739
10740 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10741 (ptype ::C::OtherFileClass typedefs): New.
10742 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10743 (C::OtherFileClass::cOtherFileClassVar2): New.
10744 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10745 cOtherFileClassVar2.
10746 (C::cOtherFileType2, C::cOtherFileVar2): New.
10747 (C::cOtherFileVar_use): use also cOtherFileVar2.
10748 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10749
10750 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10751
10752 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10753 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10754 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10755 (print ::C::cOtherFileVar)
10756 (whatis C::OtherFileClass::cOtherFileClassType)
10757 (whatis ::C::OtherFileClass::cOtherFileClassType)
10758 (print C::OtherFileClass::cOtherFileClassVar)
10759 (print ::cOtherFileClassVar)
10760 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10761 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10762 trailing content.
10763 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10764 (C::OtherFileClass::cOtherFileClassVar)
10765 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10766 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10767
10768 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10769
10770 Test PR c++/11703 and PR gdb/1448.
10771 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10772 gdb/1448.
10773
10774 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10775
10776 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10777 (main) <rtti_data>: New.
10778 * gdb.cp/virtbase.exp (print rtti_data): New.
10779
10780 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10781 Joel Brobecker <brobecker@adacore.com>
10782
10783 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10784
10785 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10786
10787 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10788
10789 2010-06-28 Doug Evans <dje@google.com>
10790
10791 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10792
10793 2010-06-27 Doug Evans <dje@google.com>
10794
10795 * gdb.cp/m-static.exp: Update expected test output.
10796
10797 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10798
10799 * gdb.gdb/selftest.exp: Adjust expected message for
10800 capturing start-up runtime.
10801
10802 2010-06-25 Tom Tromey <tromey@redhat.com>
10803
10804 PR python/10808:
10805 * gdb.python/python.exp: Add new tests.
10806
10807 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10808
10809 * gdb.cp/operator.cc: Created an import loop.
10810 * gdb.cp/operator.exp: Added testcase for import loop.
10811
10812 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10813
10814 Test PR python/11407.
10815 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10816 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10817 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10818 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10819 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10820 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10821 binfile. Call gdb_compile with clean_restart twice.
10822 (func_nofb print, func_nofb backtrace, func_loopfb print)
10823 (func_loopfb backtrace): New.
10824
10825 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10826
10827 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10828 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10829 by a hand made one.
10830 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10831 i?86 requirement. Remove variables srcfile and binfile. New variable
10832 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10833
10834 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10835
10836 * gdb.cell/dwarfaddr.exp: New file.
10837 * gdb.cell/dwarfaddr.S: New file.
10838
10839 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10840
10841 Test PR 9436.
10842 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10843
10844 2010-06-24 Hui Zhu <teawater@gmail.com>
10845
10846 * gdb.base/eval.exp: New file.
10847
10848 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10849
10850 * gdb.cell/fork.exp: New file.
10851 * gdb.cell/fork.c: Likewise.
10852 * gdb.cell/fork-spu.c: Likewise.
10853
10854 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10855
10856 * lib/gdb.exp (banned_variables_traced): New global variable.
10857 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10858 (gdb_init): Use `trace add variable' instead of obsolete
10859 `trace variable'.
10860
10861 2010-06-21 Doug Evans <dje@google.com>
10862
10863 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10864
10865 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10866
10867 * gdb.arch/spu-ls.exp: New file.
10868 * gdb.arch/spu-ls.c: Likewise.
10869
10870 2010-06-18 Stan Shebs <stan@codesourcery.com>
10871
10872 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10873
10874 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10875
10876 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10877 * gdb.base/watch-cond.exp: Likewise.
10878 * gdb.python/py-breakpoint.exp: Likewise.
10879
10880 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10881
10882 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10883 clean_restart, make sure every test has a distinct message, and
10884 that messages don't include the executable' full path.
10885
10886 2010-06-17 Doug Evans <dje@google.com>
10887
10888 * gdb.arch/i386-size.exp: Updated expected output for
10889 DISASSEMBLY_OMIT_FNAME.
10890
10891 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10892 Sergio Durigan Junior <sergiodj@redhat.com>
10893
10894 * gdb.base/watch-notconst.c: New file.
10895 * gdb.base/watch-notconst.S: New file.
10896 * gdb.base/watch-notconst2.c: New file.
10897 * gdb.base/watch-notconst2.S: New file.
10898 * gdb.base/watch-notconst.exp: New file.
10899 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10900 (func4): Add operations on `global_ptr_ptr'.
10901 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10902 routine to test watchpoints created with a constant expression.
10903 (test_inaccessible_watchpoint): Include tests for watchpoints
10904 created with a constant expression.
10905
10906 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10907
10908 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10909 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10910 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10911 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10912 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10913 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10914 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10915 of `_start'.
10916
10917 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10918
10919 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10920 not supported on the target.
10921 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10922 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10923 * gdb.mi/mi-nsintrall.exp: Likewise.
10924 * gdb.mi/mi-nsmoribund.exp: Likewise.
10925 * gdb.mi/mi-nsthrexec.exp: Likewise.
10926
10927 2010-06-11 Stan Shebs <stan@codesourcery.com>
10928
10929 * gdb.base/permissions.exp: New file.
10930
10931 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10932
10933 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10934 does not support ELF executable class.
10935
10936 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10937
10938 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10939
10940 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10941
10942 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10943 (runto): Catch "The target does not support running in non-stop mode.".
10944
10945 2010-06-11 Michael Snyder <msnyder@vmware.com>
10946
10947 * gdb.base/setshow.exp (set language asm): Don't use
10948 gdb_test_no_output, fails on some targets.
10949
10950 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10951
10952 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10953 * gdb.cp/pr9167.exp: Likewise.
10954
10955 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10956
10957 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10958
10959 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10960
10961 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10962
10963 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10964
10965 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10966
10967 2010-06-11 Tom Tromey <tromey@redhat.com>
10968
10969 PR gdb/9977, PR exp/11636::
10970 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10971 (pieces_test_f6): Update expected output.
10972
10973 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10974
10975 * gdb.base/moribund-step.exp: New.
10976
10977 2010-06-08 Michael Snyder <msnyder@vmware.com>
10978
10979 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10980 * gdb.ada/boolean_expr.exp:
10981 * gdb.ada/frame_args.exp: Ditto.
10982 * gdb.ada/lang_switch.exp: Ditto.
10983 * gdb.ada/ptype_arith_binop.exp: Ditto.
10984 * gdb.ada/ref_param.exp: Ditto.
10985 * gdb.ada/type_coercion.exp:Ditto.
10986
10987 * gdb.asm/asm-source.exp: Ditto.
10988
10989 * gdb.base/attach.exp: Ditto.
10990 * gdb.base/bitfields2.exp: Ditto.
10991 * gdb.base/call-signal-resume.exp: Ditto.
10992 * gdb.base/callfuncs.exp: Ditto.
10993 * gdb.base/commands.exp: Ditto.
10994 * gdb.base/dbx.exp: Ditto.
10995 * gdb.base/default.exp: Ditto.
10996 * gdb.base/dump.exp: Ditto.
10997 * gdb.base/exprs.exp: Ditto.
10998 * gdb.base/freebpcmd.exp: Ditto.
10999 * gdb.base/interrupt.exp: Ditto.
11000 * gdb.base/list.exp: Ditto.
11001 * gdb.base/long_long.exp: Ditto.
11002 * gdb.base/maint.exp: Ditto.
11003 * gdb.base/ptype.exp: Ditto.
11004 * gdb.base/return.exp: Ditto.
11005 * gdb.base/setshow.exp: Ditto.
11006 * gdb.base/sigbpt.exp: Ditto.
11007 * gdb.base/sigrepeat.exp: Ditto.
11008
11009 * gdb.cp/classes.exp: Ditto.
11010
11011 * gdb.dwarf2/dw2-restore.exp: Ditto.
11012
11013 * gdb.gdb/selftest.exp: Ditto.
11014
11015 * gdb.multi/base.exp: Ditto.
11016 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11017
11018 * gdb.python/py-block.exp: Ditto.
11019 * gdb.python/py-prettyprint.exp: Ditto.
11020 * gdb.python/py-template.exp: Ditto.
11021
11022 * gdb.server/ext-attach.exp: Ditto.
11023 * gdb.server/ext-run.exp: Ditto.
11024 * gdb.server/server-mon.exp: Ditto.
11025
11026 * gdb.threads/fork-thread-pending.exp: Ditto.
11027 * gdb.threads/hand-call-in-threads.exp: Ditto.
11028 * gdb.threads/interrupted-hand-call.exp: Ditto.
11029 * gdb.threads/linux-dp.exp: Ditto.
11030 * gdb.threads/manythreads.exp: Ditto.
11031 * gdb.threads/print-threads.exp: Ditto.
11032 * gdb.threads/pthreads.exp: Ditto.
11033 * gdb.threads/schedlock.exp: Ditto.
11034 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11035 * gdb.threads/threadapply.exp: Ditto.
11036
11037 2010-06-08 Michael Snyder <msnyder@vmware.com>
11038
11039 * gdb.ada/exec_changed.exp:
11040 Use ".*" instead of "" as wildcard regexp.
11041
11042 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11043 * gdb.base/call-ar-st.exp: Ditto.
11044 * gdb.base/checkpoint.exp: Ditto.
11045 * gdb.base/default.exp: Ditto.
11046 * gdb.base/dump.exp: Ditto.
11047 * gdb.base/ending-run.exp: Ditto.
11048 * gdb.base/fileio.exp: Ditto.
11049 * gdb.base/miscexprs.exp: Ditto.
11050 * gdb.base/pointers.exp: Ditto.
11051 * gdb.base/readline.exp: Ditto.
11052 * gdb.base/reread.exp: Ditto.
11053 * gdb.base/restore.exp: Ditto.
11054 * gdb.base/shlib-call.exp: Ditto.
11055 * gdb.base/valgrind-db-attach.exp: Ditto.
11056 * gdb.base/volatile.exp: Ditto.
11057 * gdb.base/watchpoints.exp: Ditto.
11058
11059 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11060
11061 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11062 * gdb.python/py-value.exp: Ditto.
11063
11064 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11065 * gdb.trace/circ.exp: Ditto.
11066 * gdb.trace/collection.exp: Ditto.
11067 * gdb.trace/packetlen.exp: Ditto.
11068 * gdb.trace/passc-dyn.exp: Ditto.
11069 * gdb.trace/report.exp: Ditto.
11070 * gdb.trace/tfile.exp: Ditto.
11071 * gdb.trace/tfind.exp: Ditto.
11072 * gdb.trace/while-dyn.exp: Ditto.
11073
11074 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11075
11076 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11077
11078 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11079
11080 Test PR 10640.
11081 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11082
11083 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11084
11085 * gdb.cp/koenig.exp: Test for ADL operators.
11086 * gdb.cp/koenig.cc: Added ADL operators.
11087 * gdb.cp/operator.exp: New test.
11088 * gdb.cp/operator.cc: New test.
11089
11090 2010-06-04 Michael Snyder <msnyder@vmware.com>
11091
11092 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11093 * gdb.base/pending.exp: Ditto.
11094
11095 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11096
11097 2010-06-04 Doug Evans <dje@google.com>
11098
11099 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11100 disabled printers.
11101 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11102 (enable_lookup_function): New function.
11103
11104 2010-06-04 Tom Tromey <tromey@redhat.com>
11105
11106 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11107 of hash and id.
11108
11109 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11110
11111 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11112 newline.
11113 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11114 (empty verbose non-noisy clear, empty verbose noisy clear)
11115 (empty non-verbose noisy clear): Likewise.
11116
11117 2010-06-03 Michael Snyder <msnyder@vmware.com>
11118
11119 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11120 * gdb.base/display.exp: Ditto.
11121 * gdb.base/find.exp: Ditto.
11122 * gdb.base/ifelse.exp: Ditto.
11123 * gdb.base/multi-forks.exp: Ditto.
11124 * gdb.base/recurse.exp: Ditto.
11125 * gdb.base/setshow.exp: Ditto.
11126 * gdb.base/value-double-free.exp: Ditto.
11127 * gdb.base/watch-vfork.exp: Ditto.
11128 * gdb.base/watch_thread_num.exp: Ditto.
11129 * gdb.base/watchpoint-solib.exp: Ditto.
11130 * gdb.base/watchpoint.exp: Ditto.
11131 * gdb.base/watchpoints.exp: Ditto.
11132
11133 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11134 * gdb.cp/overload.exp: Ditto.
11135 * gdb.cp/virtfunc.exp: Ditto.
11136
11137 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11138
11139 * gdb.reverse/watch-precsave.exp:
11140 Replace gdb_test with gdb_test_no_output.
11141
11142 * gdb.threads/attach-into-signal.exp:
11143 Replace gdb_test with gdb_test_no_output.
11144 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11145 * gdb.threads/watchthreads.exp: Ditto.
11146 * gdb.threads/watchthreads2.exp: Ditto.
11147
11148 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11149 * gdb.trace/tfind.exp: Ditto.
11150
11151 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11152
11153 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11154 successful test if message is the empty string.
11155
11156 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11157
11158 * gdb.fortran/module.exp (stopped language detection): New test.
11159
11160 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11161
11162 Support DW_TAG_module as separate namespaces.
11163 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11164 gdb.fortran/library-module-lib.f90: New.
11165 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11166 (print i): Remove.
11167 (continue to breakpoint: i-is-1, print var_i value 1)
11168 (continue to breakpoint: i-is-2, print var_i value 2)
11169 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11170 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11171 (complete `modmany, complete `modmany`, complete `modmany`var)
11172 (show language, setting breakpoint at module): New tests.
11173 * gdb.fortran/module.f90 (module mod): Remove.
11174 (module mod1, module mod2, module modmany, subroutine sub1)
11175 (subroutine sub2, program module): New.
11176
11177 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11178
11179 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11180 (print value of rUC, print value of rI, print value of UI): ... here.
11181 * gdb.cp/anon-union.exp (pass): Rename to ...
11182 (print z 2): ... here.
11183
11184 2010-06-02 Michael Snyder <msnyder@vmware.com>
11185
11186 * gdb.trace/actions.exp: Use gdb_test_no_output.
11187 * gdb.trace/circ.exp: Ditto.
11188 * gdb.trace/packetlen.exp: Ditto.
11189 * gdb.trace/save-trace.exp: Ditto.
11190 * gdb.trace/tracecmd.exp: Ditto.
11191 * gdb.trace/tsv.exp: Ditto.
11192
11193 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11194 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11195 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11196 * gdb.threads/manythreads.exp: Ditto.
11197 * gdb.threads/print-threads.exp: Ditto.
11198 * gdb.threads/pthreads.exp: Ditto.
11199 * gdb.threads/schedlock.exp: Ditto.
11200 * gdb.threads/staticthreads.exp: Ditto.
11201 * gdb.threads/thread-specific.exp: Ditto.
11202 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11203 * gdb.threads/threadapply.exp: Ditto.
11204 * gdb.threads/watchthreads.exp: Ditto.
11205 * gdb.threads/watchthreads2.exp: Ditto.
11206
11207 * gdb.python/py-block.exp: Use gdb_test_no_output.
11208 * gdb.python/py-prettyprint.exp: Ditto.
11209 * gdb.python/py-template.exp: Ditto.
11210 * gdb.python/py-value.exp: Ditto.
11211
11212 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11213 * gdb.reverse/watch-reverse.exp: Ditto.
11214
11215 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11216 * gdb.server/ext-run.exp: Ditto.
11217
11218 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11219 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11220 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11221 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11222 * gdb.dwarf2/dw2-producer.exp: Ditto.
11223 * gdb.dwarf2/mac-fileno.exp: Ditto.
11224
11225 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11226 * gdb.gdb/selftest.exp: Ditto.
11227
11228 * gdb.multi/base.exp: Use gdb_test_no_output.
11229
11230 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11231
11232 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11233
11234 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11235
11236 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11237
11238 * gdb.cp/class2.exp: Use gdb_test_no_output.
11239 * gdb.cp/classes.exp: Ditto.
11240 * gdb.cp/extern-c.exp: Ditto.
11241 * gdb.cp/inherit.exp: Ditto.
11242 * gdb.cp/maint.exp: Ditto.
11243 * gdb.cp/mb-inline.exp: Ditto.
11244 * gdb.cp/mb-templates.exp: Ditto.
11245 * gdb.cp/method2.exp: Ditto.
11246 * gdb.cp/misc.exp: Ditto.
11247 * gdb.cp/ovldbreak.exp: Ditto.
11248 * gdb.cp/punctuator.exp: Ditto.
11249 * gdb.cp/templates.exp: Ditto.
11250 * gdb.cp/virtbase.exp: Ditto.
11251
11252 * gdb.threads/attach-stopped.exp:
11253 Replace uses of send_gdb / gdb_expect.
11254 * gdb.threads/attachstop-mt.exp:
11255 Replace uses of send_gdb / gdb_expect.
11256 * gdb.threads/gcore-thread.exp:
11257 Replace uses of send_gdb / gdb_expect.
11258 * gdb.threads/hand-call-in-threads.exp:
11259 Replace uses of send_gdb / gdb_expect.
11260 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11261 * gdb.threads/print-threads.exp:
11262 Replace uses of send_gdb / gdb_expect.
11263 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11264 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11265 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11266
11267 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11268 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11269 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11270 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11271 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11272 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11273 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11274 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11275 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11276 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11277 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11278
11279 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11280
11281 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11282
11283 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11284
11285 * gdb.cp/koenig.exp: Added new test case.
11286 * gdb.cp/koenig.cc: Ditto.
11287
11288 2010-06-01 Michael Snyder <msnyder@vmware.com>
11289
11290 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11291 * gdb.base/arrayidx.exp: Ditto.
11292 * gdb.base/attach.exp: Ditto.
11293 * gdb.base/auxv.exp: Ditto.
11294 * gdb.base/bigcre.exp: Ditto.
11295 * gdb.base/break-always.exp: Ditto.
11296 * gdb.base/break-interp.exp: Ditto.
11297 * gdb.base/break.exp: Ditto.
11298 * gdb.base/breakpoint-shadow.exp: Ditto.
11299 * gdb.base/call-ar-st.exp: Ditto.
11300 * gdb.base/call-sc.exp: Ditto.
11301 * gdb.base/call-signal-resume.exp: Ditto.
11302 * gdb.base/callfuncs.exp: Ditto.
11303 * gdb.base/catch-syscall.exp: Ditto.
11304 * gdb.base/charset.exp: Ditto.
11305 * gdb.base/code-expr.exp: Ditto.
11306 * gdb.base/commands.exp: Ditto.
11307 * gdb.base/cond-expr.exp: Ditto.
11308 * gdb.base/condbreak.exp: Ditto.
11309 * gdb.base/cursal.exp: Ditto.
11310 * gdb.base/cvexpr.exp: Ditto.
11311 * gdb.base/default.exp: Ditto.
11312 * gdb.base/del.exp: Ditto.
11313 * gdb.base/detach.exp: Ditto.
11314 * gdb.base/display.exp: Ditto.
11315 * gdb.base/ena-dis-br.exp: Ditto.
11316 * gdb.base/eval-skip.exp: Ditto.
11317 * gdb.base/foll-fork.exp: Ditto.
11318 * gdb.base/foll-vfork.exp: Ditto.
11319 * gdb.base/frame-args.exp: Ditto.
11320 * gdb.base/funcargs.exp: Ditto.
11321 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11322 * gdb.base/gdbvars.exp: Ditto.
11323 * gdb.base/help.exp: Ditto.
11324 * gdb.base/ifelse.exp: Ditto.
11325 * gdb.base/included.exp: Ditto.
11326 * gdb.base/list.exp: Ditto.
11327 * gdb.base/macscp.exp: Ditto.
11328 * gdb.base/maint.exp: Ditto.
11329 * gdb.base/multi-fork.exp: Ditto.
11330 * gdb.base/overlays.exp: Ditto.
11331 * gdb.base/page.exp: Ditto.
11332 * gdb.base/pending.exp: Ditto.
11333 * gdb.base/pointers.exp: Ditto.
11334 * gdb.base/pr11022.exp: Ditto.
11335 * gdb.base/prelink.exp: Ditto.
11336 * gdb.base/printcmds.exp: Ditto.
11337 * gdb.base/psymtab.exp: Ditto.
11338 * gdb.base/randomize.exp: Ditto.
11339 * gdb.base/relational.exp: Ditto.
11340 * gdb.base/relocate.exp: Ditto.
11341 * gdb.base/remote.exp: Ditto.
11342 * gdb.base/sepdebug.exp: Ditto.
11343 * gdb.base/set-lang-auto.exp: Ditto.
11344 * gdb.base/setshow.exp: Ditto.
11345 * gdb.base/setvar.exp: Ditto.
11346 * gdb.base/signals.exp: Ditto.
11347 * gdb.base/signull.exp: Ditto.
11348 * gdb.base/sigstep.exp: Ditto.
11349 * gdb.base/sizeof.exp: Ditto.
11350 * gdb.base/solib-disc.exp: Ditto.
11351 * gdb.base/store.exp: Ditto.
11352 * gdb.base/structs.exp: Ditto.
11353 * gdb.base/structs2.exp: Ditto.
11354 * gdb.base/subst.exp: Ditto.
11355 * gdb.base/term.exp: Ditto.
11356 * gdb.base/trace-commands.exp: Ditto.
11357 * gdb.base/unwindonsignal.exp: Ditto.
11358 * gdb.base/valgrind-db-attach.exp: Ditto.
11359 * gdb.base/varargs.exp: Ditto.
11360 * gdb.base/watch-cond.exp: Ditto.
11361 * gdb.base/watch_thread_num.exp: Ditto.
11362 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11363 * gdb.base/watchpoint.exp: Ditto.
11364 * gdb.base/whatis-exp.exp: Ditto.
11365
11366 2010-06-01 Michael Snyder <msnyder@vmware.com>
11367
11368 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11369 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11370 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11371 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11372 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11373 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11374 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11375 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11376 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11377 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11378 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11379 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11380 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11381 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11382 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11383
11384 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11387 trailing newline.
11388 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11389 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11390 (p *args): ... here and remove excessive trailing newline.
11391
11392 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11393
11394 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11395
11396 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11397
11398 Accept the new Linux kernel "t (tracing stop)" string.
11399 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11400 Update comment.
11401 (state_wait) <T (tracing stop)>: New.
11402 (main): Update the state_wait expect string.
11403
11404 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11405
11406 * limits.c, limits.exp: Delete files.
11407 * Makefile.in (clean mostlyclean): Adjust.
11408 * tracecmd.exp: Adjust.
11409
11410 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11411
11412 * gdb.base/tui-layout.exp: New.
11413
11414 2010-05-28 Michael Snyder <msnyder@vmware.com>
11415
11416 * gdb.reverse/break-precsave.exp:
11417 Replace uses of send_gdb / gdb_expect.
11418 * gdb.reverse/break-reverse.exp:
11419 Replace uses of send_gdb / gdb_expect.
11420 * gdb.reverse/consecutive-precsave.exp:
11421 Replace uses of send_gdb / gdb_expect.
11422 * gdb.reverse/consecutive-reverse.exp:
11423 Replace uses of send_gdb / gdb_expect.
11424 * gdb.reverse/finish-precsave.exp:
11425 Replace uses of send_gdb / gdb_expect.
11426 * gdb.reverse/finish-reverse.exp:
11427 Replace uses of send_gdb / gdb_expect.
11428 * gdb.reverse/i386-precsave.exp:
11429 Replace uses of send_gdb / gdb_expect.
11430 * gdb.reverse/i386-reverse.exp:
11431 Replace uses of send_gdb / gdb_expect.
11432 * gdb.reverse/i386-sse-reverse.exp:
11433 Replace uses of send_gdb / gdb_expect.
11434 * gdb.reverse/i387-env-reverse.exp:
11435 Replace uses of send_gdb / gdb_expect.
11436 * gdb.reverse/i387-stack-reverse.exp:
11437 Replace uses of send_gdb / gdb_expect.
11438 * gdb.reverse/machinestate-precsave.exp:
11439 Replace uses of send_gdb / gdb_expect.
11440 * gdb.reverse/machinestate.exp:
11441 Replace uses of send_gdb / gdb_expect.
11442 * gdb.reverse/sigall-precsave.exp:
11443 Replace uses of send_gdb / gdb_expect.
11444 * gdb.reverse/sigall-reverse.exp:
11445 Replace uses of send_gdb / gdb_expect.
11446 * gdb.reverse/solib-precsave.exp:
11447 Replace uses of send_gdb / gdb_expect.
11448 * gdb.reverse/solib-reverse.exp:
11449 Replace uses of send_gdb / gdb_expect.
11450 * gdb.reverse/step-precsave.exp:
11451 Replace uses of send_gdb / gdb_expect.
11452 * gdb.reverse/step-reverse.exp:
11453 Replace uses of send_gdb / gdb_expect.
11454 * gdb.reverse/until-precsave.exp:
11455 Replace uses of send_gdb / gdb_expect.
11456 * gdb.reverse/until-reverse.exp:
11457 Replace uses of send_gdb / gdb_expect.
11458 * gdb.reverse/watch-precsave.exp:
11459 Replace uses of send_gdb / gdb_expect.
11460 * gdb.reverse/watch-reverse.exp:
11461 Replace uses of send_gdb / gdb_expect.
11462
11463 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11464
11465 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11466 excessive newline.
11467
11468 2010-05-27 Michael Snyder <msnyder@vmware.com>
11469
11470 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11471 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11472 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11473 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11474 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11475 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11476 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11477 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11478 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11479 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11480 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11481 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11482 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11483 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11484 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11485 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11486 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11487 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11488 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11489
11490 2010-05-26 Michael Snyder <msnyder@vmware.com>
11491
11492 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11493 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11494
11495 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11496 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11497 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11498
11499 * gdb.reverse/consecutive-reverse.exp:
11500 Replace uses of send_gdb / gdb_expect.
11501 * gdb.reverse/consecutive-precsave.exp:
11502 Replace uses of send_gdb / gdb_expect.
11503
11504 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11505 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11506 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11507 * gdb.mi/mi-ns-stale-regcache.exp:
11508 Replace uses of send_gdb / gdb_expect.
11509 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11510 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11511 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11512 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11513 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11514 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11515 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11516 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11517 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11518
11519 2010-05-26 Michael Snyder <msnyder@vmware.com>
11520
11521 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11522
11523 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11524
11525 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11526 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11527 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11528 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11529 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11530 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11531 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11532 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11533 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11534
11535 2010-05-25 Tom Tromey <tromey@redhat.com>
11536
11537 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11538
11539 2010-05-25 Tom Tromey <tromey@redhat.com>
11540
11541 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11542 argument order.
11543 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11544 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11545 order.
11546 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11547 order.
11548 * gdb.base/call-sc.exp (setup_kfails): Remove.
11549 (setup_compiler_kfails): Remove.
11550 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11551 argument order.
11552 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11553 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11554 (advancei): Fix setup_kfail argument order.
11555 * gdb.base/radix.exp: Fix setup_kfail argument order.
11556 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11557 order.
11558 * gdb.base/structs.exp (setup_kfails): Remove.
11559 (setup_compiler_kfails): Fix setup_kfail argument order.
11560 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11561 order.
11562 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11563 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11564 setup_kfail argument order.
11565 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11566
11567 2010-05-25 Tom Tromey <tromey@redhat.com>
11568
11569 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11570
11571 2010-05-25 Michael Snyder <msnyder@vmware.com>
11572
11573 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11574 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11575 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11576 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11577 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11578 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11579 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11580 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11581 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11582 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11583 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11584 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11585 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11586 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11587 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11588 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11589 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11590 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11591 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11592 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11593 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11594 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11595 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11596 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11597 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11598 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11599 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11600 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11601 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11602 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11603 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11604 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11605 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11606 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11607 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11608 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11609 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11610 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11611 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11612 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11613 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11614 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11615 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11616 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11617 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11618 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11619 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11620 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11621
11622 2010-05-25 Doug Evans <dje@google.com>
11623
11624 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11625 gdb.string_to_argv.
11626
11627 2010-05-21 Tom Tromey <tromey@redhat.com>
11628
11629 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11630 Call it.
11631 * gdb.dwarf2/pieces.S: Update.
11632 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11633
11634 2010-05-21 Tom Tromey <tromey@redhat.com>
11635
11636 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11637 Call it.
11638 * gdb.dwarf2/pieces.c (struct C): New.
11639 (f6): New function.
11640 * gdb.dwarf2/pieces.S: Replace.
11641
11642 2010-05-21 Tom Tromey <tromey@redhat.com>
11643
11644 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11645 Call it.
11646
11647 2010-05-21 Tom Tromey <tromey@redhat.com>
11648
11649 * gdb.dwarf2.pieces.exp: New file.
11650 * gdb.dwarf2.pieces.S: New file.
11651 * gdb.dwarf2.pieces.c: New file.
11652
11653 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11654 Joel Brobecker <brobecker@adacore.com>
11655
11656 * lib/gdb.exp (gdb_test_no_output): New function.
11657 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11658 when testing commands that should produce no output.
11659
11660 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11661
11662 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11663 parameter that we want to watch being a constant.
11664
11665 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11666
11667 * gdb.ada/cond_lang: New testcase.
11668
11669 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11670
11671 * lib/gdb.exp (banned_variables): New variable/constant.
11672 (gdb_init): Add write trace on variables listed in banned_variables.
11673 (gdb_finish): Remove write traces on variables listed in
11674 banned_variables.
11675
11676 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11677
11678 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11679 * gdb.cp/koenig.exp: Likewise.
11680
11681 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11682
11683 PR python/11482
11684
11685 * gdb.python/py-value.exp (test_value_hash): New function.
11686
11687 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11688
11689 PR exp/11530.
11690 * gdb.base/gdb11530.c: New file.
11691 * gdb.base/gdb11530.exp: New file.
11692
11693 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11694
11695 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11696 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11697
11698 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11699
11700 * gdb.cp/koenig.exp: New test.
11701 * gdb.cp/koenig.cc: New test program.
11702
11703 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11704
11705 Remove the use of prms_id and bug_id throughout the testsuite.
11706
11707 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11708
11709 PR exp/11349.
11710 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11711 use a reference local variable.
11712
11713 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11714
11715 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11716 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11717 variable different_dir. Move debugfile into a full directory pathname
11718 under DIFFERENT_DIR.
11719 * lib/gdb.exp (separate_debug_filename): Remove.
11720 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11721 variable debug_dir and mkdir of it. Update function comments.
11722
11723 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11724
11725 PR gdb/11557
11726
11727 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11728 files.
11729
11730 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11731
11732 * gdb.python/py-param.exp: New File.
11733
11734 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11735
11736 * gdb.base/default.exp: Fix "set language" test.
11737
11738 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11739
11740 PR breakpoints/11531.
11741 * gdb.base/gdb11531.c: New file.
11742 * gdb.base/gdb11531.exp: New file.
11743
11744 2010-04-26 Tom Tromey <tromey@redhat.com>
11745
11746 * gdb.base/completion.exp: Add tests for completion and deprecated
11747 commands.
11748
11749 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11750
11751 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11752 (print /x char_array): Escape curly brackets.
11753
11754 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11755
11756 Fix deadlock on looped list of loaded shared objects.
11757 * gdb.base/solib-corrupted.exp: New.
11758
11759 2010-04-23 Doug Evans <dje@google.com>
11760
11761 * gdb.python/py-section-script.c: New file.
11762 * gdb.python/py-section-script.exp: New file.
11763 * gdb.python/py-section-script.py: New file.
11764
11765 2010-04-20 Chris Moller <cmoller@redhat.com>
11766
11767 PR 10179
11768
11769 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11770 * gdb.base/pr10179-a.c:
11771 * gdb.base/pr10179-b.c:
11772 * gdb.base/pr10179.exp: New files.
11773
11774 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11775
11776 Fix crashes on dangling display expressions.
11777 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11778 is SEP.
11779 (lib_flags): Remove the "debug" keyword.
11780 (libsepdebug): New variable for iterating new loop.
11781 (save_pf_prefix): New variable wrapping the loop.
11782 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11783 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11784
11785 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11786
11787 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11788
11789 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11790
11791 PR stabs/11479.
11792 * gdb.stabs/gdb11479.exp: New file.
11793 * gdb.stabs/gdb11479.c: New file.
11794
11795 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11796
11797 * gdb.base/charset.c (Strin16, String32): New variables.
11798 * gdb.base/charset.exp (gdb_test): Test correct display
11799 of 16 or 32 bit strings.
11800
11801 2010-04-21 Chris Moller <cmoller@redhat.com>
11802
11803 PR 9167
11804 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11805 * gdb.cp/pr9167.cc: New file.
11806 * gdb.cp/pr9167.exp: New file.
11807
11808
11809 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11810
11811 PR pascal/11492.
11812 * gdb.pascal/gdb11492.pas: New file.
11813 * gdb.pascal/gdb11492.exp: New file.
11814
11815 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11816
11817 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11818
11819 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11820
11821 * gdb.ada/dyn_loc: New testcase.
11822
11823 2010-04-20 Chris Moller <cmoller@redhat.com>
11824
11825 PR 10867
11826
11827 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11828 * gdb.cp/pr10687.cc: New file.
11829 * gdb.cp/pr10687.exp: New file.
11830
11831
11832 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11833 Sergio Durigan Junior <sergiodj@redhat.com>
11834
11835 * gdb.fortran/logical.exp: New testcase.
11836 * gdb.fortran/logical.f90: New file.
11837
11838 2010-04-19 Doug Evans <dje@google.com>
11839
11840 * gdb.base/help.exp (help source): Update expected output.
11841
11842 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11843
11844 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11845 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11846 gdb_exit and return.
11847 (executable): New variable.
11848 (binfile): Use it.
11849
11850 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11851
11852 PR breakpoints/8554.
11853
11854 * gdb.trace/save-trace.exp: Adjust.
11855
11856 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 PR corefiles/11511
11859 * gdb.arch/system-gcore.exp: New.
11860 * gdb.arch/gcore.c: Likewise.
11861
11862 2010-04-15 Doug Evans <dje@google.com>
11863
11864 * gdb.python/py-progspace.c: New file.
11865 * gdb.python/py-progspace.exp: New file.
11866
11867 * gdb.base/source.exp: Add tests for "source -s".
11868
11869 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11870
11871 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11872 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11873 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11874 * gdb.python/py-mi.exp: New test for to_string returning None.
11875
11876 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11877
11878 * gdb.python/py-breakpoint.c: Make result global.
11879
11880 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11881
11882 Fix non-GNU make compatibility.
11883 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11884
11885 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11886
11887 * gdb.python/py-breakpoint.exp: New File.
11888 * gdb.python/py-breakpoint.C: Ditto.
11889
11890 2010-04-08 Stan Shebs <stan@codesourcery.com>
11891
11892 * gdb.trace/actions.exp: Clear default-collect.
11893 * gdb.trace/save-trace.exp: Clear default-collect.
11894
11895 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11896
11897 * gdb.python/py-value: Add null string variable.
11898 (test_lazy_string): Test zero length, NULL address lazy
11899 strings.
11900
11901 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * gdb.arch/i386-avx.c: New.
11904 * gdb.arch/i386-avx.exp: Likewise.
11905
11906 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11907
11908 2010-04-06 Doug Evans <dje@google.com>
11909
11910 * gdb.base/source-test.gdb: New file.
11911 * gdb.base/source.exp: Test source -v.
11912
11913 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11914
11915 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11916
11917 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11918
11919 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11920 within one line, unless it is followed by a double quote.
11921 * gdb.stabs/hppa.sed: Idem.
11922 * gdb.stabs/weird.def: Add char and String constants
11923 * gdb.stabs/weird.exp: Check for correct parsing of
11924 char and string constants.
11925 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11926 in .stabs to .stabx substitution.
11927
11928 2010-04-05 Stan Shebs <stan@codesourcery.com>
11929
11930 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11931 constant global.
11932 * gdb.trace/tfile.exp: Try to print them.
11933
11934 2010-04-04 Stan Shebs <stan@codesourcery.com>
11935
11936 * gdb.base/completion.exp: Update for new "info watchpoints".
11937 * gdb.base/default.exp: Ditto.
11938 * gdb.base/help.exp: Ditto.
11939 * gdb.base/watchpoint.exp: Ditto.
11940 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11941
11942 2010-04-04 Stan Shebs <stan@codesourcery.com>
11943
11944 * gdb.trace/tfile.exp: Sharpen tfind test.
11945
11946 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11947
11948 * gdb.base/break-entry.exp: New.
11949
11950 2010-04-02 Hui Zhu <teawater@gmail.com>
11951 Michael Snyder <msnyder@vmware.com>
11952
11953 * gdb.reverse/i386-sse-reverse.exp: New file.
11954 * gdb.reverse/i386-sse-reverse.c: New file.
11955
11956 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11957
11958 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11959
11960 2010-04-01 Stan Shebs <stan@codesourcery.com>
11961
11962 * gdb.trace/actions.exp: Tweak expected output.
11963 * gdb.trace/while-stepping.exp: Tweak expected output.
11964
11965 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11968
11969 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11970
11971 * gdb.base/commands.exp: Adjust.
11972 * gdb.cp/extern-c.exp: Adjust.
11973
11974 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11975
11976 * gdb.trace/collection.c (local_test_func): Define a local struct,
11977 and instanciate it.
11978
11979 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11980
11981 * gdb.trace/collection.exp (gdb_collect_args_test)
11982 (gdb_collect_argarray_test): XFAIL the tests that assume the
11983 argarray argument's elements are collected.
11984
11985 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11986
11987 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11988 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11989
11990 2010-03-31 Stan Shebs <stan@codesourcery.com>
11991
11992 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11993 and tracepoint conditionals.
11994 (gdb_verify_tracepoints): Delete unused return.
11995
11996 2010-03-26 Keith Seitz <keiths@redhat.com>
11997
11998 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11999 appear in the output before main.
12000 Remove KFAIL for gdb/2215 aka bz 9320.
12001
12002 2010-03-30 Doug Evans <dje@google.com>
12003
12004 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12005 by dejagnu.
12006 * gdb.arch/amd64-dword.exp: Ditto.
12007
12008 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12009 match.
12010 (break printf): Ditto.
12011
12012 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12013
12014 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12015 gcc < 4.4.
12016 * gdb.cp/shadow.exp: Ditto.
12017
12018 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12019
12020 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12021 "tstart" is silent.
12022
12023 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12024
12025 * gdb.trace/collection.exp (executable): New.
12026 (binfile): Use it.
12027 (fpreg, spreg, pcreg): New.
12028 (test_register): Use gdb_test_multiple. Pass /x to print.
12029 (prepare_for_trace_test): New.
12030 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12031 (gdb_collect_args_test, gdb_collect_argstruct_test)
12032 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12033 prepare_for_trace_test.
12034 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12035 fpreg, spreg and pcreg.
12036 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12037 prepare_for_trace_test.
12038 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12039 try to detect tracing support here. Don't set breakpoints at
12040 `begin' or `end' here.
12041 <global scope>: Use clean_restart. Run to main before checking
12042 for tracing support. Check for for tracing support here.
12043
12044 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12045
12046 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12047 " as $displacement" to "seen displacement message".
12048
12049 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12050
12051 * gdb.trace/while-dyn.exp (executable): New variable.
12052 (binfile): Use it.
12053 (test_while_stepping): New function. Move most tests here. Call
12054 it once for each of the while-stepping, stepping and ws aliases.
12055
12056 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12057
12058 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12059 that do not provide the tagless_struct type name at all.
12060 (test_print_anon_union): Do not check value of uninitialized
12061 union member. Do not use cp_test_ptype_class, so we can accept
12062 "long" as well as "long int".
12063
12064 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12065
12066 * gdb.trace/tfile.c (tohex, bin2hex): New.
12067 (write_error_trace_file): Hexify error description.
12068
12069 2010-03-25 Stan Shebs <stan@codesourcery.com>
12070
12071 * gdb.trace/tfile.c: Generate an additional trace file, improve
12072 portability.
12073 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12074 files in a better way.
12075
12076 2010-03-25 Keith Seitz <keiths@redhat.com>
12077
12078 * gdb.java/jprint.exp: XFAIL printing of static class members
12079 because of GCC debuginfo problem.
12080
12081 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12082
12083 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12084
12085 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12086
12087 * gdb.base/completion.exp: Allow long instead of long int.
12088 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12089 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12090 variable p.
12091 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12092 * gdb.base/pointers.exp: Allow long instead of long int.
12093 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12094 * gdb.base/step-line.exp: Allow a directory before the source file name.
12095
12096 2010-03-24 Tom Tromey <tromey@redhat.com>
12097
12098 PR breakpoints/9352:
12099 * gdb.base/default.exp: Update.
12100 * gdb.base/commands.exp: Update.
12101 * gdb.cp/extern-c.exp: Test setting commands on multiple
12102 breakpoints at once.
12103
12104 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12105
12106 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12107 if gdb,nosignals.
12108 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12109 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12110 exited".
12111
12112 2010-03-24 Stan Shebs <stan@codesourcery.com>
12113
12114 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12115
12116 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12117
12118 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12119 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12120 argument. Handle "short" and "long".
12121 (Top level): Pass overprototyped output for old_fptr and xptr.
12122
12123 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12124
12125 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12126 format strings and add casts to avoid compiler warnings.
12127
12128 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12129
12130 * lib/trace-support.exp (gdb_trace_setactions):
12131 Don't expect whitespace after ">" prompt.
12132 * gdb.trace/actions.exp: Adjust for output changes.
12133 * gdb.trace/while-stepping.exp: Likewise.
12134
12135 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12136
12137 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12138 and r157645).
12139
12140 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12143 New.
12144
12145 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12146
12147 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12148 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12149
12150 2010-03-19 Stan Shebs <stan@codesourcery.com>
12151
12152 * gdb.trace/ax.exp: New file.
12153
12154 2010-03-19 Doug Evans <dje@google.com>
12155
12156 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12157 output from gcc.
12158
12159 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12160 named /usr/sbin/prelink<foo>.
12161
12162 2010-03-18 Stan Shebs <stan@codesourcery.com>
12163
12164 * gdb.trace/circ.exp: Test circular-trace-buffer.
12165 * gdb.trace/tfile.exp: Update tstatus test.
12166
12167 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12168
12169 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12170 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12171
12172 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12173
12174 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12175
12176 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12177
12178 * gdb.base/default.exp: Adjust the expected output of the finish
12179 and until commands when the inferior is not being run.
12180
12181 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12182
12183 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12184 * gdb.cp/nsusing.exp: Ditto.
12185
12186 2010-03-15 Tom Tromey <tromey@redhat.com>
12187
12188 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12189 * gdb.cp/userdef.cc (operator==): New function.
12190 (main): New locals mem1, mem2.
12191
12192 2010-03-15 Jie Zhang <jie@codesourcery.com>
12193
12194 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12195 Declare and use new loadtimeout variable.
12196
12197 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12198
12199 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12200 Use gdb_load later.
12201
12202 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12203
12204 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12205 literal. Add missing endlines to prints to stderr.
12206
12207 2010-03-12 Tom Tromey <tromey@redhat.com>
12208
12209 PR c++/9708:
12210 * gdb.cp/m-static.exp: Add regression test.
12211 * gdb.cp/m-static.cc (method): New method.
12212 (main): Call it.
12213
12214 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12215
12216 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12217 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12218
12219 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12220
12221 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12222
12223 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12224
12225 * lib/gdb.exp (skip_stl_tests): New.
12226 (gdb_compile): Symbian needs -ldl.
12227 (shlib_target_file): New.
12228 (shlib_symbol_file): New.
12229 (gdb_load_shlibs): Use shlib_target_file.
12230 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12231 * gdb.cp/exception.exp: Use skip_stl_tests.
12232 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12233 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12234 * gdb.cp/mb-templates.exp: Ditto.
12235 * gdb.base/commands.exp: Relax regexes.
12236 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12237 shlib_target_file and shlib_symbol_file.
12238 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12239 sections.
12240 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12241 * gdb.base/solib-disc.exp: Use
12242 shlib_target_file and shlib_symbol_file.
12243 * gdb.base/unload.exp: Don't skip on symbian. Use
12244 shlib_target_file and shlib_symbol_file.
12245 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12246
12247 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12248
12249 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12250 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12251 Issue a tfind end before looking for a tracepoint frame.
12252 * gdb.trace/tfind.exp: Adjust tstatus output.
12253 Adjust disassembly output.
12254 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12255
12256 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12257
12258 * gdb.base/break-interp.exp: Create new displacement parameter value
12259 for the test_ld calls.
12260 (reach): New parameter displacement, verify its content. New push of
12261 pf_prefix "reach-$func:". Import global expect_out.
12262 (test_core): New parameter displacement, verify its content. New push
12263 of pf_prefix "core:". New command "set verbose on". Import global
12264 expect_out.
12265 (test_attach): New parameter displacement, verify its content. New
12266 push of pf_prefix "attach:". New command "set verbose on". Import
12267 global expect_out.
12268 (test_ld): New parameter displacement, pass it to the reach, test_core
12269 and test_attach calls and verify its content in the "ld.so exit" test.
12270 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12271 (prelink): Update expected text, use gdb_test.
12272
12273 2010-03-10 Doug Evans <dje@google.com>
12274
12275 * gdb.base/checkpoint.exp: Fix comment.
12276 Lengthen timeout while doing >600 checkpoints test.
12277 Rename duplicate "kill all one" test to keep test names unique.
12278
12279 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12280
12281 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12282
12283 2010-03-08 Keith Seitz <keiths@redhat.com>
12284
12285 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12286 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12287 (dm_type_long): New function.
12288 (dm_type_unsigned_short): New function.
12289 (dm_type_unsigned_long): New function.
12290 (myint): New typedef.
12291 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12292 long, unsigned shor and long, operator char*, and typedef.
12293 (test_lookup_operator_functions): Add operator char* test.
12294 (test_paddr_operator_functions): Likewise.
12295 (test_paddr_overloaded_functions): Use probe values for
12296 short, long, and unsigned short and long.
12297 (test_paddr_hairy_functions): If the demangler probe detected
12298 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12299 demangler.
12300 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12301 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12302 and "print null_pmf".
12303 Add test "ptype a.*pmf".
12304 * gdb.cp/overload.exp: Allow optional "int" to appear with
12305 "short" and "long".
12306 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12307 long expect value for men_overload1arg.
12308 Allow "int" to appear with "short" and "long".
12309 When testing "info break", add argument for main (void).
12310 Also allow "int" to appear with "short" and "long".
12311 Ditto with "unsigned" and "long long".
12312 * gdb.java/jmain.exp: Do not enclose methods names in single
12313 quotes.
12314 * gdb.java/jmisc.exp: Likewise.
12315 * gdb.java/jprint.exp: Likewise.
12316 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12317
12318 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12319 * gdb.cp/exception.exp (backtrace after first throw)
12320 (backtrace after second throw): Allow a namespace before __cxa_throw.
12321 (backtrace after first catch, backtrace after second catch): Allow
12322 a namespace before __cxa_begin_catch.
12323
12324 * gdb.cp/cpexprs.exp: New file.
12325 * gdb.cp/cpexprs.cc: New file.
12326
12327 From Daniel Jacobowitz <dan@codesourcery.com>
12328 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12329 to use string_to_regexp.
12330 (ctor, dtor): New functions. Use them to match constructor
12331 and destructor function types.
12332 (Top level): Use runto_main.
12333
12334 2010-03-05 Tom Tromey <tromey@redhat.com>
12335
12336 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12337 gdb.target_charset.
12338 (pp_ns.to_string): Likewise.
12339
12340 2010-03-04 Keith Seitz <keiths@redhat.com>
12341
12342 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12343 can be quoted. Test that both the filename and function/line
12344 portions can be quoted at the same time.
12345
12346 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12347
12348 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12349
12350 2010-03-03 Doug Evans <dje@google.com>
12351
12352 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12353 libc contains libpthread.
12354
12355 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12356 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12357 of gdb_compile. Add another pattern to match android backtrace.
12358
12359 2010-03-03 Tom Tromey <tromey@redhat.com>
12360
12361 PR gdb/11345:
12362 * gdb.base/printcmds.exp (test_printf): Add test.
12363
12364 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * gdb.arch/amd64-byte.exp: New.
12367 * gdb.arch/amd64-dword.exp: Likewise.
12368 * gdb.arch/amd64-pseudo.c: Likewise.
12369 * gdb.arch/amd64-word.exp: Likewise.
12370 * gdb.arch/i386-byte.exp: Likewise.
12371 * gdb.arch/i386-pseudo.c: Likewise.
12372 * gdb.arch/i386-word.exp: Likewise.
12373
12374 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12375
12376 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12377 types. Add structreg, bitfields, and flags registers.
12378 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12379 registers.
12380
12381 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12382
12383 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12384 (load_description): Set architecture if defined.
12385
12386 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12387
12388 * gdb.python/py-frame.exp: Add read_var block tests.
12389 * gdb.python/py-frame.c (block): New function.
12390
12391 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12392 Daniel Jacobowitz <dan@codesourcery.com>
12393
12394 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12395
12396 2010-02-25 David S. Miller <davem@davemloft.net>
12397
12398 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12399 fix logic for setting all_syscalls_numbers.
12400
12401 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12402
12403 * Makefile.in: Add py-block and py-symbol.
12404 * gdb.python/py-symbol.exp: New File.
12405 * gdb.python/py-symtab.exp: New File.
12406 * gdb.python/py-block.exp: New File.
12407 * gdb.python/py-symbol.c: New File.
12408 * gdb.python/py-block.c: New File.
12409
12410 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12411
12412 PR python/11314
12413 * lib/gdb.exp (skip_python_tests): New function.
12414 * gdb.python/py-cmd.exp: Use skip_python_tests.
12415 * gdb.python/py-frame.exp: Likewise.
12416 * gdb.python/py-function.exp: Likewise.
12417 * gdb.python/py-prettyprint.exp: Likewise.
12418 * gdb.python/py-template.exp: Likewise.
12419 * gdb.python/py-type.exp: Likewise.
12420 * gdb.python/py-value.exp: Likewise.
12421
12422 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12423
12424 PR9605
12425
12426 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12427
12428 2010-02-19 Tom Tromey <tromey@redhat.com>
12429
12430 PR c++/8693, PR c++/9496:
12431 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12432 regression tests.
12433
12434 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12435
12436 Fix compatibility with m68k as.
12437 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12438 Use only /* comments */.
12439
12440 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12441
12442 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12443 * configure: Regenerate.
12444
12445 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12446
12447 * gdb.python/py-type.exp: Check for Python support.
12448
12449 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12450
12451 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12452 `regsub' syntax available.
12453
12454 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12455
12456 * gdb.base/shmain.c (main): Remove printf call.
12457 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12458 * gdb.base/unload.c (main): Make format of fprintf a string
12459 literal. Add missing endlines to prints to stderr.
12460 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12461
12462 2010-02-17 Tom Tromey <tromey@redhat.com>
12463
12464 * gdb.java/jprint.java (jprint.props): New field.
12465 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12466
12467 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12468
12469 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12470 available.
12471
12472 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12473
12474 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12475 creation to support remote host testing.
12476
12477 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12478
12479 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12480 Recognize "command not found".
12481
12482 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12483
12484 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12485 single-stepping.
12486
12487 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12488
12489 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12490 if arguments are not supported.
12491
12492 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12493
12494 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12495 be const or non-const.
12496
12497 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12498
12499 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12500 mi_send_resuming_command to send -exec-continue.
12501
12502 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12503
12504 * gdb.base/list.exp (test_list_filename_and_function): Add test
12505 with single quotes.
12506 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12507 matching.
12508 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12509 Add KFAIL'd tests for PR gdb/11289.
12510
12511 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12512
12513 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12514
12515 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12516
12517 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12518 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12519 a temporary directory.
12520
12521 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12522
12523 * gdb.base/charset.exp: Use a single regular expression to match
12524 show host-charset and show target-charset output.
12525
12526 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12527
12528 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12529 "Illegal process-id" expect string more exact.
12530 (attach to digits-starting nonsense is prohibited): New.
12531
12532 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12533
12534 * gdb.base/prelink.exp (set verbose on): New.
12535
12536 2010-02-12 Tomas Holmberg <th@virtutech.com>
12537
12538 * mi-reverse.exp: New file. Test for reverse option to the
12539 following MI commands: exec-continue, exec-finish, exec-next,
12540 exec-step, exec-next-instruction, exec-step-instruction.
12541
12542 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12543
12544 * gdb.ada/ptype_tagged_param: New testcase.
12545
12546 2010-02-08 Tom Tromey <tromey@redhat.com>
12547
12548 PR c++/8017:
12549 * gdb.cp/overload.exp: Add tests.
12550 * gdb.cp/overload.cc (struct K): New.
12551 (namespace N): New.
12552 (main): Call new functions.
12553 (K::staticoverload): Define.
12554
12555 2010-02-08 Chris Moller <moller@mollerware.com>
12556
12557 PR gdb/10728
12558 * gdb.cp/pr10728-x.h: New file.
12559 * gdb.cp/pr10728-x.cc: New file.
12560 * gdb.cp/pr10728-y.cc: New file.
12561 * gdb.cp/pr10728.exp: New file.
12562 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12563
12564 2010-02-08 Chris Moller <moller@mollerware.com>
12565
12566 PR gdb/9067
12567 * gdb.cp/pr9067.exp: New
12568 * gdb.cp/pr9067.cc: New
12569 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12570
12571 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12572
12573 * lib/gdb.exp (gdb_test_timeout): New global variable.
12574 Set it to timeout if not already set.
12575 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12576
12577 2010-02-05 Doug Evans <dje@google.com>
12578
12579 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12580 user.
12581
12582 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12583
12584 PR c++/7935:
12585 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12586
12587 2010-02-04 Tom Tromey <tromey@redhat.com>
12588
12589 * gdb.cp/virtbase.exp: Make test case names unique.
12590
12591 2010-02-02 Tom Tromey <tromey@redhat.com>
12592
12593 * gdb.cp/virtbase.exp: Add regression tests.
12594 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12595 (main): Instantiate RHC.
12596
12597 2010-02-02 Tom Tromey <tromey@redhat.com>
12598
12599 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12600 type-printing change.
12601
12602 2010-02-02 Tom Tromey <tromey@redhat.com>
12603
12604 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12605 * gdb.cp/virtbase.cc: New file.
12606 * gdb.cp/virtbase.exp: New file.
12607 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12608
12609 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12610
12611 PR libc/11214:
12612 * gdb.threads/current-lwp-dead.c: Include features.h.
12613 (HAS_NOMMU): New.
12614 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12615
12616 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12617
12618 * gdb.base/symbol-without-target_section.exp,
12619 gdb.base/symbol-without-target_section.c: New.
12620
12621 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12622
12623 * gdb.base/bigcore.exp: Reset increased timeout.
12624 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12625
12626 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12627
12628 * gdb.base/gcore.exp (capture_command_output): Use
12629 gdb_test_multiple.
12630
12631 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12632
12633 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12634 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12635 (Top level): Call it.
12636
12637 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12638
12639 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12640
12641 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12642
12643 * gdb.base/call-strs.exp, gdb.base/default.exp,
12644 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12645 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12646 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12647 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12648 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12649 * gdb.base/ending-run.exp: Correct restore of timeout.
12650 * gdb.base/page.exp: Remove unnecessary timeout setting.
12651
12652 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12653
12654 * gdb.ada/rec_return: New testcase.
12655
12656 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12657
12658 * gdb.ada/call_pn: New testcase.
12659
12660 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12661
12662 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12663 (Top level): Use it to resume.
12664 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12665 the Thumb mode displaced stepping error as unsupported.
12666
12667 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12668
12669 * gdb.cp/nsusing.exp: Added more tests.
12670 * gdb.cp/nsrecurs.exp: Ditto.
12671 * gdb.cp/nsusing.cc: Added test functions.
12672 * gdb.cp/nsrecurs.cc: Ditto.
12673
12674 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12675
12676 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12677 absolute directory pathnames in gdb.sum file.
12678
12679 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12680
12681 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12682 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12683
12684 2010-01-26 Tom Tromey <tromey@redhat.com>
12685
12686 PR exp/7643:
12687 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12688 setup_kfail.
12689
12690 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12691
12692 * gdb.cp/nsrecurs.exp: New test.
12693 * gdb.cp/nsrecurs.cc: New test program.
12694 * gdb.cp/nsstress.exp: New test.
12695 * gdb.cp/nsstress.cc: New test program.
12696 * gdb.cp/nsdecl.exp: New test.
12697 * gdb.cp/nsdecl.cc: New test program.
12698
12699 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12700
12701 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12702 imported into file scope.
12703 Marked test as xfail.
12704 * gdb.cp/namespace-using.cc (marker5): New function.
12705 * gdb.cp/shadow.exp: New test.
12706 * gdb.cp/shadow.cc: New test program.
12707 * gdb.cp/nsimport.exp: New test.
12708 * gdb.cp/nsimport.cc: New test program.
12709
12710 2010-01-25 Tom Tromey <tromey@redhat.com>
12711
12712 PR gdb/11049:
12713 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12714 with "set print null-stop on".
12715
12716 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12717
12718 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12719 Adjust it for DISASSEMBLY_OMIT_FNAME.
12720
12721 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12722
12723 PR symtab/11199:
12724 * gdb.dwarf2/member-ptr-forwardref.exp,
12725 gdb.dwarf2/member-ptr-forwardref.S: New.
12726
12727 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12728
12729 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12730 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12731 thread1_tid_mutex. Remove gdbstop_mutex handling.
12732 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12733 thread2_tid_mutex. Remove gdbstop_mutex handling.
12734 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12735 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12736 pthread_cond_wait conditionalizations by while loops.
12737
12738 2010-01-20 Tom Tromey <tromey@redhat.com>
12739
12740 PR backtrace/10770:
12741 * gdb.dwarf2/pr10770.exp: New file.
12742 * gdb.dwarf2/pr10770.c: New file.
12743 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12744
12745 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12746
12747 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12748 that target was removed, and the test always runs native anyway.
12749
12750 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12751
12752 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12753 gdb.base/watchpoint-cond-gone-stripped.c: New.
12754
12755 2010-01-19 Tom Tromey <tromey@redhat.com>
12756
12757 PR c++/8000:
12758 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12759 existing tests.
12760 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12761 (main): Use AAA::SomeEnum.
12762
12763 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12764
12765 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12766 (test_ignore_count): Declare line_callme_body global.
12767 (run to breakpoint with ignore count): Use line_callme_body.
12768 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12769 (set line_main_hello, set line_main_return): Reindent.
12770 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12771 New.
12772 (continue to callee4): Use line_callee4_body.
12773 (check *stopped from CLI command): Use line_callee4_next.
12774 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12775 (set line_main_hello, set line_main_return): Reindent.
12776 (set line_callee4_head, set line_callee4_body): New.
12777 (continue to callee4): Use line_callee4_body.
12778
12779 2010-01-18 Tom Tromey <tromey@redhat.com>
12780
12781 PR c++/9680:
12782 * gdb.cp/casts.cc: Add new classes and variables.
12783 * gdb.cp/casts.exp: Test new operators.
12784
12785 2010-01-18 Tom Tromey <tromey@redhat.com>
12786 Thiago Jung Bauermann <bauerman@br.ibm.com>
12787
12788 * gdb.python/source2.py: New file.
12789 * gdb.python/source1: New file.
12790 * gdb.python/python.exp: Test "source" command.
12791
12792 2010-01-15 Stan Shebs <stan@codesourcery.com>
12793
12794 * gdb.trace/tfile.c: New file.
12795 * gdb.trace/tfile.exp: New file.
12796
12797 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12798
12799 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12800
12801 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12802
12803 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12804
12805 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12806
12807 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12808 (libfunc): New parameter action. Implement also selectable "sleep".
12809 * gdb.base/break-interp-main.c: Include assert.h.
12810 (libfunc): New parameter action.
12811 (main): New parameters argc and argv. Assert argc. Pass argv.
12812 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12813 (test_attach): New proc.
12814 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12815 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12816
12817 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12818
12819 * gdb.base/break-interp.exp (test_core): New proc.
12820 (test_ld): Call it.
12821
12822 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12823
12824 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12825 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12826 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12827 and gdb_compile_shlib. Use new -Wl compiler options.
12828 (dl bt, main bt): New tests.
12829
12830 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12831
12832 Support PIEs with no symfile_objfile.
12833 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12834 (test_ld): New parameter trynosym.
12835 (test_ld <$trynosym>): New block.
12836
12837 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12838
12839 * gdb.base/break-interp.exp: New file.
12840
12841 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12842
12843 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12844 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12845 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12846 test.
12847 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12848 * gdb.python/py-mi.exp: Add lazy string test.
12849
12850 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12851
12852 * lib/mi-support.exp (mi_check_thread_states): Handle
12853 core number in thread listing.
12854
12855 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12856
12857 * gdb.base/maint.exp: Adjust the expected output for the
12858 "maint print type" test. Use gdb_test_multiple instead of
12859 gdb_sent/gdb_expect.
12860
12861 2010-01-11 Doug Evans <dje@google.com>
12862
12863 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12864 from gdbserver_download. All callers updated.
12865
12866 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12867
12868 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12869
12870 Implement binary numbers parsing.
12871 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12872 (test_integer_literals_rejected): New binary tests.
12873
12874 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12875
12876 * gdb.cell/configure: Regenerate.
12877
12878 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12879
12880 * gdb.base/corefile.exp: Move the core finding block out and call it as
12881 core_find, new variable $corefile, replace corefile by $corefile and
12882 [file tail $corefile] for usage vs. test names resp.
12883 * lib/gdb.exp (core_find): Move it as a new function here. New
12884 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12885 $destcore. Return "" on error.
12886
12887 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12888
12889 Workaround PR binutils/10802.
12890 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12891 (twice).
12892
12893 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12894
12895 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12896
12897 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12898
12899 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12900 call, to avoid interruption.
12901
12902 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12903
12904 * gdb.stabs/weird.def (args93): New.
12905
12906 2010-01-07 Doug Evans <dje@google.com>
12907
12908 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12909
12910 2010-01-07 Tom Tromey <tromey@redhat.com>
12911
12912 * gdb.base/source.exp: Use correct line number.
12913
12914 2010-01-05 Stan Shebs <stan@codesourcery.com>
12915
12916 * gdb.trace/tracecmd.exp: Test ftrace.
12917
12918 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12919
12920 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12921
12922 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12923
12924 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12925 "uint_for_mi_testing".
12926
12927 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12928
12929 Test indented comment in file being sourced.
12930 * gdb.base/commands.exp: Test indented comment in file being sourced.
12931
12932 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12933
12934 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12935 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12936 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12937 notice.
12938
12939 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12940
12941 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12942 notice.
12943
12944 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12945
12946 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12947 missing $after_stopped and comma (,) expectation.
12948
12949 2009-12-31 Stan Shebs <stan@codesourcery.com>
12950
12951 * gdb.trace/actions.exp: Test teval action.
12952
12953 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12954
12955 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12956 (top level): Call test_watchpoint_in_big_blob.
12957 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12958 watchpoints.
12959 (func3): Write to buf.
12960
12961 2009-12-29 Stan Shebs <stan@codesourcery.com>
12962
12963 * gdb.trace/actions.exp: Test default-collect.
12964
12965 2009-12-28 Stan Shebs <stan@codesourcery.com>
12966
12967 * gdb.trace/tsv.exp: New file.
12968 * gdb.base/completion.exp: Update ambiguous info output.
12969
12970 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12971
12972 * gdb.base/find.c (main): Reference search buffers.
12973 * gdb.base/included.c (main): Reference integer.
12974 * gdb.base/ptype.c (charfoo): Declare.
12975 (intfoo): Call charfoo.
12976 * gdb.base/scope0.c (useitp): New function.
12977 (usestatics): Use useitp.
12978 (useit): Add a type for val.
12979 * gdb.base/scope1.c (useit1): Take a pointer argument.
12980 (usestatics1): Update calls to useit1.
12981 * gdb.cp/call-c.cc: Declare foo.
12982 (main): Call foo.
12983 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12984 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12985 (main): Call C::ensureRefs and ensureOtherRefs.
12986 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12987 variables.
12988 (ensureOtherRefs): New function.
12989 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12990 * gdb.cp/templates.cc (main): Call t5i.value.
12991
12992 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12993
12994 Fix compatibility with G++-4.5.
12995 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12996 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12997 (uncaught return): Remove.
12998
12999 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13000 Phil Muldoon <pmuldoon@redhat.com>
13001
13002 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13003 (bp_location13, bp_location14, bp_location17, bp_location18)
13004 (marker3_proto, marker4_proto): New variables.
13005 (breakpoint info): Update output.
13006 (run until breakpoint at marker3, run until breakpoint at marker4): New
13007 tests.
13008
13009 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13010
13011 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13012 Replace the printf call of Y by provided "y-set-1" label. New block
13013 for the second shared library.
13014 * gdb.base/unload.exp: Compile also the second library, call
13015 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13016 (single pending breakpoint info): Rename to ...
13017 (pending breakpoint info before run): ... this extended test.
13018 (libfile2, libname2, libsrcfile2, libsrc2)
13019 (lib_sl2): New variables.
13020 (exec_opts): Set also SHLIB_NAME2.
13021 (pending breakpoint info on first run at shrfunc1)
13022 (pending breakpoint info on second run at shrfunc1)
13023 (pending breakpoint info on second run at shrfunc2)
13024 (print y from libfile, print y from libfile2): New tests.
13025 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13026 * gdb.base/unloadshr2.c: New.
13027
13028 2009-12-22 Hui Zhu <teawater@gmail.com>
13029
13030 * gdb.reverse/sigall-reverse.exp: Adjust.
13031
13032 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13033
13034 PR gdb/10884
13035
13036 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13037 (main): Call do_bitfield_tests.
13038 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13039
13040 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13041
13042 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13043 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13044 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13045 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13046 gdb.modula2/unbounded1.c: Update copyright header.
13047
13048 2009-12-10 Chris Moller <moller@mollerware.com>
13049
13050 PR gdb/9399
13051 * gdb.cp/virtfunc2.exp: New tests
13052 * gdb.cp/virtfunc2.cc: New tests
13053 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13054
13055 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13056
13057 * gdb.reverse/i387-env-reverse.c: New file.
13058 * gdb.reverse/i387-env-reverse.exp: New file.
13059 * gdb.reverse/i387-stack-reverse.c: New file.
13060 * gdb.reverse/i387-stack-reverse.exp: New file.
13061
13062 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13063
13064 * gdb.python/py-type.exp (test_range): New test.
13065
13066 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13067
13068 PR python/10805
13069
13070 * gdb.python/py-type.exp: New file.
13071 * gdb.python/py-type.c: New file.
13072 * Makefile.in: Add py-type.
13073
13074 2009-12-03 Tom Tromey <tromey@redhat.com>
13075
13076 * gdb.python/py-value.exp (test_parse_and_eval): New
13077 function.
13078
13079 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13080
13081 PR gdb/11022
13082
13083 * gdb.base/pr11022.exp: New test.
13084 * gdb.base/pr11022.c: New test.
13085
13086 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13087
13088 Fix spurious false FAILs.
13089 * gdb.base/structs.c (chartest): New.
13090 (main): Fill-in chartest.
13091 * gdb.base/structs.exp (anychar_re, first): New.
13092 (start_structs_test): Import global anychar_re and first.
13093 New gdb_test call "set print elements 300; ${testfile}"
13094 (start_structs_test <$first>): New block.
13095 (any): Import global anychar_re. New variable ac. Use ${ac}.
13096
13097 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13098
13099 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13100
13101 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13102
13103 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13104 Force $srcfile file.
13105 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13106
13107 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13108
13109 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13110 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13111 * gdb.threads/watchthreads-reorder.exp: Likewise.
13112
13113 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13114
13115 PR gdb/8704
13116
13117 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13118 "if", and "thread". Correct matching in the previous test.
13119
13120 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13121
13122 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13123
13124 2009-11-23 Michael Snyder <msnyder@vmware.com>
13125
13126 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13127 * gdb.reverse-watch-precsave.exp: Ditto.
13128
13129 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13130
13131 * gdb.asm/asm-source.exp: Adjust.
13132 * gdb.base/help.exp: Adjust.
13133
13134 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13135
13136 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13137 (do_syscall_tests_without_xml): Set data-directory to
13138 /the/path/to/nowhere.
13139
13140 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13141
13142 * gdb.threads/local-watch-wrong-thread.c,
13143 gdb.threads/local-watch-wrong-thread.exp: New files.
13144
13145 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13146
13147 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13148 assume new `regsub' syntax available.
13149
13150 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13151
13152 * gdb.base/watchpoint-hw-hit-once.exp,
13153 gdb.base/watchpoint-hw-hit-once.c: New.
13154
13155 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13156
13157 * gdb.threads/watchthreads-reorder.exp,
13158 gdb.threads/watchthreads-reorder.c: New.
13159
13160 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13161
13162 * gdb.xml/tdesc-regs.exp: Use for m68k.
13163
13164 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13165
13166 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13167
13168 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13169
13170 * lib/gdb.exp (current_target_name): New procedure.
13171 (gdb_wrapper_target): New variable.
13172 (gdb_wrapper_init): Set gdb_wrapper_target.
13173 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13174 wrapper.
13175
13176 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13177
13178 * gdb.base/remote.exp: Delete the slowest load test.
13179 Do not load with fixed packet sizes.
13180
13181 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13182
13183 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13184
13185 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13186
13187 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13188 srcfile when setting a breakpoint.
13189
13190 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13191
13192 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13193 macros.
13194
13195 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13196
13197 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13198 to be in memory.
13199 * gdb.base/display.c (force_mem): New.
13200 (do_loops): Use it. Add breakpoint comments.
13201 (do_vars): Add a breakpoint comment.
13202 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13203 line numbers.
13204
13205 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13206
13207 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13208 instead of a bare "run".
13209
13210 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13211
13212 * gdb.python/py-prettyprint.exp: Adjust.
13213
13214 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13215
13216 * lib/cell.exp (skip_cell_tests): Clean up test files before
13217 returning.
13218
13219 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13220
13221 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13222 and the breakpoint menu. Do not call perror if a prompt is seen.
13223 Consume the following GDB prompt.
13224 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13225 * gdb.cp/namespace.exp: Use gdb_test.
13226 * gdb.cp/templates.exp: Use gdb_test.
13227 (test_template_breakpoints): Use gdb_test_multiple.
13228
13229 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13230
13231 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13232 (marker4): Reference values.
13233
13234 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13235
13236 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13237 is missing.
13238
13239 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13240
13241 * gdb.base/break.c (need_malloc): New.
13242 * gdb.base/constvars.c (main): Reference crass and crisp.
13243 * gdb.base/gdb1821.c (main): Reference bar.
13244 * gdb.cp/gdb1355.cc (main): Reference s1.
13245 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13246 (main): Call them.
13247 * gdb.cp/hang2.cc (dummy2): Define.
13248 * gdb.cp/hang3.cc (dummy3): Define.
13249 * gdb.cp/m-data.cc (main): Reference shadow.
13250
13251 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13252 Nathan Froyd <froydnj@codesourcery.com>
13253
13254 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13255 remote host.
13256
13257 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13258
13259 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13260 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13261 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13262 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13263 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13264 * gdb.dwarf2/dw2-producer.exp: Likewise.
13265 * gdb.dwarf2/mac-fileno.exp: Likewise.
13266 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13267 py-prettyprint.py to the remote host.
13268 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13269
13270 2009-11-11 Keith Seitz <keiths@redhat.com>
13271
13272 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13273 use it instead of "Foo".
13274 * gdb.cp/classes.exp (do_tests): Add a test to access
13275 a method through a typedef'd class name.
13276
13277 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13278
13279 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13280 exponents.
13281 * gdb.base/pointers.exp: Likewise.
13282 * gdb.cp/ref-types.exp: Likewise.
13283
13284 2009-11-11 Keith Seitz <keiths@redhat.com>
13285
13286 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13287 new[] and delete[].
13288 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13289 "void".
13290 (probe_demangler): Remove all single-quoting of
13291 method and variable names.
13292 (info_func_regexp): Remove the word "void" from any
13293 occurrence of "(void)".
13294 (print_addr_2): Remove all single-quoting of
13295 method names.
13296 (print_addr_2_kfail): Likewise.
13297 (print_addr): Single-quote C function names before
13298 passing to print_addr_2.
13299 (test_paddr_operator_functions): Remove single-quoting
13300 for method names.
13301 Add tests for operator new[] and operator delete[].
13302
13303 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13304
13305 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13306
13307 2009-11-09 Keith Seitz <keiths@redhat.com>
13308
13309 * gdb.cp/overload.exp: Add tests for resolving overloaded
13310 methods in expression parsing/evaluation.
13311
13312 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13313
13314 * lib/gdb.exp (default_gdb_version): Use --version instead of
13315 --command.
13316
13317 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13318
13319 * lib/gdb.exp (gdb_compile_test): New.
13320 (skip_ada_tests, skip_java_tests): New.
13321 (gdb_compile): Use gdb_compile_test for f77.
13322 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13323 * lib/java.exp (compile_java_from_source): Remove runtests check,
13324 use gdb_compile_test to record result.
13325 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13326 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13327 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13328 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13329 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13330 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13331 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13332 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13333 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13334 adjust gdb_compile invocations.
13335
13336 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13337
13338 * Makefile.in (abs_builddir): New.
13339 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13340 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13341 `$(abs_builddir)/site.exp'.
13342
13343 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13344
13345 * config/m68k-emc.exp, lib/emc-support.exp,
13346 gdb.trace/gdb_c_test.c: Delete.
13347 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13348 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13349 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13350 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13351 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13352 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13353 casing for m68k-*-elf.
13354
13355 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13356
13357 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13358 * gdb.arch/i386-prologue.exp: Likewise.
13359 * gdb.arch/i386-unwind.exp: Likewise.
13360
13361 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13362
13363 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13364
13365 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13366
13367 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13368
13369 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13370
13371 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13372
13373 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13374
13375 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13376
13377 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13378
13379 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13380 * gdb.base/sepdebug2.c: New file.
13381
13382 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13383
13384 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13385 the modified warnings for catch syscall. Verify if GDB was compiled
13386 with support for lib expat, and choose which tests to run depending
13387 on this.
13388
13389 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13390
13391 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13392 that composite commands are parsed OK. And also test
13393 that breakpoint commands do work.
13394
13395 2009-10-23 Michael Snyder <msnyder@vmware.com>
13396
13397 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13398 to allow for new disassembly style.
13399
13400 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13401
13402 * gdb.asm/asm-source.exp: Adjust.
13403
13404 2009-10-22 Michael Snyder <msnyder@vmware.com>
13405
13406 * gdb.reverse/break-precsave.exp: New test.
13407 * gdb.reverse/consecutive-precsave.exp: Ditto.
13408 * gdb.reverse/finish-precsave.exp: Ditto.
13409 * gdb.reverse/i386-precsave.exp: Ditto.
13410 * gdb.reverse/machinestate-precsave.exp: Ditto.
13411 * gdb.reverse/sigall-precsave.exp: Ditto.
13412 * gdb.reverse/solilb-precsave.exp: Ditto.
13413 * gdb.reverse/step-precsave.exp: Ditto.
13414 * gdb.reverse/until-precsave.exp: Ditto.
13415 * gdb.reverse/watch-precsave.exp: Ditto.
13416
13417 2009-10-22 Michael Snyder <msnyder@vmware.com>
13418
13419 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13420 for gdb_expect. Adjust one test's expect strings for the new
13421 format of disassemble.
13422 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13423 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13424 gdb_test_multiple.
13425 * gdb.reverse/step-reverse.exp: Delete 'return'.
13426 * gdb.reverse/until-reverse.exp: Delete blank lines.
13427 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13428
13429 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13430
13431 * gdb.base/consecutive.exp: Adjust.
13432 * gdb.base/display.exp: Likewise.
13433 * gdb.base/pc-fp.exp: Likewise.
13434 * gdb.base/sigbpt.exp: Likewise.
13435
13436 2009-10-19 Michael Snyder <msnyder@vmware.com>
13437
13438 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13439 * gdb.reverse/finish-reverse.c: Ditto.
13440 * gdb.reverse/sigall-reverse.c: Ditto.
13441 * gdb.reverse/solib-reverse.c: Ditto.
13442 * gdb.reverse/step-reverse.c: Ditto.
13443 * gdb.reverse/watch-reverse.c: Ditto.
13444
13445 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13446 Stan Shebs <stan@codesourcery.com>
13447
13448 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13449 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13450 "Executing new program".
13451 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13452 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13453 left listed after having been killed.
13454 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13455 * gdb.base/maint.exp: Adjust test.
13456
13457 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13458 * gdb.multi/Makefile.in: New.
13459 * gdb.multi/base.exp: New.
13460 * gdb.multi/goodbye.c: New.
13461 * gdb.multi/hangout.c: New.
13462 * gdb.multi/hello.c: New.
13463 * gdb.multi/bkpt-multi-exec.c: New.
13464 * gdb.multi/bkpt-multi-exec.exp: New.
13465 * gdb.multi/crashme.c: New.
13466
13467 2009-10-13 Tristan Gingold <gingold@adacore.com>
13468
13469 * gdb.base/sepdebug.exp: Check debug info are found.
13470
13471 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13472
13473 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13474 bits.
13475
13476 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13477
13478 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13479
13480 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13481
13482 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13483 of the comments.
13484
13485 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13486
13487 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13488 * gdb.base/annota3.exp: Idem.
13489 * gdb.base/maint.exp: Idem.
13490
13491 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13492
13493 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13494 to default.
13495
13496 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13497
13498 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13499 mingw and cygwin targets.
13500
13501 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13502 Pedro Alves <pedro@codesourcery.com>
13503
13504 * lib/gdb.exp (gdb_compile): Avoid adding
13505 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13506
13507 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13508
13509 * gdb.base/shr1.c: Use %p in format string.
13510 * gdb.base/unload.c: Avoid warning in fprintf.
13511 * gdb.base/watchpoint-solib.c: Idem.
13512
13513 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13514
13515 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13516 long type.
13517 (test_unlink): Correct printf string.
13518 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13519 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13520
13521 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13522
13523 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13524 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13525 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13526
13527 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13528
13529 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13530 * gdb.objc/nondebug.exp: Likewise.
13531
13532 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13533
13534 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13535 target_info setting.
13536
13537 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13538 that detect new threads during "info threads".
13539
13540 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13541
13542 * gdb.threads/manythreads.c (main): Increase thread stack size
13543 to 2*PTHREAD_STACK_MIN.
13544 * gdb.threads/multi-create.c (main): Likewise.
13545 (create_function): Likewise.
13546
13547 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13548
13549 * gdb.base/dump.exp: Pass difference of pointer types instead
13550 of integer types as offset to restore in intarr3.srec case.
13551
13552 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13553
13554 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13555
13556 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13557
13558 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13559
13560 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13561
13562 New test for two watchpoints, with disabling of
13563 the first inserted.
13564 * testsuite/gdb.base/watchpoints.c: New file.
13565 * testsuite/gdb.base/watchpoints.exp: New file.
13566
13567 2009-09-25 Tom Tromey <tromey@redhat.com>
13568
13569 * gdb.base/charset.exp: Test utf-16 strings with Python.
13570
13571 2009-09-25 Tom Tromey <tromey@redhat.com>
13572
13573 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13574 UCS-4.
13575 * gdb.base/charset.c (utf_32_string): Rename.
13576 (init_utf32): Rename.
13577 (main): Update.
13578
13579 2009-09-22 Tom Tromey <tromey@redhat.com>
13580
13581 * gdb.python/py-function.exp: Add regression tests.
13582
13583 2009-09-21 Keith Seitz <keiths@redhat.com>
13584
13585 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13586 with invalid operator.
13587
13588 2009-09-21 Keith Seitz <keiths@redhat.com>
13589
13590 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13591 and destructor using typedef name of class.
13592 * gdb.cp/classes.cc (class Base1): Add a destructor.
13593 (base1): New typedef.
13594 (use_methods): Instanitate an object of type base1.
13595 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13596 (do_tests): Call test_template_typedef.
13597 * gdb.cp/templates.cc (Baz::~Baz): New method.
13598 (intBazOne): New typedef.
13599 (main): Instantiate intBazOne.
13600
13601 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13602
13603 PR python/10633
13604
13605 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13606 Function.
13607 (run_lang_tests): Add print elements test.
13608
13609 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13610
13611 * gdb.python/py-value.exp (test_subscript_regression): New
13612 function. Test for invalid subscripts.
13613 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13614 (ptr_ref): New function.
13615
13616 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13617
13618 * gdb.base/default.exp: Fix "show convenience".
13619
13620 2009-09-15 Tom Tromey <tromey@redhat.com>
13621
13622 * lib/mi-support.exp (mi_create_varobj): Update.
13623 (mi_create_floating_varobj): Likewise.
13624 (mi_create_dynamic_varobj): New proc.
13625 (mi_varobj_update): Update.
13626 (mi_varobj_update_with_type_change): Likewise.
13627 (mi_varobj_update_kv_helper): New proc.
13628 (mi_varobj_update_dynamic_helper): Rewrite.
13629 (mi_varobj_update_dynamic): New proc.
13630 (mi_list_varobj_children): Update.
13631 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13632 * gdb.python/python-prettyprint.py (pp_outer): New class.
13633 (pp_nullstr): Likewise.
13634 (lookup_function): Register new printers.
13635 * gdb.python/python-prettyprint.c (struct substruct): New type.
13636 (struct outerstruct): Likewise.
13637 (substruct_test): New function.
13638 (struct nullstr): New type.
13639 (string_1, string_2): New globals.
13640 (main): Add new tests.
13641 * gdb.python/python-mi.exp: Added regression tests.
13642 * gdb.mi/mi2-var-display.exp: Update.
13643 * gdb.mi/mi2-var-cmd.exp: Update.
13644 * gdb.mi/mi2-var-child.exp: Update.
13645 * gdb.mi/mi2-var-block.exp: Update.
13646 * gdb.mi/mi-var-invalidate.exp: Update.
13647 * gdb.mi/mi-var-display.exp: Update.
13648 * gdb.mi/mi-var-cmd.exp: Update.
13649 * gdb.mi/mi-var-child.exp: Update.
13650 * gdb.mi/mi-var-block.exp: Update.
13651 * gdb.mi/mi-break.exp: Update.
13652 * gdb.mi/gdb701.exp: Update.
13653
13654 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13655
13656 * Makefile.in: Inclusion of catch-syscall object.
13657 * gdb.base/catch-syscall.c: New file.
13658 * gdb.base/catch-syscall.exp: New file.
13659
13660 2009-09-12 Michael Snyder <msnyder@vmware.com>
13661
13662 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13663 that can support reverse debuggnig.
13664
13665 2009-09-11 Tom Tromey <tromey@redhat.com>
13666
13667 * gdb.dwarf2/valop.S: New file.
13668 * gdb.dwarf2/valop.exp: New file.
13669
13670 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13671
13672 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13673
13674 2009-09-10 Doug Evans <dje@google.com>
13675
13676 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13677 Add $gdb_prompt to second breakpoint regexp.
13678
13679 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13680
13681 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13682 names, add missing ones.
13683 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13684 * gdb.python/py-frame.c: Rename from python-frame.c.
13685 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13686 testfile name.
13687 * gdb.python/py-function.exp: Rename from python-function.exp.
13688 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13689 testfile name.
13690 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13691 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13692 Adjust testfile name.
13693 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13694 * gdb.python/py-template.cc: Rename from python-template.cc.
13695 * gdb.python/py-template.exp: Rename from python-template.exp.
13696 Adjust testfile name.
13697 * gdb.python/py-value.c: Rename from python-value.c.
13698 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13699 testfile name.
13700
13701 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13702
13703 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13704 $bpt2address.
13705 (Second breakpoint address is valid on ia64)
13706 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13707
13708 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13709
13710 * gdb.base/ending-run.exp: Restrict regular expression matching
13711 line number to require closing brace following.
13712
13713 2009-09-03 Doug Evans <dje@google.com>
13714
13715 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13716
13717 2009-09-02 Tom Tromey <tromey@redhat.com>
13718
13719 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13720
13721 2009-09-02 Tom Tromey <tromey@redhat.com>
13722
13723 * gdb.dwarf2/callframecfa.exp: New file.
13724 * gdb.dwarf2/callframecfa.S: New file.
13725
13726 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13727
13728 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13729 gdb.base/solib-overlap-main.c: New.
13730
13731 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13732
13733 PR gdb/10565
13734
13735 * gdb.base/bitfields.c (struct container, container): New.
13736 (main): Initialize it and call break5.
13737 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13738
13739 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13740
13741 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13742 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13743
13744 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13745
13746 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13747
13748 2009-08-26 Michael Snyder <msnyder@vmware.com>
13749
13750 * gdb.base/i386-reverse.c: New file.
13751 * gdb.base/i386-reverse.exp: New file.
13752 * gdb.base/Makefile.in: Add new files to be removed.
13753
13754 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13755
13756 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13757 environment-pwd for remote host.
13758 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13759
13760 2009-08-24 Keith Seitz <keiths@redhat.com>
13761
13762 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13763 Add two new C++ completer tests which limit the output to a
13764 given class.
13765
13766 2009-08-24 Michael Snyder <msnyder@vmware.com>
13767
13768 * gdb.base/del.exp: Fix typo in comment.
13769 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13770
13771 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13772
13773 * configure: Regenerate.
13774 * gdb.hp/configure: Likewise.
13775 * gdb.hp/gdb.aCC/configure: Likewise.
13776 * gdb.hp/gdb.base-hp/configure: Likewise.
13777 * gdb.hp/gdb.compat/configure: Likewise.
13778 * gdb.hp/gdb.defects/configure: Likewise.
13779 * gdb.hp/gdb.objdbg/configure: Likewise.
13780 * gdb.stabs/configure: Likewise.
13781
13782 2009-08-19 Doug Evans <dje@google.com>
13783
13784 * gdb.base/gdbvars.c: New file.
13785 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13786
13787 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13788
13789 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13790 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13791
13792 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13793
13794 * gdb.base/default.exp: Adjust "set language test": it's now an
13795 enum command. Larger help string moved to "help set language".
13796 * gdb.base/help.exp: Adjust "help set language" expected output,
13797 now lists all known languages.
13798
13799 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13800
13801 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13802 all frame arguments.
13803 * gdb.arch/altivec-regs.exp: Likewise.
13804
13805 2009-08-07 Tom Tromey <tromey@redhat.com>
13806
13807 * gdb.base/setshow.exp: Add tests for changes to set language, set
13808 check range, and set check type.
13809
13810 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13811
13812 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13813 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13814 Call it.
13815
13816 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13817
13818 * configure.ac: Run gdb.cell tests when appropriate.
13819 * configure: Regenerate.
13820 * lib/cell.exp: New file.
13821 * gdb.cell: New directory.
13822 * gdb.cell/configure.ac: New file.
13823 * gdb.cell/configure: New file.
13824 * gdb.cell/Makefile.in: New file.
13825 * gdb.cell/arch.exp: New file.
13826 * gdb.cell/break.c: New file.
13827 * gdb.cell/break.exp: New file.
13828 * gdb.cell/break-spu.c: New file.
13829 * gdb.cell/bt.c: New file.
13830 * gdb.cell/bt2-spu.c: New file.
13831 * gdb.cell/bt-spu.c: New file.
13832 * gdb.cell/bt.exp: New file.
13833 * gdb.cell/coremaker.c: New file.
13834 * gdb.cell/coremaker-spu.c: New file.
13835 * gdb.cell/core.exp: New file.
13836 * gdb.cell/gcore.exp: New file.
13837 * gdb.cell/data.c: New file.
13838 * gdb.cell/data.exp: New file.
13839 * gdb.cell/data-spu.c: New file.
13840 * gdb.cell/ea-cache.exp: New file.
13841 * gdb.cell/ea-cache.c: New file.
13842 * gdb.cell/ea-cache-spu.c: New file.
13843 * gdb.cell/ea-standalone.c: New file.
13844 * gdb.cell/ea-standalone.exp: New file.
13845 * gdb.cell/ea-test.c: New file.
13846 * gdb.cell/ea-test.exp: New file.
13847 * gdb.cell/f-regs.exp: New file.
13848 * gdb.cell/mem-access.c: New file.
13849 * gdb.cell/mem-access.exp: New file.
13850 * gdb.cell/mem-access-spu.c: New file.
13851 * gdb.cell/ptype.exp: New file.
13852 * gdb.cell/registers.exp: New file.
13853 * gdb.cell/size.c: New file.
13854 * gdb.cell/sizeof.exp: New file.
13855 * gdb.cell/size-spu.c: New file.
13856 * gdb.cell/solib.exp: New file.
13857 * gdb.cell/solib-symbol.exp: New file.
13858
13859 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13860
13861 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13862
13863 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13864
13865 * gdb.base/float.exp: Handle VFP registers.
13866
13867 2009-07-14 Michael Snyder <msnyder@vmware.com>
13868
13869 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13870 to bring gdb to the beginning of the calling line.
13871
13872 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13873 confusing the i386 epilogue unwinder.
13874
13875 2009-07-14 Stan Shebs <stan@codesourcery.com>
13876
13877 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13878
13879 2009-07-14 Michael Snyder <msnyder@vmware.com>
13880
13881 * gdb.reverse/step-reverse.exp (stepi into function call):
13882 Call instruction may not be first instruction in the line.
13883 (reverse stepi from a function call): Used wrong line number.
13884
13885 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13886
13887 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13888
13889 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13890
13891 Fix gdb.base/macscp.exp when using custom inputrc.
13892 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13893 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13894 env(TERM) set.
13895 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13896 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13897
13898 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13899
13900 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13901 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13902 Change the compilation target to match the testcase name.
13903 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13904 testcase name.
13905 * a2-run.exp: Use for setup prepare_for_testing. Change the
13906 compilation target to match the testcase name.
13907 * gdb.base/commands.exp: Likewise.
13908 * gdb.base/finish.exp: Likewise.
13909 * gdb.base/float.exp: Likewise.
13910 * gdb.base/info-target.exp: Likewise.
13911 * gdb.base/relational.exp: Likewise.
13912 * gdb.base/term.exp: Likewise.
13913 * gdb.base/until.exp: Likewise.
13914 * gdb.base/volatile.exp: Likewise.
13915 * gdb.base/whatis-exp.exp: Likewise.
13916
13917 2009-07-11 Hui Zhu <teawater@gmail.com>
13918
13919 * gdb.base/help.exp (disassemble): Update expected help text.
13920
13921 2009-07-09 Tom Tromey <tromey@redhat.com>
13922
13923 * lib/gdb.exp: Handle TRANSCRIPT.
13924 (remote_spawn, remote_close, send_gdb): New procs.
13925
13926 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13927
13928 * gdb.python/python-prettyprint.c: Add counted null string
13929 structure.
13930 * gdb.python/python-prettyprint.exp: Print null string. Test for
13931 embedded nulls.
13932 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13933 * gdb.python/python-value.exp (test_value_in_inferior): Add
13934 variable length string fetch tests.
13935 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13936
13937 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13938
13939 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13940
13941 2009-07-07 Tom Tromey <tromey@redhat.com>
13942
13943 * gdb.base/call-rt-st.exp: Update for change to escape output.
13944 * gdb.base/callfuncs.exp: Likewise.
13945 * gdb.base/charset.exp: Likewise.
13946 * gdb.base/constvars.exp: Likewise.
13947 * gdb.base/long_long.exp: Likewise.
13948 * gdb.base/pointers.exp: Likewise.
13949 * gdb.base/printcmds.exp: Likewise.
13950 * gdb.base/setvar.exp: Likewise.
13951 * gdb.base/store.exp: Likewise.
13952 * gdb.cp/ref-types.exp: Likewise.
13953 * gdb.mi/mi-var-child.exp: Likewise.
13954 * gdb.mi/mi-var-display.exp: Likewise.
13955 * gdb.mi/mi2-var-display.exp: Likewise.
13956 * gdb.base/charset.exp: Test octal escape sequence length.
13957 Update for change to escape output.
13958
13959 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13960
13961 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13962
13963 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13964
13965 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13966
13967 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13968
13969 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13970 gdbserver increasing $portnum if "Can't bind address" has been seen.
13971
13972 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13973
13974 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13975 mingw32ce.
13976
13977 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13978
13979 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13980 VFP format.
13981
13982 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13983
13984 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13985 linux. Adjust to use "inferior", "info inferiors", "detach
13986 inferior" and "kill inferior" instead of "restart", "info fork",
13987 "detach fork" and "delete fork".
13988 * gdb.base/ending-run.exp: Spell out "info".
13989 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13990 the "kill" command.
13991
13992 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13993
13994 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13995 change to prefix TLS offset in hex with 0x.
13996
13997 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13998
13999 * gdb.base/default.exp: Update test case for "x" changes.
14000
14001 2009-07-01 Tristan Gingold <gingold@adacore.com>
14002
14003 * gdb.base/bigcore.exp: Make darwin untested.
14004
14005 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14006
14007 * gdb.base/completion.exp (directory completion): Create the directory.
14008 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14009 escapeuniquesub.
14010 (directory completion 2): Expect now ${escapeuniquesub}.
14011 (Glob remaining of directory test): Remove one excessive newline.
14012 Expect the real output.
14013
14014 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14015
14016 Fix `make check//%' target after `make check' has been ran.
14017 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14018 a mkdir call.
14019 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14020 (%/.dir): Remove.
14021
14022 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14023
14024 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14025 the expected result record.
14026
14027 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14028
14029 Remove racy FAILs relying just on the timeouts.
14030 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14031 (annotation_level 2): Remove racy FAILs.
14032
14033 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14034
14035 gdb/10275
14036 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14037
14038 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14039
14040 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14041
14042 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14043
14044 * gdb.mi/mi-stack.exp: Testing symbolic options
14045 to -stack-list-locals and -stack-list-arguments.
14046
14047 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14048
14049 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14050
14051 2009-06-29 Tom Tromey <tromey@redhat.com>
14052
14053 * dg-extract-results.sh: New file.
14054 * Makefile.in (FORCE_PARALLEL): New variable.
14055 (CHECK_TARGET): New conditional variable.
14056 (check): Use CHECK_TARGET.
14057 (DO_RUNTEST): New variable.
14058 (check-single): New target.
14059 (TEST_DIRS): New variable.
14060 (TEST_TARGETS): Likewise.
14061 (check-parallel): New target.
14062 (check-gdb.%): New pattern.
14063 (BASE1_FILES): New variable.
14064 (BASE2_FILES): Likewise.
14065 (check-gdb.base%): New pattern.
14066 (%/.dir): New pattern.
14067 * configure: Rebuild.
14068 * aclocal.m4 (AM_CONDITIONAL): New defun.
14069 * configure.ac: Check whether user is using GNU make.
14070 (GMAKE): New conditional.
14071
14072 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14073
14074 * gdb.cp/namespace-nested-import.cc: New test.
14075 * gdb.cp/namespace-nested-import.exp: New test.
14076
14077 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14078
14079 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14080 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14081 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14082 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14083 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14084 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14085 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14086 gdb.opt/inline-markers.c: New files.
14087 * lib/gdb.exp (skip_inline_frame_tests): New function.
14088 (skip_inline_var_tests): New function.
14089
14090 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14091
14092 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14093 backtrace.
14094
14095 2009-06-27 Michael Snyder <msnyder@vmware.com>
14096
14097 * gdb.reverse: New directory.
14098 * gdb.reverse/break-reverse.c: New test.
14099 * gdb.reverse/break-reverse.exp: New test.
14100 * gdb.reverse/consecutive-reverse.c: New test.
14101 * gdb.reverse/consecutive-reverse.exp: New test.
14102 * gdb.reverse/finish-reverse.c: New test.
14103 * gdb.reverse/finish-reverse.exp: New test.
14104 * gdb.reverse/machinestate.c: New test.
14105 * gdb.reverse/ms1.c: New test.
14106 * gdb.reverse/machinestate.exp: New test.
14107 * gdb.reverse/Makefile.in: New file.
14108 * gdb.reverse/shr2.c: New test.
14109 * gdb.reverse/solib-reverse.c: New test.
14110 * gdb.reverse/solib-reverse.exp: New test.
14111 * gdb.reverse/step-reverse.c: New test.
14112 * gdb.reverse/step-reverse.exp: New test.
14113 * gdb.reverse/until-reverse.c: New test.
14114 * gdb.reverse/ur1.c: New test.
14115 * gdb.reverse/until-reverse.exp: New test.
14116 * gdb.reverse/watch-reverse.c: New test.
14117 * gdb.reverse/watch-reverse.exp: New test.
14118 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14119 * configure: Regenerate.
14120
14121 2009-06-26 Doug Evans <dje@google.com>
14122
14123 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14124
14125 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14126
14127 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14128 windows problem for 'file delete $binfile'.
14129
14130 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14131
14132 * gdb.cp/namespace-using.exp: New test.
14133 * gdb.cp/namespace-using.cc: New test.
14134
14135 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14136
14137 * gdb.ada/variant_record_packed_array: New testcase.
14138
14139 2009-06-23 Tom Tromey <tromey@redhat.com>
14140
14141 * gdb.base/charset.exp (test_combination): Regression test.
14142 * gdb.base/charset.c (my_wchar_t): New typedef.
14143 (myvar): New global.
14144 (main): Set myvar.
14145
14146 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14147
14148 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14149 target.
14150
14151 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14152
14153 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14154
14155 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14156
14157 * gdb.mi/gdb680.exp: Update test for error message.
14158
14159 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14160
14161 * gdb.base/annota1.exp: Allow multiple occurrences of the
14162 frames-invalid annotation.
14163 * gdb.cp/annota2.exp: Likewise.
14164
14165 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14166
14167 * gdb.cp/gdb2495.cc: New file.
14168 * gdb.cp/gdb2495.exp: New file.
14169
14170 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14171
14172 Report error on GDB crash during runto.
14173 * lib/gdb.exp (runto <eof>): New.
14174
14175 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14176
14177 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14178 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14179 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14180 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14181 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14182 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14183 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14184 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14185 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14186 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14187 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14188 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14189 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14190 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14191 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14192 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14193 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14194 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14195 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14196 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14197 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14198 gdb.trace/passcount.exp, gdb.trace/report.exp,
14199 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14200 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14201 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14202 executable.
14203
14204 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14205
14206 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14207 defined before referencing it.
14208
14209 2009-06-03 Doug Evans <dje@google.com>
14210
14211 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14212 * gdb.arch/i386-see.c: Ditto.
14213
14214 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14215
14216 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14217 (check_macro): Return 1 if undefined.
14218 If first test fails, check if macro debug information is available,
14219 and report unsupported test if no macro information is found.
14220
14221 2009-05-29 Doug Evans <dje@google.com>
14222
14223 * gdb.threads/hand-call-in-threads.exp: New.
14224 * gdb.threads/hand-call-in-threads.c: New.
14225
14226 2009-05-29 Michael Snyder <msnyder@vmware.com>
14227
14228 * gdb.base/break-always.exp: Change "1" to "on".
14229 Add confirmation check.
14230
14231 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14232
14233 * gdb.threads/threxit-hop-specific.c: New.
14234 * gdb.threads/threxit-hop-specific.exp: New.
14235 * gdb.threads/thread-execl.c: New.
14236 * gdb.threads/thread-execl.exp: New.
14237
14238 2009-05-27 Tom Tromey <tromey@redhat.com>
14239 Thiago Jung Bauermann <bauerman@br.ibm.com>
14240
14241 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14242 (mi_child_regexp): Likewise.
14243 (mi_list_varobj_children_range): Likewise.
14244 (mi_get_features): Likewise.
14245 (mi_list_varobj_children): Rewrite.
14246 * gdb.python/python-mi.exp: New file.
14247
14248 2009-05-27 Tom Tromey <tromey@redhat.com>
14249 Thiago Jung Bauermann <bauerman@br.ibm.com>
14250 Phil Muldoon <pmuldoon@redhat.com>
14251 Paul Pluzhnikov <ppluzhnikov@google.com>
14252
14253 * gdb.python/python-prettyprint.exp: New file.
14254 * gdb.python/python-prettyprint.c: New file.
14255 * gdb.python/python-prettyprint.py: New file.
14256 * gdb.base/display.exp: print/r is now valid.
14257
14258 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14259 Tom Tromey <tromey@redhat.com>
14260 Pedro Alves <pedro@codesourcery.com>
14261 Paul Pluzhnikov <ppluzhnikov@google.com>
14262
14263 * gdb.python/python-template.exp: New file.
14264 * gdb.python/python-template.cc: New file.
14265 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14266 tests.
14267 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14268 Call it.
14269 (test_value_after_death): New proc.
14270 * gdb.python/python-value.c (PTR): New typedef.
14271 (main): New variable 'x'.
14272
14273 2009-05-27 Tom Tromey <tromey@redhat.com>
14274
14275 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14276 tests.
14277 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14278 Call it.
14279
14280 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14281
14282 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14283
14284 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14285
14286 * gdb.threads/fork-thread-pending.c: New.
14287 * gdb.threads/fork-thread-pending.exp: New.
14288
14289 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14290
14291 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14292 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14293
14294 2009-05-18 Jon Beniston <jon@beniston.com>
14295
14296 * gdb.asm/asm-source.exp: Add lm32 target.
14297
14298 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14299
14300 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14301 `gdb_get_line_number'. Call `callee' in both parent and child.
14302 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14303 `gdb_get_line_number' instead of hardcoding line numbers.
14304 (catch_fork_unpatch_child): New procedure to test detaching
14305 breakpoints from child fork.
14306 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14307 hardcoding line numbers.
14308 (do_fork_tests): Run `catch_fork_unpatch_child'.
14309
14310 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14311
14312 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14313 of structure type enters or leaves the scope, it
14314 is reported by -var-update.
14315
14316 2009-05-11 Doug Evans <dje@sebabeach.org>
14317
14318 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14319 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14320 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14321
14322 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14323
14324 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14325
14326 2009-04-30 Doug Evans <dje@google.com>
14327
14328 * gdb.threads/watchthreads2.exp: New testcase.
14329 * gdb.threads/watchthreads2.c: New testcase.
14330
14331 2009-04-29 Doug Evans <dje@google.com>
14332
14333 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14334 * gdb.cp/mb-ctor.cc: Ditto.
14335 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14336 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14337 * gdb.cp/mb-inline1.cc: Call it.
14338 * gdb.cp/mb-inline2.cc: Ditto.
14339 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14340 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14341
14342 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14343
14344 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14345 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14346 Replace all uses of `decimal' by `nonzero'.
14347 (info macro FROM_COMMANDLINE): New test.
14348
14349 2009-04-27 Tom Tromey <tromey@redhat.com>
14350
14351 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14352
14353 2009-04-27 Doug Evans <dje@google.com>
14354
14355 * gdb.threads/watchthreads.c (main): Initialize args before starting
14356 the threads. Plus formatting cleanup.
14357 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14358 biased scheduling of one thread.
14359
14360 2009-04-27 Jerome Guitton <guitton@adacore.com>
14361
14362 * gdb.cp/templates.cc (GetMax): New template.
14363 (main): Declare two instances of GetMax.
14364 * gdb.cp/templates.exp: Add new test.
14365
14366 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14367
14368 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14369
14370 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14371
14372 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14373
14374 2009-04-15 Tom Tromey <tromey@redhat.com>
14375
14376 * gdb.base/charset.exp: Add regression test.
14377
14378 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14379
14380 * gdb.base/exe-lock.exp: New testcase.
14381
14382 2009-04-13 Tom Tromey <tromey@redhat.com>
14383
14384 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14385 operator on Frame.
14386
14387 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14388
14389 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14390 * gdb.server/ext-attach.exp: Likewise.
14391
14392 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14393
14394 Eliminate some sleep usage.
14395
14396 * gdb.mi/basics.c (do_nothing): New.
14397 (main): Use do_nothing instead of printf, so that
14398 not to introduce race condition between output of
14399 inferiour and output of gdb. Do not use sleep as it
14400 is not generally available on embedded targets.
14401
14402 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14403
14404 * gdb.server/ext-attach.exp: Expect an optional process id after
14405 "Detached from remote process".
14406
14407 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14408
14409 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14410 gdb.dwarf2/dw2-unresolved.exp: New.
14411
14412 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14413
14414 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14415 mi_run_to_main.
14416
14417 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14418
14419 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14420 mi_run_to_main. Skip thread exit test on remote targets.
14421 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14422 mi_run_to_main.
14423 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14424 mi_run_to_main.
14425 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14426 when expecting ^connected. Detect when the target doesn't support
14427 non-stop mode.
14428 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14429 supported. Return -1 on error, 0 on success.
14430 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14431 (mi_runto): Return mi_runto_helper's result explicitly.
14432
14433 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14434
14435 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14436
14437 2009-04-01 Tom Tromey <tromey@redhat.com>
14438
14439 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14440 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14441 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14442 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14443
14444 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14445 Jan Kratochvil <jan.kratochvil@redhat.com>
14446
14447 PR gdb/931
14448 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14449 output.
14450 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14451 for gdb/931.
14452 * dw2-strp.S (DW_AT_language): Change to C++.
14453 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14454
14455 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14456
14457 * gdb.ada/tasks: New testcase.
14458
14459 2009-03-30 Stan Shebs <stan@codesourcery.com>
14460
14461 * gdb.trace/actions.exp: Update to match new info trace format.
14462 * gdb.trace/deltrace.exp: Ditto.
14463 * gdb.trace/infotrace.exp: Ditto.
14464 * gdb.trace/passcount.exp: Ditto.
14465 * gdb.trace/save-trace.exp: Ditto.
14466 * gdb.trace/while-stepping.exp: Ditto.
14467 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14468
14469 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14470
14471 * gdb.python/python-frame.c: New file.
14472 * gdb.python/python-frame.exp: New file.
14473
14474 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14475
14476 * gdb.python/python-value.exp: Add tests for the address
14477 attribute.
14478
14479 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14480
14481 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14482
14483 2009-03-26 Doug Evans <dje@google.com>
14484
14485 * gdb.mi/mi-nonstop-exit.exp: New file.
14486 * gdb.mi/non-stop-exit.c: New file.
14487
14488 2009-03-26 Tom Tromey <tromey@redhat.com>
14489
14490 Update for change to prologue skipping:
14491 * gdb.mi/mi2-simplerun.exp: Update.
14492 * gdb.mi/mi2-break.exp: Update.
14493 * gdb.mi/mi-simplerun.exp: Update.
14494 * gdb.mi/mi-break.exp: Update.
14495 * gdb.base/ending-run.exp: Update.
14496
14497 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14498
14499 * gdb.python/python-value.exp (test_value_in_inferior): Test
14500 gdb.Value.is_optimized_out attribute.
14501
14502 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14503
14504 * gdb.dwarf2/dw2-noloc-main.c: New file.
14505 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14506 (.text): Remove.
14507 (.data): New.
14508 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14509 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14510 (DW_TAG_subprogram func_cu1, noloc): Remove.
14511 (main): New.
14512 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14513 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14514 (file_symbols): New procedure.
14515
14516 2009-03-25 Tom Tromey <tromey@redhat.com>
14517
14518 * gdb.base/charset.exp (valid_target_charset): New proc.
14519 Use it to skip tests on invalid charsets.
14520
14521 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14522
14523 * gdb.base/completion.exp: Add a test for directory completion.
14524
14525 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14526
14527 Fix a racy FAIL.
14528 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14529 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14530
14531 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14532
14533 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14534 * gdb.python/python-function.exp: Add test for function returning
14535 a GDB value.
14536
14537 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14538
14539 * gdb.python/python-function.exp: New file.
14540
14541 2009-03-20 Tom Tromey <tromey@redhat.com>
14542
14543 * gdb.base/store.exp: Update for change to escape output.
14544 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14545 to escape output.
14546 * gdb.base/pointers.exp: Update for change to escape output.
14547 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14548 to escape output.
14549 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14550 escape output.
14551 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14552 to escape output.
14553 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14554 escape output.
14555 * gdb.base/setvar.exp: Update for change to escape output.
14556 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14557 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14558 to escape output.
14559 (test_print_string_constants): Likewise.
14560 * gdb.base/charset.exp (valid_host_charset): Check size of
14561 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14562 cases. Handle "auto"-related output.
14563 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14564 (uvar, Uvar): New globals.
14565
14566 2009-03-19 Jerome Guitton <guitton@adacore.com>
14567
14568 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14569 deltas.
14570 * gdb.ada/fixed_points.exp: Ditto.
14571
14572 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14573
14574 * return-nodebug.c: Don't include stdio.h.
14575 (init): Delete.
14576 (func): Delete definition and provide extern declaration.
14577 (t): New.
14578 (main): Don't call printf. Call func and store its result in t.
14579 * return-nodebug1.c: New.
14580 * return-nodebug.exp: Don't expect stdio output. Instead, print
14581 the global variable t. Drop printf formatters and cast types from
14582 foreach loop. Don't use prepare_for_testing. Compile
14583 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14584 define FORMAT or CAST.
14585
14586 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14587
14588 * gdb.base/solib-display.exp: Disable test for remote targers.
14589
14590 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14591
14592 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14593
14594 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14595
14596 Fix a racy FAIL.
14597 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14598 code from `follow parent, print pids'.
14599 (`follow child, print pids', `follow parent, print pids'): Call it.
14600 Replace `gdb_test "break..."' by gdb_breakpoint.
14601
14602 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14603
14604 * gdb.mi/mi-cli.exp: Adjust for output difference in
14605 sync and async modes.
14606
14607 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14608
14609 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14610 that was checked in by mistake. Remove loading of ada.exp, since
14611 this is not necessary in this case.
14612
14613 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14614
14615 * gdb.ada/ptype_arith_binop.exp: New testcase.
14616
14617 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14618
14619 * gdb.ada/mod_from_name: New testcase.
14620
14621 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14622
14623 * gdb.ada/tick_last_segv: New testcase.
14624
14625 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14626
14627 * gdb.mi/mi-cli.exp: Remove debug print.
14628
14629 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14630
14631 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14632 include the token in ^running and frame info in *stopped.
14633
14634 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14635
14636 * solib-display.exp: New file.
14637 * solib-display-main.c: New file.
14638 * solib-display-lib.c: New file.
14639
14640 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14641
14642 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14643
14644 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14645
14646 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14647 (list_and_check_macro): Use more specific test name.
14648 (next to definition): Make the test names unique.
14649
14650 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14651
14652 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14653
14654 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14655
14656 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14657 notifications.
14658 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14659 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14660 * lib/mi-support.exp (library_loaded_re): New.
14661 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14662
14663 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14664
14665 * gdb.gdb/observer.exp: Use test_notification observer, not
14666 normal_stop, everywhere.
14667 (test_normal_stop_notifications): Rename to...
14668 (test_notifications): ...this.
14669 (test_observer_normal_stop): Rename to...
14670 (test_observer): ...this.
14671
14672 2009-02-16 Doug Evans <dje@google.com>
14673
14674 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14675 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14676 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14677 (test_prefixed_syscall,test_int3): New tests.
14678 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14679 (test_prefixed_syscall,test_int3): New tests.
14680
14681 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14682
14683 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14684 (mi_expect_interrupt): Likewise.
14685 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14686 response.
14687
14688 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14689
14690 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14691 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14692 Replace calls to get_valueofx by get_hexadecimal_valueof.
14693
14694 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14695
14696 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14697 (get_integer_valueof): New procedure.
14698 (get_sizeof): Use new get_integer_value_of.
14699 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14700 by get_integer_valueof.
14701
14702 2009-02-13 Tom Tromey <tromey@redhat.com>
14703
14704 * gdb.base/remote.exp (get_sizeof): Remove.
14705 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14706 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14707 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14708 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14709 (get_sizeof): Likewise.
14710
14711 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14712
14713 PR fortran/9806
14714 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14715
14716 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14717
14718 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14719
14720 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14721
14722 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14723
14724 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14725
14726 * gdb.python/python-cmd.exp: New file.
14727
14728 2009-02-06 Tristan Gingold <gingold@adacore.com>
14729
14730 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14731
14732 2009-02-05 Tristan Gingold <gingold@adacore.com>
14733
14734 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14735 pointer is dereferenced and use this signal name in regexp.
14736 * gdb.base/signull.exp: Ditto.
14737 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14738 * gdb.base/signull.c (main): Ditto.
14739
14740 2009-02-04 Tom Tromey <tromey@redhat.com>
14741 Thiago Jung Bauermann <bauerman@br.ibm.com>
14742
14743 * gdb.python/python-value.exp: Use `gdb.history' instead of
14744 `gdb.value_from_history'.
14745 (test_value_numeric_ops): Add test for conversion of enum constant.
14746 * gdb.python/python-value.c (enum e): New type.
14747 (evalue): New global.
14748 (main): Use argv.
14749
14750 2009-02-04 Jerome Guitton <guitton@adacore.com>
14751
14752 * gdb.ada/uninitialized_vars: New test program.
14753 * gdb.ada/uninitialized_vars.exp: New testcase.
14754
14755 2009-02-02 Tom Tromey <tromey@redhat.com>
14756
14757 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14758 * gdb.cp/pr2489.cc: Rename...
14759 * gdb.cp/pr9594.cc: ... to this.
14760
14761 2009-02-02 Tom Tromey <tromey@redhat.com>
14762
14763 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14764 * gdb.cp/pr2489.cc: New file.
14765 * gdb.cp/cpcompletion.exp: New file.
14766
14767 2009-02-02 Tom Tromey <tromey@redhat.com>
14768
14769 PR exp/9059:
14770 * gdb.cp/call-c.exp: Add regression test.
14771 * gdb.cp/call-c.cc (FooHandle): New typedef.
14772 (main): New variable 'handle'.
14773
14774 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14775
14776 * lib/mi-support.exp (et_mi_thread_list)
14777 (check_mi_and_console_threads): Adjust for current thread in
14778 -thread-list-ids output.
14779
14780 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14781
14782 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14783 Call it.
14784
14785 2009-01-28 Doug Evans <dje@google.com>
14786
14787 * gdb.arch/amd64-disp-step.S: New file.
14788 * gdb.arch/amd64-disp-step.exp: New file.
14789 * gdb.arch/i386-disp-step.S: New file.
14790 * gdb.arch/i386-disp-step.exp: New file.
14791
14792 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14793
14794 * gdb.base/find.exp: Set newline variable
14795 using quotes instead of braces to fix cygwin failures.
14796
14797 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14798
14799 * gdb.base/radix.exp: Add tests to ensure that that set
14800 input-radix 0 and set output-radix 0 are really rejected.
14801
14802 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14803
14804 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14805 copyright years.
14806
14807 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14808
14809 PR gdb/9664:
14810 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14811
14812 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14813
14814 PR c++/9631:
14815 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14816
14817 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14818
14819 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14820 binfile definition to fix Windows OS failure.
14821
14822 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14823
14824 PR gdb/9346
14825 * gdb.base/interrupt.c (sigint_handler): New.
14826 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14827 on error.
14828 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14829 Test "signal SIGINT".
14830
14831 2009-01-19 Doug Evans <dje@google.com>
14832
14833 * gdb.base/break.exp: Update expected gdb output.
14834 * gdb.base/sepdebug.exp: Ditto.
14835 * gdb.mi/mi-syn-frame.exp: Ditto.
14836 * gdb.mi/mi2-syn-frame.exp: Ditto.
14837 * gdb.base/call-signal-resume.exp: New file.
14838 * gdb.base/call-signals.c: New file.
14839 * gdb.base/unwindonsignal.exp: New file.
14840 * gdb.base/unwindonsignal.c: New file.
14841 * gdb.threads/interrupted-hand-call.exp: New file.
14842 * gdb.threads/interrupted-hand-call.c: New file.
14843 * gdb.threads/thread-unwindonsignal.exp: New file.
14844
14845 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14846
14847 * gdb.base/define.exp: Test defining and hooking prefix commands.
14848 * gdb.python/python.exp: Update test for "show user" output.
14849
14850 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14851
14852 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14853 now the output exactly, using less wildcards. Expect also the output
14854 of gfortran-4.3. Update for the f-valprint.c modification from
14855 2008-04-22.
14856 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14857 Remove gdb_test test names where matching the command.
14858
14859 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14860
14861 PR breakpoints/9681:
14862 * gdb.base/watchpoint.exp: Add regression test.
14863
14864 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14865
14866 * gdb.threads/attach-into-signal.exp: Don't use
14867 gdb_suppress_entire_file.
14868 * gdb.threads/attach-stopped.exp: Ditto.
14869 * gdb.threads/attachstop-mt.exp: Ditto.
14870
14871 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14872
14873 PR gdb/8812:
14874 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14875
14876 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14877
14878 PR gdb/7536:
14879 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14880 and unsupported output radices are really rejected.
14881
14882 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14883
14884 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14885
14886 2008-12-22 Tom Tromey <tromey@redhat.com>
14887
14888 * gdb.cp/punctuator.exp: New file.
14889
14890 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14891
14892 * gdb.base/completion.exp (Completing non-existing component): New test.
14893
14894 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14895
14896 Fix for PR gdb/8648.
14897 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14898 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14899 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14900 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14901
14902 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14903
14904 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14905
14906 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14907
14908 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14909 compiler actually generate code at the expected line number.
14910
14911 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14912
14913 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14914
14915 2008-12-12 Tom Tromey <tromey@redhat.com>
14916
14917 * gdb.base/commands.exp (redefine_hook_test): New proc.
14918 Call it.
14919
14920 2008-12-11 Tom Tromey <tromey@redhat.com>
14921
14922 * gdb.base/macscp.exp: New regression test.
14923
14924 2008-12-11 Tom Tromey <tromey@redhat.com>
14925
14926 * gdb.base/macscp.exp: Print "address.addr".
14927 * gdb.base/macscp1.c (struct outer): New struct.
14928 (address): New global.
14929
14930 2008-12-09 Tom Tromey <tromey@redhat.com>
14931
14932 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14933 Call it.
14934
14935 2008-12-04 Doug Evans <dje@google.com>
14936
14937 * gdb.server/ext-run.exp: Relax regexp for init program.
14938
14939 2008-12-03 Tristan Gingold <gingold@adacore.com>
14940
14941 * gdb.base/macscp.exp: Generate an object file during compilation
14942 to work around Darwin dsymutil limitations.
14943
14944 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14945
14946 Test resolving external references to TLS variables.
14947 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14948 FILE2_THREAD_LOCAL.
14949 (testfile2, srcfile2): New variables.
14950 * gdb.threads/tls.c (file2_thread_local)
14951 (function_referencing_file2_thread_local): New.
14952 * gdb.threads/tls2.c: New file.
14953
14954 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14955
14956 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14957 rather than integer, as integer might not be big enough when
14958 on 64bit targets.
14959
14960 2008-11-27 Jerome Guitton <guitton@adacore.com>
14961
14962 * gdb.cp/formatted-ref.exp: Add equality test.
14963 * gdb.ada/formatted_ref.exp: Ditto.
14964
14965 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14966
14967 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14968 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14969
14970 2008-11-20 Andreas Schwab <schwab@suse.de>
14971
14972 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14973 matching syscall entry point.
14974 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14975 (tcatch_vfork_then_child_follow): Likewise. Finish through
14976 vfork even if we stopped at the syscall trampoline.
14977
14978 2008-11-20 Doug Evans <dje@google.com>
14979
14980 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14981
14982 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14983
14984 * gdb.arch/ppc-dfp.exp: New file.
14985 * gdb.arch/ppc-dfp.c: New file.
14986
14987 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14988
14989 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14990
14991 2008-11-17 Doug Evans <dje@google.com>
14992
14993 * gdb.mi/mi-syn-frame.exp: Update expected output.
14994 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14995
14996 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14997
14998 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14999 "thread N" results in =thread-selected.
15000 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15001 (mi_send_resuming_command_raw): Be prepared for
15002 =thread-selected.
15003
15004 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15005
15006 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15007 * lib/mi-support.exp: Likewise.
15008
15009 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15010
15011 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15012 commands from the expected output for "help catch".
15013
15014 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15015
15016 * gdb.ada/int_deref.exp: New testcase.
15017
15018 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15019
15020 * gdb.mi/gdb2549.exp: New file.
15021
15022 2008-11-11 Doug Evans <dje@google.com>
15023
15024 * gdb.base/callexit.exp: New file.
15025 * gdb.base/callexit.c: New file.
15026
15027 2008-11-10 Doug Evans <dje@google.com>
15028
15029 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15030 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15031 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15032 (default_gdb_start,default_gdb_exit): Ditto.
15033 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15034 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15035 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15036 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15037 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15038 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15039
15040 2008-11-03 Andreas Schwab <schwab@suse.de>
15041
15042 * gdb.base/hashline2.exp: Fix typo.
15043 * gdb.base/hashline3.exp: Likewise.
15044
15045 2008-10-30 Tom Tromey <tromey@redhat.com>
15046
15047 * gdb.base/pointers.exp: Add test.
15048 * gdb.base/pointers.c (k, S): New typedefs.
15049 (instance): New global.
15050
15051 2008-10-30 Andreas Schwab <schwab@suse.de>
15052
15053 * gdb.base/args.exp: Add tests for newlines.
15054
15055 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15056
15057 gdb.base/foll-exec.exp: Update the expected output of a couple
15058 of "info breakpoints" tests.
15059
15060 2008-10-28 Tom Tromey <tromey@redhat.com>
15061
15062 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15063
15064 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15065
15066 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15067 gdb_start_cmd.
15068 Use runto_main before any test that requires execution.
15069
15070 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15071
15072 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15073 instead of SIGINT.
15074
15075 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15076
15077 * gdb.base/completion.exp: Update expected output following
15078 the addition of the "info tasks" command.
15079
15080 2008-10-22 Tom Tromey <tromey@redhat.com>
15081
15082 * gdb.base/exprs.exp (test_expr): Add test for string
15083 concatenation.
15084
15085 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15086
15087 * configure.ac: Output gdb.python/Makefile.
15088 * configure: Regenerate.
15089 * gdb.python/Makefile.in: New.
15090
15091 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15092
15093 * gdb.base/foll-fork.exp: Adjust the expected output to match
15094 the new description for fork/vfork catchpoints in the "info
15095 breakpoints" output.
15096
15097 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15098
15099 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15100
15101 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15102
15103 * gdb.python/python-value.c: New file.
15104 * gdb.python/python-value.exp: New file.
15105
15106 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15107
15108 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15109
15110 2008-10-15 Denis Pilat <denis.pilat@st.com>
15111
15112 * gdb.cp/mb-ctor.exp: Fix a typo.
15113
15114 2008-10-09 Tom Tromey <tromey@redhat.com>
15115
15116 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15117 'fprintf' and 'stderr'.
15118
15119 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15120
15121 * gdb.ada/ref_tick_size.exp: New testcase.
15122
15123 2008-10-06 Doug Evans <dje@google.com>
15124
15125 * gdb.dwarf2/dw2-cu-size.exp: New file.
15126 * gdb.dwarf2/dw2-cu-size.S: New file.
15127
15128 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15129 .Ltype_int for clarity.
15130
15131 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15132
15133 PR gdb/2384:
15134 * gdb.cp/gdb2384.exp: Extended to test more cases.
15135 * gdb.cp/gdb2384.cc: Likewise.
15136 * gdb.cp/gdb2384-base.h: Likewise.
15137 * gdb.cp/gdb2384-base.cc: Likewise.
15138
15139 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15140
15141 * gdb.base/maint.exp (maint print type): Remove printing
15142 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15143
15144 2008-09-30 Tom Tromey <tromey@redhat.com>
15145
15146 * gdb.base/macscp.exp: Add completion tests.
15147 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15148 (TWENTY_THREE): Likewise.
15149 (FORTY_EIGHT): Likewise.
15150
15151 2008-09-30 Tom Tromey <tromey@redhat.com>
15152
15153 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15154 everywhere.
15155 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15156
15157 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15158
15159 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15160 testcase is derived from. Fix racy dependency on an expected PID
15161 number. No longer support the testcase on Linux kernel 2.4.x.
15162
15163 2008-09-27 Tom Tromey <tromey@redhat.com>
15164
15165 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15166 and varargs.
15167
15168 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15169
15170 * lib/mi-support.exp (mi_expect_interrupt): New.
15171 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15172 from gdb.mi/mi-nonstop.exp.
15173 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15174 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15175 lib/mi-support.exp.
15176 Use mi_check_thread_states throughout. Avoid ".*" and do not
15177 require an anchor after -exec-run.
15178
15179 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15180
15181 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15182 stop is pending. Avoid ".*" when two stops are pending.
15183 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15184 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15185 newlines in fullnames.
15186 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15187 (mi_expect_stop): Update comments. Only anchor in sync mode.
15188 Do not match newlines.
15189 (mi_send_resuming_command_raw): Always return status.
15190 (mi_get_stop_line): Do not match more than one line by accident.
15191 Only anchor in sync mode.
15192 (mi_run_inline_test): If -exec-next fails, give up.
15193
15194 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15195
15196 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15197 on SPU.
15198
15199 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15200
15201 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15202
15203 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15204
15205 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15206 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15207 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15208 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15209 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15210 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15211 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15212 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15213 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15214 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15215 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15216 Include the "= " sequence in the expected output of print tests.
15217
15218 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15219
15220 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15221 description for boolean types.
15222
15223 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15224
15225 * gdb.base/hook-stop-continue.c: New.
15226 * gdb.base/hook-stop-continue.exp: New.
15227
15228 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15229
15230 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15231
15232 2008-09-08 Jerome Guitton <guitton@adacore.com>
15233
15234 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15235 (stack_check_probe_2, stack_check_probe_loop_1)
15236 (stack_check_probe_loop_2): New functions.
15237 (main): Add call to these new functions.
15238 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15239 functions, check that the breakpoint is inserted at the appropriate
15240 location.
15241 (insert_breakpoint): Slightly refine this procedure so that it can
15242 be called several times in the test.
15243
15244 2008-09-08 Jerome Guitton <guitton@adacore.com>
15245
15246 * gdb.base/stack-checking.c: New file.
15247 * gdb.base/stack-checking.exp: New file.
15248
15249 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15250
15251 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15252 * gdb.arch/altivec-regs.exp: Likewise.
15253 * gdb.arch/vsx-regs.exp: Likewise.
15254
15255 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15256
15257 * gdb.arch/ppc-fp.exp: New file.
15258 * gdb.arch/ppc-fp.c: New file.
15259
15260 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15261
15262 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15263 lest gcc-4.3.1 optimizes the whole thing away.
15264
15265 2008-09-04 Michael Snyder <msnyder@vmware.com>
15266
15267 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15268 as "at" (for non-debug functions such as _start).
15269
15270 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15271
15272 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15273 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15274 software watchpoints.
15275 * gdb.base/watch_thread_num.exp: Likewise.
15276
15277 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15278
15279 * gdb.arch/i386-bp_permanent.exp: New test.
15280
15281 2008-08-24 Tom Tromey <tromey@redhat.com>
15282
15283 * gdb.base/maint.exp: Update "maint print type".
15284
15285 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15286
15287 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15288 support. Adjust the order of "*running" notifications.
15289 * gdb.mi/non-stop.c: Don't cast from int to void* and
15290 back.
15291
15292 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15293
15294 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15295 expect to find it in the "info frame" output.
15296
15297 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15298
15299 * gdb.base/interp.exp: Always consume both prompts.
15300
15301 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15302
15303 * gdb.base/pending.exp: Test pending breakpoints without symbols
15304 loaded.
15305
15306 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15307
15308 * lib/mi-support.exp (mi_expect_stop): Produce
15309 more details on failures.
15310 * gdb.mi/mi-nonstop.exp: New.
15311 * gdb.mi/non-stop.c: New.
15312
15313 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15314
15315 * gdb.mi/mi-async.exp: Use 'set target-async'.
15316 * lib/mi-support.exp: Use 'set/show target-async'.
15317
15318 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15319
15320 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15321
15322 2008-08-17 Tom Tromey <tromey@redhat.com>
15323
15324 * gdb.base/help.exp (help catch): Rewrite.
15325
15326 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15327
15328 * gdb.base/define.exp: Test indented command documentation.
15329 * gdb.python/python.exp: Test indented multi-line command.
15330
15331 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15332
15333 * testsuite/gdb.arch/vsx-regs.c: New source file.
15334 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15335 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15336
15337 2008-08-14 Tom Tromey <tromey@redhat.com>
15338
15339 * gdb.base/macscp.exp: Add regression test for "macro define" or
15340 "macro undef" with no arguments.
15341
15342 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15343
15344 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15345
15346 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15347
15348 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15349
15350 2008-08-06 Tom Tromey <tromey@redhat.com>
15351
15352 * gdb.python/python.exp: New file.
15353
15354 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15355
15356 Fix for PR gdb/1543.
15357 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15358 $LOCATION.
15359 (location): New variable.
15360 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15361 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15362 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15363 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15364 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15365 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15366 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15367 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15368 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15369 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15370 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15371 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15372 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15373 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15374 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15375 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15376 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15377 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15378 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15379 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15380 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15381 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15382 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15383 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15384 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15385 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15386 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15387 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15388 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15389 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15390 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15391 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15392 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15393 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15394 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15395 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15396 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15397 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15398 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15399 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15400 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15401 gdb.base/type-opaque.exp, gdb.base/until.exp,
15402 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15403 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15404 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15405 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15406 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15407 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15408 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15409 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15410 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15411 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15412 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15413 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15414 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15415 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15416 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15417 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15418 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15419 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15420 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15421 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15422 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15423 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15424 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15425 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15426 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15427 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15428 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15429 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15430 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15431 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15432 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15433 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15434 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15435 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15436 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15437 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15438 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15439 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15440 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15441 to bug-gdb@prep.ai.mit.edu .
15442
15443 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15444
15445 * lib/mi-support.exp (mi_load_shlibs): New.
15446 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15447
15448 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15449
15450 * lib/mi-support.exp (get_mi_thread_list)
15451 (check_mi_and_console_threads): New, moved from ...
15452 * gdb.mi/mi-pthread.exp: ...here.
15453 * gdb.mi/gdb669.exp (get_mi_thread_list)
15454 (check_mi_and_console_threads): Delete.
15455 * gdb.mi/mi2-pthread.exp: Likewise.
15456
15457 2008-07-28 Tom Tromey <tromey@redhat.com>
15458
15459 * Makefile.in (just-check): Remove. Move body to...
15460 (check): ... here.
15461
15462 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15463
15464 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15465 Add a test for duplicated SIGINTs.
15466
15467 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15468
15469 * gdb.threads/schedlock.exp (get_args): Update to work for any
15470 value of NUM.
15471 (Top level): Report the number of threads that did not resume.
15472
15473 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15474
15475 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15476
15477 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15478
15479 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15480 non-MI prompt.
15481
15482 2008-07-26 Tom Tromey <tromey@redhat.com>
15483
15484 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15485 (function_struct, function_struct_ptr): New globals.
15486 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15487 function pointer in a struct.
15488
15489 2008-07-26 Tom Tromey <tromey@redhat.com>
15490
15491 * gdb.base/macscp.exp: Add test for macro lexing bug.
15492
15493 2008-07-18 Tom Tromey <tromey@redhat.com>
15494
15495 * gdb.base/macscp.exp: Add macro tests.
15496
15497 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15498
15499 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15500
15501 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15502
15503 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15504
15505 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15506
15507 * gdb.cp/class2.exp: fix for failure on spu-elf
15508
15509 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15510
15511 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15512
15513 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15514
15515 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15516
15517 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15518
15519 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15520
15521 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15522
15523 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15524 of regexp to account for changes made to GDB in the printing of
15525 byte vectors.
15526
15527 2008-07-11 Tom Tromey <tromey@redhat.com>
15528
15529 * gdb.base/completion.exp: Add 'help' completion test.
15530
15531 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15532
15533 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15534
15535 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15536
15537 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15538
15539 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15540
15541 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15542
15543 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15544
15545 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15546
15547 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15548
15549 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15550
15551 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15552
15553 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15554 previous commit. Add a comment.
15555
15556 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15557
15558 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15559
15560 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15561
15562 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15563
15564 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15565
15566 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15567 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15568 compiling an executable, link in an object that forces unbuffered
15569 output.
15570 * lib/set_unbuffered_mode.c: New file.
15571
15572 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15573
15574 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15575
15576 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15577
15578 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15579 mi_expect_stop.
15580 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15581 Demand that *running is output.
15582 (detect_async): Perform checking every time.
15583 (mi_send_resuming_command): Extract everything into...
15584 (mi_send_resuming_command_raw): ...this.
15585 (mi_expect_stop): Don't accept any output before *stopped.
15586
15587 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15588
15589 Robustify mi-simplerun.
15590 * gdb.mi/basics.c (main): Add a call to sleep.
15591 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15592 * gdb.mi/mi2-cli.exp: Likewise.
15593 * gdb.mi/mi-break.exp: Likewise.
15594
15595 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15596
15597 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15598
15599 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15600
15601 * gdb.mi/mi-console.exp: Adjust.
15602 * gdb.mi/mi-syn-frame.exp: Adjust.
15603 * gdb.mi/mi2-console.exp: Adjust.
15604 * gdb.mi/mi2-syn-frame.exp: Adjust.
15605 * lib/mi-support.exp (mi_run_cmd): Adjust.
15606 (mi_send_resuming_command): Adjust.
15607
15608 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15609
15610 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15611 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15612 testing of stopped.
15613 * gdb.mi/mi2-syn-frame.exp: Likewise.
15614 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15615 (async, detect_async): New.
15616 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15617 depending on if we're running in sync or async mode.
15618
15619 2008-06-09 Tom Tromey <tromey@redhat.com>
15620
15621 * gdb.base/completion.exp: New tests for field name completion
15622 with spaces, and field name completion with '->'.
15623
15624 2008-06-06 Tom Tromey <tromey@redhat.com>
15625
15626 * gdb.base/break1.c (struct some_struct): New struct.
15627 (values): New global.
15628 * gdb.base/completion.exp: Add field name completion test.
15629
15630 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15631
15632 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15633 to pointer.
15634 * gdb.cp/call-c.cc: Likewise.
15635
15636 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15637
15638 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15639 annotation.
15640
15641 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15642 Pedro Alves <pedro@codesourcery.com>
15643
15644 * gdb.threads/execl.c, gdb.threads/execl1.c,
15645 gdb.threads/execl.exp: New tests.
15646
15647 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15648 Daniel Jacobowitz <dan@codesourcery.com>
15649
15650 * gdb.cp/exception.exp: Activate test, make it work with pending
15651 catchpoints.
15652
15653 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15654
15655 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15656
15657 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15658
15659 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15660 now printed.
15661 * gdb.mi/mi2-var-cmd.exp: Likewise.
15662
15663 2008-05-27 Andreas Schwab <schwab@suse.de>
15664
15665 * gdb.base/frame-args.exp: Handle arguments that are optimized
15666 out.
15667
15668 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15669
15670 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15671 quiet for ppc32 and group options into a single variable.
15672
15673 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15674
15675 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15676 of zero-size elements.
15677 * gdb.ada/null_array.exp: Test printing this new array.
15678
15679 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15680
15681 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15682
15683 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15684
15685 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15686 of the "finish" command.
15687
15688 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15689
15690 * gdb.base/annota1.exp: Test for new annotation.
15691
15692 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15693
15694 * gdb.base/fixsection.exp: New file.
15695 * gdb.base/fixsection0.c: New file.
15696 * gdb.base/fixsection1.c: New file.
15697
15698 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15699
15700 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15701 * gdb.base/annota3.exp: Likewise.
15702
15703 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15704
15705 * gdb.base/watch_thread_num.exp: Don't run tests that require
15706 watchpoints if the target doesn't support them.
15707
15708 2008-05-12 Doug Evans <dje@google.com>
15709
15710 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15711
15712 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15713
15714 * gdb.ada/assign_1.exp: New testcase.
15715
15716 2008-05-09 Doug Evans <dje@google.com>
15717
15718 * gdb.base/find.exp: New file.
15719 * gdb.base/find.c: New file.
15720
15721 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15722
15723 * gdb.base/commands.exp (watchpoint_command_test): Handle
15724 gdb,no_hardware_watchpoints.
15725 * gdb.base/float.exp: Allow ARM targets without floating point.
15726 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15727
15728 2008-05-06 Jerome Guitton <guitton@adacore.com>
15729 Joel Brobecker <brobecker@adacore.com>
15730
15731 * gdb.ada/lang_switch: New test program.
15732 * gdb.ada/lang_switch.exp: New testcase.
15733
15734 2008-05-05 Doug Evans <dje@google.com>
15735
15736 * gdb.base/help.exp (disassemble): Update expected help text.
15737
15738 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15739
15740 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15741
15742 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15743
15744 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15745 different times.
15746
15747 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15748
15749 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15750 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15751 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15752 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15753
15754 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15755
15756 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15757 notification to appear.
15758
15759 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15760
15761 * gdb.base/fullname.c: New file.
15762 * gdb.base/fullname.exp: New file.
15763 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15764
15765 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15766
15767 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15768 expressions with macros.
15769
15770 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15771
15772 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15773
15774 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.base/completion.exp: Handle lack of other symbols beginning
15777 with "a".
15778
15779 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15780
15781 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15782
15783 * gdb.asm/asmsrc1.s: Add scratch space.
15784
15785 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15786 Daniel Jacobowitz <dan@codesourcery.com>
15787
15788 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15789 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15790 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15791
15792 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15793
15794 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15795
15796 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15797
15798 * gdb.base/info-target.exp: New testcase.
15799
15800 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15801
15802 * gdb.cp/hang.exp: Use .cc instead of .C.
15803 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15804 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15805
15806 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15807
15808 * gdb.base/gdb1250.exp: Remove perror.
15809 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15810
15811 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15812
15813 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15814 .2byte.
15815
15816 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15817
15818 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15819 (maybe_kfail): New.
15820
15821 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15822
15823 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15824
15825 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15826
15827 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15828 * gdb.mi/mi2-syn-frame.exp: Likewise.
15829 * lib/mi-support.exp: Likewise.
15830
15831 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15832
15833 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15834 to specify regexp for the location to stop at.
15835 * gdb.base/break-always.c: New.
15836 * gdb.base/break-always.exp: New.
15837
15838 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15839
15840 * lib/mi-support.exp (mi_runto_helper): Adjust
15841 for the original-location field.
15842 (mi_create_breakpoint, mi_list_breakpoints): New.
15843 * gdb.mi/mi-break.exp: Adjust.
15844 * gdb.mi/mi2-break.exp: Adjust.
15845 * gdb.mi/mi-pending.exp: Adjust.
15846 * gdb.mi/mi-simplerun.exp: Adjust.
15847 * gdb.mi/mi2-simplerun.exp: Adjust.
15848 * gdb.mi/mi-syn-frame.exp: Adjust.
15849 * gdb.mi/mi2-syn-frame.exp: Adjust.
15850 * gdb.mi/mi-until.exp: Adjust.
15851 * gdb.mi/mi2-until.exp: Adjust.
15852 * gdb.mi/mi-var-display.exp: Adjust.
15853 * gdb.mi/mi2-var-display.exp: Adjust.
15854 * gdb.mi/mi-watch.exp: Adjust.
15855 * gdb.mi/mi2-watch.exp: Adjust.
15856
15857 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15858
15859 * aclocal.m4: Add override.m4.
15860 * configure: Regenerate.
15861
15862 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15863
15864 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15865 '-var-update --all-values' reports new value even the type
15866 of a variable object has changed.
15867
15868 2008-04-18 Craig Silverstein <csilvers@google.com>
15869
15870 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15871 files.
15872
15873 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15874
15875 * gdb.ada/atomic_enum: New test program.
15876 * gdb.ada/atomic_enum.exp: New testcase.
15877
15878 2008-04-17 Doug Evans <dje@google.com>
15879
15880 * gdb.opt/Makefile.in: Fix whitespace.
15881
15882 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15883
15884 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15885
15886 2008-04-17 Doug Evans <dje@google.com>
15887
15888 * gdb.base/hashline1.exp: New testcase.
15889 * gdb.base/hashline2.exp: New testcase.
15890 * gdb.base/hashline2.exp: New testcase.
15891
15892 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15893
15894 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15895
15896 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15897
15898 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15899 temporary breakpoint to match "Temporary breakpoint".
15900 * gdb.base/break.exp (delete_breakpoints): Likewise.
15901 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15902 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15903 * gdb.base/display.exp: Likewise.
15904 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15905 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15906 * gdb.base/restore.exp (restore_tests): Likewise.
15907 * gdb.base/sepdebug.exp: Likewise.
15908 * gdb.base/watchpoint.exp: Likewise.
15909 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15910 * gdb.mi/mi-pending.exp: Likewise.
15911 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15912 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15913 * gdb.mi/mi-var-cmd.exp: Likewise.
15914 * gdb.mi/mi-var-display.exp: Likewise.
15915 * gdb.mi/mi2-cli.exp: Likewise.
15916 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15917 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15918 * gdb.mi/mi2-var-display.exp: Likewise.
15919 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15920 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15921 new "disp" field.
15922 (mi_expect_stop): Move after_reason argument to be really after
15923 reason. This is to support fix for PR2424.
15924
15925 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15926
15927 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15928
15929 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15930
15931 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15932 field. Add more floating varobj tests.
15933 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15934 field.
15935 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15936 (main): Call do_at_tests.
15937 * lib/mi-support.exp (mi_create_floating_varobj)
15938 (mi_varobj_update_with_type_change): New.
15939
15940 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15941
15942 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15943 option of -var-evaluate-expression.
15944 * gdb.mi/mi2-var-display.exp: Likewise.
15945
15946 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15947
15948 Introduce test setup helpers.
15949 * lib/gdb.exp (build_executable, clean_restart)
15950 (prepare_for_testing): New.
15951 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15952 * gdb.base/return.exp: Likewise.
15953 * gdb.base/ending-run.exp: Likewise.
15954
15955 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15956
15957 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15958 Interface (MI) responses.
15959
15960 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15961
15962 * gdb.cp/breakpoint.cc: New code to test conditions involving
15963 member variables.
15964 * gdb.cp/breakpoint.exp: Test condition involving member
15965 variables.
15966
15967 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15968
15969 * lib/mi-support.exp (mi_expect_stop): New.
15970 (mi_run_cmd): Change the
15971 token. Use mi_send_resuming_command, use
15972 mi_expect_stop.
15973 (mi_execute_to_helper): Rename to mi_execute_to.
15974 (mi_send_resuming_command): Add more error patterns.
15975 (mi_wait_for_stop): Renamed to...
15976 (mi_get_stop_line): ...this.
15977 (mi_run_inline_test): Adjust.
15978
15979 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15980 * gdb.mi/mi-console.exp: Likewise.
15981 * gdb.mi/mi-pending.exp: Likewise.
15982 * gdb.mi/mi-simplerun.exp: Likewise.
15983 * gdb.mi/mi-stack.exp: Likewise.
15984 * gdb.mi/mi-stepi.exp: Likewise.
15985 * gdb.mi/mi-syn-frame.exp: Add comment.
15986 * gdb.mi/mi-until.exp: Likewise.
15987 * gdb.mi/mi-var-display.exp: Likewise.
15988 * gdb.mi/mi-watch.exp: Likewise.
15989 * gdb.mi/mi2-cli.exp: Likewise.
15990 * gdb.mi/mi2-console.exp: Likewise.
15991 * gdb.mi/mi2-simplerun.exp: Likewise.
15992 * gdb.mi/mi2-stack.exp: Likewise.
15993 * gdb.mi/mi2-stepi.exp: Likewise.
15994 * gdb.mi/mi2-until.exp: Likewise.
15995 * gdb.mi/mi2-var-display.exp: Likewise.
15996 * gdb.mi/mi2-watch.exp: Likewise.
15997
15998 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15999
16000 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16001
16002 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16003
16004 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16005
16006 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16007 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16008 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16009 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16010 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16011 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16012 expect an mi error duplicated in stderr.
16013
16014 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16015
16016 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16017 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16018 Add a couple of tests that verify the behavior when the new setting
16019 is set to "cancel" and "all".
16020 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16021 "ask" before we start the testing.
16022
16023 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16024
16025 * gdb.cp/casts.cc: Add class reference variables.
16026 * gdb.cp/casts.exp: New test cases for up/down casting references.
16027
16028 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16029
16030 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16031 instead of beginning to make an extra test pass.
16032 * gdb.mi/mi2-var-display.exp: Likewise.
16033
16034 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16035
16036 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16037
16038 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16039 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16040
16041 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16042 value. Add xfail for older kernels.
16043
16044 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16045
16046 Bring mi-support in line with gdb.exp.
16047 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16048 (mi_gdb_start): New function.
16049
16050 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16051
16052 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16053
16054 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16055
16056 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16057 * gdb.mi/mi2-var-display.exp: Likewise.
16058
16059 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16060
16061 * lib/mi-support.exp (mi_create_varobj_checked): New.
16062 (mi_list_varobj_children): Allow to check for a
16063 value.
16064 (mi_list_array_varobj_children): New.
16065
16066 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16067 and mi_list_varobj_children, as opposed to hardcoding
16068 expected strings.
16069 * gdb.mi/gdb701.exp: Likewise.
16070 * gdb.mi/gdb792.exp: Likewise.
16071 * gdb.mi/mi-var-block.exp: Likewise.
16072 * gdb.mi/mi-var-cmd.exp: Likewise.
16073 * gdb.mi/mi-var-invalidate.exp: Likewise.
16074 * gdb.mi/mi2-var-block.exp: Likewise.
16075 * gdb.mi/mi2-var-child.exp: Likewise.
16076 * gdb.mi/mi2-var-cmd.exp: Likewise.
16077 * gdb.mi/mi2-var-display.exp: Likewise.
16078
16079 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16080
16081 Fix random false FAILs on i386.
16082 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16083
16084 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16085
16086 PR gdb/544
16087 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16088
16089 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16090
16091 PR gdb/544
16092 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16093
16094 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16095
16096 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16097 fixed PR gdb/544.
16098
16099 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16100
16101 * gdb.threads/fork-child-threads.exp: Test next over fork.
16102
16103 2008-03-21 Chris Demetriou <cgd@google.com>
16104
16105 * gdb.base/break.exp (rbreak junk): New test for rbreak
16106 "Junk at end of arguments" issue.
16107
16108 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16109
16110 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16111 *& to work on created array elements.
16112 (Top level): Test print $pc with a file. Test string operations
16113 without a target.
16114 * gdb.base/ptype.exp: Do not expect *& to work on created array
16115 elements.
16116
16117 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16118
16119 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16120 gdb.threads/staticthreads.exp: Update exit query.
16121
16122 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16123
16124 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16125
16126 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16127
16128 * gdb.base/watchpoint.c (global_ptr, func4): New.
16129 (main): Call func4.
16130 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16131 (test_inaccessible_watchpoint): New.
16132
16133 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16134
16135 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16136 select the largest.
16137
16138 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16139
16140 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16141 frames-invalid annotations.
16142
16143 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16144
16145 * gdb.base/assign.exp: avoid same output for different tests.
16146
16147 2008-02-27 Doug Evans <dje@google.com>
16148
16149 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16150 for bug 1738.
16151 (breakpoint_to_handler_entry): Ditto.
16152
16153 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16154
16155 * gdb.base/ending-run.exp: Use the first line of code inside
16156 function body to test breakpoints.
16157 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16158 location where the breakpoint is inserted when using the line
16159 where a function is declared. Fix typo in the description of
16160 one of the tests.
16161 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16162
16163 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16164
16165 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16166 tests.
16167
16168 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16169
16170 * gdb.base/args.exp: avoid same output for tests
16171 with single quotes.
16172
16173 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16174
16175 * gdb.base/annota1.exp: Adjust for 'info break'
16176 format changes.
16177 * gdb.base/annota3.exp: Likewise.
16178 * gdb.base/break.exp: Likewise.
16179 * gdb.base/condbreak.exp: Likewise.
16180 * gdb.base/pending.exp: Likewise.
16181 * gdb.base/sepdebug.exp: Likewise.
16182 * gdb.base/unload.exp: Likewise.
16183 * gdb.cp/ovldbreak.exp: Likewise.
16184 * gdb.mi/mi-pending.exp: Likewise.
16185
16186 2008-02-07 Doug Evans <dje@google.com>
16187
16188 * gdb.cp/mb-inline.exp: New.
16189 * gdb.cp/mb-inline.h: New.
16190 * gdb.cp/mb-inline1.cc: New.
16191 * gdb.cp/mb-inline2.cc: New.
16192
16193 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16194
16195 * gdb.pascal/floats.pas: New test program.
16196 * gdb.pascal/floats.exp: New testcase.
16197
16198 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16199
16200 * gdb.base/callfuncs.c (t_float_many_args): New function.
16201 (t_double_many_args): New function.
16202 * gdb.base/callfuncs.exp: Add tests for exceeding float
16203 and double parameters passed through the stack.
16204
16205 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16206
16207 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16208 gdb.ada/complete/foo.adb: New files.
16209 * gdb.ada/complete.exp: New testcase.
16210
16211 2008-02-03 Doug Evans <dje@google.com>
16212
16213 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16214
16215 * gdb.cp/gdb2384.exp: New file.
16216 * gdb.cp/gdb2384.cc: New file.
16217 * gdb.cp/gdb2384-base.h: New file.
16218 * gdb.cp/gdb2384-base.cc: New file.
16219
16220 2008-02-02 Doug Evans <dje@google.com>
16221
16222 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16223
16224 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16225
16226 * gdb.ada/sym_print_name: New test program.
16227 * gdb.ada/sym_print_name.exp: New testcase.
16228
16229 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16230
16231 * gdb.ada/nested/hello.adb: New file.
16232 * gdb.ada/nested.exp: New testcase.
16233 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16234
16235 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16236
16237 * gdb.mi/basic.c (return_1): New function.
16238 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16239 don't cause future evaluations of function to report
16240 creation of internal breakpoints.
16241
16242 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16243
16244 * gdb.mi/mi-break.exp (test_error): New.
16245 Call it.
16246
16247 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16248
16249 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16250 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16251
16252 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16253
16254 * gdb.pascal/integers.pas: New test program.
16255 * gdb.pascal/integers.exp: New testcase.
16256
16257 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16258
16259 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16260
16261 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16262
16263 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16264 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16265
16266 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16267
16268 * gdb.ada/formatted_ref: New test program.
16269 * gdb.ada/formatted_ref.exp: New testcase.
16270
16271 * gdb.cp/formatted-ref.cc: New file.
16272 * gdb.cp/formatted-ref.exp: New testcase.
16273
16274 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16275
16276 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16277
16278 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16279
16280 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16281 (test_file_list_exec_source_file): Update to new macro-info field.
16282
16283 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16284
16285 * gdb.ada/exprs: New test program.
16286 * gdb.ada/exprs.exp: New testcase.
16287
16288 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16289
16290 * dfp-test.c (DELTA, DELTA_B): New definitions.
16291 (double_val1, double_val2, double_val3, double_val4, double_val5,
16292 double_val6, double_val7, double_val8, double_val9, double_val10,
16293 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16294 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16295 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16296 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16297 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16298 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16299 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16300 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16301 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16302 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16303 dec128_val16): New global variables.
16304 (decimal_dec128_align): New function.
16305 (decimal_mixed): Likewise.
16306 (decimal_many_args_dec32): Likewise.
16307 (decimal_many_args_dec64): Likewise.
16308 (decimal_many_args_dec128): Likewise.
16309 (decimal_many_args_mixed): Likewise.
16310 * dfp-test.exp: Add tests calling new inferior functions.
16311
16312 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16313
16314 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16315 gdb.server/ext-run.exp: New files.
16316 * lib/gdbserver-support.exp (gdbserver_download): New.
16317 (gdbserver_start): New. Update gdbserver expected
16318 output.
16319 (gdbserver_spawn): Use them.
16320 (gdbserver_start_extended): New.
16321
16322 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16323
16324 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16325 Run on GNU/Linux.
16326 (do_exec_tests): Check for systems which do not support catchpoints.
16327 Do not match START.
16328 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16329 Run on GNU/Linux. Enable verbose output.
16330 (check_fork_catchpoints): New.
16331 (explicit_fork_child_follow, catch_fork_child_follow)
16332 (tcatch_fork_parent_follow): Update expected messages.
16333 (do_fork_tests): Use check_fork_catchpoints.
16334 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16335 Run on GNU/Linux. Enable verbose output.
16336 (check_vfork_catchpoints): New.
16337 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16338 expected messages.
16339 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16340
16341 2008-01-29 Jim Blandy <jimb@red-bean.com>
16342
16343 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16344 host' errors.
16345 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16346
16347 2008-01-29 Jim Blandy <jimb@red-bean.com>
16348
16349 * gdb.threads/sigthread.c: Use barriers to ensure that
16350 child_thread and child_thread_two are always initialized before we
16351 start to use them.
16352
16353 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16354
16355 * gdb.base/watchpoint-solib.exp: New.
16356 * gdb.base/watchpoint-solib.c: New.
16357 * gdb.base/watchpoint-solib-shr.c: New.
16358
16359 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16360
16361 * gdb.base/gdb1056.exp: Add unsigned integer test.
16362
16363 2008-01-28 Doug Evans <dje@google.com>
16364
16365 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16366
16367 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16368
16369 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16370
16371 * gdb.base/expand-psymtabs.exp: Doc fix.
16372
16373 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16374
16375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16376
16377 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16378
16379 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16380 -var-set-format.
16381
16382 2008-01-23 Chris Demetriou <cgd@google.com>
16383
16384 * gdb.threads/thread_events.c: New testcase source file.
16385 * gdb.threads/thread_events.exp: New testcase expect file.
16386
16387 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16388
16389 * lib/gdb.exp: Add the variable octal.
16390
16391 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16392 -var-set-format.
16393
16394 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16395 Vladimir Prus <vladimir@codesourcery.com>
16396
16397 * gdb.base/float.exp: Allow missing floating point for m68k and
16398 PowerPC.
16399
16400 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16401
16402 * gdb.mi/basics.c: Setup for testing breakpoints
16403 ignore count.
16404 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16405 * gdb.mi/mi-cli.exp: Adjust.
16406 * gdb.mi/mi2-cli.exp: Adjust.
16407
16408 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16409
16410 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16411 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16412 with dummy_ptr's address.
16413 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16414 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16415 all targets.
16416 * gdb.mi/mi2-var-child.exp: Likewise.
16417
16418 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16419
16420 * gdb.ada/null_array: New test program.
16421 * gdb.ada/null_array.exp: New testcase.
16422
16423 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16424
16425 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16426 with required float modifiers.
16427
16428 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16429
16430 * gdb.ada/funcall_param: New test program.
16431 * gdb.ada/funcall_param.exp: New testcase.
16432
16433 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16434
16435 * gdb.ada/arrayparam: New test program.
16436 * gdb.ada/arrayparam.exp: New testcase.
16437
16438 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16439
16440 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16441 landed. Should also fix random failures in the test following it.
16442
16443 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16444
16445 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16446 for expressions with decimal float values.
16447 (test_dfp_conversions): New function to test casts to and from
16448 decimal float types.
16449 Call test_dfp_conversions.
16450 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16451 elements.
16452 (main): Initialize ds.float4 and ds.double8 elements.
16453 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16454 string to new error message.
16455 (d64_set_tests): Likewise.
16456 (d128_set_tests): Likewise.
16457 Add tests for expressions with decimal float variables. Add tests for
16458 conversions to and from decimal float types.
16459
16460 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16461
16462 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16463 * gdb.ada/packed_tagged.exp: New testcase.
16464
16465 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16466
16467 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16468 gdb.ada/homonym/homonym_main.adb: New files.
16469 * gdb.ada/homonym.exp: New testcase.
16470
16471 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16472
16473 * gdb.ada/packed_array.exp: Add testing of references to
16474 a packed array.
16475
16476 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16477
16478 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16479 New files.
16480 * gdb.ada/type_coercion.exp: New testcase.
16481
16482 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16483
16484 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16485 gdb.ada/tagged/foo.adb: New file.
16486 * gdb.ada/tagged.exp: New testcase.
16487
16488 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16489
16490 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16491 gdb.ada/ptype_field/foo.adb: New files.
16492 * gdb.ada/ptype_field.exp: New testcase.
16493
16494 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16495
16496 * gdb.ada/print_pc.exp: New testcase.
16497
16498 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16499
16500 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16501 gdb.ada/taft_type/p.adb: New files.
16502 * gdb.ada/taft_type.exp: New testcase.
16503
16504 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16505
16506 * gdb.ada/array_bounds/bar.adb: New file.
16507 * gdb.ada/array_bounds.exp: New testcase.
16508
16509 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16510
16511 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16512 gdb.ada/arrayptr/foo.adb: New files.
16513 * gdb.ada/arrayptr.exp: New testcase.
16514
16515 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16516
16517 * gdb.base/set-lang-auto.exp: New testcase.
16518
16519 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16520
16521 * gdb.ada/fun_addr/foo.adb: New file.
16522 * gdb.ada/fun_addr.exp: New testcase.
16523
16524 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16525
16526 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16527 New files
16528
16529 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16530
16531 * array_subscript_addr/p.adb: New file.
16532 * array_subscript_addr.exp: New testcase.
16533
16534 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16535
16536 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16537 New files.
16538 * gdb.ada/str_cmp_ref.exp: New testcase.
16539
16540 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16541
16542 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16543 gdb.ada/fun_in_declare/foo.adb: New files.
16544 * gdb.ada/fun_in_declare.exp: New testcase.
16545
16546 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16547
16548 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16549 gdb.ada/ref_param/pck.ads: New files.
16550 * gdb.ada/ref_param.exp: New testcase.
16551
16552 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16553
16554 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16555 gdb.ada/interface/foo.adb: New files.
16556 * gdb.ada/interface.exp: New testcase.
16557
16558 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16559
16560 * gdb.base/multi-forks.exp: Consume all output from child
16561 processes before proceeding to next test.
16562
16563 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16564
16565 * configure: Regenerated.
16566
16567 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16568
16569 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16570 gdb.ada/fixed_cmp/fixed.adb: New files.
16571 * gdb.ada/fixed_cmp.exp: New testcase.
16572
16573 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16574
16575 * gdb.ada/boolean_expr.exp: New testcase.
16576
16577 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16578
16579 * gdb.base/multi-forks.exp: Doc fix.
16580
16581 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16582
16583 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16584 * gdb.ada/char_param.exp: Do not compile our test program with
16585 -gnata, this is unnecessary.
16586 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16587
16588 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16589
16590 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16591 gdb.ada/print_chars/foo.adb: New files.
16592 * gdb.ada/print_chars.exp: New testcase.
16593
16594 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16595
16596 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16597 gdb.ada/char_param/foo.adb: New files.
16598 * gdb.ada/char_param.exp: New testcase.
16599
16600 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16601
16602 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16603 hard-coding source line numbers into the test.
16604 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16605 gdb_get_line_number to find.
16606
16607 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16608
16609 * gdb.base/ptype.c (highest): New struct type.
16610 (the_highest): New variable of that type.
16611 (main): Add dummy assignment to a field of variable the_highest.
16612 * gdb.base/ptype.exp: Test type printing of our new variable.
16613
16614 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16615
16616 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16617 and record first explicitly generated thread number.
16618 Use that thread number for thread specific watchpoint test.
16619 Add iteration number to repetitive tests.
16620
16621 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16622 Jim Blandy <jimb@codesourcery.com>
16623
16624 * gdb.base/expand-psymtabs.c: New testcase
16625 source file.
16626 * gdb.base/expand-psymtabs.exp: New testcase
16627 expect file.
16628
16629 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16630
16631 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16632 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16633
16634 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16635
16636 * gdb.ada/frame_args/foo.adb: New file.
16637 * gdb.ada/frame_args/pck.ads: New file.
16638 * gdb.ada/frame_args/pck.adb: New file.
16639 * gdb.ada/frame_args.exp: New testcase.
16640
16641 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16642
16643 * gdb.base/frame-args.c: New file.
16644 * gdb.base/frame-args.exp: New testcase.
16645
16646 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16647 Joseph Myers <joseph@codesourcery.com>
16648
16649 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16650
16651 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16652
16653 * gdb.mi/mi-pending.exp: New.
16654 * gdb.mi/mi-pending.c: New.
16655 * gdb.mi/mi-pendshr.c: New.
16656
16657 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16658
16659 * gdb.base/default.exp: Update expected output for 'info catch'.
16660
16661 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16662
16663 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16664 must be set to binary.
16665
16666 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16667
16668 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16669
16670 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16671
16672 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16673 gdb.mi/mi-file-transfer.exp: New.
16674
16675 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16676
16677 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16678
16679 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16680
16681 * gdb.trace/backtrace.exp: Fix a typo.
16682 * gdb.trace/circ.exp: Likewise.
16683 * gdb.trace/collection.exp: Likewise.
16684 * gdb.trace/limits.exp: Likewise.
16685 * gdb.trace/report.exp: Likewise.
16686 * gdb.trace/tfind.exp: Likewise.
16687 * gdb.trace/while-dyn.exp: Likewise.
16688
16689 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16690
16691 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16692 objects of pointers that can't be dereferenced are now
16693 "noneditable".
16694
16695 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16696
16697 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16698 (target_cpu): Remove.
16699
16700 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16701
16702 * gdb.base/ending-run.exp: Expect the list of cleared
16703 breakpoint to come in natural order, not the reversed one.
16704
16705 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16706
16707 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16708 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16709
16710 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16711
16712 * gdb.base/printcmds.exp: New function
16713 test_printf_with_dfp.
16714
16715 2007-11-02 Doug Evans <dje@google.com>
16716
16717 * gdb.disasm/t01_mov.s: Remove carriage returns.
16718 * gdb.disasm/t02_mova.s: Ditto.
16719 * gdb.disasm/t03_add.s: Ditto.
16720 * gdb.disasm/t04_sub.s: Ditto.
16721 * gdb.disasm/t05_cmp.s: Ditto.
16722 * gdb.disasm/t06_ari2.s: Ditto.
16723 * gdb.disasm/t07_ari3.s: Ditto.
16724 * gdb.disasm/t08_or.s: Ditto.
16725 * gdb.disasm/t09_xor.s: Ditto.
16726 * gdb.disasm/t10_and.s: Ditto.
16727 * gdb.disasm/t11_logs.s: Ditto.
16728 * gdb.disasm/t12_bit.s: Ditto.
16729 * gdb.disasm/t13_otr.s: Ditto.
16730
16731 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16732
16733 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16734
16735 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16736
16737 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16738 provide DFP support.
16739
16740 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16741
16742 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16743 Test "set powerpc vector-abi". Skip auto-detection tests for old
16744 toolchains.
16745
16746 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16747
16748 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16749 with [string compare].
16750
16751 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16752
16753 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16754 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16755
16756 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16757
16758 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16759 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16760 * gdb.opt/Makefile.in: New makefile.
16761 * Makefile.in: Create new directory "gdb.opt".
16762 * configure.ac: Add "gdb.opt" directory.
16763 * configure: Regenerated.
16764
16765 2007-10-25 Doug Evans <dje@google.com>
16766
16767 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16768 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16769
16770 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16771 Thiago Jung Bauermann <bauerman@br.ibm.com>
16772
16773 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16774 Floating Point expressions.
16775 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16776 Floating Point variables.
16777 * gdb.base/dfp-test.c: new file containing program with Decimal
16778 Floating variables, used by gdb.base/dfp-test.exp.
16779
16780 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16781
16782 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16783
16784 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16785
16786 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16787 compiling test case with GCC.
16788 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16789
16790 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16791
16792 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16793 format changes.
16794
16795 2007-10-18 Michael Snyder <msnyder@specifix.com>
16796
16797 * gdb.base/dbx.exp: Add missing "-re " operator.
16798
16799 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16800
16801 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16802 * configure.ac: Removed trailing spaces after backslash.
16803 * gdb.modula2: New directory.
16804 * gdb.modula2/Makefile.in: New file.
16805 * gdb.modula2/unbounded-array.exp: New file.
16806 * gdb.modula2/unbounded1.c: New file.
16807
16808 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16809
16810 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16811
16812 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16813
16814 * gdb.base/sigstep.c (main): Add checks for
16815 return values for setitimer call.
16816 Call setitimer again with itimer = ITIMER_REAL
16817 if first call to setitimer fails.
16818
16819 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16820
16821 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16822 of $timeout.
16823
16824 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16825
16826 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16827
16828 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16829
16830 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16831 of gdb_expect call, to avoid interruption.
16832
16833 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16834
16835 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16836 (v_unsigned_long_long, v_long_long_array)
16837 (v_signed_long_long_array, v_unsigned_long_long_array)
16838 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16839 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16840 [!NO_LONG_LONG]: New.
16841 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16842 v_long_long_member.
16843
16844 (v_long_long_func, v_signed_long_long_func)
16845 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16846 (main) [!NO_LONG_LONG]: Initialize long long variants.
16847
16848 * gdb.base/whatis.exp: If board file requests no_long_long, build
16849 test with NO_LONG_LONG defined. Test long long, signed long long,
16850 and unsigned long long variants but only if board file doesn't
16851 disable it.
16852
16853 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16854 Daniel Jacobowitz <dan@codesourcery.com>
16855
16856 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16857 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16858 * configure: Regenerated.
16859 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16860 gdb.pascal/types.exp, lib/pascal.exp: New files.
16861
16862 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16863
16864 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16865 call.
16866 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16867 to return to the call.
16868 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16869 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16870 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16871 * gdb.mi/mi-until.exp (test_until): Likewise.
16872 * gdb.mi/mi2-until.exp (test_until): Likewise.
16873
16874 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16875
16876 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16877 two-char array.
16878 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16879
16880 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16881
16882 * gdb.threads/watchthreads.c (thread_function): Sleep between
16883 iterations.
16884 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16885 at once for S/390. Generate matching fails and passes.
16886
16887 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16888
16889 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16890 the 'struct_declarations' variable to zeros.
16891
16892 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16893
16894 * gdb.cp/mb-ctor.cc: New.
16895 * gdb.cp/mb-ctor.exp: New.
16896 * gdb.cp/mb-templates.cc: New.
16897 * gdb.cp/mb-templates.exp: New.
16898
16899 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16900
16901 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16902
16903 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16904
16905 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16906 targets.
16907 * configure: Regenerate.
16908
16909 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16910
16911 * gdb.base/annota1.exp: Adjust for 'info break'
16912 format changes.
16913 * gdb.base/annota3.exp: Likewise.
16914 * gdb.base/break.exp: Likewise.
16915 * gdb.base/condbreak.exp: Likewise.
16916 * gdb.base/pending.exp: Likewise.
16917 * gdb.base/sepdebug.exp: Likewise.
16918 * gdb.base/unload.exp: Likewise.
16919 * gdb.base/ovldbreak.exp: Likewise.
16920
16921 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16922
16923 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16924 messages.
16925 * gdb.base/chng-syms.exp: Likewise.
16926 * gdb.base/unload.exp: Likewise.
16927
16928 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16929
16930 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16931
16932 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16933
16934 * schedlock.c (NUM): Change to 1.
16935 (main): Use args[0] for the main thread.
16936 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16937 regardless of the number of threads.
16938
16939 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16940
16941 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16942 type down.
16943 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16944 test.
16945 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16946 watchpoint type down.
16947 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16948 test.
16949
16950 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16951
16952 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16953 Move all the tests here and run them twice, once using software
16954 watchpoints and once using hardware watchpoints.
16955 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16956
16957 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16958
16959 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16960 test.
16961
16962 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16963
16964 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16965 build-id.
16966
16967 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16968 know about $ORIGIN. Calculate output dir from $dest instead of
16969 using ${objdir}/{$subdir}.
16970
16971 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16972
16973 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16974 gcore, before continuing with the test.
16975
16976 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16977
16978 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16979 * gdb.mi/mi-watch.exp: Likewise.
16980
16981 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16982 Jim Blandy <jimb@codesourcery.com>
16983
16984 * gdb.arch/i386-sse.exp: Do not expect character constants.
16985 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16986 * gdb.base/display.exp: Allow print/s.
16987 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16988 and unsigned char array changes.
16989
16990 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16991
16992 * gdb.base/display.exp: Add tests for printf %p.
16993
16994 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16995
16996 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16997 the dll name to unicode.
16998
16999 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17000
17001 * gdb.base/default.exp (show version): Update the version text.
17002 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17003
17004 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17005
17006 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17007 New files.
17008
17009 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17010
17011 * lib/gdb.exp (build_id_debug_filename_get): New function.
17012 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17013 Remove the generate DEBUG file for the future testcase runs.
17014 New testcase for the NT_GNU_BUILD_ID retrieval.
17015 Move the final testing step to ...
17016 (test_different_dir): ... a new function.
17017 New parameter XFAIL to XFAIL all the tests performed.
17018 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17019 New parameter TYPE to PF_PREFIX all the tests performed.
17020
17021 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17022
17023 * gdb.mi/mi-var-cp.cc (path_expression): New
17024 function.
17025 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17026
17027 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17028
17029 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17030 to fit into SPU Local Store memory.
17031
17032 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17033
17034 * gdb.base/default.exp: Adjust the expected output of "info
17035 warranty" after the switch to GPLv3.
17036
17037 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17038
17039 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17040 to 30000 (from 20000).
17041
17042 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17043
17044 Switch the license of all .exp files to GPLv3.
17045 Switch the license of all .f and .f90 files to GPLv3.
17046 Switch the license of all .s and .S files to GPLv3.
17047
17048 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17049
17050 * configure.ac: Switch license to GPLv3.
17051
17052 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17053
17054 Switch the licensing to GPLv3 for all .ads and .adb files.
17055
17056 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17057
17058 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17059 and t_int_double.
17060 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17061
17062 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17063
17064 * gdb.base/step-line.c: Switch license to GPL version 3, and
17065 update copyright year.
17066 * gdb.base/step-line.inp: Likewise.
17067
17068 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17069
17070 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17071 changes inside gdb1555.c.
17072 * gdb.base/pending.exp: Likewise.
17073
17074 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17075
17076 * config/default.exp: New file.
17077
17078 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17079
17080 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17081 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17082
17083 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17084
17085 * gdb.base/dump.exp: Force the correct endianness for binary
17086 formats not carrying this information.
17087
17088 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17089
17090 * gdb.threads/staticthreads.exp: Match .*sem_post.
17091
17092 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17093
17094 * gdb.base/readline.exp (operate_and_get_next): Match the final
17095 prompt.
17096
17097 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17098
17099 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17100 to restarting SID.
17101
17102 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17103
17104 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17105 prior to `gdb_start'.
17106
17107 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17108
17109 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17110 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17111 Remove call to gdb_unload.
17112
17113 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17114 Daniel Jacobowitz <dan@codesourcery.com>
17115
17116 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17117 for __WIN32__.
17118 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17119 * gdb.base/unload.exp: Use shared library test routines.
17120
17121 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17122
17123 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17124 * gdb.base/solib-symbol-lib.c: Likewise.
17125 * gdb.base/solib-symbol-main.c: Likewise.
17126
17127 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17128
17129 * config/gdbserver.exp (gdb_reconnect): New.
17130 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17131 gdb.base/solib-disc.exp: New files.
17132 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17133 remote debugging".
17134 (gdb_compile): Add shlib_load flag.
17135 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17136 port.
17137 (gdbserver_reconnect): New.
17138
17139 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17140 Daniel Jacobowitz <dan@codesourcery.com>
17141
17142 * gdb.base/annota3.exp: Test for if construct.
17143
17144 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17145
17146 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17147
17148 2007-06-21 Chris Dearman <chris@mips.com>
17149 Maciej W. Rozycki <macro@mips.com>
17150
17151 * gdb.base/display.exp: Allow a newline after display/i.
17152 * gdb.base/pc-fp.exp: Likewise.
17153 * gdb.base/sigbpt.exp: Likewise.
17154
17155 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17156
17157 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17158 required features to be included.
17159
17160 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17161
17162 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17163 in info threads output.
17164
17165 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17166 Markus Deuling <deuling@de.ibm.com>
17167
17168 * gdb.arch/spu-info.exp: New testcase.
17169 * gdb.arch/spu-info.c: New file.
17170
17171 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17172
17173 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17174 tpcs_offset. Restore lr after the call.
17175 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17176
17177 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17178
17179 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17180 (gdbserver_run): Kill any running gdbserver.
17181 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17182
17183 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17184
17185 * gdb.base/sigbpt.exp: Preset segv_addr.
17186
17187 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17188
17189 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17190 (gdb_compile_shlib): Likewise.
17191 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17192 (default_gdb_init): Clear cleanfiles.
17193 (gdb_finish): Delete recorded cleanfiles.
17194 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17195
17196 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17197 Do not use isnative.
17198 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17199 gdb.base/so-impl-ld.exp: Likewise.
17200 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17201 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17202 gdb_compile.
17203
17204 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17205
17206 * config/unknown.exp: Remove.
17207
17208 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17209
17210 * gdb.base/info-proc.exp: Check is_remote.
17211
17212 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17213
17214 * gdb.base/gcore.exp: Initialize variable core_supported.
17215
17216 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17217
17218 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17219
17220 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17221
17222 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17223 * gdb.threads/print-threads.exp (test_all_threads): Allow
17224 negative and hexadecimal thread IDs.
17225
17226 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17227
17228 * gdb.java/jprint.java (public): Avoid invalid call to static
17229 method.
17230
17231 2007-05-14 Denis Pilat <denis.pilat@st.com>
17232
17233 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17234 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17235 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17236 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17237 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17238
17239 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17240
17241 * gdb.base/overlays.exp: Add support for targets with only code
17242 overlay support, not data overlay. Support spu-*-* target in
17243 this mode.
17244 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17245 * gdb.base/spu.ld: New file.
17246
17247 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17248
17249 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17250
17251 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17252
17253 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17254
17255 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17256
17257 * gdb.java/jmain.exp: Handle demangled names with and without method
17258 signatures.
17259
17260 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17261
17262 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17263 (have_a_very_merry_interrupt): Remove calls to puts.
17264 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17265 inferior output.
17266 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17267 test names.
17268
17269 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17270 Daniel Jacobowitz <dan@codesourcery.com>
17271
17272 * gdb.base/auxv.exp (core_works): Also check is_remote.
17273 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17274
17275 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17276
17277 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17278 message, not the undefined 'module' variable.
17279 * gdb.base/siginfo.exp: Likewise.
17280 * gdb.base/sigstep.exp: Likewise.
17281 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17282 serialport.
17283 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17284
17285 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17286
17287 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17288 target sim fails. Return 0 otherwise.
17289 (gdb_load): Return prematurely if gdb_target_sim fails.
17290
17291 2007-04-16 Denis Pilat <denis.pilat@st.com>
17292
17293 * gdb.base/setshow.exp: Reset height after having set it to 100.
17294
17295 2007-04-16 Denis Pilat <denis.pilat@st.com>
17296
17297 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17298
17299 2007-04-16 Denis Pilat <denis.pilat@st.com>
17300
17301 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17302
17303 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17304
17305 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17306 tests. Run the frozen varobjs test.
17307 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17308 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17309
17310 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17311
17312 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17313 gdb.base/type-opaque.exp: New files.
17314
17315 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17316
17317 * gdb.mi/mi-var-child.c
17318 (do_children_tests): User char[2] instead of
17319 char so that automatic printing of pointers to char
17320 don't give unpredicable result.
17321 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17322 local variables.
17323 * gdb.mi/mi-var-child.exp: Step to right line
17324 of do_children_tests.
17325 * gdb.mi/mi2-var-child.exp: Likewise.
17326 * gdb.mi/mi-var-cmd.exp: Step to right line of
17327 do_locals_tests.
17328 (do_children_tests): User char[2] instead of
17329 char so that automatic printing of pointers to char
17330 don't give unpredicable result.
17331 * gdb.mi/mi2-var-cmd.exp: Likewise.
17332 * lib/mi-support.exp (mi_continue_to_line):
17333 Pass test name to mi_wait_for_stop.
17334
17335 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17336
17337 * gdb.asm/asm-source.exp: Remove d10v case.
17338 * lib/gdb.exp (skip_cplus_tests): Likewise.
17339 * gdb.asm/d10v.inc: Deleted.
17340
17341 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17342
17343 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17344
17345 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17346
17347 * config/netware.exp: Delete file.
17348
17349 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17350
17351 * gdb.dwarf2/dw2-noloc.S: New file.
17352 * gdb.dwarf2/dw2-noloc.exp: New file.
17353
17354 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17355
17356 * gdb.cp/method2.cc: New test.
17357 * gdb.cp/method2.exp: New test.
17358 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17359
17360 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17361
17362 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17363
17364 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17365
17366 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17367
17368 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17369
17370 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17371 (gdb_load): Delete, replace with...
17372 (gdb_reload): ...this.
17373 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17374 * gdb.server/server-mon.exp: Likewise.
17375 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17376 (gdb_start_cmd): New.
17377 (gdb_file_cmd): Save the last loaded file.
17378 (gdb_reload): New.
17379 (gdb_gnu_strip_debug): Use transform.
17380 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17381 support here. Use new $last_loaded_file. Check mtime.
17382 (gdb_target_cmd): Handle ObjC failure case.
17383 (infer_host_exec): Delete.
17384 (gdbserver_load): Rename to...
17385 (gdbserver_run): ...this. Simplify.
17386 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17387 (mi_gdb_load): Move most contents to a new function...
17388 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17389 (mi_run_cmd): Use mi_gdb_target_load.
17390 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17391 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17392 Use gdb_run_cmd.
17393 * gdb.base/charsign.exp: Remove incorrect comment.
17394 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17395 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17396 gdb.base/start.exp: Use gdb_start_cmd.
17397
17398 2007-03-23 Nigel Stephens <nigel@mips.com>
17399 Maciej W. Rozycki <macro@mips.com>
17400
17401 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17402 * gdb.base/signull.exp: Similarly.
17403
17404 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17405
17406 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17407 messages available to test cases (like chng-sym.exp).
17408
17409 2007-03-14 Andreas Schwab <schwab@suse.de>
17410
17411 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17412 format changes.
17413
17414 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17415
17416 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17417 (optimized_1): New.
17418 (main): Call optimized_1.
17419 (gdb2029): Correct typos. Call gdb2029_marker.
17420 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17421 for gdb2029.
17422
17423 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17424
17425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17426 as tabs. Remove redundant test pattern.
17427
17428 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17429
17430 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17431 for /a format output.
17432
17433 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17434
17435 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17436 collect output incrementally.
17437
17438 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17439
17440 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17441 for -var-create lpcharacter test.
17442 * gdb.mi/mi2-var-cmd.exp: Likewise.
17443
17444 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17445
17446 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17447 pass on targets where address zero is readable.
17448
17449 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17450
17451 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17452 just a single architecture.
17453
17454 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17455
17456 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17457 (fetch_all_registers): New function, uses gdb_test_multiple and
17458 exp_continue to fetch inferior output line-by-line.
17459 Replace all uses of do_get_all_registers by fetch_all_registers.
17460
17461 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17462
17463 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17464 in target_info.
17465
17466 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17467
17468 * gdb.threads/manythreads.exp: Use $message string for
17469 consistancy; add a default (timeout) case.
17470
17471 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17472
17473 * gdb.base/watchpoint.exp: Fix truncated comment.
17474
17475 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17476
17477 * Makefile.in: Remove spurious single-quotes from sed command.
17478
17479 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17480
17481 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17482 func.
17483 * gdb.mi/mi2-var-cmd.exp: Likewise.
17484
17485 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17486
17487 * gdb.dwarf2/dw2-producer.S: New file.
17488 * gdb.dwarf2/dw2-producer.exp: New testcase.
17489
17490 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17491
17492 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17493 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17494 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17495 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17496 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17497 Revert tests to use mi_gdb_test and include value field in output
17498 of -var-create.
17499
17500 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17501
17502 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17503
17504 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17505
17506 * gdb.base/maint.exp: Remove full paths from test names.
17507 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17508 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17509
17510 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17511
17512 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17513
17514 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17515
17516 * gdb.server/server-mon.exp: New test.
17517
17518 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17519
17520 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17521
17522 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17523
17524 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17525 register capitalization.
17526
17527 2007-02-13 Denis Pilat <denis.pilat@st.com>
17528
17529 * gdb.mi/mi-var-invalidate.exp: New file.
17530
17531 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17532
17533 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17534
17535 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17536
17537 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17538
17539 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17540
17541 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17542 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17543
17544 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17545
17546 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17547 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17548 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17549 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17550 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17551 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17552 Update tests to include value field in output of -var-create.
17553
17554 2007-02-08 Andreas Schwab <schwab@suse.de>
17555
17556 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17557
17558 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17559
17560 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17561 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17562
17563 2007-02-02 Denis Pilat <denis.pilat@st.com>
17564
17565 * gdb.threads/threadapply.exp: check that frame is not changed by
17566 the thread apply all command.
17567
17568 2007-01-31 Andreas Schwab <schwab@suse.de>
17569
17570 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17571
17572 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17573 in the dwarf sections.
17574 * gdb.dwarf2/mac-fileno.S: Likewise.
17575
17576 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17577 bspstore register on ia64.
17578
17579 2007-01-29 Andreas Schwab <schwab@suse.de>
17580
17581 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17582 "frame-begin" annotation.
17583
17584 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17585 number of "frames-invalid" annotations.
17586
17587 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17588
17589 * gdb.base/commands.exp: Call if_commands_test.
17590 (gdb_test_no_prompt, if_commands_test): New.
17591
17592 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17593
17594 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17595
17596 2007-01-27 Andreas Schwab <schwab@suse.de>
17597
17598 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17599 .short/.int/.quad in the dwarf sections.
17600 * gdb.dwarf2/dw2-intercu.S: Likewise.
17601 * gdb.dwarf2/dw2-intermix.S: Likewise.
17602
17603 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17604
17605 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17606 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17607 array.
17608 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17609 * gdb.base/setvar.exp: Likewise.
17610
17611 2007-01-26 Andreas Schwab <schwab@suse.de>
17612
17613 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17614 test.
17615
17616 * gdb.base/multi-forks.exp ("restart $i"): Also match
17617 __kernel_syscall_via_break.
17618
17619 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17620
17621 * lib/mi-support.exp (mi_delete_varobj): New.
17622 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17623 testcase.
17624 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17625 (main): Call the above.
17626 (reference_update_test, base_in_reference_test)
17627 (reference_to_pointer): Delete the created varobjs.
17628
17629 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17630
17631 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17632 * configure: Regenerated.
17633 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17634 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17635 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17636 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17637 * lib/gdb.exp (gdb_skip_xml_test): New function.
17638
17639 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17640
17641 * gdb.base/sigrepeat.exp: Correct error message.
17642
17643 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17644 Daniel Jacobowitz <dan@codesourcery.com>
17645
17646 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17647 gdb.arch/i386-gnu-cfi-asm.S: New files.
17648
17649 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17650
17651 * lib/gdb.exp: Abort on missing `site.exp'.
17652
17653 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17654 Daniel Jacobowitz <dan@codesourcery.com>
17655
17656 * gdb.base/included.c, gdb.base/included.exp,
17657 gdb.base/included.h: New files.
17658
17659 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17660
17661 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17662 (maximize_rlimit): Reduce limits on 64-bit systems.
17663
17664 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17665
17666 From Marcus Deuling <deuling@de.ibm.com>:
17667 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17668 every case.
17669
17670 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17671
17672 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17673 (test_path_specification): Use objdir instead of srcdir to always
17674 get an absolute filename.
17675
17676 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17677
17678 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17679
17680 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17681
17682 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17683 Make sure the variable we're using is in scope.
17684 (reference_to_pointer): Likewise.
17685
17686 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17687
17688 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17689 has no debug information.
17690
17691 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17692
17693 * gdb.base/annota1.exp: Remove extra send_gdb.
17694
17695 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17696
17697 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17698
17699 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17700
17701 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17702
17703 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17704 Daniel Jacobowitz <dan@codesourcery.com>
17705
17706 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17707 lcharacter or linteger change. Correct duplicated test name.
17708 * gdb.mi/mi2-var-cmd.exp: Likewise.
17709
17710 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17711
17712 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17713
17714 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17715
17716 * gdb.base/nofield.c: New file.
17717 * gdb.base/nofield.exp: New testcase.
17718
17719 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17720
17721 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17722
17723 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17724 test.
17725
17726 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17727
17728 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17729
17730 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17731
17732 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17733 when continuing.
17734
17735 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17736
17737 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17738 Expect ".exe" extension.
17739
17740 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17741
17742 * gdb.base/charset.exp: Add explicit filename to break.
17743 * gdb.base/dbx.exp: Add explicit filename to breaks.
17744
17745 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17746
17747 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17748 * gdb.mi/mi2-file.exp: Likewise.
17749
17750 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17751
17752 Implement specification of MI tests as comments
17753 in C and C++ sources.
17754 * lib/mi-support.exp (mi_autotest_data): New variable.
17755 (mi_autotest_source): New variable.
17756 (count_newlines, mi_prepare_inline_tests)
17757 (mi_get_inline_test, mi_continue_to_line)
17758 (mi_run_inline_test, mi_tbreak)
17759 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17760 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17761 Run inline tests.
17762 * gdb.mi/mi-var-cp.cc: Define tests here.
17763
17764 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17765
17766 Simplify usage of mi_continue_to.
17767 * lib/mi-support.exp (mi_runto_helper): Renamed
17768 from mi_runto, added new parameter 'run_or_continue'.
17769 (mi_runto): Use mi_runto_helper.
17770 (mi_continue_to): Accept just function name as parameter.
17771 Use mi_runto_helper.
17772 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17773 * gdb.mi/mi2-var-cmd.exp: Likewise.
17774
17775 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17776
17777 Make this testcase a bit more realistic. The current code
17778 is too simplistic, and allows the compiler to optimize out
17779 some of the entities we need for this testcase.
17780 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17781 (Do_Nothing): Add extra parameter.
17782 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17783 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17784 by using a variable of type Void_Star.
17785
17786 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17787
17788 * gdb.ada/catch_ex/foo.adb: New file.
17789 * gdb.ada/catch_ex.exp: New testcase.
17790
17791 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17792
17793 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17794 pass --image-base to linker.
17795
17796 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17797 Daniel Jacobowitz <dan@codesourcery.com>
17798
17799 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17800 secondary prompts.
17801
17802 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17803
17804 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17805 output. Test the types of members and member pointers.
17806 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17807 gdb/2092.
17808 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17809 statement. Enable for GCC. Update expected output for some tests
17810 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17811 layout.
17812 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17813 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17814 (Diamond::vget_base): New.
17815 (main): Add new tests.
17816 * gdb.cp/printmethod.exp: Update expected output for member functions.
17817 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17818 print pEe->D::vg().
17819
17820 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17821
17822 * gdb.threads/tls.exp: Allow stops in sem_post.
17823
17824 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17825
17826 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17827 * gdb.base/annota3.exp: Likewise.
17828 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17829 again (instead of timing out).
17830 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17831 GCC bug 26475.
17832 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17833 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17834 test from jmisc1.exp.
17835 * gdb.java/jmisc1.exp: Delete.
17836 * gdb.java/jprint.exp: Adjust to work with method signatures including
17837 return types.
17838 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17839 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17840 * lib/java.exp (compile_java_from_source): Pass the correct type
17841 to target_compile.
17842
17843 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17844
17845 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17846 (stack_align_edx): New function.
17847 (stack_align_eax): New function.
17848 (main): Add calls to stack_align_edx and stack_align_eax.
17849 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17850 Add testing for the cases where the register used during a stack
17851 realignment is edx. Same for eax.
17852
17853 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17854
17855 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17856 and generic PE targets.
17857
17858 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17859
17860 * gdb.ada/array_return.exp: Update copyright date list.
17861
17862 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17863
17864 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17865 (Create_Small_Float_Vector): New function.
17866 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17867 function body.
17868 * gdb.ada/array_return/p.adb: Use new type and function from
17869 package Pck.
17870 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17871 able to print the value returned by a function returning an
17872 array of float.
17873
17874 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17875
17876 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17877 The associated tests should be PASSing.
17878
17879 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17880
17881 Test for base in references.
17882 * gdb.mi/mi-var-cp.cc: Add test code.
17883 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17884 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17885 * gdb.mi/mi2-watch.exp: Likewise.
17886 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17887 (mi_list_varobj_children): New function.
17888
17889 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17890
17891 * lib/mi-support.exp
17892 (mi_runto): Accept "()" after function name.
17893 (mi_create_varobj): New function.
17894 (mi_varobj_update): New function.
17895 (mi_Check_varobj_value): New function.
17896 * gdb.mi/mi-var-cp.exp: New file.
17897 * gdb.mi/mi-var-cp.cc: New file.
17898
17899 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17900
17901 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17902 gdb.base/weaklib2.c: New files.
17903
17904 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17905
17906 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17907 info. Adjust test names.
17908
17909 * gdb.base/break.c (main): Move position of malloc.
17910 * gdb.base/break.exp: Revert mistaken checkin.
17911
17912 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17913
17914 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17915 assignement of arrays and function pointers.
17916 * gdb.mi/var-cmd.c: Add declaration necessary for above
17917 tests.
17918
17919 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17920
17921 * gdb.base/break.c (main): Call malloc.
17922
17923 * gdb.threads/linux-dp.exp: Read thread table before and after
17924 creating each philosopher and verify it.
17925
17926 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17927 Paul Brook <paul@codesourcery.com>
17928 Daniel Jacobowitz <dan@codesourcery.com>
17929
17930 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17931 main to remove duplication. Add start function of the form
17932 '_*start[1-9]*'. Add RVDS start function.
17933
17934 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17935
17936 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17937
17938 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17939
17940 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17941 * gdb.asm/spu.inc: New file.
17942 * gdb.base/term.exp: Disable if [target_info exists noargs].
17943 * gdb.gdb/complaints.exp: Disable if ![isnative].
17944 * gdb.gdb/selftest.exp: Likewise.
17945 * gdb.gdb/observer.exp: Likewise.
17946 * gdb.gdb/xfullpath.exp: Likewise.
17947 * gdb.base/attach.exp: Disable on SPU target.
17948 * gdb.cp/bs145503.exp: Likewise.
17949 * gdb.cp/exception.exp: Likewise.
17950 * gdb.cp/userdef.exp: Likewise.
17951
17952 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17953
17954 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17955
17956 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17957
17958 * gdb.base/completion.exp: Fix completion tests for
17959 'info' and 'info '.
17960 * gdb.base/help.exp (help_test_raw, test_class_help)
17961 (test_prefix_command_help): Move...
17962 * lib/gdb.exp: Here.
17963 * gdb.base/main.exp: Adjust.
17964 * gdb.cp/maint.exp: Adjust.
17965 * gdb.trace/tracecmd.exp: Use test_help_class.
17966
17967 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17968
17969 * gdb.stabs/weird.exp (print_weird_var): Use
17970 gdb_test_multiple instead of gdb_expect.
17971
17972 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17973
17974 * gdb.base/help.exp (help_test_raw): New.
17975 (test_class_help): New.
17976 (test_prefix_command_help): New.
17977 Adjust testcases.
17978
17979 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17980
17981 * gdb.base/constvars.c (main): Write to crass and crips, so that
17982 they are allocated by the compiler.
17983
17984 2006-10-27 Andreas Schwab <schwab@suse.de>
17985
17986 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17987 "detach-fork".
17988
17989 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17990
17991 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17992 of patterns.
17993
17994 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17995
17996 * gdb.base/sepdebug.exp: Remove debug format test.
17997 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17998 Handle no-symtab.
17999 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18000
18001 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18002
18003 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18004 int to pointer or pointer to int.
18005 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18006
18007 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18008
18009 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18010
18011 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18012
18013 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18014
18015 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18016
18017 PR c++/2116
18018 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18019
18020 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18021
18022 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18023 the corresponding bug has been fixed in GDB (PR/2018).
18024
18025 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18026
18027 * gdb.base/subst.exp: New testcase.
18028
18029 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18030
18031 * gdb.ada/array_return/pck.ads: Add copyright notice.
18032 * gdb.ada/array_return/pck.adb: Likewise.
18033 * gdb.ada/array_return/p.adb: Likewise.
18034 * gdb.ada/exec_changed/first.adb: Likewise.
18035 * gdb.ada/exec_changed/second.adb: Likewise.
18036
18037 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18038
18039 * gdb.ada/watch_arg/watch.adb: New file.
18040 * gdb.ada/watch_arg.exp: New testcase.
18041
18042 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18043
18044 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18045 via string_to_regexp.
18046 * gdb.mi/mi2-basics.exp: Likewise.
18047
18048 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18049
18050 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18051 Remove unused / obsolete files.
18052
18053 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18054
18055 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18056
18057 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18058
18059 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18060 HIGH_FRAME argument to -stack-list-arguments can be larger than
18061 the number of frames.
18062
18063 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18064
18065 * gdb.base/args.c (main): Add breakpoint marker.
18066 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18067 really test empty arguments.
18068 (args_load): Delete.
18069 (args_test): New.
18070
18071 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18072
18073 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18074 check for one file.
18075
18076 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18077
18078 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18079 HIGH_FRAME argument to -stack-list-locals can be larger than
18080 the number of frames.
18081
18082 2006-08-18 Fred Fish <fnf@specifix.com>
18083
18084 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18085 '$' in front of skip_vmx_tests_saved when setting that.
18086
18087 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18088
18089 * gdb.base/trace-commands.exp: New file.
18090
18091 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18092 Daniel Jacobowitz <dan@codesourcery.com>
18093
18094 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18095 expected output of the backtrace commands.
18096
18097 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18098
18099 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18100 untested followed by return combination.
18101 * gdb.arch/altivec-regs.exp: Likewise.
18102 * gdb.arch/e500-abi.exp: Likewise.
18103 * gdb.arch/e500-regs.exp: Likewise.
18104 * gdb.arch/gdb1291.exp: Likewise.
18105 * gdb.arch/gdb1431.exp: Likewise.
18106 * gdb.arch/gdb1558.exp: Likewise.
18107 * gdb.arch/i386-prologue.exp: Likewise.
18108 * gdb.arch/i386-unwind.exp: Likewise.
18109 * gdb.asm/asm-source.exp: Likewise.
18110 * gdb.base/a2-run.exp: Likewise.
18111 * gdb.base/advance.exp: Likewise.
18112 * gdb.base/all-bin.exp: Likewise.
18113 * gdb.base/annota1.exp: Likewise.
18114 * gdb.base/annota3.exp: Likewise.
18115 * gdb.base/args.exp: Likewise.
18116 * gdb.base/arithmet.exp: Likewise.
18117 * gdb.base/assign.exp: Likewise.
18118 * gdb.base/async.exp: Likewise.
18119 * gdb.base/attach.exp: Likewise.
18120 * gdb.base/bang.exp: Likewise.
18121 * gdb.base/bigcore.exp: Likewise.
18122 * gdb.base/bitfields.exp: Likewise.
18123 * gdb.base/bitfields2.exp: Likewise.
18124 * gdb.base/break.exp: Likewise.
18125 * gdb.base/call-sc.exp: Likewise.
18126 * gdb.base/call-strs.exp: Likewise.
18127 * gdb.base/callfuncs.exp: Likewise.
18128 * gdb.base/checkpoint.exp: Likewise.
18129 * gdb.base/chng-syms.exp: Likewise.
18130 * gdb.base/code-expr.exp: Likewise.
18131 * gdb.base/commands.exp: Likewise.
18132 * gdb.base/completion.exp: Likewise.
18133 * gdb.base/cond-expr.exp: Likewise.
18134 * gdb.base/condbreak.exp: Likewise.
18135 * gdb.base/consecutive.exp: Likewise.
18136 * gdb.base/constvars.exp: Likewise.
18137 * gdb.base/corefile.exp: Likewise.
18138 * gdb.base/cvexpr.exp: Likewise.
18139 * gdb.base/dbx.exp: Likewise.
18140 * gdb.base/define.exp: Likewise.
18141 * gdb.base/detach.exp: Likewise.
18142 * gdb.base/display.exp: Likewise.
18143 * gdb.base/dump.exp: Likewise.
18144 * gdb.base/ena-dis-br.exp: Likewise.
18145 * gdb.base/ending-run.exp: Likewise.
18146 * gdb.base/environ.exp: Likewise.
18147 * gdb.base/eval-skip.exp: Likewise.
18148 * gdb.base/exprs.exp: Likewise.
18149 * gdb.base/fileio.exp: Likewise.
18150 * gdb.base/finish.exp: Likewise.
18151 * gdb.base/float.exp: Likewise.
18152 * gdb.base/foll-exec.exp: Likewise.
18153 * gdb.base/foll-fork.exp: Likewise.
18154 * gdb.base/foll-vfork.exp: Likewise.
18155 * gdb.base/freebpcmd.exp: Likewise.
18156 * gdb.base/funcargs.exp: Likewise.
18157 * gdb.base/gcore.exp: Likewise.
18158 * gdb.base/gdb1090.exp: Likewise.
18159 * gdb.base/gdb1250.exp: Likewise.
18160 * gdb.base/huge.exp: Likewise.
18161 * gdb.base/info-proc.exp: Likewise.
18162 * gdb.base/interrupt.exp: Likewise.
18163 * gdb.base/jump.exp: Likewise.
18164 * gdb.base/langs.exp: Likewise.
18165 * gdb.base/lineinc.exp: Likewise.
18166 * gdb.base/list.exp: Likewise.
18167 * gdb.base/logical.exp: Likewise.
18168 * gdb.base/long_long.exp: Likewise.
18169 * gdb.base/macscp.exp: Likewise.
18170 * gdb.base/maint.exp: Likewise.
18171 * gdb.base/mips_pro.exp: Likewise.
18172 * gdb.base/miscexprs.exp: Likewise.
18173 * gdb.base/multi-forks.exp: Likewise.
18174 * gdb.base/opaque.exp: Likewise.
18175 * gdb.base/overlays.exp: Likewise.
18176 * gdb.base/pc-fp.exp: Likewise.
18177 * gdb.base/pointers.exp: Likewise.
18178 * gdb.base/printcmds.exp: Likewise.
18179 * gdb.base/psymtab.exp: Likewise.
18180 * gdb.base/ptype.exp: Likewise.
18181 * gdb.base/recurse.exp: Likewise.
18182 * gdb.base/relational.exp: Likewise.
18183 * gdb.base/relocate.exp: Likewise.
18184 * gdb.base/remote.exp: Likewise.
18185 * gdb.base/reread.exp: Likewise.
18186 * gdb.base/restore.exp: Likewise.
18187 * gdb.base/return.exp: Likewise.
18188 * gdb.base/return2.exp: Likewise.
18189 * gdb.base/scope.exp: Likewise.
18190 * gdb.base/sect-cmd.exp: Likewise.
18191 * gdb.base/sep.exp: Likewise.
18192 * gdb.base/sepdebug.exp: Likewise.
18193 * gdb.base/setshow.exp: Likewise.
18194 * gdb.base/setvar.exp: Likewise.
18195 * gdb.base/sigall.exp: Likewise.
18196 * gdb.base/sigbpt.exp: Likewise.
18197 * gdb.base/signals.exp: Likewise.
18198 * gdb.base/signull.exp: Likewise.
18199 * gdb.base/sizeof.exp: Likewise.
18200 * gdb.base/solib.exp: Likewise.
18201 * gdb.base/step-line.exp: Likewise.
18202 * gdb.base/step-test.exp: Likewise.
18203 * gdb.base/structs.exp: Likewise.
18204 * gdb.base/structs2.exp: Likewise.
18205 * gdb.base/term.exp: Likewise.
18206 * gdb.base/twice.exp: Likewise.
18207 * gdb.base/until.exp: Likewise.
18208 * gdb.base/varargs.exp: Likewise.
18209 * gdb.base/volatile.exp: Likewise.
18210 * gdb.base/watchpoint.exp: Likewise.
18211 * gdb.base/whatis-exp.exp: Likewise.
18212 * gdb.base/whatis.exp: Likewise.
18213 * gdb.cp/ambiguous.exp: Likewise.
18214 * gdb.cp/annota2.exp: Likewise.
18215 * gdb.cp/annota3.exp: Likewise.
18216 * gdb.cp/bool.exp: Likewise.
18217 * gdb.cp/breakpoint.exp: Likewise.
18218 * gdb.cp/casts.exp: Likewise.
18219 * gdb.cp/class2.exp: Likewise.
18220 * gdb.cp/classes.exp: Likewise.
18221 * gdb.cp/cplusfuncs.exp: Likewise.
18222 * gdb.cp/ctti.exp: Likewise.
18223 * gdb.cp/derivation.exp: Likewise.
18224 * gdb.cp/exception.exp: Likewise.
18225 * gdb.cp/gdb1355.exp: Likewise.
18226 * gdb.cp/hang.exp: Likewise.
18227 * gdb.cp/inherit.exp: Likewise.
18228 * gdb.cp/local.exp: Likewise.
18229 * gdb.cp/m-data.exp: Likewise.
18230 * gdb.cp/m-static.exp: Likewise.
18231 * gdb.cp/member-ptr.exp: Likewise.
18232 * gdb.cp/method.exp: Likewise.
18233 * gdb.cp/misc.exp: Likewise.
18234 * gdb.cp/namespace.exp: Likewise.
18235 * gdb.cp/overload.exp: Likewise.
18236 * gdb.cp/ovldbreak.exp: Likewise.
18237 * gdb.cp/pr-1023.exp: Likewise.
18238 * gdb.cp/pr-1210.exp: Likewise.
18239 * gdb.cp/pr-574.exp: Likewise.
18240 * gdb.cp/printmethod.exp: Likewise.
18241 * gdb.cp/psmang.exp: Likewise.
18242 * gdb.cp/ref-params.exp: Likewise.
18243 * gdb.cp/ref-types.exp: Likewise.
18244 * gdb.cp/rtti.exp: Likewise.
18245 * gdb.cp/templates.exp: Likewise.
18246 * gdb.cp/try_catch.exp: Likewise.
18247 * gdb.cp/userdef.exp: Likewise.
18248 * gdb.cp/virtfunc.exp: Likewise.
18249 * gdb.disasm/am33.exp: Likewise.
18250 * gdb.disasm/h8300s.exp: Likewise.
18251 * gdb.disasm/mn10300.exp: Likewise.
18252 * gdb.disasm/sh3.exp: Likewise.
18253 * gdb.disasm/t01_mov.exp: Likewise.
18254 * gdb.disasm/t02_mova.exp: Likewise.
18255 * gdb.disasm/t03_add.exp: Likewise.
18256 * gdb.disasm/t04_sub.exp: Likewise.
18257 * gdb.disasm/t05_cmp.exp: Likewise.
18258 * gdb.disasm/t06_ari2.exp: Likewise.
18259 * gdb.disasm/t07_ari3.exp: Likewise.
18260 * gdb.disasm/t08_or.exp: Likewise.
18261 * gdb.disasm/t09_xor.exp: Likewise.
18262 * gdb.disasm/t10_and.exp: Likewise.
18263 * gdb.disasm/t11_logs.exp: Likewise.
18264 * gdb.disasm/t12_bit.exp: Likewise.
18265 * gdb.disasm/t13_otr.exp: Likewise.
18266 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18267 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18268 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18269 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18270 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18271 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18272 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18273 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18274 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18275 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18276 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18277 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18278 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18279 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18280 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18281 * gdb.mi/gdb701.exp: Likewise.
18282 * gdb.mi/gdb792.exp: Likewise.
18283 * gdb.mi/mi-basics.exp: Likewise.
18284 * gdb.mi/mi-break.exp: Likewise.
18285 * gdb.mi/mi-cli.exp: Likewise.
18286 * gdb.mi/mi-console.exp: Likewise.
18287 * gdb.mi/mi-disassemble.exp: Likewise.
18288 * gdb.mi/mi-eval.exp: Likewise.
18289 * gdb.mi/mi-file.exp: Likewise.
18290 * gdb.mi/mi-read-memory.exp: Likewise.
18291 * gdb.mi/mi-regs.exp: Likewise.
18292 * gdb.mi/mi-return.exp: Likewise.
18293 * gdb.mi/mi-simplerun.exp: Likewise.
18294 * gdb.mi/mi-stack.exp: Likewise.
18295 * gdb.mi/mi-stepi.exp: Likewise.
18296 * gdb.mi/mi-syn-frame.exp: Likewise.
18297 * gdb.mi/mi-until.exp: Likewise.
18298 * gdb.mi/mi-var-block.exp: Likewise.
18299 * gdb.mi/mi-var-child.exp: Likewise.
18300 * gdb.mi/mi-var-cmd.exp: Likewise.
18301 * gdb.mi/mi-var-display.exp: Likewise.
18302 * gdb.mi/mi-watch.exp: Likewise.
18303 * gdb.mi/mi2-basics.exp: Likewise.
18304 * gdb.mi/mi2-break.exp: Likewise.
18305 * gdb.mi/mi2-cli.exp: Likewise.
18306 * gdb.mi/mi2-console.exp: Likewise.
18307 * gdb.mi/mi2-disassemble.exp: Likewise.
18308 * gdb.mi/mi2-eval.exp: Likewise.
18309 * gdb.mi/mi2-file.exp: Likewise.
18310 * gdb.mi/mi2-read-memory.exp: Likewise.
18311 * gdb.mi/mi2-regs.exp: Likewise.
18312 * gdb.mi/mi2-return.exp: Likewise.
18313 * gdb.mi/mi2-simplerun.exp: Likewise.
18314 * gdb.mi/mi2-stack.exp: Likewise.
18315 * gdb.mi/mi2-stepi.exp: Likewise.
18316 * gdb.mi/mi2-syn-frame.exp: Likewise.
18317 * gdb.mi/mi2-until.exp: Likewise.
18318 * gdb.mi/mi2-var-block.exp: Likewise.
18319 * gdb.mi/mi2-var-child.exp: Likewise.
18320 * gdb.mi/mi2-var-cmd.exp: Likewise.
18321 * gdb.mi/mi2-var-display.exp: Likewise.
18322 * gdb.mi/mi2-watch.exp: Likewise.
18323 * gdb.stabs/exclfwd.exp: Likewise.
18324 * gdb.stabs/weird.exp: Likewise.
18325 * gdb.threads/gcore-thread.exp: Likewise.
18326 * gdb.trace/actions.exp: Likewise.
18327 * gdb.trace/backtrace.exp: Likewise.
18328 * gdb.trace/circ.exp: Likewise.
18329 * gdb.trace/collection.exp: Likewise.
18330 * gdb.trace/deltrace.exp: Likewise.
18331 * gdb.trace/infotrace.exp: Likewise.
18332 * gdb.trace/limits.exp: Likewise.
18333 * gdb.trace/packetlen.exp: Likewise.
18334 * gdb.trace/passc-dyn.exp: Likewise.
18335 * gdb.trace/passcount.exp: Likewise.
18336 * gdb.trace/report.exp: Likewise.
18337 * gdb.trace/save-trace.exp: Likewise.
18338 * gdb.trace/tfind.exp: Likewise.
18339 * gdb.trace/tracecmd.exp: Likewise.
18340 * gdb.trace/while-dyn.exp: Likewise.
18341 * gdb.trace/while-stepping.exp: Likewise.
18342
18343 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18344
18345 * gdb.base/step-bt.c: New file.
18346 * gdb.base/step-bt.exp: New testcase.
18347
18348 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18349
18350 * config/monitor.exp (gdb_load): Remove support for obsolete
18351 download-write-size.
18352 * gdb.base/remote.exp: Likewise. Update all callers of
18353 gdb_timed_load.
18354
18355 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18356
18357 * cursal.exp: Pass binfile to gdb_load.
18358
18359 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18360
18361 * gdb.base/cursal.exp: Add "" to gdb_load call.
18362
18363 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18364
18365 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18366 NetBSD/ELF targets.
18367
18368 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18369
18370 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18371 operator*.
18372
18373 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18374
18375 * gdb.base/completion.exp: Update for change in "file" behavior.
18376 * gdb.stabs/weird.exp: Likewise.
18377 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18378 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18379
18380 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18381
18382 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18383 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18384
18385 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18386
18387 * gdb.base/default.exp: Update source command error message.
18388 * gdb.base/help.exp: Update 'help source' message.
18389
18390 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18391
18392 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18393 test.
18394
18395 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18396
18397 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18398
18399 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18400
18401 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18402
18403 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18404
18405 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18406
18407 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18408
18409 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18410 *-*-openbsd* from targets for wich we expect ARM FPA floating
18411 point format.
18412
18413 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18414
18415 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18416
18417 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18418
18419 * gdb.base/annota3.exp: Expect frame-begin annotation.
18420
18421 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18422
18423 * gdb.base/help.exp: Adjust "help unset" test to accept
18424 any list of unset commands.
18425
18426 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18427 Daniel Jacobowitz <dan@codesourcery.com>
18428
18429 * gdb.cp/ref-params.exp: New test.
18430 * gdb.cp/ref-params.cc: New source file.
18431 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18432
18433 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18434
18435 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18436 spaces/tabs in regular expressions since they might not be there.
18437
18438 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18439
18440 * gdb.base/ifelse.exp: New file.
18441
18442 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18443
18444 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18445 line.
18446 * gdb.base/huge.exp: Loop over compilation to find a size that
18447 is acceptable.
18448 * gdb.base/remote.exp: Correct expected strings.
18449 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18450
18451 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18452
18453 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18454
18455 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18456
18457 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18458 native.
18459
18460 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18461
18462 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18463 enable stabs testing.
18464
18465 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18466
18467 * gdb.base/auxv.exp: Intercept undefined command messages before
18468 gdb_test_multiple does.
18469
18470 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18471
18472 * Makefile.in (host_alias): Remove.
18473 (target_alias): Use @target_noncanonical@.
18474 (site.exp): Don't set host_alias.
18475 * aclocal.m4: Remove contents. Include acx.m4.
18476 * configure: Regenerated.
18477 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18478
18479 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18480
18481 * lib/gdb.exp (gdb_load_cmd): New.
18482
18483 * gdb.base/fileio.c: Add system(NULL) test.
18484 * gdb.base/fileio.exp: Check it.
18485
18486 * gdb.base/break.c: Add 10a breakpoint at }
18487 * gdb.base/break.exp: Add test for breakpoint at }
18488 * gdb.cp/anon-union.cc: Add code at end of function.
18489 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18490 * gdb.mi/var-cmd.c: Add code at end of function.
18491 * gdb.mi/mi-var-display.exp: Adjust end of next.
18492 * gdb.mi/mi2-var-display.exp: Likewise.
18493 * gdb.base/fileio.c: Add stop function and insert calls at
18494 stopping places.
18495 * gdb.base/fileio.exp: Breakpoint stop function and remove
18496 explicit line number references.
18497
18498 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18499
18500 * gdb.base/del.exp (test_delete_alias): New function.
18501 Now check that both "del" and "d" work as aliases for "delete".
18502
18503 2006-05-18 Fred Fish <fnf@specifix.com>
18504
18505 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18506 required. Check for spurious output after program exits normally.
18507
18508 2006-05-17 Fred Fish <fnf@specifix.com>
18509
18510 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18511 gdb_load, so it works in the simulator.
18512
18513 2006-05-11 Fred Fish <fnf@specifix.com>
18514
18515 * gdb.base/bang.exp: Ignore unexpected output between the
18516 "program exited normally" and the gdb prompt, as many other
18517 tests do.
18518
18519 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18520
18521 * gdb.base/help.exp: Make "delete checkpoint" part option for
18522 "help d" and "help delete" tests.
18523
18524 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18525
18526 * gdb.mi/mi-basics.exp: Add missing serial number to
18527 expected output in some mi_gdb_test statements.
18528 * gdb.mi/mi2-basics.exp: Likewise.
18529
18530 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18531
18532 * gdb.base/del.c: New file.
18533 * gdb.base/del.exp: New testcase.
18534
18535 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18536
18537 * gdb.base/break.exp: Do not assume a breakpoint on
18538 main will actually be in $srcfile when optimizing.
18539 * gdb.base/savedregs.exp: Do not require that the dummy
18540 frame location match up to a symbol and source file location.
18541 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18542 will get printed without a mi_cmd_data_list_register_values prefix.
18543 (*-data-list-register-*): Correct regular expressions to expect the new
18544 pseudo d? floating point registers.
18545 * gdb.mi/mi2-regs.exp: Likewise.
18546
18547 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18548
18549 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18550 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18551 is allocated by the compiler.
18552 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18553 anons, e, anone to force their allocation by the compiler.
18554
18555 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18556
18557 * gdb.base/help.exp: Update expected text for help d and
18558 help delete.
18559
18560 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18561
18562 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18563 NetBSD/ELF targets.
18564
18565 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18566
18567 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18568 single-step breakpoint fails; make this a KFAIL on
18569 sparc*-*-openbsd*.
18570 * gdb.base/siginfo.exp: Likewise.
18571 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18572
18573 2006-04-26 Michael Snyder <msnyder@redhat.com>
18574
18575 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18576 which may have to consume output from other forks.
18577 Add tests to make sure that "delete fork" succeeded.
18578
18579 2006-04-20 Michael Snyder <msnyder@redhat.com>
18580
18581 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18582 Add support for the Renesas M32C and M16C.
18583
18584 * gdb.asm/asm-source.exp: Add m32c target.
18585 * gdb.asm/m32c.inc: Support for m32c target.
18586
18587 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18588
18589 * gdb.base/commands.exp (recursive_source_test): New test.
18590
18591 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18592
18593 * gdb.base/float.exp: Add pattern for sparc targets.
18594
18595 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18596
18597 * gdb.base/commands.exp (stray_arg0_test): New test.
18598
18599 2006-03-30 Paul Brook <paul@codesourcery.com>
18600
18601 * gdb.mi/mi-until.exp: kfail broken until command.
18602 * gdb.mi/mi2-until.exp: Ditto.
18603
18604 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18605
18606 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18607
18608 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18609
18610 * gdb.base/prelink.exp: Anchor tested-for regular expression
18611 on gdb prompt.
18612
18613 2006-03-07 Paul Brook <paul@codesourcery.com>
18614
18615 * gdb.base/assign.exp: Correct fail message.
18616
18617 2006-03-07 Paul Brook <paul@codesourcery.com>
18618
18619 * lib/compiler.c: Extract armcc version number.
18620 * lib/compiler.cc: Ditto.
18621
18622 2006-03-07 Paul Brook <paul@codesourcery.com>
18623
18624 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18625 additional_flags=-w.
18626 * gdb.arch/altivec-regs.exp: Ditto.
18627 * gdb.arch/e500-abi.exp: Ditto.
18628 * gdb.arch/e500-regs.exp: Ditto.
18629 * gdb.base/all-bin.exp: Ditto.
18630 * gdb.base/annota1.exp: Ditto.
18631 * gdb.base/annota3.exp: Ditto.
18632 * gdb.base/args.exp: Ditto.
18633 * gdb.base/arithmet.exp: Ditto.
18634 * gdb.base/assign.exp: Ditto.
18635 * gdb.base/async.exp: Ditto.
18636 * gdb.base/bang.exp: Ditto.
18637 * gdb.base/break.exp: Ditto.
18638 * gdb.base/call-rt-st.exp: Ditto.
18639 * gdb.base/completion.exp: Ditto.
18640 * gdb.base/cond-expr.exp: Ditto.
18641 * gdb.base/condbreak.exp: Ditto.
18642 * gdb.base/consecutive.exp: Ditto.
18643 * gdb.base/define.exp: Ditto.
18644 * gdb.base/display.exp: Ditto.
18645 * gdb.base/ena-dis-br.exp: Ditto.
18646 * gdb.base/environ.exp: Ditto.
18647 * gdb.base/eval-skip.exp: Ditto.
18648 * gdb.base/info-proc.exp: Ditto.
18649 * gdb.base/jump.exp: Ditto.
18650 * gdb.base/logical.exp: Ditto.
18651 * gdb.base/long_long.exp: Ditto.
18652 * gdb.base/maint.exp: Ditto.
18653 * gdb.base/miscexprs.exp: Ditto.
18654 * gdb.base/pc-fp.exp: Ditto.
18655 * gdb.base/pointers.exp: Ditto.
18656 * gdb.base/relational.exp: Ditto.
18657 * gdb.base/reread.exp: Ditto.
18658 * gdb.base/sect-cmd.exp: Ditto.
18659 * gdb.base/sep.exp: Ditto.
18660 * gdb.base/sepdebug.exp: Ditto.
18661 * gdb.base/until.exp: Ditto.
18662 * gdb.base/whatis-exp.exp: Ditto.
18663 * gdb.cp/annota2.exp: Ditto.
18664 * gdb.cp/annota3.exp: Ditto.
18665 * gdb.trace/actions.exp: Ditto.
18666 * gdb.trace/backtrace.exp: Ditto.
18667 * gdb.trace/circ.exp: Ditto.
18668 * gdb.trace/collection.exp: Ditto.
18669 * gdb.trace/deltrace.exp: Ditto.
18670 * gdb.trace/infotrace.exp: Ditto.
18671 * gdb.trace/limits.exp: Ditto.
18672 * gdb.trace/packetlen.exp: Ditto.
18673 * gdb.trace/passc-dyn.exp: Ditto.
18674 * gdb.trace/passcount.exp: Ditto.
18675 * gdb.trace/report.exp: Ditto.
18676 * gdb.trace/save-trace.exp: Ditto.
18677 * gdb.trace/tfind.exp: Ditto.
18678 * gdb.trace/tracecmd.exp: Ditto.
18679 * gdb.trace/while-dyn.exp: Ditto.
18680 * gdb.trace/while-stepping.exp: Ditto.
18681 * lib/gdb.exp: Ditto.
18682 (gdb_compile): Handle nowarning option.
18683
18684 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18685
18686 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18687 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18688 Rename executable to prelinkt. Don't re-prelink if we didn't
18689 get a core file. Test prelink -u exit status to tell whether
18690 prelinking failed. Use gdb_test_multiple.
18691
18692 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18693
18694 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18695 (do_tests): Call it.
18696
18697 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18698
18699 * gdb.base/prelink.exp: New test.
18700 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18701
18702 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18703
18704 * gdb.fortran/derived-type.f90: New file.
18705 * gdb.fortran/derived-type.exp: New testcase.
18706
18707 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18708
18709 * gdb.base/default.exp: Allow ';' as a directory separator.
18710
18711 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18712
18713 * gdb.base/help.exp (help add-symbol-file): Update.
18714
18715 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18716
18717 * gdb.base/help.exp (help load): Update expected results.
18718
18719 2006-02-19 Fred Fish <fnf@specifix.com>
18720
18721 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18722 specifix hex value as part of results.
18723 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18724
18725 2006-02-16 Fred Fish <fnf@specifix.com>
18726
18727 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18728 ushort_addr, and slong_addr, so the typedefs are not optimized
18729 away.
18730 * gdb.base/whatis.exp: Add tests using type name for struct type,
18731 union type, enum type, and typedef.
18732
18733 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18734
18735 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18736
18737 2006-02-13 Jim Blandy <jimb@redhat.com>
18738
18739 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18740 case where it takes two "next" commands to skip past the init
18741 call.
18742
18743 2006-02-12 Fred Fish <fnf@specifix.com>
18744
18745 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18746 to handle cases where it takes two "next" commands to skip
18747 past the init call.
18748
18749 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18750
18751 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18752 on hppa32 targets.
18753
18754 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18755
18756 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18757 field.
18758
18759 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18760
18761 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18762
18763 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18764
18765 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18766 files.
18767
18768 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18769
18770 * gdb.cp/maint.exp: Set complaints to a positive value.
18771
18772 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18773
18774 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18775 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18776 function name.
18777
18778 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18779
18780 * gdb.base/checkpoint.c: Update copyright notice. Include
18781 <stdlib.h>.
18782
18783 2006-01-04 Jim Blandy <jimb@redhat.com>
18784
18785 * gdb.asm/asm-source.exp: Independently provide default values for
18786 asm-flags and debug-flags. Use 'string equal' to do the
18787 comparison, not the implicit expr's '==' operator. Remove
18788 now-unneeded assignments to asm-flags. In h8300 case, place
18789 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18790
18791 2006-01-04 Michael Snyder <msnyder@redhat.com>
18792
18793 * gdb.base/checkpoint.c: New file.
18794 * gdb.base/checkpoint.exp: New file.
18795 * gdb.base/multi-fork.c: New file.
18796 * gdb.base/multi-fork.exp: New file.
18797 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18798
18799 2006-01-04 Fred Fish <fnf@specifix.com>
18800
18801 * gdb.base/ptype.c (foo): Add typedef.
18802 (intfoo): Add function.
18803 * gdb.base/ptype1.c: New file.
18804 * gdb.base/ptype.exp: Handle compilation and linking with two
18805 source files. Test that proper type for "foo" is found based
18806 on source context rather than first match found in symtabs.
18807
18808 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18809
18810 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18811 * gdb.asm/openbsd.inc: Indent commands.
18812
18813 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18814
18815 * gdb.base/freebpcmd.exp: Increase timeout.
18816
18817 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18818
18819 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18820
18821 * gdb.base/default.exp: Update check for "show version".
18822
18823 2005-12-09 Randolph Chung <tausq@debian.org>
18824
18825 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18826 * gdb.asm/pa64.inc: New file.
18827
18828 2005-12-09 Randolph Chung <tausq@debian.org>
18829
18830 * gdb.asm/common.inc: Indent commands.
18831 * gdb.asm/asmsrc1.s: Likewise.
18832 * gdb.asm/asmsrc2.s: Likewise.
18833
18834 2005-12-09 Randolph Chung <tausq@debian.org>
18835
18836 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18837 (get_addr_of_sym): Remove duplicate print.
18838 (gen_core): xfail hppa*-*-hpux*, update expected output.
18839 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18840 * gdb.arch/pa64-nullify.s: New file.
18841
18842 2005-12-09 Randolph Chung <tausq@debian.org>
18843
18844 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18845
18846 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18847
18848 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18849 code generation for these functions.
18850 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18851 error message.
18852
18853 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18854
18855 * gdb.base/help.exp (help b, help br, help bre, help brea)
18856 (help break): Update the expected message.
18857
18858 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18859
18860 * gdb.asm/m68hc11.inc: Setup the data section.
18861 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18862 script for this test.
18863 (m6812-*-*): Likewise.
18864
18865 2005-11-09 Randolph Chung <tausq@debian.org>
18866
18867 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18868
18869 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18870
18871 * gdb.base/break.exp: Fix a comment typo.
18872
18873 2005-11-03 Jim Blandy <jimb@redhat.com>
18874
18875 Checked in by Elena Zannoni <ezannoni@redhat.com>
18876
18877 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18878
18879 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18880
18881 * gdb.arch/gdb1558.c: Include stdio.h.
18882
18883 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18884
18885 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18886
18887 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18888
18889 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18890
18891 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18892
18893 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18894 vscr" tests to better match output.
18895
18896 2005-10-12 Jim Blandy <jimb@redhat.com>
18897
18898 * gdb.base/structs.exp (any): New function.
18899 (test_struct_returns): Don't make any assumptions at all about
18900 what value the function returns when GDB can't set the return
18901 value.
18902
18903 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18904
18905 * gdb.ada/arrayidx/p.adb: New file.
18906 * gdb.ada/arrayidx.exp: New testcase
18907
18908 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18909
18910 * gdb.ada/array_return/pck.ads: New file.
18911 * gdb.ada/array_return/pck.adb: New file.
18912 * gdb.ada/array_return/p.adb: New file.
18913 * gdb.ada/array_return.exp: New testcase.
18914
18915 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18916
18917 * gdb.base/arrayidx.c: New file.
18918 * gdb.base/arrayidx.exp: New testcase.
18919
18920 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18921
18922 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18923 frames-invalid and breakpoints-invalid are no longer generated
18924 with level 3 so don't expect them in the output.
18925
18926 2005-09-27 Bob Rossi <bob@brasko.net>
18927
18928 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18929 from test. Escape the | in mi_gdb_test call.
18930 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18931 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18932 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18933 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18934 expected regex's in mi_gdb_test calls.
18935 * lib/mi-support.exp: Remove arbitrary .* from tests.
18936 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18937 Fully anchor GDB/MI expected results in mi_gdb_test.
18938 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18939 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18940
18941 2005-09-26 Paul Brook <paul@codesourcery.com>
18942
18943 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18944
18945 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18946
18947 * bfp-test.c: New file.
18948 * bfp-test.exp: New testcase.
18949
18950 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18951
18952 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18953 of subarray and substring variable.
18954 * gdb.fortran/subarray.f: New source file for the test of subarray
18955 and substring variable evaluation.
18956 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18957 of string constant.
18958
18959 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18960
18961 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18962 copyright dates.
18963
18964 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18965
18966 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18967 powerpc altivec' test with an almost identical 'info vector' test.
18968
18969 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18970
18971 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18972 vscr" tests to match output.
18973
18974 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18975
18976 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18977 output.
18978
18979 2005-09-11 Bob Rossi <bob@brasko.net>
18980
18981 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18982 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18983 commands that return an MI output command and an asyncronous MI output
18984 command.
18985 * gdb.mi/mi-console.exp: Ditto.
18986
18987 2005-09-11 Bob Rossi <bob@brasko.net>
18988
18989 * gdb.mi/mi-var-child.c: Include <string.h>.
18990
18991 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18992
18993 * killed.exp: Correct gdb_expect syntax.
18994
18995 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18996
18997 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18998
18999 2005-08-02 Bob Rossi <bob@brasko.net>
19000
19001 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19002 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19003 Change tests to inferior-tty-set/show.
19004 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19005 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19006 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19007 inferior. Use mi_gdb_test to get GDB and Inferior output.
19008 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19009 descriptor.
19010 (mi_inferior_tty_name): Add inferior PTY file name.
19011 (mi_gdb_start): Add INFERIOR_PTY parameter.
19012 (mi_gdb_test): Add IPATTERN parameter.
19013
19014 2005-08-02 Bob Rossi <bob@brasko.net>
19015
19016 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19017 parameter to mi_gdb_test.
19018 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19019
19020 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19021
19022 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19023 struct_declarations.
19024 * gdb.mi/mi-var-child.exp: Step over the initialization of
19025 struct_declarations.
19026
19027 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19028
19029 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19030 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19031 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19032 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19033 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19034 file.
19035
19036 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19037
19038 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19039 (do_children_tests): Assign values to the extra elements.
19040
19041 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19042 them for tests for "-var-update --no-values" and
19043 "-var-update --all-values".
19044 Add test for "-var-list-children --simple-values".
19045
19046 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19047
19048 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19049 "-stack-list-locals --simple-values" Improve doc strings and
19050 comments.
19051
19052 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19053
19054 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19055 *-*-openbsd*.
19056 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19057
19058 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19059 sigaltsatck'.
19060
19061 2005-07-14 Bob Rossi <bob@brasko.net>
19062
19063 * gdb.base/default.exp (tty): Changed output of command.
19064 * gdb.base/help.exp (help tty): Ditto.
19065
19066 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19067
19068 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19069
19070 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19071
19072 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19073 -stack-select-frame without arguments.
19074 (test_stack_frame_listing): Add test for newly implemented command
19075 -stack-info-frame.
19076
19077 2005-07-06 Bob Rossi <bob@brasko.net>
19078
19079 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19080 command.
19081 (Copyright): Update copyright.
19082
19083 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19084
19085 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19086 tests to evaluate exponentiation expression.
19087
19088 2005-06-29 Andreas Schwab <schwab@suse.de>
19089
19090 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19091 main to avoid warnings.
19092
19093 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19094
19095 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19096
19097 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19098 -stack-select-frame without arguments.
19099 (test_stack_frame_listing): Add test for newly implemented command
19100 -stack-info-frame.
19101
19102 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19103
19104 * gdb.fortran/array-element.f: New file.
19105 * gdb.fortran/array-element.exp: New testcase.
19106
19107 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19108
19109 * gdb.base/bigcore.exp: Correct checks for systems which can
19110 not dump a large core file.
19111
19112 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19113
19114 * gdb.base/relocate.c: Add a copyright notice.
19115 (dummy): Remove.
19116 * gdb.base/relocate.exp: Test printing the values of variables
19117 from a relocatable file.
19118
19119 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19120
19121 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19122 excess MI output after an error.
19123
19124 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19125
19126 * gdb.arch/alpha-step.c: New file.
19127 * gdb.arch/alpha-step.exp: New testcase.
19128
19129 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19130 Dennis Brueni <dennis@slickedit.com>
19131
19132 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19133 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19134 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19135 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19136 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19137 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19138 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19139
19140 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19141 Wu Zhou <woodzltc@cn.ibm.com>
19142
19143 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19144 IBM's xlc compiler.
19145 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19146 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19147
19148 2005-05-13 Jim Blandy <jimb@redhat.com>
19149
19150 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19151 calling gdb_suppress_entire_file.
19152 * gdb.base/charset.exp: Same.
19153 * gdb.base/call-rt-st.exp: Same.
19154
19155 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19156
19157 * lib/gdb.exp (fullname_syntax): Added global regex.
19158 (fullname_syntax_POSIX): Ditto.
19159 (fullname_syntax_UNC): Ditto.
19160 (fullname_syntax_DOS_CASE): Ditto.
19161 (fullname_syntax_DOS): Ditto.
19162 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19163 fullname_syntax variable to scope and use it.
19164 (test_file_list_exec_source_files): Ditto.
19165 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19166
19167 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19168
19169 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19170
19171 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19172
19173 * lib/gdb.exp (skip_altivec_tests): New function, based on
19174 check_vmx_hw_available from the GCC testsuite.
19175 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19176 * lib/gdb.arch/altivec-regs.exp: Likewise.
19177
19178 2005-05-02 Jim Blandy <jimb@redhat.com>
19179
19180 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19181 calling gdb_suppress_entire_file.
19182
19183 2005-04-30 Randolph Chung <tausq@debian.org>
19184
19185 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19186 Slightly relax "sem_post" name checking.
19187
19188 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19189
19190 * gdb.base/unload.exp: Use new shared library infrastructure.
19191
19192 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19193
19194 * gdb.base/so-impl-ld.exp: Use new shared library
19195 infrastructure.
19196
19197 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19198
19199 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19200 * gdb.asm/h8300.inc: New file.
19201
19202 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19203
19204 * gdb.base/shlib-call.exp: Change to use new shared library
19205 infrastructure.
19206
19207 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19208
19209 * gdb.base/pending.exp: Change to use new shared library
19210 infrastructure.
19211
19212 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19213
19214 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19215 use test_compiler_info instead of gcc_compiled, and update copyright.
19216
19217 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19218
19219 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19220 shared objects being adjusted and update copyright years.
19221
19222 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19223
19224 * ChangeLog: Correct some 2003-01-13 dates.
19225 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19226 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19227 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19228 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19229 gdb.trace/tfind.exp: Update copyright years.
19230
19231 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19232 Daniel Jacobowitz <dan@codesourcery.com>
19233
19234 * lib/gdb.exp (gdb_compile): Handle shlib=.
19235 (gdb_compile_shlib): New function.
19236
19237 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19238
19239 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19240
19241 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19242
19243 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19244 gdb.server.
19245 * configure.ac: Likewise.
19246 * configure: Regenerated.
19247 * gdb.gdbserver/Makefile.in: Moved to...
19248 * gdb.server/Makefile.in: ... here.
19249 * gdb.gdbserver/server.c: Moved to...
19250 * gdb.server/server.c: ... here.
19251 * gdb.gdbserver/server-run.exp: Moved to...
19252 * gdb.server/server-run.exp: ... here.
19253
19254 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19255
19256 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19257 * configure.ac: Create gdb.gdbserver/Makefile.
19258 * configure: Regenerated.
19259 * lib/gdbserver-support.exp: New file, derived from
19260 config/gdbserver.exp.
19261 * config/gdbserver.exp: Use gdbserver-support.exp.
19262 * gdb.gdbserver/Makefile.in: New file.
19263 * gdb.gdbserver/server.c: New file.
19264 * gdb.gdbserver/server-run.exp: New file.
19265
19266 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19267
19268 * lib/gdb.exp (test_compiler_info): Return compiler_info
19269 if no arguments are given.
19270
19271 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19272
19273 * gdb.arch/altivec-abi.exp: Check for compiler and set
19274 use altivec' flag accordingly.
19275 * gdb.arch/altivec-regs.exp: Likewise.
19276
19277 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19278
19279 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19280
19281 2005-03-27 Andreas Schwab <schwab@suse.de>
19282
19283 * gdb.base/bigcore.c (main): Add missing mode argument in open
19284 call.
19285
19286 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19287
19288 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19289 downloads.
19290 * config/gdbserver.exp (gdb_load): Likewise.
19291
19292 2005-03-14 Paul Brook <paul@codesourcery.com>
19293
19294 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19295 targets.
19296
19297 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19298
19299 * gdb.dwarf2/dup-psym.S: New file.
19300 * gdb.dwarf2/dup-psym.exp: New testcase.
19301
19302 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19303
19304 * gdb.ada/exec_changed/first.adb: New file.
19305 * gdb.ada/exec_changed/second.adb: New file.
19306 * gdb.ada/exec_changed.exp: New testcase.
19307
19308 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19309
19310 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19311 (A2): New class.
19312 (main): Test operator+.
19313 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19314 breakpoint test.
19315
19316 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19317 * gdb.base/signull.exp: Disable if gdb,nosignals.
19318 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19319 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19320 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19321 * gdb.mi/mi2-console.exp: Likewise.
19322 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19323 continue output at start.
19324 (gdb_collect_locals_test): Robustify regexp.
19325 * gdb.trace/passc-dyn.exp: Fix comment typo.
19326 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19327
19328 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19329
19330 * gdb.asm/asm-source.exp: Add iq2000 case.
19331 * gdb.asm/iq2000.inc: New file.
19332
19333 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19334
19335 * gdb.base/command.exp: Change hardcoded value to regular expression.
19336 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19337
19338 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19339
19340 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19341 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19342 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19343 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19344 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19345
19346 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19347
19348 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19349 changes.
19350
19351 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19352
19353 * lib/compiler.c: Add test for IBM's xlc compiler.
19354 * lib/compiler.cc: Likewise.
19355
19356 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19357
19358 * gdb.ada/fixed_points.exp: Create compilation object directory
19359 before running the test.
19360 * gdb.ada/null_record.exp: Likewise.
19361 * gdb.ada/packed_array.exp: Likewise.
19362 * gdb.ada/start.exp: Likewise.
19363
19364 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19365
19366 * gdb.ada/packed_array/pa.adb: New file.
19367 * gdb.ada/packed_array.exp: New testcase.
19368
19369 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19370
19371 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19372 files.
19373
19374 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19375 on *-*-openbsd*. Correctly match whitespace in regukar
19376 expressions.
19377
19378 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19379
19380 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19381 PR exp/1821
19382 * gdb.base/gdb1821.c: New test file.
19383 * gdb.base/gdb1821.exp: New test file.
19384
19385 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19386
19387 * gdb.base/start.c: New file.
19388 * gdb.base/start.exp: New testcase.
19389
19390 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19391
19392 * gdb.ada/start/dummy.adb: New file.
19393 * gdb.ada/start.exp: New testcase.
19394
19395 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19396
19397 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19398 for printing symbols and statistics.
19399 Add test for using relative pathnames in "maint print msymbols" test.
19400 Mark "maint info sections DATA" XFAIL on Cygwin.
19401 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19402 tests.
19403
19404 2005-02-09 Andreas Schwab <schwab@suse.de>
19405
19406 Committed by Andrew Cagney <cagney@gnu.org>
19407 * gdb.base/remotetimeout.exp: New file.
19408
19409 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19410
19411 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19412
19413 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19414
19415 * gdb.ada/gnat_ada.gpr: New file.
19416 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19417 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19418 * configure.ac: No longer generate gnat_ada.gpr.
19419 * configure: Regenerate.
19420 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19421 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19422 * gdb.ada/null_record/bar.ads: Likewise.
19423 * gdb.ada/null_record/bar.adb: Likewise.
19424 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19425 * gdb.ada/null_record.exp (testdir): New variable.
19426 (testfile): executable is now in testdir subdirectory.
19427 (srcfile): Use full path to the main compilation unit.
19428 * gdb.ada/fixed_points.exp: Same changes as above.
19429
19430 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19431
19432 * gdb.base/interp.exp: New test.
19433
19434 2005-01-24 Andrew Cagney <cagney@gnu.org>
19435
19436 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19437
19438 2005-01-19 Andrew Cagney <cagney@gnu.org>
19439
19440 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19441 configure.ac not configure.in.
19442
19443 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19444 of powerpc*-*-*.
19445 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19446 * gdb.base/list.exp (test_list_function)
19447 (test_list_filename_and_function): Ditto.
19448 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19449
19450 2005-01-16 Andrew Cagney <cagney@gnu.org>
19451
19452 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19453
19454 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19455
19456 2005-01-14 Andrew Cagney <cagney@gnu.org>
19457
19458 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19459 * gdb.mi/mi2-var-cmd.exp: Ditto.
19460
19461 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19462
19463 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19464
19465 2005-01-07 Andrew Cagney <cagney@gnu.org>
19466
19467 * configure.ac: Rename configure.in, require autoconf 2.59.
19468 * configure: Re-generate.
19469 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19470 * gdb.stabs/configure: Re-generate.
19471 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19472 * gdb.hp/configure: Re-generate.
19473 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19474 autoconf 2.59.
19475 * gdb.hp/gdb.objdbg/configure: Re-generate.
19476 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19477 autoconf 2.59.
19478 * gdb.hp/gdb.defects/configure: Re-generate.
19479 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19480 autoconf 2.59.
19481 * gdb.hp/gdb.compat/configure: Re-generate.
19482 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19483 autoconf 2.59.
19484 * gdb.hp/gdb.base-hp/configure: Re-generate.
19485 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19486 autoconf 2.59.
19487 * gdb.hp/gdb.aCC/configure: Re-generate.
19488
19489 2004-12-15 Jim Blandy <jimb@redhat.com>
19490
19491 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19492 under NPTL when there is debugging info available for libpthread.
19493
19494 2004-12-13 Jerome Guitton <guitton@gnat.com>
19495
19496 * gdb.ada/fixed_points.c: New file.
19497 * gdb.ada/fixed_points.exp: New file.
19498
19499 2004-12-03 Randolph Chung <tausq@debian.org>
19500
19501 * gdb.arch/pa-nullify.exp: New file.
19502 * gdb.arch/pa-nullify.s: New file.
19503
19504 2004-11-30 Randolph Chung <tausq@debian.org>
19505
19506 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19507 instead of "tbug". Fix regexp to work properly with gdb_test.
19508
19509 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19510
19511 * gdb.base/bitfields2.exp: New test.
19512 * gdb.base/bitfields2.c: New file.
19513
19514 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19515
19516 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19517
19518 2004-11-16 Randolph Chung <tausq@debian.org>
19519
19520 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19521
19522 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19523
19524 * gdb.threads/threadapply.exp: Correct "macro details" test.
19525
19526 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19527
19528 * gdb.threads/threadapply.exp: New test.
19529 * gdb.threads/threadapply.c: New file.
19530
19531 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19532
19533 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19534 frames.
19535
19536 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19537
19538 * gdb.base/cursal.exp: New file.
19539 * gdb.base/cursal.c: New file.
19540
19541 2004-11-03 Andrew Cagney <cagney@gnu.org>
19542
19543 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19544
19545 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19546
19547 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19548 NetBSD/ELF targets.
19549
19550 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19551
19552 * gdb.threads/bp_in_thread.c: New file, copied from
19553 pthread_cond_wait.c.
19554 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19555 file, rather than reusing the .c file from another testcase.
19556
19557 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19558
19559 * gdb.ada/null_record.exp: Check where we stopped after
19560 sending the start command, instead of where the associated
19561 temporary breakpoint was inserted.
19562
19563 2004-10-14 Andrew Cagney <cagney@gnu.org>
19564
19565 * gdb.mi/gdb701.c (main): Return 0.
19566
19567 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19568
19569 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19570
19571 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19572
19573 * gdb.threads/schedlock.c: Add comment markers to use to find
19574 line numbers.
19575 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19576 comments.
19577 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19578 breakpoint lines.
19579
19580 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19581
19582 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19583
19584 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19585
19586 * configure.in: Add gdb.dwarf2.
19587 * configure: Regenerated.
19588 * Makefile.in: Add gdb.dwarf2.
19589 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19590 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19591 gdb.dwarf2/file1.txt: New files.
19592
19593 2004-10-11 Orjan Friberg <orjanf@axis.com>
19594
19595 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19596 of "run", since the latter doesn't work with remote targets. Adjust
19597 the breakpoint numbering accordingly.
19598 * gdb.threads/pthread_cond_wait.exp: Ditto.
19599
19600 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19601
19602 * gdb.base/overlays.exp: Update copyright years.
19603
19604 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19605
19606 * gdb.base/overlays.exp: Disable if target is Linux.
19607
19608 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19609
19610 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19611
19612 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19613
19614 * gdb.asm/asm-source.exp: Add m32r-linux target.
19615 * gdb.asm/m32r-linux.inc: New file.
19616
19617 2004-09-24 Andrew Cagney <cagney@redhat.com>
19618 David Anderson <anderson@redhat.com>
19619
19620 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19621 command fails, assume things will work.
19622 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19623 (_GNU_SOURCE): Define.
19624 (print_unsigned, print_hex): Change parameter to "long long".
19625 (print_byte_count): New function, use to print byte counts.
19626 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19627 O_LARGEFILE.
19628 (main): Compute an upper bound on a corefile in max_core_size.
19629 Limit memory chunk size to max_core_size. Limit total memory
19630 allocated to max_core_size.
19631
19632 2004-09-23 Andrew Cagney <cagney@gnu.org>
19633
19634 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19635 from a separate process with code that creates a corefile by
19636 making the inferior dump core.
19637
19638 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19639
19640 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19641 block.
19642
19643 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19644
19645 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19646 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19647 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19648 Likewise.
19649
19650 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19651
19652 * gdb.java/jprint.exp: New test case for java inferior call.
19653 * gdb.java/jprint.java: Ditto.
19654
19655 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19656
19657 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19658
19659 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19660
19661 * gdb.threads/killed.c: Include <stdlib.h>.
19662 * gdb.threads/pthreads.c: Likewise.
19663
19664 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19665
19666 * gdb.threads/killed.c: Add copyright notice.
19667
19668 2004-09-10 Jason Molenda (jmolenda@apple.com)
19669
19670 * gdb.base/define.exp: Two new tests to verify zero space chars
19671 after 'if' and 'while' commands in a user-defined command is correctly
19672 parsed.
19673
19674 2004-09-08 Andrew Cagney <cagney@gnu.org>
19675
19676 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19677 delivery test with duplicate at end of file.
19678
19679 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19680
19681 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19682
19683 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19684
19685 * config/hppro.exp: Removed.
19686
19687 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19688
19689 * config/sparclet.exp: Removed.
19690
19691 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19692
19693 * config/udi.exp: Removed.
19694
19695 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19696
19697 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19698 of "exp_continue".
19699 (advancei): Likewise.
19700
19701 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19702
19703 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19704
19705 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19706
19707 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19708 to check for nodebug in executable.
19709 * gdb.gdb/observer.exp (setup_test): Likewise.
19710 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19711 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19712
19713 2004-09-01 Andrew Cagney <cagney@gnu.org>
19714
19715 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19716 files.
19717
19718 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19719
19720 * gdb.base/unload.exp: Fix expected warning message to match
19721 latest format.
19722
19723 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19724
19725 * gdb.base/call-rt-st.exp: Fix typos.
19726
19727 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19728
19729 * gdb.threads/thread_check.exp: New testcase.
19730 * gdb.threads/thread_check.c: New testcase.
19731
19732 2004-08-31 Andrew Cagney <cagney@gnu.org>
19733
19734 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19735 (skip_to_handler_entry): New procedures. Test stepping into a
19736 handler when the breakpoint is at the handler's entry point.
19737
19738 2004-08-30 Andrew Cagney <cagney@gnu.org>
19739
19740 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19741 gdb/1757.
19742
19743 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19744
19745 With code from Manoj Iyer <manjo@austin.ibm.com>:
19746 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19747 return value. Add an arm for "no debugging symbols found".
19748 Change a stray "error" to "perror".
19749 (gdb_run_cmd): Adapt to new return value.
19750 * gdb.base/remote.exp: Adapt to new return value.
19751 * gdb.gdb/complaints.exp: Likewise.
19752 * gdb.gdb/observer.exp: Likewise.
19753 * gdb.gdb/selftest.exp: Likewise.
19754 * gdb.gdb/xfullpath.exp: Likewise.
19755
19756 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19757
19758 * gdb.threads/bp_in_thread.exp: New testcase.
19759
19760 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19761
19762 Fix PR testsuite/1735.
19763 * gdb.threads/schedlock.c (thread_function): Add a cast
19764 to suppress a gcc warning.
19765 * gdb.threads/thread-specific.c (thread_function): Likewise.
19766
19767 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19768
19769 * gdb.base/unload.c: Include <stdlib.h>.
19770
19771 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19772
19773 From Paul Gilliam <pgilliam@us.ibm.com>:
19774 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19775 synchronized after the "return".
19776
19777 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19778
19779 * gdb.mi/basics.c: Include <stdio.h>.
19780 * gdb.mi/pthreads.c: Include <stdlib.h>.
19781 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19782
19783 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19784
19785 * gdb.threads/schedlock.c: Add copyright notice.
19786
19787 2004-08-25 Andrew Cagney <cagney@gnu.org>
19788
19789 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19790 (skip_over_handler, breakpoint_over_hander): New test procedures.
19791 (advance, advancei): Add a proper prefix, do not use
19792 rerun_to_main.
19793 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19794
19795 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19796
19797 * gdb.mi/basics.c: Add copyright notice.
19798 * gdb.mi/var-cmd.c: Add copyright notice.
19799
19800 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19801
19802 * lib/gdb.exp: Remove signed_keyword_not_used.
19803 * lib/compiler.c: Likewise.
19804 * lib/compiler.cc: Likewise.
19805
19806 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19807
19808 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19809 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19810
19811 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19812
19813 * gdb.base/whatis.c: Add copyright notice.
19814
19815 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19816
19817 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19818 it to skip the breakpoints encoded in the inline assembly.
19819
19820 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19821
19822 * Makefile.in: Add gdb.fortran.
19823
19824 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19825
19826 * gdb.base/call-sc.exp (test_scalar_returns):
19827 Fix cut-and-paste glitch in "Make fun return now".
19828
19829 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19830
19831 * configure.in: Add gdb.fortran.
19832 * configure: Regenerate.
19833 * gdb.fortran/Makefile.in: New file.
19834 * lib/gdb.exp (skip_fortran_tests): New procedure.
19835
19836 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19837
19838 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19839 reference to bug-gnu@prep.ai.mit.edu.
19840 * gdb.mi/mi-var-child.exp: Likewise.
19841 * gdb.mi/mi-var-cmd.exp: Likewise.
19842 * gdb.mi/mi-var-display.exp: Likewise.
19843 * gdb.mi/mi2-var-block.exp: Likewise.
19844 * gdb.mi/mi2-var-child.exp: Likewise.
19845 * gdb.mi/mi2-var-cmd.exp: Likewise.
19846 * gdb.mi/mi2-var-display.exp: Likewise.
19847
19848 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19849
19850 * gdb.base/unload.c (main): Make local variable msg const.
19851
19852 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19853
19854 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19855 to bug-gnu@prep.ai.mit.edu.
19856 * gdb.mi/mi-disassemble.exp: Likewise.
19857 * gdb.mi/mi-eval.exp: Likewise.
19858 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19859 default line number.
19860 * gdb.mi/mi-return.exp: Likewise.
19861 * gdb.mi/mi-simplerun.exp: Likewise.
19862 * gdb.mi/mi-stack.exp: Likewise.
19863 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19864 number with explicit range test.
19865 * gdb.mi/mi-watch.exp: Likewise.
19866 * gdb.mi/mi2-break.exp: Likewise.
19867 * gdb.mi/mi2-cli.exp: Likewise.
19868 * gdb.mi/mi2-disassemble.exp: Likewise.
19869 * gdb.mi/mi2-eval.exp: Likewise.
19870 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19871 default line number.
19872 * gdb.mi/mi2-return.exp: Likewise.
19873 * gdb.mi/mi2-simplerun.exp: Likewise.
19874 * gdb.mi/mi2-stack.exp: Likewise.
19875 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19876 number with explicit range test.
19877 * gdb.mi/mi2-watch.exp: Likewise.
19878
19879 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19880
19881 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19882 * gdb.cp/m-static.exp: Likewise.
19883 * gdb.cp/rtti.exp: Likewise.
19884
19885 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19886
19887 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19888
19889 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19890
19891 * ChangeLog: Prefix Local Variables with semi-colons and indent
19892 the reference to older ChangeLog files, to fix fontification in
19893 Emacs.
19894
19895 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19896
19897 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19898 * gdb.mi/mi2-break.exp: Likewise.
19899
19900 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19901
19902 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19903
19904 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19905
19906 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19907
19908 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19909
19910 * gdb.cp/classes.exp: Remove unused declarations. Just let
19911 test names default instead of providing special names. Remove
19912 extraneous demangler test.
19913
19914 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19915
19916 * gdb.base/unload.exp: New test for breakpoints in dynamically
19917 loaded libraries.
19918 * gdb.base/unload.c: Ditto.
19919 * gdb.base/unloadshr.c: Ditto.
19920
19921 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19922
19923 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19924 cp_test_ptype_class.
19925 (test_enums): Likewise.
19926
19927 2004-08-10 Andrew Cagney <cagney@gnu.org>
19928
19929 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19930 files.
19931
19932 2004-08-10 Andrew Cagney <cagney@gnu.org>
19933
19934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19935 init_malloc call.
19936
19937 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19938
19939 * ChangeLog: Add copyright notice. The notice is copied
19940 from emacs 21.3 top level ChangeLog.
19941
19942 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19943
19944 * lib/cp-support.exp: New file.
19945 * lib/cp-support.exp (cp_test_type_class): New function.
19946 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19947 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19948 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19949 cp_test_ptype_class.
19950
19951 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19952
19953 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19954 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19955 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19956 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19957 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19958 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19959 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19960 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19961 gdb.mi/mi2-watch.exp: Update copyright years.
19962
19963 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19964
19965 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19966
19967 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19968
19969 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19970 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19971 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19972 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19973 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19974 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19975 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19976 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19977 gdb.mi/mi-watch.exp: Update copyright years.
19978
19979 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19980
19981 PR gdb/1738
19982 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19983 from a breakpoint with a pending signal.
19984
19985 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19986
19987 PR gdb/1736
19988 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19989 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19990 the prompt.
19991 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19992
19993 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19994
19995 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19996
19997 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19998
19999 PR gdb/1736
20000 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20001 for i?86-*-linux*.
20002
20003 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20004
20005 * gdb.arch/i386-prologue.exp: Compile without debug information.
20006
20007 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20008
20009 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20010 rather than asking gdb to search.
20011
20012 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20013
20014 * gdb.base/gcore.c: Include <string.h>.
20015
20016 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20017
20018 * gdb.base/gcore.c: Add copyright notice.
20019
20020 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20021
20022 * gdb.base/freebpcmd.c: Include <stdio.h>.
20023 * gdb.base/long_long.c: Include <string.h>.
20024 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20025 * gdb.base/siginfo.c: Include <string.h>.
20026 * gdb.base/sigstep.c: Include <string.h>.
20027
20028 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20029
20030 * gdb.base/complex.c: Include <stdlib.h>.
20031
20032 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20033
20034 * gdb.base/complex.c: Add copyright notice.
20035
20036 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20037
20038 * gdb.base/charset.c: Include <stdlib.h>.
20039
20040 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20041
20042 * gdb.base/auxv.c: Include <stdlib.h>.
20043
20044 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20045
20046 * gdb.base/auxv.c: Add copyright notice.
20047
20048 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20049
20050 * gdb.base/coremaker.c: Add copyright notice.
20051 * gdb.base/coremaker2.c: Add copyright notice.
20052
20053 2004-08-04 Andrew Cagney <cagney@gnu.org>
20054
20055 * gdb.base/store.exp: Update copyright.
20056 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20057 names, do not import gdb_prompt.
20058
20059 2004-08-01 Andrew Cagney <cagney@gnu.org>
20060
20061 Fix PR testsuite/1729.
20062 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20063 not use capture_value with value 4.
20064 (capture_value): Add optional test name parameter.
20065 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20066 the prefix, pass to capture_value.
20067
20068 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20069
20070 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20071 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20072 (main): Call new function.
20073
20074 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20075
20076 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20077
20078 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20079
20080 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20081
20082 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20083
20084 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20085 Accept more values of vtbl pointer. Remove some messages
20086 about "obsolete gcc or gdb".
20087
20088 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20091
20092 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20093
20094 * gdb.base/asm-source.exp: Properly convert target board
20095 debug flags from gcc format to binutils format.
20096
20097 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20098
20099 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20100 gdb1718". PR backtrace/1718 partially fixed.
20101
20102 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20103
20104 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20105
20106 2004-07-26 Nick Clifton <nickc@redhat.com>
20107
20108 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20109 good default value for a specific architecture is available then
20110 set it to that value. Otherwise default to the -gstabs switch.
20111 Remove the -g... switches from the asm-flags variable. Allow the
20112 target board info to override the value if it wants to. Pass the
20113 switch on the assembler command line.
20114
20115 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20116
20117 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20118 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20119 (main): Call new function.
20120
20121 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20122
20123 Test for PR exp/1715.
20124 * gdb.base/radix.exp: Refactor common procedures. Make all
20125 test names unique. Change XFAIL to KFAIL.
20126
20127 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20128
20129 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20130 * gdb.ada/gnat_ada.gin: ... to here.
20131 * configure.in: Use gnat_ada.gin.
20132 * configure: Regenerate.
20133
20134 2004-07-20 Andrew Cagney <cagney@gnu.org>
20135
20136 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20137 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20138 XFAILs. Clean up test messages and comments. Check backtraces.
20139 Delete re-sync code.
20140
20141 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20142
20143 Fix PR cli/740.
20144 * gdb.base/annota1.exp: Honor gdb,nosignals.
20145 * gdb.base/annota3.exp: Likewise.
20146
20147 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20148
20149 * lib/java.exp: Update copyright notice.
20150
20151 2004-07-19 Andrew Cagney <cagney@gnu.org>
20152
20153 * gdb.base/selftest.exp: Copy file from here ...
20154 * gdb.gdb/selftest.exp: ... to here.
20155
20156 2004-07-16 Andrew Cagney <cagney@redhat.com>
20157
20158 * lib/insight-support.exp: Delete file.
20159 * lib/java.exp (java_init): Fix copyright.
20160
20161 2004-07-16 Andrew Cagney <cagney@gnu.org>
20162
20163 * gdb.base/restore.c: Append "prologue" to comments marking the a
20164 function's prologue.
20165 * gdb.base/restore.exp: Update copyright, re-indent.
20166 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20167 callerN" prefix where needed. Update patterns that match a
20168 function's prologue.
20169
20170 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20171
20172 * gdb.base/restore.c: Add copyright notice.
20173
20174 2004-07-16 Andrew Cagney <cagney@gnu.org>
20175
20176 * gdb.base/logical.exp: Update copyright.
20177 (evaluate): New procedure. Use to re-implement tests using
20178 several tables.
20179
20180 2004-07-14 Martin Hunt <hunt@redhat.com>
20181
20182 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20183 which fixes some problems where init.tcl was not found.
20184
20185 2004-07-13 Andrew Cagney <cagney@gnu.org>
20186
20187 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20188 (check_sizeof, check_valueof): Do not include the output in the
20189 test name. Use gdb_test.
20190 (get_valueof): Use gdb_test_multiple.
20191
20192 * gdb.base/step-test.exp: Update copyright. Use
20193 gdb_test_multiple. Ensure that test names do not include
20194 architecture dependent output.
20195
20196 * gdb.gdb/observer.exp: Update copyright.
20197 (setup_test): Use gdb_test_multiple.
20198 (attach_first_observer, attach_second_observer)
20199 (attach_third_observer, detach_first_observer)
20200 (detach_second_observer, detach_third_observer)
20201 (reset_counters, check_counters): Make $message a prefix.
20202 (test_normal_stop_notifications): Add "args" parameter - a list of
20203 init functions to be called. Make $message a prefix,
20204 (test_observer_normal_stop): Change the message prefixes so that
20205 they are unique, pass the attach / detach procedures to
20206 test_normal_stop_notifications.
20207
20208 * gdb.base/signull.exp (test_segv): Prefix all tests with
20209 "${name}". Clean up test messages.
20210
20211 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20212
20213 * gdb.base/ena-dis-br.exp: Update copyright.
20214 (break_at): New function. Replace send_gdb with gdb_test,
20215 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20216 ignore count, not stopped at bpt", with KFAIL.
20217
20218 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20219
20220 * gdb.base/attach.exp: Remove cleanupfile handling.
20221
20222 2004-07-12 Andrew Cagney <cagney@gnu.org>
20223
20224 * gdb.base/annota1.exp: Cleanup corefile test name.
20225 * gdb.base/annota3.exp: Ditto.
20226
20227 2004-07-12 Andrew Cagney <cagney@gnu.org>
20228
20229 * gdb.base/signals.exp: Clean up copyright, re-indent.
20230
20231 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20232 gdb_test and gdb_test_multiple.
20233
20234 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20235
20236 * gdb.java/jmain.exp: Fix expected line number for main to
20237 break at. Set XFAIL for break at main test since gcj does not
20238 provide line number info for first statement in main.
20239
20240 2004-07-08 Andrew Cagney <cagney@gnu.org>
20241
20242 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20243
20244 * gdb.base/sigbpt.exp: Make the common part of each test name a
20245 prefix instead of suffix.
20246
20247 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20248
20249 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20250 test from test_tbreak_creation_and_listing to
20251 test_file_list_exec_source_file
20252 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20253 Changed name of test from test_tbreak_creation_and_listing to
20254 test_file_list_exec_source_file
20255
20256 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20257
20258 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20259 the jmisc() constructor instead of <init>.
20260 * gdb.java/jmisc1.exp: Ditto.
20261
20262 2004-07-07 Andrew Cagney <cagney@gnu.org>
20263
20264 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20265 corrupting the PC.
20266
20267 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20268
20269 * gdb.cp/templates.exp: Accept whitespace change in demangler
20270 output.
20271
20272 2004-07-06 Andrew Cagney <cagney@gnu.org>
20273
20274 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20275
20276 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20277
20278 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20279 * lib/compiler.cc: Likewise.
20280
20281 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20282
20283 * lib/compiler.cc: Work around string preprocessing problem
20284 with old hp c++ compiler.
20285 * lib/compiler.c: Likewise.
20286
20287 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20288
20289 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20290 directives to conditionalize symbol prefixing.
20291 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20292 additional_flags handling. Add underscore prefix for Cygwin.
20293 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20294 conditionalize symbol prefixing.
20295 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20296 additional_flags handling. Add underscore prefix for Cygwin.
20297
20298 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20299
20300 * gdb.base/bigcore.exp: Skip test on Cygwin.
20301
20302 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20303
20304 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20305 formats for "info register". Use gdb_test_multiple. Fix
20306 the "invalid register" test.
20307
20308 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20309
20310 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20311 PID for Cygwin. Add Cygwin specific strings to check for in some
20312 tests.
20313 (do_attach_tests): Add a test for user interaction when attaching
20314 to a process with no matching symbol table already loaded.
20315
20316 2004-06-26 Andrew Cagney <cagney@gnu.org>
20317
20318 Test PR java/1567 and PR java/1565.
20319 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20320 * gdb.java/jmisc2.exp: Delete file.
20321
20322 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20323
20324 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20325
20326 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20327
20328 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20329 attach process.
20330
20331 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20332
20333 * gdb.cp/pr-1553.exp: Remove.
20334
20335 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20336
20337 * gdb.cp/pr-1553.cc: Remove.
20338 * gdb.cp/pr-1553.exp: Disable this test.
20339
20340 2004-06-20 Jim Blandy <jimb@redhat.com>
20341
20342 Fix PR testsuite/1680.
20343 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20344 regular expressions.
20345
20346 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20347
20348 Fix PR testsuite/1679.
20349 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20350 Issue an UNSUPPORTED result instead.
20351
20352 2004-06-18 Jim Blandy <jimb@redhat.com>
20353
20354 * gdb.base/charset.exp: Only send a control-C if we see a new
20355 prompt and incomplete command.
20356
20357 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20358
20359 * gdb.cp/pr-574.cc: Add copyright notice.
20360
20361 2004-06-17 Jim Blandy <jimb@redhat.com>
20362
20363 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20364 cases where the regexp has no groups; this grabs random text from
20365 the previous test suite, whatever that was.
20366
20367 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20368
20369 * gdb.cp/printmethod.cc: Add copyright notice.
20370
20371 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20372
20373 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20374
20375 2004-06-16 Andrew Cagney <cagney@gnu.org>
20376
20377 * gdb.base/signull.c: Update copyright. Include <string.h>.
20378 (bowler): Replace data_pointer with data_read
20379 and data_write cases. Add code_descriptor case.
20380 (zero, desc): New array and pointer.
20381 (data, code): Change to simple pointers.
20382 * gdb.base/signull.exp: Fix probe pattern matching a function
20383 descriptor SIGSEGV. Replace data_pointer with data_read and
20384 data_write tests.
20385
20386 2004-06-16 Andrew Cagney <cagney@gnu.org>
20387
20388 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20389
20390 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20391
20392 * gdb.base/long_long.c: Add copyright notice.
20393
20394 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20395
20396 * gdb.base/long_long.exp: Remove reference to
20397 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20398 to gdb_breakpoint and gdb_continue_to_breakpoint.
20399
20400 2004-06-14 Jim Blandy <jimb@redhat.com>
20401
20402 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20403 endian case.
20404
20405 2004-06-14 Andrew Cagney <cagney@gnu.org>
20406
20407 * gdb.base/gcore.exp (capture_command_output): Delete the always
20408 passing tests containing inferior values.
20409 * gdb.base/ending-run.exp: Do not include the breakpoint address
20410 in the test message. Update copyright.
20411 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20412 size in the test name, use gdb_test_multiple. Update copyright.
20413
20414 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20415
20416 * gdb.cp/ref-types.cc: Add copyright notice.
20417
20418 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20419
20420 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20421 hp_aCC_compiler.
20422 * lib/compiler.cc: Likewise.
20423 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20424 'set' commands. Log diagnostics for other lines. Set
20425 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20426
20427 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20428
20429 * gdb.cp/try_catch.cc: Add copyright notice.
20430
20431 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20432
20433 * gdb.cp/userdef.cc: Add copyright notice.
20434
20435 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20436
20437 * gdb.cp/virtfunc.cc: Add copyright notice.
20438
20439 2004-06-11 Randolph Chung <tausq@debian.org>
20440
20441 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20442 problem.
20443
20444 2004-06-10 Andrew Cagney <cagney@gnu.org>
20445
20446 * lib/compiler.cc, lib/compiler.c: Append either
20447 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20448 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20449 instead of gcc-3-3.
20450
20451 2004-06-09 Andrew Cagney <cagney@gnu.org>
20452
20453 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20454 gdb/1455, bug is specific to "long long" and "double".
20455
20456 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20457 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20458 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20459 fixed.
20460
20461 2004-06-09 Andrew Cagney <cagney@gnu.org>
20462
20463 * gdb.base/structs.exp (test_struct_returns): Replace
20464 "return_value_unknown" and "finish_value_unknown" by
20465 "return_value_known" and "finish_value_known". Instead of
20466 "return_value_unknown" iff "finish_value_unknown", check
20467 "return_value_known" implies "finish_value_known".
20468
20469 2004-06-08 Martin Hunt <hunt@redhat.com>
20470
20471 * gdb.base/float.exp: Add pattern for mips targets.
20472
20473 2004-06-08 Randolph Chung <tausq@debian.org>
20474
20475 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20476 message for unknown architectures more clear.
20477
20478 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20479
20480 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20481 start the execution of the program.
20482
20483 2004-06-07 Jim Blandy <jimb@redhat.com>
20484
20485 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20486 * gdb.arch/i386-cpuid.h: New helper file.
20487
20488 2004-06-07 Randolph Chung <tausq@debian.org>
20489
20490 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20491 has started.
20492
20493 2004-06-04 Roland McGrath <roland@redhat.com>
20494
20495 Fix PR gdb/1647.
20496 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20497 differently to be robust to output buffering differences.
20498
20499 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20500
20501 * gdb.threads/pthreads.exp: Update copyright years.
20502 (check_control_c): Change asynchronous 'after' to synchronous.
20503
20504 2004-06-04 Roland McGrath <roland@redhat.com>
20505
20506 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20507 next gdb prompt.
20508
20509 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20510
20511 Fix PR gdb/1636.
20512 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20513 calls to synchronous.
20514
20515 2004-05-26 Jim Blandy <jimb@redhat.com>
20516
20517 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20518
20519 2004-05-24 Randolph Chung <tausq@debian.org>
20520
20521 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20522 * gdb.asm/pa.inc: New file.
20523
20524 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20525
20526 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20527
20528 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20529 Daniel Jacobowitz <drow@mvista.com>
20530
20531 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20532 GDB prompt.
20533
20534 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20535
20536 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20537 setjmp/longjmp. Use sigaction instead of signal.
20538
20539 2004-05-19 J. Brobecker <brobecker@gnat.com>
20540 Michael Snyder <msnyder@redhat.com>
20541
20542 * gdb.threads/pthread_cond_wait.c: New file.
20543 * gdb.threads/pthread_cond_wait.exp: New testcase.
20544
20545 2004-05-13 Andrew Cagney <cagney@redhat.com>
20546
20547 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20548 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20549
20550 2004-05-11 Andrew Cagney <cagney@redhat.com>
20551
20552 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20553 fixed but revealed gdb/1639.
20554
20555 2004-05-10 Andrew Cagney <cagney@redhat.com>
20556
20557 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20558 func1" and "next to 2nd alarm", kernel bug avoided.
20559
20560 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20561
20562 PR external/1568
20563 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20564 XFAIL if it is smaller than bytes_allocated.
20565 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20566 (main): Make chunks_allocated unsigned. Correct comment.
20567
20568 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20569
20570 * gdb.arch/powerpc-aix-prologue.c: New file.
20571 * gdb.arch/powerpc-aix-prologue.exp: New file.
20572
20573 2004-05-07 Jim Blandy <jimb@redhat.com>
20574
20575 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20576 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20577
20578 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20579
20580 * gdb.base/sep.exp: No longer setup_kfail when the program was
20581 built with dwarf2.
20582
20583 2004-05-05 Jim Ingham <jingham@apple.com>
20584
20585 * gdb.base/pending.exp: Make sure pending breakpoints
20586 preserve the ignore count.
20587
20588 2004-04-27 Jerome Guitton <guitton@gnat.com>
20589
20590 * i386-prologue.exp: Add testcase for jump instruction as first
20591 instruction of the real code.
20592 * i386-prologue.c (jump_at_beginning): New function.
20593
20594 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20595
20596 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20597 x86_64-*-*.
20598
20599 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20600
20601 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20602 i*86-*-*.
20603
20604 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20605
20606 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20607 expression that checks the return type.
20608
20609 2004-04-23 Andrew Cagney <cagney@redhat.com>
20610
20611 * gdb.base/call-sc.exp: New test of scalar call/return values.
20612 * gdb.base/call-sc.c: Ditto.
20613
20614 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20615
20616 * gdb.threads/manythreads.c: Reduce thread stack size.
20617
20618 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20619
20620 * gdb.threads/manythreads.c: Add copyright notice.
20621
20622 2004-04-23 Andrew Cagney <cagney@redhat.com>
20623
20624 * gdb.base/siginfo.exp: Better handle step out of signal.
20625 * gdb.base/sigstep.exp: Ditto.
20626
20627 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20628 Daniel Jacobowitz <drow@mvista.com>
20629
20630 * gdb.threads/manythreads.c: New testcase.
20631 * gdb.threads/manythreads.exp: Ditto.
20632
20633 2004-04-22 Jim Blandy <jimb@redhat.com>
20634
20635 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20636 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20637
20638 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20639
20640 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20641
20642 2004-04-21 Andrew Cagney <cagney@redhat.com>
20643
20644 * gdb.base/sigstep.c: New file.
20645 * gdb.base/sigstep.exp: New file.
20646
20647 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20648
20649 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20650 call to observer_notify_normal_stop.
20651
20652 2004-04-15 Andrew Cagney <cagney@redhat.com>
20653
20654 * gdb.base/siginfo.c: New file.
20655 * gdb.base/siginfo.exp: New file.
20656
20657 2004-04-12 J. Brobecker <brobecker@gnat.com>
20658
20659 * gdb.base/sep.exp: Fix typo in comment.
20660
20661 2004-04-12 J. Brobecker <brobecker@gnat.com>
20662
20663 * gdb.base/sep.c: New file.
20664 * gdb.base/sep-proc.c: New file.
20665 * gdb.base/sep.exp: New testcase.
20666
20667 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20668
20669 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20670 support.
20671
20672 2004-04-05 Andrew Cagney <cagney@redhat.com>
20673
20674 * gdb.base/sigaltstack.c: New file.
20675 * gdb.base/sigaltstack.exp: New file.
20676
20677 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20678
20679 * gdb.base/foll-fork.exp: Update the expected output for
20680 "help set follow-fork-mode", to match a change that was made
20681 to the help of this variable on 2004-01-13.
20682
20683 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20684
20685 * lib/ada.exp: Add copyright notice.
20686 * bar.ads: Likewise.
20687 * bar.adb: Likewise.
20688 * null_record.adb: Likewise.
20689 * null_record.exp: Likewise.
20690 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20691
20692 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20693
20694 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20695 * configure: Regenerate.
20696
20697 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20698
20699 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20700 to build the application. Remove the message printed when in
20701 verbose mode, redundant with the UNSUPPORTED message above.
20702
20703 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20704
20705 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20706 * gdb.ada (null_record.exp): New testcase.
20707
20708 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20709
20710 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20711
20712 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20713
20714 * gdb.ada: New subdirectory.
20715 * gdb.ada/Makefile.in: New file.
20716 * gdb.ada/gnat_ada.gpr.in: New file.
20717
20718 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20719
20720 * lib/ada.exp: New file.
20721
20722 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20723
20724 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20725 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20726
20727 2004-03-22 Andrew Cagney <cagney@redhat.com>
20728
20729 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20730 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20731 Problem identified by Ulrich Weigand.
20732
20733 2004-03-17 David Carlton <carlton@kealia.com>
20734
20735 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20736 PR c++/826.
20737
20738 2004-03-16 Roland McGrath <roland@redhat.com>
20739
20740 * gdb.base/auxv.exp: New file.
20741 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20742
20743 2004-03-12 David Carlton <carlton@kealia.com>
20744
20745 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20746 * gdb.cp/pr-1553.cc: Ditto.
20747 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20748 pass branch.
20749
20750 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20751
20752 * gdb.cp/templates.exp: Accept more template types.
20753
20754 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20755
20756 From Corinna Vinschen with modifications.
20757 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20758 local variable obj_with_enum.
20759 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20760 results with obj_with_enum.
20761
20762 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20763
20764 * gdb.cp/classes.cc: New file, copied from misc.cc.
20765 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20766
20767 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20768
20769 * gdb.cp/misc.cc: Add copyright notice.
20770
20771 2004-03-05 David Carlton <carlton@kealia.com>
20772
20773 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20774 * gdb.cp/rtti.h: Update copyright.
20775 (namespace n2::n3): New.
20776 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20777 (n2::n3::func3): New.
20778 (main): Call n2::n3::func3.
20779 * gdb.cp/rtti2.cc: Update copyright.
20780 (n2::create3): New.
20781
20782 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20783
20784 * gdb.asm/openbsd.inc: Fix typo.
20785
20786 2004-03-03 Fred Fish <fnf@redhat.com>
20787
20788 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20789 "val" instead of unused "size". Update copyright year.
20790
20791 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20792
20793 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20794 to use unsigned char.
20795 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20796 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20797
20798 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20799
20800 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20801 line of output.
20802
20803 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20804
20805 * gdb.base/relocate.c (dummy): Initialize.
20806
20807 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20808
20809 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20810 a breakpoint at exit.
20811
20812 2004-02-27 Fred Fish <fnf@redhat.com>
20813
20814 * gdb.base/chng-syms.exp: Add expect condition to match failing
20815 case that isn't a timeout.
20816
20817 2004-02-27 Andrew Cagney <cagney@redhat.com>
20818
20819 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20820 support.
20821
20822 2004-02-26 Fred Fish <fnf@redhat.com>
20823
20824 * gdb.arch/gdb1431.c: Remove.
20825 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20826 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20827 of "until" incorrectly.
20828
20829 2004-02-26 J. Brobecker <brobecker@gnat.com>
20830
20831 * gdb.cp/class2.cc (empty): New class.
20832 (refer): New function.
20833 (main): Declare an object of type empty and use it.
20834 * gdb.cp/class2.exp: Print the value of an object of type empty.
20835
20836 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20837
20838 * gdb.base/langs.exp: Update query string to match the
20839 new nquery format used for pending breakpoints.
20840
20841 2004-02-26 Andrew Cagney <cagney@redhat.com>
20842
20843 Fix PR i18n/1570.
20844 * gdb.base/charset.c: Update copyright notice.
20845 (main, init_string): Remove the escape character '\e' tests.
20846 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20847 * gdb.base/charset.exp (valid_host_charset): Ditto.
20848 * gdb.base/setvar.exp: Ditto.
20849
20850 2004-02-24 Andrew Cagney <cagney@redhat.com>
20851
20852 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20853 mmapped data in core file" PASS and FAIL messages consistent.
20854
20855 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20856 setting a breakpoint. Work around PR java/1565.
20857
20858 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20859
20860 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20861 new nquery format.
20862 * gdb.base/pending.exp: Ditto.
20863
20864 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20865
20866 * configure.in: Run stabs tests on *BSD.
20867 * configure: Regenerated.
20868
20869 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20870
20871 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20872
20873 2004-02-20 Fred Fish <fnf@redhat.com>
20874
20875 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20876 blank in test for "returns short", for consistency with other
20877 "returns xxx" tests. Update copyright year.
20878
20879 2004-02-19 Fred Fish <fnf@redhat.com>
20880
20881 New testcase for PR breakpoint/1558.
20882 * gdb.arch/gdb1558.exp: New file.
20883 * gdb.arch/gdb1558.c: New file.
20884
20885 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20886
20887 * gdb.base/nodebug.exp: Fix typo.
20888
20889 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20890
20891 Committed by Jim Blandy <jimb@redhat.com>.
20892
20893 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20894
20895 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20896
20897 * gdb.base/float.exp: Support s390*-*-* targets.
20898
20899 2004-02-17 Adam Fedor <fedor@gnu.org>
20900
20901 * gdb.base/gdb1555.exp: New file.
20902 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20903
20904 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20905
20906 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20907
20908 2004-02-16 Fred Fish <fnf@redhat.com>
20909
20910 * gdb.arch/gdb1291.c: Remove
20911 * gdb.arch/gdb1291.s: New test input file.
20912 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20913 fail. Test for correct result, known incorrect result, other
20914 failures and timeouts.
20915
20916 2004-02-16 Andrew Cagney <cagney@redhat.com>
20917
20918 * gdb.base/bigcore.exp: New file.
20919 * gdb.base/bigcore.c: New file.
20920
20921 2004-02-13 Andrew Cagney <cagney@redhat.com>
20922
20923 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20924 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20925 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20926 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20927 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20928 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20929 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20930 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20931 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20932 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20933
20934 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20935
20936 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20937 executed is an alloc instruction.
20938
20939 2004-02-11 David Carlton <carlton@kealia.com>
20940
20941 * gdb.cp/breakpoint.exp: New.
20942 * gdb.cp/breakpoint.cc: New.
20943
20944 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20945
20946 Partial fix for PR gdb/1543.
20947 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20948 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20949 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20950 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20951 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20952 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20953 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20954 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20955 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20956 to bug-gdb@prep.ai.mit.edu .
20957 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20958 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20959 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20960 Likewise.
20961
20962 2004-02-10 Andrew Cagney <cagney@redhat.com>
20963
20964 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20965 using gdb_internal_error_resync.
20966
20967 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20968
20969 * gdb.threads/thread-specific.exp: Stop early if no threads are
20970 found.
20971
20972 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20973
20974 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20975
20976 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20977
20978 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20979 breakpoints.
20980
20981 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20982
20983 * config/sim.exp (gdb_load): Handle $arg == "".
20984 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20985 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20986
20987 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20988
20989 * gdb.base/maint.exp: Update test to reflect
20990 obstack changes.
20991
20992 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20993
20994 * gdb.base/pendshr.c (pendfunc): New function that calls
20995 pendfunc1.
20996 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20997
20998 2004-02-04 Fred Fish <fnf@redhat.com>
20999
21000 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21001 function symbols and update copyright years.
21002 * gdb.arch/gdb1291.c: Ditto.
21003
21004 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21005
21006 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21007
21008 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21009
21010 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21011
21012 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21013
21014 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21015
21016 2004-02-02 Fred Fish <fnf@redhat.com>
21017
21018 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21019 remote targets. Update copyright years.
21020
21021 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21022
21023 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21024 support.
21025 * gdb.base/langs.exp: Fix test which attempts to create
21026 breakpoint on non-existent function to handle new pending
21027 support.
21028 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21029 a breakpoint.
21030 * gdb.base/pending.exp: New test.
21031 * gdb.base/pending.c: New file.
21032 * gdb.base/pendshr.c: Ditto.
21033
21034 2004-02-02 David Carlton <carlton@kealia.com>
21035
21036 * gdb.cp/overload.exp: Add overloadNamespace tests.
21037 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21038 (overloadNamespace, XXX): New.
21039 (main): Call XXX::marker2.
21040
21041 2004-02-01 Fred Fish <fnf@redhat.com>
21042
21043 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21044 * gdb.base/finish.exp: Ditto.
21045 * gdb.base/gcore.exp: Ditto.
21046 * gdb.base/huge.exp: Ditto.
21047 * gdb.base/info-proc.exp: Ditto.
21048 * gdb.base/return2.exp: Ditto.
21049 * gdb.threads/gcore-thread.exp: Ditto.
21050
21051 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21052
21053 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21054
21055 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21056
21057 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21058 that opening the file succeeds on OpenBSD.
21059
21060 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21061
21062 * gdb.threads/thread-specific.c: New file.
21063 * gdb.threads/threads-specific.exp: New test script.
21064 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21065 to expect_out.
21066
21067 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21068
21069 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21070 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21071 only on the "print_small_structs from print_long_arg_list" test.
21072
21073 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21074
21075 * gdb.base/completion.exp: Kill a stray backslash.
21076
21077 From Jim Ingham <jingham@apple.com>:
21078 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21079 agrees with the result from sending a tab.
21080
21081 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21082
21083 * gdb.base/chng-syms.exp: Remove stray newline.
21084
21085 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21086
21087 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21088 *-*-openbsd*.
21089 * gdb.asm/openbsd.inc: New file.
21090
21091 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21092
21093 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21094 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21095 *-*solaris2*. Remove commented out default settings for
21096 asm-flags. Replace gdb_compile with target_link.
21097
21098 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21099
21100 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21101 for all tests. Remove old hp-ux and cygnus xfail cases.
21102
21103 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21104
21105 * gdb.base/chng-syms.exp: New file.
21106 * gdb.base/chng-syms.c: New file.
21107
21108 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21109
21110 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21111 Provide arms for current output in all my configurations.
21112
21113 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21114
21115 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21116 * lib/compiler.cc: Likewise.
21117 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21118 get the right preprocessor. Eval the output directly. Remove
21119 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21120 hp_f77_compiler and hp_f90_compiler completely.
21121 (gdb_preprocess): Delete.
21122 (get_compiler): Delete.
21123
21124 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21125
21126 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21127 <string.h>.
21128
21129 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21130
21131 * gdb.mi/mi-stack.exp: Update copyright.
21132
21133 2004-01-23 David Carlton <carlton@kealia.com>
21134
21135 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21136 test for cp_lookup_transparent_type.
21137 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21138 call them.
21139
21140 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21141
21142 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21143 after -var-update.
21144
21145 2004-01-23 David Carlton <carlton@kealia.com>
21146
21147 * gdb.cp/namespace.cc (C::ensureRefs): New.
21148 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21149
21150 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21151
21152 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21153 case "-stack-list-locals 2".
21154 * gdb.mi/mi-var-child.exp: Test for case
21155 "-var-list-children --all-values NAME".
21156
21157 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21158
21159 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21160
21161 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21162
21163 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21164 used with gdb_test_multiple.
21165
21166 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21167 read at address 0. This fixes PR testsuite/1504.
21168
21169 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21170
21171 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21172 Remove downloading, guessing the host executable, the calls to
21173 gdb_file_cmd and gdb_target_cmd, and "load" support.
21174 (infer_host_exec): New function broken out from gdb_load.
21175 (gdb_load): New wrapper for gdbserver_gdb_load.
21176 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21177 gdb_target_cmd. Use -target-select.
21178 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21179 Download binaries to the host. Clear last_mi_remote_file when
21180 we load a new binary.
21181 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21182 call gdbserver_gdb_load and mi_gdb_target_cmd.
21183
21184 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21185
21186 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21187 type patterns.
21188
21189 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21190
21191 * gdb.cp/templates.exp: Fix typo in test name of
21192 "print Foo<volatile char*>::foo".
21193
21194 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21195
21196 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21197
21198 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21199
21200 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21201 (clean mostlyclean): Remove empty rm.
21202
21203 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21204
21205 * gdb.base/setvar.exp: Add copyright years.
21206
21207 2004-01-14 David Carlton <carlton@bactrian.org>
21208
21209 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21210 PR c++/1511 and update coment.
21211 * gdb.cp/templates.exp: Update patterns to match current output.
21212 If changes involve something other than whitespace, KFAIL
21213 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21214
21215 2004-01-14 David Carlton <carlton@kealia.com>
21216
21217 * gdb.cp/namespace.exp: Add tests involving classes defined within
21218 namespaces.
21219 * gdb.cp/namespace.cc (C::CClass): New.
21220 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21221
21222 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21223
21224 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21225 what debug info we have. Print a better message if something goes
21226 wrong while producing the separate debug info file.
21227
21228 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21229
21230 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21231
21232 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21233
21234 * gdb.base/callfuncs.c: Add copyright notice.
21235
21236 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21237
21238 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21239 inheritance. PR gdb/1498, PR gcc/13539.
21240
21241 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21242
21243 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21244 test specific name.
21245 * gdb.mi/gdb669.exp: Ditto.
21246 * gdb.mi/mi-pthreads.exp: Ditto.
21247 * gdb.mi/mi1-pthreads.exp: Ditto.
21248 * gdb.mi/mi2-pthreads.exp: Ditto.
21249
21250 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21251
21252 * gdb.cp/member-ptr.cc: Add copyright notice.
21253
21254 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21255
21256 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21257 some patterns for recent versions of gcc and hpacc. Delete
21258 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21259 Delete tests that access a NULL pointer-to-member-data. This
21260 script is still disabled for gcc.
21261
21262 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21263
21264 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21265 escaped correctly.
21266
21267 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21268
21269 * gdb.base/sepdebug.exp: New file.
21270 * gdb.base/sepdebug.c: New file.
21271 * lib/gdb.exp (separate_debug_filename): New procedure.
21272 (gdb_gnu_strip_debug): New procedure.
21273
21274 2004-01-12 Andrew Cagney <cagney@redhat.com>
21275
21276 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21277 * gdb.mi/ChangeLog-1999-2003: New file.
21278
21279 2004-01-12 Andrew Cagney <cagney@redhat.com>
21280
21281 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21282 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21283 or EEXIST", treat EBUSY as an XFAIL.
21284
21285 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21286
21287 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21288 hp_cc_compiler.
21289
21290 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21291
21292 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21293 decorations.
21294
21295 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21296
21297 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21298 and "(aCC)" decorations. Remove obsolete doco about old
21299 test results.
21300
21301 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21302
21303 * gdb.cp/exception.exp: Fix typo in doco.
21304
21305 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21306
21307 * gdb.base/gdb1476.exp: Fix typo.
21308
21309 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21310
21311 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21312 file.
21313
21314 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21315
21316 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21317 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21318 Use gdb_compile. Remove restriction on gcc. Add some patterns
21319 for recent version of gdb. Delete second half, which was a copy
21320 of the first half with different build flags. This test is
21321 still disabled because it is still not ready for production.
21322
21323 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21324
21325 * gdb.cp/exception.cc: Add copyright notice.
21326 * gdb.cp/exception.exp: Add a notice that this file is broken
21327 because of line number changes caused by addition of copyright
21328 notice.
21329
21330 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21331
21332 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21333 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21334
21335 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21336
21337 * gdb.cp/classes.exp: Accept gnu abi 2.
21338 * gdb.cp/derivation.exp: Likewise.
21339 * gdb.cp/overload.exp: Likewise.
21340 * gdb.cp/virtfunc.exp: Likewise.
21341
21342 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21343
21344 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21345 semicolon after end of function.
21346
21347 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21348
21349 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21350 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21351 boilerplate code for compiling and running the program under
21352 test. Add some string method tests.
21353
21354 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21355
21356 * gdb.cp/bs15503.cc: Add copyright notice.
21357 * gdb.cp/bs15503.exp: Adjust line number.
21358
21359 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21360
21361 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21362 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21363
21364 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21365
21366 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21367 hp_cc_compiler.
21368
21369 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21370
21371 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21372 * gdb.cp/ctti.exp: Use the marker instead of "next".
21373 With gcc, run further before bailing.
21374
21375 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21376
21377 * gdb.cp/cttiadd.cc: Add copyright notice.
21378 * gdb.cp/cttiadd1.cc: Likewise.
21379 * gdb.cp/cttiadd2.cc: Likewise.
21380 * gdb.cp/cttiadd3.cc: Likewise.
21381
21382 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21383
21384 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21385 Use gdb_test, gdb_test_multiple. Use floating-point values that
21386 have exact representations in IEEE-ish formats.
21387
21388 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21389
21390 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21391 compilers. Delete duplicate call to get_compiler_info.
21392 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21393 * gdb.base/volatile.exp: Likewise.
21394
21395 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21396
21397 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21398 memory at address 0.
21399
21400 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21401
21402 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21403 to test for hp-ux assembler. Fix copyright years.
21404
21405 2004-01-07 Andrew Cagney <cagney@redhat.com>
21406
21407 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21408
21409 2004-01-07 Andrew Cagney <cagney@redhat.com>
21410
21411 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21412 when creating the read-only file. From analysis by Roland McGrath
21413 and Elena Zannoni.
21414
21415 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21416
21417 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21418
21419 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21420
21421 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21422 data pointers.
21423
21424 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21425
21426 * gdb.cp/m-static.exp: Compile one source file at a time.
21427 Delete unused call to get_compiler_info.
21428
21429 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21430
21431 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21432 * gdb.base/call-rt-st.exp: Likewise.
21433 * gdb.base/nodebug.exp: Likewise.
21434 * gdb.base/volatile.exp: Likewise.
21435 * gdb.cp/ref-types.exp: Likewise.
21436 * gdb.cp/templates.exp: Likewise.
21437
21438 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21439
21440 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21441
21442 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21443
21444 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21445 hppa*-hp-hpux*.
21446
21447 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21448
21449 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21450 x86_64-*-*.
21451
21452 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21453 sparc64-*-* and sparc*-solaris2*.
21454
21455 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21456
21457 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21458 return ${tests}" test. The ${tests} already mentions the
21459 filename.
21460
21461 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21462
21463 * gdb.cp/local.exp: Accept gcc abi 2.
21464
21465 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21466
21467 * gdb.cp/templates.exp: Accept gcc abi 2.
21468
21469 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21470
21471 * lib/compiler.cc: Remove supports_template_debugging.
21472 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21473
21474 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21475
21476 * gdb.cp/namespace.exp: Accept gcc abi 2.
21477
21478 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21479
21480 * gdb.cp/method.exp: Accept gcc abi 2.
21481
21482 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21483
21484 * gdb.cp/classes.exp: Generate identical results as old version.
21485 * gdb.cp/derivation.exp: Likewise.
21486 * gdb.cp/overload.exp: Likewise.
21487 * gdb.cp/virtfunc.exp: Likewise.
21488
21489 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21490
21491 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21492 mysterious bug with sourceware version of expect.
21493
21494 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21495
21496 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21497 current versions of gcc, including gcc abi 2. Remove gratuitous
21498 restart of test program. Use gdb_test_multiple and gdb_test for
21499 all tests. Add patterns to xfail missing "const" in "const char *"
21500 and kfail PR gdb/1155.
21501
21502 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21503
21504 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21505 current versions of gcc, including gcc abi 2. Remove gratuitous
21506 restart of test program. Use gdb_test_multiple and gdb_test for
21507 all tests. Add patterns to kfail PR gdb/1498.
21508
21509 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21510
21511 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21512 current versions of gcc, including gcc abi 2. Use "breakpoint"
21513 and "continue" instead of restarting the target program. Use
21514 gdb_test_multiple and gdb_test for all tests.
21515
21516 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21517
21518 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21519 for *-*-solaris2*.
21520
21521 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21522
21523 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21524 current versions of gcc, including gcc abi 2. Use "breakpoint"
21525 and "continue" instead of restarting the target program several
21526 times. Use gdb_test_multiple and gdb_test for all tests.
21527
21528 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21529
21530 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21531 source files.
21532
21533 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21534
21535 * gdb.base/environ.exp: Handle compiling test case from multiple
21536 source files.
21537
21538 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21539
21540 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21541
21542 2003-12-17 Jim Blandy <jimb@redhat.com>
21543
21544 * gdb.base/freebpcmd.c: Add copyright notice.
21545
21546 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21547
21548 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21549
21550 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21551
21552 2003-12-13 Jim Blandy <jimb@redhat.com>
21553
21554 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21555
21556 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21557
21558 * gdb.asm/frv.inc: New file.
21559 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21560
21561 2003-12-09 Fred Fish <fnf@redhat.com>
21562
21563 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21564 functions to break1.c and leave prototypes behind. Add more
21565 "set breakpoint NN here" comments.
21566 * gdb.base/break1.c: New file.
21567
21568 * gdb.base/break.exp: Handle compiling test case from multiple
21569 source files and change source file references as needed.
21570 * gdb.base/completion.exp: Ditto.
21571 * gdb.base/condbreak.exp: Ditto.
21572 * gdb.base/define.exp: Ditto.
21573 * gdb.base/ena-dis-br.exp: Ditto.
21574 * gdb.base/info-proc.exp: Ditto.
21575 * gdb.base/maint.exp: Ditto.
21576 * gdb.base/until.exp: Ditto.
21577
21578 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21579 hardcoded line numbers.
21580 * gdb.base/define.exp: Ditto.
21581 * gdb.base/ena-dis-br.exp: Ditto.
21582 * gdb.base/maint.exp: Ditto.
21583 * gdb.base/until.exp: Ditto.
21584
21585 * gdb.base/completion.exp: Use "break1" for completion tests since
21586 "break" is no longer a unique prefix.
21587
21588 2003-12-06 Andrew Cagney <cagney@redhat.com>
21589
21590 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21591 "return_value_unimplemented". When an unimplemented struct return
21592 architecture, report incorrect values as a KFAIL
21593
21594 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21595
21596 * gdb.cp/rtti.exp: Accept new wording of warning from
21597 cp_lookup_rtti_type.
21598
21599 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21600
21601 Partial fix for PR testsuite/1456.
21602 * gdb.base/scope.exp (test_at_main): Replace references to
21603 gcc_compiled with calls to test_compiler_info.
21604 (test_at_foo): Likewise.
21605 (test_at_bar): Likewise.
21606
21607 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21608
21609 Partial fix for PR testsuite/1456.
21610 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21611 to test_compiler_info.
21612
21613 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21614
21615 * gdb.base/so-impl-ld.exp: Update copyright notice.
21616
21617 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21618
21619 Partial fix for PR testsuite/1456.
21620 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21621 to test_compiler_info.
21622
21623 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21624
21625 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21626 from current versions of gdb. Clean up regular expressions.
21627 Delete redundant timeout case.
21628
21629 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21630
21631 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21632 from current versions of gdb. Clean up regular expressions.
21633 Delete redundant timeout case.
21634
21635 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21636
21637 Partial fix for PR testsuite/1456.
21638 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21639 gcc_compiled with call to test_compiler_info.
21640
21641 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21642
21643 Partial fix for PR testsuite/1456.
21644 * gdb.base/list.exp (test_list_function): Delete unused declaration
21645 of gcc_compiled.
21646
21647 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21648
21649 Partial fix for PR testsuite/1456.
21650 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21651 call to test_compiler_info.
21652
21653 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21654
21655 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21656 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21657 it to create the appropriate note.inc.
21658 * gdb.asm/asmsrc1.s: Include "note.inc".
21659 * gdb.asm/netbsd.inc: New file.
21660 * gdb.asm/empty.inc: New file.
21661
21662 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21663
21664 Partial fix for PR testsuite/1456.
21665 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21666 calls to test_compiler_info.
21667
21668 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21669
21670 Partial fix for PR testsuite/1456.
21671 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21672 calls to test_compiler_info.
21673
21674 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21675
21676 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21677 pattern for the KFAILs.
21678
21679 2003-11-25 Adam Fedor <fedor@gnu.org>
21680
21681 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21682 * gdb.objc/objcdecode.m: New file.
21683
21684 2003-11-25 Adam Fedor <fedor@gnu.org>
21685
21686 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21687 * gdb.objc/nondebug.m: New file.
21688
21689 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21690
21691 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21692 NetBSD as it does on FreeBSD. Modelled on a similar change by
21693 Mark Kettenis on 2003-05-30.
21694 (link-flags): Set to "--entry _start" regardless of target.
21695 Special linker flags are to be appended to $link-flags.
21696 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21697
21698 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21699
21700 * gdb.cp/method.exp: Accept output of new demangler.
21701
21702 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21703
21704 * gdb/class2.exp: New file.
21705 * gdb/class2.cc: New file.
21706
21707 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21708
21709 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21710 of new demangler.
21711
21712 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21713
21714 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21715 of gdb_test "run".
21716
21717 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21718
21719 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21720 "continue" into "run".
21721
21722 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21723
21724 Partial fix for PR testsuite/1456.
21725 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21726 call to test_compiler_info.
21727 * gdb.cp/ctti.exp: Likewise.
21728 * gdb.cp/derivation.exp: Likewise.
21729 * gdb.cp/member-ptr.exp: Likewise.
21730 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21731 reference to gcc_compiled.
21732
21733 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21734
21735 Fix PR testsuite/1463.
21736 * gdb.base/structs.exp (start_structs_test): Call
21737 get_debug_format before using the debug format.
21738
21739 2003-11-22 Andrew Cagney <cagney@redhat.com>
21740
21741 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21742 * gdb.base/structs.exp: Use gdb_test_multiple.
21743
21744 2003-11-20 Andrew Cagney <cagney@redhat.com>
21745
21746 * gdb.base/structs.exp: Handle and recover from internal errors.
21747 Replace "foo${n}" with "foo<n>" in test messages.
21748
21749 * gdb.base/structs.exp: Update copyright. Rewrite.
21750 * gdb.base/structs.c: Update copyright. Rewrite.
21751
21752 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21753 resync count exceeded.
21754
21755 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21756 from the internal error.
21757 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21758 Original from Jim Blandy.
21759 (gdb_test_multiple): Use gdb_internal_error_resync.
21760
21761 2003-11-19 Andrew Cagney <cagney@redhat.com>
21762
21763 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21764 KFAIL.
21765
21766 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21767
21768 New testcase for PR backtrace/1435.
21769 * gdb.arch/i386-unwind.exp: New file.
21770 * gdb.arch/i386-unwind.c: New file.
21771
21772 2003-11-17 Andrew Cagney <cagney@redhat.com>
21773
21774 * lib/gdb.exp (compiler_info): New global.
21775 (test_compiler_info): New function.
21776 (get_compiler_info): Set compiler_info.
21777 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21778 "compiler_info" to gcc-<major>-<minor>.
21779
21780 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21781
21782 * gdb.trace/configure: Remove.
21783
21784 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21785
21786 * gdb.base/break.c: Add comments to aid finding line numbers for
21787 breakpoints.
21788 * gdb.base/break.exp: Remove all references to explicit line
21789 numbers.
21790
21791 2003-11-11 Nick Clifton <nickc@redhat.com>
21792
21793 * gdb.base/shreloc.exp: Do not run for targets which do not
21794 support shared objects.
21795
21796 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21797
21798 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21799 Don't run tests if nofileio flag is given.
21800
21801 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21802
21803 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21804 as well as 'Watchpoint'.
21805
21806 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21807
21808 Reported by Jim Ingham <jingham@apple.com>:
21809 * gdb.base/annota1.exp: Match at least one occurrence of the
21810 signal handler annotation.
21811
21812 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21813
21814 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21815 as well as 'Watchpoint'.
21816
21817 2003-11-05 Michael Chastain <mec@shout.net>
21818
21819 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21820
21821 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21822
21823 * gdb.arch/gdb1291.c: New test file.
21824 * gdb.arch/gdb1291.exp: New test script.
21825 * gdb.arch/gdb1431.c: New test file.
21826 * gdb.arch/gdb1431.exp: New test script.
21827
21828 2003-10-22 Michael Chastain <mec@shout.net>
21829
21830 * gdb.mi/pthreads.c: Add copyright notice.
21831
21832 2003-10-22 Michael Chastain <mec@shout.net>
21833
21834 * gdb.threads/pthreads.c: Add copyright notice.
21835
21836 2003-10-20 Michael Chastain <mec@shout.net>
21837
21838 * gdb.base/gdb1056.exp: New test script.
21839
21840 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21841
21842 * gdb.threads/killed.exp: Use gdb_run_cmd.
21843
21844 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21845
21846 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21847 create a core file.
21848 * gdb.threads/gcore-thread.exp: Likewise.
21849
21850 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21851
21852 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21853 type, based on char type.
21854 (struct bit_flags_short_t): New bitfield type, based on short type.
21855 (init_bit_flags_char): New fuction.
21856 (init_bit_flags_short): Ditto.
21857 (print_bit_flags_char): Ditto.
21858 (print_bit_flags_short): Ditto.
21859 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21860
21861 2003-10-11 Michael Chastain <mec@shout.net>
21862
21863 * gdb.base/call-rt-st.exp: Update copyright year.
21864
21865 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21866
21867 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21868 * gdb.disasm/sh3.s: Ditto.
21869
21870 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21871
21872 * gdb.threads/switch-threads.exp: New test.
21873 * gdb.threads/switch-threads.c: New source file.
21874
21875 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21876
21877 * gdb.base/ending-run.exp: Add sh specific case.
21878
21879 2003-10-06 Andrew Cagney <cagney@redhat.com>
21880
21881 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21882 * gdb.disasm/mn10200.exp: Delete obsolete file.
21883
21884 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21885
21886 * ChangeLog: Correct an entry command.exp -> commands.exp.
21887 * gdb.base/commands.exp (bp_deleted_in_command_test)
21888 (temporary_breakpoint_commands): Check noargs.
21889
21890 2003-09-25 David Carlton <carlton@kealia.com>
21891
21892 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21893 of some print tests, where appropriate. Add tests for C::D::cd,
21894 E::ce, F::cXfX, G::XgX.
21895 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21896
21897 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21898
21899 * lib/java.exp (java_init): Import target_alias before using it.
21900
21901 2003-09-25 David Carlton <carlton@kealia.com>
21902
21903 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21904
21905 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21906
21907 * gdb.base/selftest.exp: Accomodate more instruction reordering
21908 weirdness.
21909
21910 2003-09-17 Michael Chastain <mec@shout.net>
21911
21912 * gdb.cp/gdb1355.exp: New file.
21913 * gdb.cp/gdb1355.c: New file.
21914
21915 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21916
21917 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21918 * gdb.asm/sh.inc: New file.
21919
21920 2003-09-11 David Carlton <carlton@kealia.com>
21921
21922 * gdb.cp/namespace.exp: Add tests for namespace types.
21923 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21924 (test_namespace): New.
21925
21926 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21927
21928 * gdb.base/relocate.exp: Handle new gdb output at startup.
21929 * gdb.stabs/weird.exp: Ditto.
21930
21931 2003-09-08 Michael Chastain <mec@shout.net>
21932
21933 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21934
21935 2003-09-07 Michael Chastain <mec@shout.net>
21936
21937 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21938 'parse error'.
21939
21940 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21941
21942 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21943
21944 2003-08-30 Michael Chastain <mec@shout.net>
21945
21946 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21947 * gdb.gdb/observer.exp: Ditto.
21948 * gdb.gdb/xfullpath.exp: Ditto.
21949
21950 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21951
21952 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21953 *-*-*bsd*.
21954
21955 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21956
21957 * gdb.base/dump.exp: Skip for ia64.
21958
21959 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21960
21961 * gdb.asm/asm-source.exp: Add ia64 support.
21962 * gdb.asm/ia64.inc: New file.
21963
21964 2003-08-22 Michael Chastain <mec@shout.net>
21965
21966 * gdb.cp: New directory.
21967 * gdb.cp/*: Copy from gdb.c++/*.
21968 * gdb.c++/*: Remove.
21969 * Makefile.in: Change gdb.c++ to gdb.cp.
21970 * configure.in: Ditto.
21971 * configure: Regnerate.
21972
21973 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21974
21975 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21976 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21977
21978 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21979
21980 * mi-var-display.exp (-var-list-children weird): Accept function
21981 pointers with argument types.
21982 * mi1-var-display.exp (-var-list-children weird): Likewise.
21983 * mi2-var-display.exp (-var-list-children weird): Likewise.
21984
21985 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21986
21987 * gdb.base/annota3.exp: Add missing newline.
21988
21989 2003-08-06 Michael Chastain <mec@shout.net>
21990
21991 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21992
21993 2003-08-12 Michael Snyder <msnyder@redhat.com>
21994
21995 * gdb.base/float.exp: Add test for SH.
21996
21997 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21998
21999 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22000
22001 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22002
22003 * gdb.base/completion.exp: Remove reduntant completion test
22004 on filename.
22005
22006 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22007
22008 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22009 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22010 gdb.trace/save-trace.exp: Make sure that full pathnames are
22011 escaped correctly.
22012
22013 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22014
22015 * configure.in: Don't generate config.h from config.hin.
22016 * configure: Regenerate.
22017 * config.hin: Remove file.
22018 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22019 * gdb.threads/pthreads.c: Ditto.
22020
22021 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22022
22023 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22024 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22025 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22026 Replace ld24 with seth/add3.
22027
22028 2003-08-02 Andrew Cagney <cagney@redhat.com>
22029
22030 * gdb.base/annota3.exp: New file.
22031 * gdb.base/annota3.c: New file.
22032 * gdb.c++/annota3.exp: New file.
22033 * gdb.c++/annota3.cc: New file.
22034
22035 2003-07-29 Michael Chastain <mec@shout.net>
22036
22037 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22038 actually failed.
22039 (do_pass): Likewise.
22040 * gdb.threads/tls.exp: Always initialize no_of_threads.
22041
22042 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22043
22044 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22045 pattern.
22046 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22047 * gdb.threads/tls.exp: Recognize one case of the host library not
22048 supporting TLS.
22049
22050 2003-07-27 Andrew Cagney <cagney@redhat.com>
22051
22052 * gdb.base/fileio.exp: Use SH when running commands using
22053 remote_exec.
22054
22055 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22056
22057 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22058 * gdb.base/relocate.c (dummy): New padding array.
22059
22060 2003-07-22 Michael Snyder <msnyder@redhat.com>
22061
22062 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22063
22064 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22065 patterns to be more general, accepting old and new output.
22066 Some output chars (such as '+') also must be quoted.
22067 Some addresses are displayed numerically instead of
22068 symbolically.
22069
22070 2003-07-23 Michael Snyder <msnyder@redhat.com>
22071
22072 * gdb.base/return2.exp: Don't test long-long return.
22073
22074 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22075 * gdb.disasm/t01_mov.exp: Ditto.
22076 * gdb.disasm/t02_mova.s: Ditto.
22077 * gdb.disasm/t02_mova.exp: Ditto.
22078 * gdb.disasm/t03_add.s: Ditto.
22079 * gdb.disasm/t03_add.exp: Ditto.
22080 * gdb.disasm/t04_sub.s: Ditto.
22081 * gdb.disasm/t04_sub.exp: Ditto.
22082 * gdb.disasm/t05_cmp.s: Ditto.
22083 * gdb.disasm/t05_cmp.exp: Ditto.
22084 * gdb.disasm/t06_ari2.s: Ditto.
22085 * gdb.disasm/t06_ari2.exp: Ditto.
22086 * gdb.disasm/t07_ari3.s: Ditto.
22087 * gdb.disasm/t07_ari3.exp: Ditto.
22088 * gdb.disasm/t08_or.s: Ditto.
22089 * gdb.disasm/t08_or.exp: Ditto.
22090 * gdb.disasm/t09_xor.s: Ditto.
22091 * gdb.disasm/t09_xor.exp: Ditto.
22092 * gdb.disasm/t10_and.s: Ditto.
22093 * gdb.disasm/t10_and.exp: Ditto.
22094 * gdb.disasm/t11_logs.s: Ditto.
22095 * gdb.disasm/t11_logs.exp: Ditto.
22096 * gdb.disasm/t12_bit.s: Ditto.
22097 * gdb.disasm/t12_bit.exp: Ditto.
22098 * gdb.disasm/t13_otr.s: Ditto.
22099 * gdb.disasm/t13_otr.exp: Ditto.
22100
22101 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22102
22103 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22104
22105 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22106
22107 * gdb.threads/tls.c : New file.
22108 * gdb.threads/tls.exp : New file.
22109 * gdb.threads/tls-main.c : New file.
22110 * gdb.threads/tls-shared.c : New file.
22111 * gdb.threads/tls-shared.exp : New file.
22112
22113 2003-07-22 Andreas Schwab <schwab@suse.de>
22114
22115 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22116
22117 2003-07-20 Andreas Schwab <schwab@suse.de>
22118
22119 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22120 due to insn reordering.
22121
22122 2003-07-15 Andrew Cagney <cagney@redhat.com>
22123
22124 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22125
22126 2003-07-15 Michael Chastain <mec@shout.net>
22127
22128 * gdb.base/gdb1250.exp: New file.
22129 * gdb.base/gdb1250.c: New file.
22130
22131 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22132
22133 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22134 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22135
22136 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22137
22138 * gdb.threads/tls.c: New file.
22139 * gdb.threads/tls.exp: New file.
22140 * gdb.threads/tls-main.c: New file.
22141 * gdb.threads/tls-shared.c: New file.
22142 * gdb.threads/tls-shared.exp: New file.
22143
22144 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22145
22146 * gdb.base/annota1.exp: Make sure that we properly escape the
22147 full path of the source file. Xfail more permissive patterns,
22148 due to a compiler debug info problem.
22149
22150 2003-07-07 Andreas Schwab <schwab@suse.de>
22151
22152 * gdb.asm/m68k.inc: New file.
22153 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22154
22155 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22156 arguments"): Also match negative number.
22157
22158 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22159
22160 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22161
22162 * gdb.base/store.c (charest): New typedef.
22163 (add_char): Rename to add_charest, update.
22164 (wack_char): Rename to wack_charest, update types. Return l + r
22165 to keep r live across the call.
22166 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22167 (wack_double, wack_doublest): Return l + r to keep r live across
22168 the call.
22169 * gdb.base/store.exp: Accomodate store.c changes.
22170
22171 2003-06-30 David Carlton <carlton@kealia.com>
22172
22173 * gdb.c++/maint.exp (test_invalid_name): New.
22174 (test_first_component): Add tests for invalid names.
22175
22176 2003-06-29 Michael Chastain <mec@shout.net>
22177
22178 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22179 output of '<VTT for class>' for virtual base classes.
22180
22181 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22182
22183 * gdb.base/completion.exp: Tab-complete "complet" instead of
22184 "compl".
22185 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22186
22187 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22188
22189 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22190 * gdb.base/volatile.exp: Likewise.
22191
22192 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22193
22194 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22195 gdb/1265.
22196
22197 2003-06-28 Michael Chastain <mec@shout.net>
22198 Daniel Jacobowitz <drow@mvista.com>
22199
22200 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22201 initial line count of 'captured_main' from 26 to 32.
22202 (test_with_self): Allow xmalloc call to be interleaved with the
22203 preceding two lines.
22204
22205 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22206
22207 * gdb.base/bang.exp: New testcase.
22208
22209 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22210
22211 * gdb.base/langs.exp: Add some tests for the "minimal" language
22212 support.
22213
22214 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22215
22216 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22217 the testcase.
22218
22219 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22220
22221 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22222 offset.
22223
22224 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22225
22226 * gdb.c++/pr-1210.cc: New file.
22227 * gdb.c++/pr-1210.exp: New file.
22228
22229 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22230
22231 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22232 000-exec-continue.
22233
22234 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22235
22236 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22237 on *-*-*bsd* instead of *-*-freebsd*.
22238
22239 2003-06-14 Andrew Cagney <cagney@redhat.com>
22240
22241 * gdb.base/store.exp: Test longest and doublest. Test all
22242 parameters. Weaken return statement match.
22243 * gdb.base/store.c: Add longest and doublest - aka long long and
22244 long double functions. Put all parameters into local register
22245 variables. Use negative values.
22246
22247 2003-06-14 Andrew Cagney <cagney@redhat.com>
22248
22249 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22250 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22251 exit status.
22252 * gdb.base/fileio.exp: Disable target when nointerrupts and
22253 noinferiorio, instead of limiting it to remote. Use remote_exec
22254 instead of system.
22255
22256 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22257
22258 * gdb.base/float.exp: Add ia64 support.
22259
22260 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22261
22262 * gdb.base/fileio.exp: Run only on remote targets.
22263
22264 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22265
22266 * gdb.base/fileio.c: New file, testing File-I/O.
22267 * gdb.base/fileio.exp: Ditto.
22268
22269 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22270
22271 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22272 shared objects after relocation at load time (gdb PR/1132).
22273 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22274 as above, part of the shared object relocation test.
22275
22276 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22277
22278 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22279 fully filled history list.
22280 * gdb.base/gdb_history: New file.
22281
22282 * gdb.base/signals.exp: XFAIL "continue to func1" on
22283 i*86-*-freebsd*.
22284
22285 * gdb.base/attach.exp: When trying to attach to a nonexistent
22286 process, make it possible to specify the PID based on the target,
22287 and do so for *-*-freebsd*.
22288
22289 2003-06-02 Richard Henderson <rth@redhat.com>
22290
22291 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22292
22293 2003-06-02 Richard Henderson <rth@redhat.com>
22294
22295 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22296
22297 2003-06-02 Richard Henderson <rth@redhat.com>
22298
22299 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22300
22301 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22302
22303 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22304 of globalvar.
22305
22306 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22307
22308 * gdb.asm/asm-source.exp: Check for memory read errors in
22309 disassembler test on *BSD too.
22310
22311 2003-06-01 Richard Henderson <rth@redhat.com>
22312
22313 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22314 for .frame.
22315 (gdbasm_call): Lose ldgp.
22316 (gdbasm_startup): Add frame information.
22317 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22318
22319 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22320
22321 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22322 i?86-*-*.
22323
22324 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22325
22326 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22327 FreeBSD.
22328
22329 2003-05-29 Richard Henderson <rth@redhat.com>
22330
22331 * gdb.asm/alpha.inc: New file.
22332 * gdb.asm/asm-source.exp: Use it.
22333
22334 2003-05-29 Jim Blandy <jimb@redhat.com>
22335
22336 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22337 'core.PID'.
22338
22339 2003-05-22 Jim Blandy <jimb@redhat.com>
22340
22341 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22342 backtrace.
22343
22344 2003-05-20 David Carlton <carlton@math.stanford.edu>
22345
22346 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22347 this time.
22348
22349 2003-05-19 David Carlton <carlton@bactrian.org>
22350
22351 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22352 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22353
22354 2003-05-19 David Carlton <carlton@bactrian.org>
22355
22356 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22357 namespace tests.
22358 Bump copyright date.
22359 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22360 (main): Call C::D::marker2.
22361 * gdb.c++/namespace1.cc: New file.
22362
22363 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22364
22365 Roland McGrath <roland@redhat.com>
22366 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22367 there is no manager thread.
22368
22369 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22370
22371 * gdb.threads/schedlock.exp: Remove assumption that all threads
22372 will run in a particular small time slice. Also ensure we break
22373 in one of the child threads rather than the main thread.
22374
22375 2003-05-07 Jim Blandy <jimb@redhat.com>
22376
22377 Add support for assembly source testing on the s390x.
22378 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22379 architecture.
22380 * gdb.asm/s390x.inc: New file.
22381
22382 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22383 succession of 'if' statements.
22384
22385 2003-05-05 Andrew Cagney <cagney@redhat.com>
22386
22387 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22388
22389 2003-05-05 Andrew Cagney <cagney@redhat.com>
22390
22391 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22392 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22393
22394 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22395
22396 * gdb.base/charset.exp: Update based on new behavior of set/show
22397 charset commands.
22398
22399 2003-05-01 Andrew Cagney <cagney@redhat.com>
22400
22401 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22402 variable do not give memory errors.
22403
22404 2003-04-30 Adam Fedor <fedor@gnu.org>
22405
22406 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22407 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22408 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22409 gdb.objc/basicclass.m: : New files
22410
22411 * lib/gdb.exp (gdb_compile_objc): New procedure.
22412
22413 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22414
22415 * gdb.base/signals.exp: Make backtrace tests more specific.
22416
22417 2003-04-23 David Carlton <carlton@bactrian.org>
22418
22419 * gdb.c++/maint.exp (test_first_component): Add tests for
22420 'operator' in more locations.
22421
22422 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22423
22424 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22425
22426 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22427
22428 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22429 func marke' instead. Update test name.
22430
22431 2003-04-15 David Carlton <carlton@math.stanford.edu>
22432
22433 * gdb.c++/maint.exp: New file.
22434
22435 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22436
22437 * gdb.threads/schedlock.c: Change type of thread function argument
22438 to long, to avoid warnings on 64-bit platforms.
22439
22440 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22441
22442 * gdb.base/attach.exp: Add new message from ptrace in case of
22443 attaching to nonexistent process.
22444
22445 2003-04-11 Jim Blandy <jimb@redhat.com>
22446
22447 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22448 gdb.c++/userdef.cc: Place comments on the lines to which the
22449 marker function might return.
22450 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22451 gdb.c++/userdef.exp: Look for those comments to check that we've
22452 returned to the right place, instead of checking line numbers.
22453
22454 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22455
22456 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22457 match on sourcefile name, instead of directory name.
22458
22459 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22460
22461 * gdb.base/completion.exp: Use string_to_regexp to match the
22462 working directory name.
22463
22464 2003-04-09 Jim Blandy <jimb@redhat.com>
22465
22466 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22467 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22468 after an inferior function call, report the failure, but allow the
22469 test to continue.
22470
22471 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22472
22473 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22474 with -DPROTOTYPES.
22475
22476 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22477
22478 * gdb.base/break.exp: Revert last patch.
22479
22480 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22481
22482 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22483 with -DPROTOTYPES.
22484
22485 2003-04-02 Andrew Cagney <cagney@redhat.com>
22486
22487 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22488 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22489 matching directories by the name breakpoint.
22490 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22491 Make "continue to marker1" consistent.
22492 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22493 message consistent.
22494 * lib/gdb.exp: Put "the program is no longer running", and "the
22495 program exited" in parenthesis.
22496 * lib/mi-support.exp: Ditto.
22497
22498 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22499
22500 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22501
22502 2003-03-29 Andrew Cagney <cagney@redhat.com>
22503
22504 * gdb.base/sizeof.c (main): Print the value of '\377'.
22505 * gdb.base/sizeof.exp: Check the sign of '\377'.
22506
22507 2003-03-27 Michael Chastain <mec@shout.net>
22508
22509 * gdb.base/gdb1090.exp: New file.
22510 * gdb.base/gdb1090.cc: New file.
22511
22512 2003-03-27 J. Brobecker <brobecker@gnat.com>
22513
22514 * gdb.gdb/observer.exp: New regression test.
22515
22516 2003-03-27 Michael Chastain <mec@shout.net>
22517
22518 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22519 * gdb.base/ptype.exp: Likewise.
22520
22521 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22522
22523 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22524
22525 2003-03-26 Michael Chastain <mec@shout.net>
22526
22527 * gdb.base/ptype.exp: Actually use some typedef'd types.
22528
22529 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22530
22531 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22532 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22533
22534 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22535
22536 * gdb.base/default.exp: Fix regular expression.
22537
22538 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22539
22540 * gdb.base/args.exp: Fix regular expression.
22541
22542 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22543
22544 * gdb.base/help.exp: Allow Win32 child process.
22545
22546 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22547
22548 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22549 when stepping out of main().
22550
22551 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22552
22553 * gdb.base/default.exp: Check for win32 specific message when calling
22554 "run" without executable.
22555
22556 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22557
22558 * gdb.base/args.exp: Expect .exe in output.
22559
22560 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22561
22562 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22563 Cygwin native.
22564
22565 2003-03-17 Andrew Cagney <cagney@redhat.com>
22566
22567 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22568 vector registes.
22569 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22570 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22571
22572 2003-03-17 David Carlton <carlton@math.stanford.edu>
22573
22574 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22575 test, for PR breakpoints/38.
22576 Call test_watchpoint_and_breakpoint.
22577 * gdb.base/watchpoint.c (func3): New function.
22578 (main): Call func3.
22579
22580 2003-03-04 David Carlton <carlton@math.stanford.edu>
22581
22582 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22583 Garply<Garply<char> >:: garply".
22584 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22585 with respect to PR c++/1111; note also PR c++/1113.
22586 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22587 respect to PR c++/1062.
22588 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22589
22590 2003-03-03 David Carlton <carlton@math.stanford.edu>
22591
22592 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22593 with respect to PR c++/57.
22594 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22595 c++/826.
22596 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22597 respect to PR c++/57.
22598
22599 2003-03-03 David Carlton <carlton@math.stanford.edu>
22600
22601 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22602 respect to PR c++/33 into FAILs.
22603
22604 2003-03-03 Michael Chastain <mec@shout.net>
22605
22606 * configure.in: Update copyright years.
22607
22608 2003-03-03 Michael Chastain <mec@shout.net>
22609
22610 * Makefile.in: Update copyright years.
22611
22612 2003-02-28 David Carlton <carlton@math.stanford.edu>
22613
22614 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22615 print class instead of struct and/or superfluous protection
22616 specifiers, as long as the resulting output is equivalent to the
22617 source code.
22618 Delete FIXME from end of messages on tests that don't need
22619 fixing.
22620
22621 2003-02-28 David Carlton <carlton@math.stanford.edu>
22622
22623 * gdb.c++/templates.exp (do_tests): Allow const in the two
22624 Foo<volatile char *>::foo tests.
22625
22626 2003-02-27 Michael Snyder <msnyder@redhat.com>
22627
22628 * gdb.base/restore.c (main): Return zero, so exit code
22629 will be consistant.
22630
22631 2003-02-26 David Carlton <carlton@math.stanford.edu>
22632
22633 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22634 char *>::foo" test with respect to PR c++/33. Create a new test
22635 which is identical to that one except that it doesn't put the
22636 space between the "char" and the "*"; KFAIL it, too.
22637
22638 2003-02-26 David Carlton <carlton@math.stanford.edu>
22639
22640 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22641 template types into either PASSes or KFAILs (corresponding to PR
22642 c++/57). Tweak indentation. Update copyright.
22643
22644 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22645
22646 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22647
22648 2003-02-13 Michael Chastain <mec@shout.net>
22649
22650 * gdb.base/exprs.exp: Remove i960 remnants.
22651 * gdb.base/funcargs.exp: Likewise.
22652 * gdb.base/list.exp: Likewise.
22653 * gdb.base/ptype.exp: Likewise.
22654
22655 2003-02-14 David Carlton <carlton@math.stanford.edu>
22656
22657 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22658 pEe->D::vg()" from XFAIL to KFAIL.
22659
22660 2003-02-13 Jason Molenda (jmolenda@apple.com)
22661
22662 * gdb.base/maint.exp: Update maint print statistics regexp to include
22663 new entries.
22664
22665 2003-02-13 Michael Chastain <mec@shout.net>
22666
22667 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22668
22669 2003-02-12 Michael Chastain <mec@shout.net>
22670
22671 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22672 * gdb.c++/inherit.exp: Likewise.
22673 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22674 * gdb.c++/templates.exp: Likewise.
22675 * gdb.c++/virtfunc.exp: Likewise.
22676
22677 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22678
22679 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22680 why the code is written that way.
22681
22682 2003-02-05 Michael Chastain <mec@shout.net>
22683
22684 * gdb.base/dump.exp: Add missing copyright line.
22685
22686 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22687
22688 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22689 at the beginning so the breakpoint doesn't get set on the loop.
22690
22691 2003-02-05 Michael Chastain <mec@shout.net>
22692
22693 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22694 output for configurations with gcc 2.95.3.
22695
22696 2003-02-05 Keith Seitz <keiths@redhat.com>
22697 Andrew Cagney <ac131313@redhat.com>
22698
22699 * gdb.mi/mi-cli.exp: New file.
22700
22701 2003-02-04 Michael Chastain <mec@shout.net>
22702
22703 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22704 Call perror and then continue.
22705
22706 2003-02-03 Michael Chastain <mec@shout.net>
22707
22708 * gdb.c++/pr-1023.cc: New file.
22709 * gdb.c++/pr-1023.exp: New file.
22710
22711 2003-02-05 Jim Blandy <jimb@redhat.com>
22712
22713 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22714 it's local to foobar. Check for it there, and check that it's not
22715 present in main.
22716 * gdb.c++/local.cc (marker2): New function.
22717 (foobar): Call marker1.
22718 (main): Call marker2 instead of marker1.
22719
22720 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22721
22722 * gdb.disasm/mn10200.exp: Obsolete file.
22723 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22724 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22725 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22726
22727 2003-02-04 David Carlton <carlton@math.stanford.edu>
22728
22729 * gdb.c++/overload.exp: Test intToChar(1).
22730 * gdb.c++/overload.cc (intToChar): New.
22731 (main): Call intToChar.
22732
22733 2003-02-03 David Carlton <carlton@math.stanford.edu>
22734
22735 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22736 'might_kfail' arg.
22737 KFAIL some of the continue_to_bp_overloaded calls, according to
22738 PR c++/1025.
22739
22740 2003-02-01 Michael Chastain <mec@shout.net>
22741
22742 * gdb.base/advance.c (marker1): New marker function.
22743 * gdb.base/advance.exp: When the 'advance' command lands on the
22744 return breakpoint, it can legitimately stop on either the
22745 current line or the next line. Accommodate both outcomes.
22746 * gdb.base/until.exp: Likewise.
22747
22748 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22749
22750 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22751 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22752 now a list, not a tuple.
22753 * gdb.mi/mi-var-display.exp: Ditto.
22754 * gdb.mi/gdb792.exp: Ditto.
22755
22756 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22757
22758 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22759 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22760 stack backtraces.
22761 * gdb.mi/mi-syn-frame.c: Part of same.
22762
22763 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22764
22765 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22766 gdb.mi/mi1-pthreads.exp: Return instead of calling
22767 gdb_suppress_entire_file.
22768
22769 2003-02-01 Mark Salter <msalter@redhat.com>
22770
22771 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22772
22773 2003-01-31 Mark Salter <msalter@redhat.com>
22774
22775 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22776 Support empty arg.
22777
22778 2003-01-30 Michael Chastain <mec@shout.net>
22779
22780 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22781 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22782 has been fixed in gdb/readline on 2003-01-09.
22783
22784 2003-01-29 Michael Snyder <msnyder@redhat.com>
22785
22786 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22787 * gdb.base/display.exp: Allow for leading underscore in symbol.
22788 * gdb.base/args.exp: Skip if target does not support args passing.
22789
22790 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22791
22792 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22793 gdb_test. Accept a list of expect arguments as the third
22794 parameter.
22795 (gdb_test): Use it.
22796
22797 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22798
22799 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22800 allow for different test tree configurations. Update some
22801 tescases accordingly.
22802 * gdb.arch/altivec-regs.exp: Ditto.
22803 * gdb.asm/asm-source.exp: Ditto.
22804 * gdb.base/advance.exp: Ditto.
22805 * gdb.base/display.exp: Ditto.
22806 * gdb.base/long_long.exp: Ditto.
22807 * gdb.base/mips_pro.exp: Ditto.
22808 * gdb.base/overlays.exp: Ditto.
22809 * gdb.base/relocate.exp: Ditto.
22810 * gdb.base/setshow.exp: Ditto.
22811 * gdb.base/step-line.exp: Ditto.
22812 * gdb.base/step-test.exp: Ditto.
22813 * gdb.base/until.exp: Ditto.
22814 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22815
22816 2003-01-17 David Carlton <carlton@math.stanford.edu>
22817
22818 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22819 corresponding to PR c++/945.
22820 Update copyright.
22821
22822 2003-01-17 David Carlton <carlton@math.stanford.edu>
22823
22824 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22825 corresponding to PR c++/68.
22826
22827 2003-01-17 David Carlton <carlton@math.stanford.edu>
22828
22829 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22830 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22831 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22832
22833 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22834
22835 * gdb.base/break.exp: Fix change of default location, because of
22836 removal of until tests.
22837 * gdb.base/help.exp: Update test for new 'until' help message.
22838 Add test for help on 'advance'.
22839 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22840
22841 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22842
22843 * gdb.base/default.exp: Adapt "info float" test for recent changes
22844 to that command. Add test for "info vector".
22845 * gdb.base/float.exp: New file. Add test for "info float" that
22846 resembles the old test in gdb.base/default.exp.
22847
22848 2003-01-15 David Carlton <carlton@math.stanford.edu>
22849
22850 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22851
22852 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22853
22854 * gdb.base/break.exp: Move the tests of until command from here...
22855 * gdb.base/until.exp: ... to here. New file. Add other tests.
22856 * gdb.base/advance.c: New file.
22857 * gdb.base/advance.exp: New file.
22858
22859 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22860
22861 * gdb.base/args.c: New file.
22862 * gdb.base/args.exp: New file.
22863
22864 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22865
22866 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22867
22868 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22869
22870 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22871
22872 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22873
22874 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22875 dates.
22876
22877 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22878
22879 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22880
22881 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22882
22883 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22884 (ptype &*"foo").
22885 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22886
22887 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22888
22889 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22890 * gdb.mi/mi1-console.exp: Likewise.
22891
22892 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22893
22894 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22895 * gdb.mi/mi1-console.exp: Likewise.
22896
22897 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22898
22899 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22900
22901 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22902
22903 * gdb.base/detach.exp: New test.
22904
22905 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22906
22907 * Makefile.in (ALL_SUBDIRS): New variable.
22908 (subdirs, clean, distclean): Use it.
22909 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22910 regenerating Makefile, since it is generated from the top level.
22911 * gdb.asm/Makefile.in: Likewise.
22912 * gdb.base/Makefile.in: Likewise.
22913 * gdb.c++/Makefile.in: Likewise.
22914 * gdb.disasm/Makefile.in: Likewise.
22915 * gdb.java/Makefile.in: Likewise.
22916 * gdb.mi/Makefile.in: Likewise.
22917 * gdb.threads/Makefile.in: Likewise.
22918 * gdb.trace/Makefile.in: Likewise.
22919
22920 2003-01-09 David Carlton <carlton@math.stanford.edu>
22921
22922 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22923 Add copyright year 2003.
22924
22925 2003-01-06 Michael Chastain <mec@shout.net>
22926
22927 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22928 When selecting a thread, 'line' and 'file' are optional.
22929 * gdb.mi/mi1-pthreads.exp: Likewise.
22930
22931 2003-01-06 Andreas Schwab <schwab@suse.de>
22932
22933 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22934 failures.
22935
22936 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22937
22938 Fix PR gdb/844
22939 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22940 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22941
22942 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22943 instead of calling gdb_suppress_entire_file.
22944 * gdb.threads/print-threads.exp: Likewise.
22945 * gdb.threads/schedlock.exp: Likewise.
22946
22947 * gdb.threads/killed.exp: Return instead of calling
22948 gdb_suppress_entire_file.
22949 * gdb.threads/linux-dp.exp: Likewise.
22950 * gdb.threads/pthreads.exp: Likewise.
22951
22952 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22953
22954 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22955 stabs.
22956 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22957 * gdb.base/whatis.exp: Always allow (void) after function names.
22958
22959 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22960
22961 * gdb.c++/casts.exp: Correct regexp.
22962
22963 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22964
22965 * configure.in: Call AC_CONFIG_HEADER. Don't call
22966 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22967 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22968 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22969 aforementioned directories in the AC_OUPUT call.
22970 * config.hin: New file.
22971 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22972 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22973 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22974 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22975 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22976 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22977 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22978 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22979 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22980 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22981 gdb.threads/configure.in, gdb.threads/configure,
22982 gdb.threads/config.in, gdb.trace/configure.in,
22983 gdb.trace/configure: Removed.
22984
22985 2003-01-03 Michael Chastain <mec@shout.net>
22986
22987 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22988 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22989
22990 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22991
22992 * gdb.base/store.exp: Fix regular expressions.
22993
22994 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22995
22996 * configure.in: Rewrite.
22997 * configure: Regenerated.
22998
22999 2003-01-03 David Carlton <carlton@math.stanford.edu>
23000
23001 * gdb.base/psymtab.exp: New file.
23002 * gdb.base/psymtab1.c: Ditto.
23003 * gdb.base/psymtab2.c: Ditto.
23004
23005 2002-12-23 Adam Fedor <fedor@gnu.org>
23006
23007 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23008
23009 2002-12-23 David Carlton <carlton@math.stanford.edu>
23010
23011 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23012 and current_directory initialization.
23013
23014 2002-12-22 Jim Blandy <jimb@redhat.com>
23015
23016 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23017 rather than as part of the output file name.
23018
23019 * gdb.base/attach.exp: There's no need to copy the test program to
23020 /tmp; that was only ever necessary on HP/UX, and this test is
23021 entirely disabled there anyway.
23022
23023 2002-12-21 Jim Blandy <jimb@redhat.com>
23024
23025 * gdb.c++/psmang.exp: Doc fix.
23026
23027 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23028 test.
23029
23030 2002-12-20 David Carlton <carlton@math.stanford.edu>
23031
23032 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23033
23034 2002-12-18 Michael Chastain <mec@shout.net>
23035
23036 * gdb.c++/annota2.exp: Add copyright year 2002.
23037
23038 2002-12-17 David Carlton <carlton@math.stanford.edu>
23039
23040 * gdb.c++/try_catch.cc: Add marker comments.
23041 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23042 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23043 * gdb.c++/m-static.cc: Ditto.
23044 * gdb.c++/m-static1.cc: Ditto.
23045 * gdb.c++/try_catch.cc: Ditto.
23046
23047 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23048
23049 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23050 to see whether we are using the new -environment-directory
23051 command which resets via -r or the old version of the command
23052 which may prompt the user. Part of fix for gdb/741.
23053
23054 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23055
23056 * gdb.fortran/types.exp: Update obsolete comment.
23057 * gdb.fortran/exprs.exp: Ditto.
23058 * lib/gdb.exp: Delete obsolete code.
23059 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23060 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23061 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23062 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23063 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23064 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23065 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23066 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23067 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23068 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23069 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23070 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23071 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23072 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23073 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23074 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23075 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23076 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23077 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23078 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23079 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23080 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23081 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23082 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23083 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23084 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23085 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23086 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23087 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23088 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23089 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23090 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23091 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23092 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23093 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23094 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23095 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23096
23097 2002-12-11 David Carlton <carlton@math.stanford.edu>
23098
23099 * gdb.c++/m-data.exp: Add test for members that shadow global
23100 variables: see PR gdb/804.
23101 * gdb.c++/m-data.cc: Ditto.
23102
23103 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23104
23105 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23106
23107 2002-12-06 David Carlton <carlton@math.stanford.edu>
23108
23109 * gdb.base/store.c: Don't declare functions static.
23110
23111 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23112
23113 * gdb.base/store.exp, gdb.base/store.c: New files.
23114
23115 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23116
23117 * gdb.base/selftest.exp: Update for current gdb.
23118
23119 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23120
23121 * gdb.base/maint.exp: Only dump symbols from one source file
23122 or objfile.
23123
23124 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23125
23126 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23127 function call.
23128
23129 2002-11-25 Jim Blandy <jimb@redhat.com>
23130
23131 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23132 function appearing in error message.
23133
23134 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23135
23136 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23137
23138 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23139
23140 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23141 for mi1 and current mi is in correct format. New mi startup message
23142 should be in mi console format. This is part of fix for PR gdb/604.
23143
23144 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23145
23146 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23147 which explicitly prints the zero offset as "+0".
23148
23149 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23150
23151 * gdb.threads/schedlock.c (args): Make unsigned.
23152
23153 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23154
23155 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23156 numbers. Allow "foo2|selected stack frame".
23157 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23158 * gdb.asm/asmsrc2.s: Likewise.
23159 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23160 comments.
23161 * gdb.asm/mips.inc: New file.
23162
23163 2002-10-18 Adam Fedor <fedor@gnu.org>
23164
23165 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23166 * gdb.base/help.exp: Likewise.
23167
23168 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23169
23170 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23171 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23172
23173 2002-10-02 Jim Blandy <jimb@redhat.com>
23174
23175 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23176
23177 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23178
23179 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23180 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23181 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23182 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23183 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23184 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23185 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23186
23187 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23188
23189 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23190 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23191 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23192 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23193 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23194 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23195 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23196
23197 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23198
23199 * gdb.base/annota1.exp (info break): Make directory components of
23200 path optional since not all compilers emit this debug information.
23201
23202 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23203 step ends up stepping out of the function instead of stopping on
23204 the epilogue.
23205
23206 2002-09-26 Keith Seitz <keiths@redhat.com>
23207
23208 * lib/insight-support.exp (gdbtk_start): Figure out where
23209 the insight executable is based on where gdb is. Use this
23210 executable to start insight instead of gdb.
23211
23212 2002-09-25 Andrew Cagney <cagney@redhat.com>
23213
23214 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23215
23216 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23217
23218 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23219 test_isolated_complaints.
23220 (test_empty_complaint): New function.
23221 (test_empty_complaints): New function. Check no output when no
23222 complaints.
23223
23224 2002-09-19 Jim Blandy <jimb@redhat.com>
23225
23226 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23227
23228 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23229
23230 * gdb.gdb/complaints.exp: New file.
23231
23232 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23233
23234 * gdb.base/maint.exp: Check `help maint internal-warning'.
23235
23236 2002-09-18 David Carlton <carlton@math.stanford.edu>
23237
23238 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23239 numbers, and replace them by a single breakpoint after the
23240 constructors are all finished.
23241 Add test 4.
23242 * gdb.c++/m-static.cc: Add test 4.
23243 * gdb.c++/m-static.h: New file.
23244 * gdb.c++/m-static1.cc: New file.
23245
23246 * gdb.c++/printmethod.exp: New file.
23247 * gdb.c++/printmethod.cc: New file.
23248
23249 * gdb.c++/pr-574.exp: New file.
23250 * gdb.c++/pr-574.cc: New file.
23251
23252 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23253
23254 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23255 embedded targets which never actually exit.
23256
23257 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23258
23259 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23260 "don't step after run" as unresolved or unsupported, instead of xfail.
23261
23262 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23263
23264 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23265 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23266 Add newline to expected string in "step out of main (status wrapper)"
23267 case.
23268
23269 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23270
23271 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23272 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23273
23274 2002-09-17 Tom Tromey <tromey@redhat.com>
23275
23276 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23277 \000, not \0, in double-quoted string.
23278
23279 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23280
23281 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23282 string after running the commands execution on breakpoint tests.
23283
23284 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23285
23286 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23287
23288 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23289
23290 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23291
23292 2002-09-10 Keith Seitz <keiths@redhat.com>
23293
23294 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23295 runto proc.
23296 (mi_run_to_main): Use mi_runto.
23297 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23298
23299 2002-09-10 Keith Seitz <keiths@redhat.com>
23300
23301 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23302 regexp for stopping at main. Could have multiple event notifications.
23303 Don't assume that main was declared with no parameters.
23304 (mi_next): Use mi_step_to.
23305 (mi_step): Use mi_next_to.
23306
23307 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23308
23309 * gdb.base/default.exp: Fix expected string in `info float' test.
23310
23311 2002-09-09 Ben Elliston <bje@redhat.com>
23312
23313 * config/mips.exp: Update comments.
23314 * config/mips-idt.exp: Likewise.
23315 * config/nind.exp: Likewise.
23316 * config/slite.exp: Likewise.
23317 * config/sparclet.exp: Likewise.
23318 * config/udi.exp: Likewise.
23319 * config/vx.exp: Likewise.
23320 * config/vxworks29k.exp: Likewise.
23321
23322 2002-09-05 Jim Blandy <jimb@redhat.com>
23323
23324 * gdb.threads/killed.exp: Fix test failure message.
23325
23326 2002-09-04 Keith Seitz <keiths@redhat.com>
23327
23328 * lib/mi-support.exp: Update copyright.
23329 (mi_gdb_test): Increase the priority of the expected pattern
23330 so that it matches gdb_test.
23331
23332 2002-09-03 Keith Seitz <keiths@redhat.com>
23333
23334 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23335 Use integer comparison instead of string comparison for testing
23336 whether binary was built.
23337
23338 2002-09-03 Jim Blandy <jimb@redhat.com>
23339
23340 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23341
23342 2002-08-29 Jim Blandy <jimb@redhat.com>
23343
23344 * gdb.threads/pthreads.exp: Move the portable thread compilation
23345 code into a function in lib/gdb.exp, and call that from here.
23346 * lib/gdb.exp (gdb_compile_pthreads): New function.
23347
23348 2002-08-29 Keith Seitz <keiths@redhat.com>
23349
23350 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23351 expect_out so that callers can get at it.
23352
23353 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23354
23355 * gdb.threads/print-threads.c: New file.
23356 * gdb.threads/print-threads.exp: New file.
23357 * gdb.threads/schedlock.c: New file.
23358 * gdb.threads/schedlock.exp: New file.
23359
23360 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23361
23362 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23363 not altivec.c.
23364
23365 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23366
23367 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23368 targets. The problem should be fixed now.
23369
23370 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23371
23372 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23373 2002-07-24 change that removes final dots from error messages.
23374
23375 2002-08-13 Tom Tromey <tromey@redhat.com>
23376
23377 * gdb.base/readline.exp: New file.
23378
23379 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23380
23381 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23382 supress message.
23383
23384 2002-08-01 Andrew Cagney <cagney@redhat.com>
23385
23386 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23387 CHILL_FOR_TARGET and CHILL_LIB.
23388 * configure.in (configdirs): Remove gdb.chill.
23389 * configure: Regenerate.
23390 * lib/gdb.exp: Obsolete references to chill.
23391 * gdb.fortran/types.exp: Ditto.
23392 * gdb.fortran/exprs.exp: Ditto.
23393
23394 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23395
23396 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23397 set Irix-specific compile and link flags.
23398
23399 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23400
23401 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23402 source files. The ``-o'' option doesn't work with the ``-E'' option
23403 when using the Irix compiler.
23404
23405 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23406
23407 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23408 Improve support for reusing an exec file. Copy exec file
23409 to target, and run gdbserver on the target instead of on the host.
23410
23411 2002-07-18 Jim Blandy <jimb@redhat.com>
23412
23413 * gdb.base/ending-run.exp: Don't expect to see the program end in
23414 some orderly fashion when we're running on a real stand-alone
23415 board.
23416
23417 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23418 targets that don't support interrupts.
23419
23420 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23421
23422 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23423 systems.
23424 Move comments in expect statements to inside the actions, so that they
23425 don't get matched against.
23426
23427 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23428
23429 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23430 function when asleep" test.
23431
23432 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23433
23434 * gdb.base/page.exp: Rewrite to handle problems with very long
23435 `info set' output. Update copyright.
23436
23437 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23438
23439 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23440 gdb.threads-hp.
23441 * gdb.hp/configure: Regenerate.
23442 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23443 * gdb.hp/gdb.threads-hp/configure: Delete file.
23444 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23445
23446 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23447
23448 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23449 setlocale, bindtextdomain and textdomain.
23450
23451 2002-06-11 Jim Blandy <jimb@redhat.com>
23452
23453 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23454 preprocessor macro information is present.
23455
23456 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23457 tests.
23458
23459 2002-06-06 Michael Snyder <msnyder@redhat.com>
23460
23461 * gdb.base/overlays.exp: Record addresses of overlay
23462 functions in TCL variables rather than in GDB variables,
23463 to avoid having GDB convert them to pointers (with loss
23464 of information).
23465
23466 * gdb.base/d10v.ld: Merge in several years worth of
23467 default linker script changes.
23468 * gdb.base/long_long.exp: Add check for sizeof (long double).
23469
23470 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23471
23472 * gdb.asm/asm-source.exp: Add x86-64 target.
23473 * gdb.asm/x86_64.inc: New.
23474
23475 2002-05-30 Michael Chastain <mec@shout.net>
23476
23477 From Benjamin Kosnik <bkoz@redhat.com>:
23478 * gdb.c++/m-static.cc: New file.
23479 * gdb.c++/m-static.exp: New file.
23480
23481 2002-05-28 Michael Snyder <msnyder@redhat.com>
23482
23483 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23484 precision.
23485
23486 2002-05-27 Michael Chastain <mec@shout.net>
23487
23488 From Benjamin Kosnik <bkoz@redhat.com>:
23489 * gdb.c++/m-data.cc: New file.
23490 * gdb.c++/m-data.exp: New file.
23491
23492 2002-05-27 Michael Chastain <mec@shout.net>
23493
23494 From Benjamin Kosnik <bkoz@redhat.com>:
23495 * gdb.c++/try_catch.cc: New file.
23496 * gdb.c++/try_catch.exp: New file.
23497
23498 2002-05-27 Michael Chastain <mec@shout.net>
23499
23500 * gdb.c++/local.exp: Accept more nested types in output.
23501
23502 2002-05-26 Michael Chastain <mec@shout.net>
23503
23504 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23505
23506 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23507
23508 * lib/gdb.exp (gdb_wrapper_init): Just because
23509 gdb_wrapper_file exists, this does not mean that the file
23510 should not be rebuilt. That is what gdb_wrapper_initialized
23511 is for.
23512 (default_gdb_init): Reset gdb_wrapper_initialized.
23513
23514 2002-05-23 Michael Snyder <msnyder@redhat.com>
23515
23516 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23517 the precision of the floating point test results.
23518 * gdb.base/call-rt-st.exp: Ditto.
23519
23520 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23521 * gdb.base/call-rt-st.exp: Ditto.
23522
23523 2002-05-19 Michael Chastain <mec@shout.net>
23524
23525 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23526
23527 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23528
23529 * configure.in (configdirs): Add gdb.arch.
23530 * configure: Regenerate.
23531
23532 2002-05-17 Jim Blandy <jimb@redhat.com>
23533
23534 * gdb.base/completion.exp: Recognize the more detailed error
23535 messages produced by the macro expander's lexical analyzer.
23536
23537 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23538
23539 * gdb.arch/altivec-abi.c: New file.
23540 * gdb.arch/altivec-abi.exp: New file.
23541 * gdb.arch/altivec-regs.c: New file.
23542 * gdb.arch/altivec-regs.exp: New file.
23543
23544 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23545
23546 * gdb.base/maint.exp (maint print type): Update for new type
23547 structure.
23548
23549 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23550
23551 * gdb.arch: New directory.
23552 * gdb.arch/configure.in: New file.
23553 * gdb.arch/configure: New file.
23554 * gdb.arch/Makefile.in: New file.
23555
23556 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23557
23558 * gdb.asm/asm-source.exp: Add v850 as supported target.
23559 * gdb.asm/v850.inc: New file.
23560
23561 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23562
23563 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23564
23565 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23566
23567 * gdb.base/break.exp: Check 'break "marker2"'.
23568
23569 2002-05-10 Michael Snyder <msnyder@redhat.com>
23570
23571 * gdb.base/long_long.exp: Fix typo.
23572
23573 2002-05-10 Jim Blandy <jimb@redhat.com>
23574
23575 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23576 a bug.
23577
23578 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23579 Recognize more detailed error message produced by the macro
23580 expander's lexical analyzer.
23581 * lib/gdb.exp (test_print_reject): Same.
23582
23583 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23584
23585 * gdb.c++/method.exp: Fix typo.
23586
23587 2002-05-08 Michael Snyder <msnyder@redhat.com>
23588
23589 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23590 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23591 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23592 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23593 Add iftarget clause for strongarm.
23594
23595 2002-05-06 Michael Snyder <msnyder@redhat.com>
23596
23597 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23598 (gdb_continue_to_end): Accept output from status wrapper.
23599 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23600 Clean up fail messages to match pass messages.
23601
23602 Enable the "needs_status_wrapper" testsuite feature.
23603 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23604 (gdb_compile): Conditionally call gdb_wrapper_init.
23605 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23606 * gdb.c++/method.exp: Recognize output from status wrapper.
23607
23608 2002-05-06 Ben Elliston <bje@redhat.com>
23609 From Graydon Hoare <graydon@redhat.com>
23610
23611 * config/sid.exp: Include support for "rawsid" protocol.
23612
23613 2002-05-03 Jim Blandy <jimb@redhat.com>
23614
23615 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23616 * gdb.c++/hang3.C: New file.
23617
23618 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23619
23620 * gdb.base/default.exp: Remove obsolete code.
23621 * gdb.c++/misc.exp: Ditto. Update copyright.
23622 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23623 * gdb.base/whatis.exp: Ditto. Update copyright.
23624 * gdb.base/scope.exp: Ditto. Update copyright.
23625 * gdb.base/ptype.exp: Ditto. Update copyright.
23626 * gdb.base/printcmds.exp: Ditto. Update copyright.
23627 * gdb.base/opaque.exp: Ditto. Update copyright.
23628 * gdb.base/list.exp: Ditto.
23629 * gdb.base/funcargs.exp: Ditto. Update copyright.
23630 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23631 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23632 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23633 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23634 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23635 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23636
23637 2002-05-02 Michael Snyder <msnyder@redhat.com>
23638
23639 * gdb.base/watchpoint.exp: Add xscale target.
23640 * gdb.base/long_long.exp: Add xscale target.
23641 * gdb.base/default.exp: Add xscale target.
23642
23643 2002-05-01 Jim Blandy <jimb@redhat.com>
23644
23645 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23646 gdb.c++/hang.exp: New test.
23647
23648 2002-05-01 Fred Fish <fnf@redhat.com>
23649
23650 * gdb.base/completion.exp: Handle completions of "./Make" for
23651 more than one completion possibility, as is the case when we
23652 build and test in the source tree.
23653
23654 2002-04-29 Anthony Green <green@redhat.com>
23655
23656 * gdb.java/jmisc1.exp: New file.
23657 * gdb.java/jmisc2.exp: New file.
23658
23659 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23660
23661 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23662
23663 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23664
23665 * gdb.base/help.exp: Change 'help status' to allow for target
23666 dependent output differences.
23667
23668 2002-04-22 Michael Chastain <mec@shout.net>
23669
23670 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23671
23672 2002-04-22 Michael Chastain <mec@shout.net>
23673
23674 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23675
23676 2002-04-17 David S. Miller <davem@redhat.com>
23677
23678 * gdb.asm/sparc64.inc: New file.
23679 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23680
23681 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23682
23683 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23684 instruction file directly into the build tree. Clean up at end of
23685 test.
23686
23687 2002-04-18 David S. Miller <davem@redhat.com>
23688
23689 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23690 handle 64-bit platforms correctly.
23691 * gdb.base/maint.exp: Likewise.
23692
23693 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23694
23695 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23696 ``-fpic'' when compiling files comprising a shared library, but
23697 it does need additional linker flags in order to find shared
23698 libraries at run time.
23699
23700 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23701
23702 * gdb.base/cvexpr.c (use): New function.
23703 (main): Invoke use() on all global variables to prevent
23704 some linkers from deleting these otherwise unused symbols.
23705
23706 2002-04-17 Michael Chastain <mec@shout.net>
23707 From David S. Miller <davem@redhat.com>
23708
23709 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23710 handle 64-bit platforms correctly.
23711
23712 2002-04-12 Michael Snyder <msnyder@redhat.com>
23713 From Jim Blandy <jimb@redhat.com>
23714 * gdb.base/foo.c (foox): Remove section attribute; the linker
23715 script can handle this instead.
23716 * gdb.base/bar.c (barx): Same.
23717 * gdb.base/baz.c (bazx): Same.
23718 * gdb.base/grbx.c (grbxx): Same.
23719
23720 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23721 manager doesn't automatically unmap overlays unnecessarily.
23722
23723 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23724
23725 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23726 stepping out of main.
23727
23728 2002-04-09 Michael Chastain <mec@shout.net>
23729
23730 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23731 scope so that the nested scope tests will make sense.
23732 * gdb.c++/local.exp: Write patterns that actually work with gcc
23733 (the HP patterns "were never known to work with gcc").
23734 Keep the old aCC patterns too.
23735
23736 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23737
23738 * gdb.base/attach.exp: Correct target board test.
23739
23740 2002-04-08 Michael Chastain <mec@shout.net>
23741
23742 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23743 in a const method. Add some xfail and fail cases for configurations
23744 that do not emit the "const ...".
23745
23746 2002-04-07 Michael Chastain <mec@shout.net>
23747
23748 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23749 Accept "A * const" and "const A * const" as type of "this".
23750 Fix spelling of getFunky throughout. Make messages uniform.
23751
23752 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23753
23754 Work around for PR gdb/285:
23755 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23756
23757 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23758
23759 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23760 instructions file at run time instead of configure time.
23761 Sometimes we run the test in a directory that is not the one we
23762 configured in.
23763 * gdb.asm/configure.in: Delete creation of symlink.
23764 * gdb.asm/configure: Regenerate.
23765
23766 2002-04-05 J. Brobecker <brobecker@gnat.com>
23767
23768 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23769 xfullpath () function.
23770
23771 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23772
23773 * gdb.asm/Makefile.in: Correct dependencies.
23774
23775 * gdb.asm/powerpc.inc: New file.
23776 * gdb.asm/asm-source.exp: Add PowerPC.
23777 * gdb.asm/configure.in: Likewise.
23778 * gdb.asm/configure: Regenerated.
23779
23780 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23781
23782 * gdb.base/relocate.exp: New file.
23783 * gdb.base/relocate.c: New file.
23784
23785 2002-04-04 Fred Fish <fnf@redhat.com>
23786
23787 * gdb.base/step-test.exp: Update comment regarding stopping in
23788 memcpy/bcopy calls inserted as part of the compiler runtime.
23789
23790 2002-04-04 Michael Snyder <msnyder@redhat.com>
23791
23792 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23793
23794 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23795
23796 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23797 (gdb_expect): Remove $notransfer hack.
23798
23799 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23800
23801 * gdb.c++/classes.exp ("calling method for small class"): Match
23802 updated register output.
23803
23804 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23805
23806 Fix PR gdb/452
23807 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23808 when finished. Make gdb_file_cmd send "exec-file" when
23809 appropriate.
23810
23811 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23812
23813 * gdb.base/attach.exp: Remove extra setup_xfail.
23814
23815 2002-03-26 Michael Snyder <msnyder@redhat.com>
23816
23817 * gdb.base/default.exp: Add tests for dump, append, and restore.
23818 * gdb.base/help.exp: Add tests for dump, append, and restore.
23819 * gdb.base/dump.exp: New file, test dump, append and restore.
23820 * gdb.base/dump.c: New file.
23821
23822 2002-03-27 Michael Snyder <msnyder@redhat.com>
23823
23824 * gdb.base/help.exp: Modify expect strings to reflect
23825 clean-ups in help messages.
23826
23827 2002-03-26 Fred Fish <fnf@redhat.com>
23828
23829 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23830 have debugging info for those functions and the compiler uses them
23831 internally to copy structs around.
23832
23833 2002-03-26 Fred Fish <fnf@redhat.com>
23834
23835 * gdb.base/list.exp: Revert the change made yesterday and add note
23836 about why we don't list the default lines for remote targets.
23837
23838 2002-03-25 Michael Snyder <msnyder@redhat.com>
23839
23840 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23841
23842 2002-03-25 Fred Fish <fnf@redhat.com>
23843
23844 * gdb.base/list.exp: This test works on remote targets so remove
23845 the short circuit for remote targets. Update copyright.
23846
23847 2002-03-25 Fred Fish <fnf@redhat.com>
23848
23849 * gdb.base/attach.exp: Fix logic error that was suppressing this
23850 test for all non hppa*-*-hpux* targets, instead of the hp target.
23851 Move comments closer to the suppression point. Also now need to
23852 check that we are running natively.
23853
23854 2002-03-22 Michael Snyder <msnyder@redhat.com>
23855
23856 * gdb.base/default.exp: Add test for gcore. Update copyright.
23857 * gdb.base/help.exp: Add test for gcore. Update copyright.
23858
23859 2002-03-06 Fred Fish <fnf@redhat.com>
23860
23861 * gdb.base/funcargs.c: Remove extraneous ';' character.
23862 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23863
23864 2002-03-04 Michael Chastain <mec@shout.net>
23865
23866 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23867 accommodate gcc v3 function signature.
23868 * gdb.mi/mi0-var-cmd-exp: Ditto.
23869
23870 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23871
23872 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23873 ``GNU/Linux'' or ``Linux kernel''
23874 * testsuite/gdb.threads/pthreads.c: Ditto.
23875
23876 2002-02-24 Michael Chastain <mec@shout.net>
23877
23878 * gdb.threads/pthreads.c (thread1): Add a return statement.
23879 (thread2): Likewise.
23880 (foo): Likewise.
23881
23882 2002-02-23 Michael Chastain <mec@shout.net>
23883
23884 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23885 to placate gcc.
23886
23887 2002-02-23 Michael Chastain <mec@shout.net>
23888
23889 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23890 test "ptype bint". The test passes on all my stabs configurations.
23891
23892 2002-02-21 Jim Blandy <jimb@redhat.com>
23893
23894 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23895 filename at a time, and watch for the ones we want to see.
23896
23897 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23898 types of pointers to prototyped functions.
23899
23900 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23901
23902 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23903 signed, unsigned and straight char.
23904 (padding_char, padding_short, padding_int, padding_long,
23905 padding_long_long, padding_float, padding_double,
23906 padding_long_double): New global variables.
23907 (fill, fill_structs): New functions.
23908
23909 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23910 for correctly sized writes. Update copyright.
23911 (get_valueof): New procedure.
23912 (get_sizeof): Call get_valueof.
23913 (check_valueof): New procedure.
23914 (check_padding): New procedure.
23915
23916 2002-02-20 Michael Chastain <mec@shout.net>
23917
23918 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23919 to setup_xfail. Document some of the remaining calls.
23920
23921 2002-02-18 Michael Chastain <mec@shout.net>
23922
23923 * gdb.c++/userdef.exp: Update copyright year.
23924
23925 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23926
23927 * gdb.c++/userdef.exp: Test overloaded operators properly.
23928 Remove xfails.
23929
23930 2002-02-14 Michael Snyder <msnyder@redhat.com>
23931
23932 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23933
23934 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23935
23936 * gdb.base/a2-run.exp: Check for a remote target properly.
23937 * gdb.base/annota1.exp: Likewise.
23938 * gdb.base/list.exp: Likewise.
23939 * gdb.base/reread.exp: Likewise.
23940 * gdb.base/scope.exp: Likewise.
23941 * gdb.base/shlib-call.exp: Likewise.
23942 * gdb.base/term.exp: Likewise.
23943 * gdb.c++/annota2.exp: Likewise.
23944
23945 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23946
23947 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23948
23949 2002-02-10 Michael Chastain <mec@shout.net>
23950
23951 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23952 (call_after_alloca): Ditto.
23953
23954 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23955
23956 * gdb.base/ending-run.exp: Guard "cont" test with
23957 gdb_skip_stdio_test.
23958
23959 2002-02-06 Jim Blandy <jimb@redhat.com>
23960
23961 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23962 from here...
23963 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23964 To here. Disable this test on non-HP platforms. Add big comment.
23965
23966 2002-02-04 Michael Snyder <msnyder@redhat.com>
23967
23968 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23969 other than d10v and m32r.
23970
23971 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23972
23973 * gdb.base/default.exp: Rewrite test patterns to reduce time
23974 taken to match them.
23975
23976 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23977
23978 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23979 Allow a start function above main.
23980 * gdb.threads/linux-dp.exp: Fix copyright date.
23981
23982 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23983
23984 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23985 (check_philosopher_stack): Check for manager thread before checking
23986 for a just-starting thread.
23987
23988 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23989
23990 From Neil Booth <neil@daikokuya.demon.co.uk>:
23991 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23992 warnings.
23993
23994 2002-01-21 Fred Fish <fnf@redhat.com>
23995
23996 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23997 not caller.
23998
23999 2002-01-21 Jim Blandy <jimb@redhat.com>
24000
24001 * gdb.base/reread.exp: Check that GDB properly re-reads the
24002 executable file when it changes while no inferior is running.
24003
24004 2002-01-21 Fred Fish <fnf@redhat.com>
24005
24006 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24007 optionally accept the "shlib events" variation.
24008
24009 2002-01-21 Jim Blandy <jimb@redhat.com>
24010
24011 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24012 call `fflush' after every `printf', so that the output is produced
24013 at predictable points, regardless of whatever buffering does (or
24014 doesn't) take place.
24015 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24016 at different points.
24017
24018 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24019
24020 * gdb.c++/inherit.exp: Update copyright years.
24021 * gdb.c++/method.exp: Likewise.
24022
24023 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24024
24025 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24026 artificial methods/arguments.
24027 * gdb.c++/derivation.exp: Likewise.
24028 * gdb.c++/inherit.exp: Likewise.
24029 * gdb.c++/method.exp: Likewise.
24030 * gdb.c++/virtfunc.exp: Likewise.
24031
24032 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24033
24034 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24035 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24036 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24037 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24038 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24039 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24040
24041 2002-01-17 Jim Blandy <jimb@redhat.com>
24042
24043 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24044 anchoring the pattern matching the entry point symbol's name.
24045
24046 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24047
24048 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24049 continue/quit query. Update copyright.
24050
24051 2002-01-14 Michael Snyder <msnyder@redhat.com>
24052
24053 * gdb.base/gcore.exp: Remove extra debugging output.
24054
24055 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24056
24057 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24058 for slightly dubious v2 mangled string.
24059
24060 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24061
24062 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24063
24064 2002-01-10 Jason Merrill <jason@redhat.com>
24065
24066 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24067
24068 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24069 constructors.
24070 * gdb.c++/derivation.exp: Likewise.
24071 * gdb.c++/templates.exp: Likewise.
24072 * gdb.c++/virtfunc.exp: Likewise.
24073
24074 2002-01-10 Michael Snyder <msnyder@redhat.com>
24075
24076 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24077
24078 2002-01-08 Michael Snyder <msnyder@redhat.com>
24079
24080 * gdb.base/gcore.exp: New test for generate-core-file command.
24081 * gdb.base/gcore.c: Testcase for above.
24082 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24083
24084 2002-01-08 Jason Merrill <jason@redhat.com>
24085
24086 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24087
24088 2002-01-07 Fred Fish <fnf@redhat.com>
24089
24090 * gdb.c++/overload.exp: Remove unconditional xfails for:
24091 print foo_instance1.overloadargs(1)
24092 print foo_instance1.overloadargs(1, 2)
24093 print foo_instance1.overloadargs(1, 2, 3)
24094 print foo_instance1.overloadargs(1, 2, 3, 4)
24095 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24096 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24097 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24098 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24099 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24100 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24101 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24102 print foo_instance1.overload1arg()
24103 print foo_instance1.overload1arg((char)arg2)
24104 print foo_instance1.overload1arg((signed char)arg3)
24105 print foo_instance1.overload1arg((unsigned char)arg4)
24106 print foo_instance1.overload1arg((int)arg7)
24107 print foo_instance1.overload1arg((unsigned int)arg8)
24108 print foo_instance1.overload1arg((float)arg11)
24109 print foo_instance1.overload1arg((double)arg12)
24110
24111 2002-01-07 Michael Snyder <msnyder@redhat.com>
24112
24113 * gdb.base/huge.exp: New test. Print a very large target data object.
24114 (skip_huge_test): New test variable. Define if you want to skip this
24115 test. The test reads an 8 megabyte data object from the target, so it
24116 might be very time consuming on remote targets with a slow connection.
24117 * gdb.base/huge.c: New file. Test case for above.
24118
24119 2002-01-07 Fred Fish <fnf@redhat.com>
24120
24121 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24122 g_instance.bfoo, and g_instance.cfoo.
24123
24124 2002-01-07 Jeffrey A Law <law@redhat.com>
24125
24126 * gdb.base/break.c (multi_line_if_conditional): New function.
24127 (multi_ilne_while_conditional): Likewise.
24128 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24129 IF or WHILE condition puts the breakpoint at the start of
24130 the condition.
24131
24132 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24133 hppa*-*-hpux* expected failure.
24134 * gdb.base/structs.exp (do_function_calls): Similarly.
24135
24136 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24137 watchpoints.
24138
24139 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24140
24141 Fix PR gdb/66.
24142 * gdb.base/structs.exp: Replace skip for a29k with skip for
24143 gdb,cannot_call_functions.
24144 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24145 * gdb.base/callfuncs.exp: Ditto.
24146 * gdb.base/call-rt-st.exp: Ditto.
24147 * gdb.base/call-strs.exp: Ditto.
24148 * gdb.base/callfwmall.exp: Ditto.
24149 * gdb.base/scope.exp: Obsolete xfail a29k.
24150 * gdb.c++/misc.exp: Ditto.
24151 * gdb.c++/cplusfuncs.exp: Ditto.
24152 * gdb.base/ptype.exp: Ditto.
24153 * gdb.base/printcmds.exp: Ditto.
24154 * gdb.base/opaque.exp: Ditto.
24155 * gdb.base/list.exp: Ditto.
24156 * gdb.base/funcargs.exp: Ditto.
24157 * gdb.base/default.exp: Ditto.
24158
24159 2002-01-04 Michael Snyder <msnyder@redhat.com>
24160
24161 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24162 * gdb.base/maint.exp: Add tests for maint info sections options.
24163
24164 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24165
24166 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24167
24168 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24169
24170 * gdb.asm/arm.inc: New file.
24171 * gdb.asm/asm-source.exp: Add arm targets.
24172 * gdb.asm/configure.in: Ditto.
24173 * gdb.asm/configure: Recreated from configure.in.
24174
24175 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24176
24177 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24178 with HP's compiler.
24179 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24180 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24181 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24182 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24183
24184 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24185 either HP's compilers or GCC.
24186
24187 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24188 a SIGBUS or SIGSEGV.
24189
24190 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24191
24192 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24193 can be compiled with either HP's compiler or GCC.
24194
24195 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24196 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24197 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24198
24199 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24200 to match current gdb output. Update due to using auto-solib-limit
24201 for limiting instead of overloading auto-solib-add.
24202 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24203 test program.
24204
24205 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24206 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24207 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24208 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24209 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24210 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24211 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24212 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24213 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24214 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24215 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24216 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24217 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24218
24219 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24220 a SIGTRAP to the inferior.
24221
24222 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24223
24224 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24225 Substitute call to target_link by call to gdb_compile.
24226
24227 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24228
24229 * gdb.base/break.exp: Fix HP specific search string when testing
24230 backtracing in a called function.
24231
24232 * gdb.base/constvars.exp: Only set lang to C++ if we're
24233 compiling the test with HP's compilers.
24234 * gdb.base/volatile.exp: Similarly.
24235
24236 2001-12-19 Jim Blandy <jimb@redhat.com>
24237
24238 * gdb.base/printcmds.exp: Expect the null character to be printed
24239 as '\0', and the '\013' to be printed as '\v'.
24240 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24241 * gdb.base/setvar.exp: Same.
24242
24243 2001-12-17 Jim Blandy <jimb@redhat.com>
24244
24245 * gdb.base/completion.exp: Rather than completing very long
24246 filenames, which can make the readline library produce output we
24247 don't recognize, cd to the directory first, and then complete
24248 using nice, short relative paths.
24249
24250 * gdb.base/completion.exp: On some systems, there is, in fact, a
24251 variable named `b' in scope, since GDB treats all static
24252 variables as being in scope. So use `no_var_named_this'
24253 instead of `b'.
24254
24255 * gdb.base/corefile.exp: Recognize the message saying that GDB
24256 can't find the core file's registers as a failure.
24257
24258 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24259
24260 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24261 test expect string more specific.
24262
24263 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24264
24265 * gdb.asm/asm-source.exp: Add support for xstormy16.
24266 * gdb.asm/configure.in: Ditto.
24267 * gdb.asm/configure: Rebuild.
24268 * gdb.asm/xstormy16.inc: New file.
24269
24270 2001-12-10 Fred Fish <fnf@redhat.com>
24271
24272 * gdb.base/maint.exp: Update to match changes in type dumping code.
24273
24274 2001-12-10 Jim Blandy <jimb@redhat.com>
24275
24276 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24277 matching the entry point symbol's name at the beginning of the
24278 line.
24279
24280 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24281
24282 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24283 gdb.c++/inherit.exp, gdb.c++/method.exp,
24284 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24285 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24286 and class layout support.
24287
24288 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24289
24290 * gdb.c++/classes.exp: Add test for static member function.
24291 * gdb.c++/misc.cc: Add class with static member function.
24292
24293 2001-12-07 Jim Blandy <jimb@redhat.com>
24294
24295 If GDB says it can't find the struct the function returned, report
24296 those tests as `unsupported'.
24297 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24298 Rewrite subsequent tests to use it.
24299
24300 If GDB says it can't find the struct the function returned, report
24301 those tests as `unsupported'.
24302 * gdb.base/structs.exp (call_struct_func): New function.
24303 (do_function_calls): Use call_struct_func to call the functions
24304 returning structs.
24305
24306 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24307 whether functions are prototyped or not, so we can't possibly pass
24308 arguments to t_float_values2 properly.
24309
24310 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24311 value of `timeout' for targets other than the mips*tx39-*.
24312
24313 2001-12-06 Michael Snyder <msnyder@redhat.com>
24314
24315 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24316 and detect whether the start symbol has a leading underscore.
24317
24318 2001-12-04 Jim Blandy <jimb@redhat.com>
24319
24320 * gdb.base/completion.exp: Clarify indentation.
24321
24322 2001-12-03 Jim Blandy <jimb@redhat.com>
24323
24324 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24325 variables on the S/390, not `.word'.
24326
24327 2001-11-30 Jim Blandy <jimb@redhat.com>
24328
24329 Add assembly-source tests for s390-ibm-linux.
24330 * gdb.asm/s390.inc: New file.
24331 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24332 the S/390 architecture.
24333 * gdb.asm/configure: Regenerated.
24334
24335 2001-11-30 Michael Snyder <msnyder@redhat.com>
24336
24337 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24338 next, info source, info sources, info line, global and static
24339 variables, and static functions.
24340 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24341 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24342 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24343 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24344 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24345 (gdbasm_leave): Restore frame pointer.
24346 (gdbasm_startup): Copy stack set-up from crt0.S.
24347
24348 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24349
24350 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24351 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24352 to a local (non-static) variable. Copy tstruct.a to a static buffer
24353 and return a pointer to that buffer.
24354 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24355
24356 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24357
24358 * gdb.asm/configure.in: Fix recognition of ix86 target.
24359 * gdb.asm/configure: Regenerate.
24360
24361 2001-11-21 Michael Snyder <msnyder@redhat.com>
24362
24363 * gdb.asm/sparc.inc: New file.
24364 * gdb.asm/asm-source.exp: Recognize sparc target.
24365 * gdb.asm/configure.in: Recognize sparc target.
24366 * gdb.asm/configure: Regenerate.
24367
24368 2001-11-21 Michael Snyder <msnyder@redhat.com>
24369
24370 * gdb.asm/m32r.inc: New file.
24371 * gdb.asm/asm-source.exp: Recognize m32r target.
24372 * gdb.asm/configure.in: Recognize m32r target.
24373 * gdb.asm/configure: Regenerate.
24374
24375 2001-11-20 Michael Snyder <msnyder@redhat.com>
24376
24377 * gdb.asm/i386.inc: New file.
24378 * gdb.asm/asm-source.exp: Recognize ix86 target.
24379 * gdb.asm/configure.in: Recognize ix86 target.
24380 * gdb.asm/configure: Regenerate.
24381
24382 * gdb.c++/namespace.exp: Fix quotes in output messages.
24383
24384 2001-11-14 Michael Snyder <msnyder@redhat.com>
24385
24386 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24387 qualifier in a type cast expression, to designate an address
24388 in the instruction space (Harvard architecture).
24389
24390 2001-11-13 Michael Snyder <msnyder@redhat.com>
24391
24392 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24393 Tests for expressions using 'const' and 'volatile'.
24394
24395 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24396
24397 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24398
24399 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24400
24401 * lib/mi-support.exp (mi_run_to_helper): Move comments
24402 outside of gdb_expect.
24403
24404 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24405
24406 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24407 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24408 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24409 mi0_run_to): New functions.
24410 * gdb.mi/mi-simplerun.exp: Use them.
24411 * gdb.mi/mi0-simplerun.exp: Likewise.
24412 * gdb.mi/mi-var-cmd.exp: Likewise.
24413 * gdb.mi/mi0-var-cmd.exp: Likewise.
24414
24415 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24416
24417 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24418 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24419
24420 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24421
24422 * gdb.base/restore.exp: Include $expected value in restored test
24423 message.
24424
24425 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24426
24427 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24428 implemented.
24429
24430 2001-11-08 Michael Snyder <msnyder@redhat.com>
24431
24432 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24433 Add pass/fail message for stop at breakpoint in call dummy function.
24434
24435 2001-11-07 Michael Snyder <msnyder@redhat.com>
24436
24437 * gdb.c++/templates.exp (test_template_breakpoints):
24438 If we get an overload menu, but it does not match what
24439 we expect, we still need to issue the "cancel" command.
24440 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24441 making the whitespace optional. Argument for "new" may be
24442 "unsigned" as well as "unsigned int/long".
24443 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24444 making the whitespace optional. Also replace "(void) with
24445 "((void|)), making the keyword "void" optional.
24446 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24447 making the whitespace optional. Also replace "(void) with
24448 "((void|)), making the keyword "void" optional.
24449 * gdb.base/callfuncs.c (t_float_values): This function must
24450 _not_ be prototyped, and the following function (t_float_values2)
24451 must be prototyped (if the compiler supports it), so that GDB
24452 can be tested against both cases. Usually one case involves
24453 promotion of float to double, while the other does not.
24454 * gdb.base/callfwmall.c: Ditto.
24455 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24456 includes a stack frame for "start".
24457
24458 2001-11-05 Jim Blandy <jimb@redhat.com>
24459
24460 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24461 pointers are 32 bits long, and that offsets of relocs are always
24462 stored in the data (REL-style), and not in the reloc entry itself
24463 (RELA-style).
24464 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24465 stabs.
24466
24467 2001-11-01 Michael Snyder <msnyder@redhat.com>
24468
24469 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24470 and regular expression operators by using quoting.
24471
24472 2001-10-31 Michael Snyder <msnyder@redhat.com>
24473
24474 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24475 depending on what the symbol table contains.
24476 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24477 the output of the ptype command. Similarly, accept both "const &"
24478 and "const&".
24479
24480 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24481
24482 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24483 symbol `STORAGE' to allow to choose the storage class of
24484 the local datastructures.
24485 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24486 compiler directive.
24487
24488 2001-10-30 Michael Snyder <msnyder@redhat.com>
24489
24490 * gdb.base/jump.exp: Allow it to run for all targets.
24491
24492 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24493
24494 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24495 with new double_array size.
24496 (main): Change storage class of all local variables to static.
24497 Reduce size of double_array to 9.
24498 * gdb.base/call-ar-st.exp: Increase timeout value.
24499 Change expected output for double array to match new size in
24500 call-ar-st.c.
24501
24502 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24503
24504 * gdb.base/ending-run.exp: Create identical output when passing
24505 `step to end of run' case. Add regular expression branch satisfying
24506 Stormy16 target.
24507
24508 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24509
24510 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24511 that we catch the expected failure under Linux/x86.
24512
24513 2001-10-29 Orjan Friberg <orjanf@axis.com>
24514
24515 * gdb.base/setvar.exp: Escape curly braces.
24516 * gdb.stabs/weird.exp: Ditto.
24517
24518 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24519
24520 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24521 * gdm.mi/mi0-hack-cli.exp: Likewise.
24522
24523 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24524
24525 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24526 messages.
24527
24528 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24529
24530 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24531 checking MI enabled.
24532
24533 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24534
24535 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24536
24537 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24538
24539 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24540 if gdb child process crashes, just signal an error.
24541
24542 2001-10-02 Jim Blandy <jimb@redhat.com>
24543
24544 * lib/gdb.exp (test_xfail_format): Simplify.
24545
24546 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24547 front of the variable name `format'. Simplify `if'.
24548
24549 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24550
24551 * gdb.threads/pthreads.exp: Wait for output and delay
24552 before sending ^C.
24553
24554 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24555
24556 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24557 some incorrect output instead of timing out.
24558 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24559
24560 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24561
24562 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24563 check to allow additional `int'.
24564
24565 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24566
24567 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24568 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24569
24570 2001-09-27 Michael Snyder <msnyder@redhat.com>
24571
24572 * lib/gdb.exp (test_debug_format): New proc.
24573 (setup_xfail_format): Use new proc test_debug_format.
24574 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24575 proc; use new service proc test_debug_format.
24576 Replace all other "gcc_compiled" tests with this test.
24577 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24578 proc; use new service proc test_debug_format.
24579 Replace all other "gcc_compiled" tests with this test.
24580
24581 2001-09-27 Michael Snyder <msnyder@redhat.com>
24582
24583 * gdb.base/cvexpr.exp: New file.
24584 * gdb.base/cvexpr.c: New file
24585 Test for expressions using const and volatile keywords.
24586
24587 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24588
24589 * gdb.base/constvars.exp: Check for different orders of keywords
24590 and additional "int" strings in output.
24591
24592 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24593
24594 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24595 responses from "help maint".
24596
24597 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24598
24599 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24600 to localhost:NNN instead of :NNN, in case Xvfb is listening
24601 only on TCP.
24602
24603 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24604
24605 * gdb.base/recurse.exp: When checking leaving the watchpoint
24606 scope, recognize when gdb is in function's epilogue and pass.
24607
24608 2001-09-18 Keith Seitz <keiths@redhat.com>
24609
24610 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24611 support for running tests against sid targets.
24612 (gdbtk_done): Ditto.
24613
24614 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24615
24616 * gdb.base/ending-run.c (main): Set stdout buffersize
24617 to the same reasonable value for any target.
24618 * gdb.base/ending-run.exp: Add a regular expression
24619 to make testsuite happy on Sanyo Stormy16 target.
24620
24621 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24622
24623 * gdb.base/display.c (do_loops): Add float variable `f'.
24624 Increment f in loop.
24625 * gdb.base/display.exp: Increment timeout by 60 seconds.
24626 Change float display test to use variable `f'.
24627
24628 2001-09-17 Jim Blandy <jimb@redhat.com>
24629
24630 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24631 overflowing the limited breakpoint tables on some ROM monitors
24632 (like the ROM68K).
24633
24634 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24635
24636 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24637 the "-ac" (disable access control) flag.
24638
24639 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24640
24641 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24642 ints.
24643
24644 2001-08-30 Keith Seitz <keiths@redhat.com>
24645
24646 * lib/gdb.exp: Move all insight-related functionality into
24647 separate file.
24648 * lib/insight-support.exp: New file.
24649
24650 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24651
24652 * config/sid.exp (sid_start): Never set sid verbosity; disable
24653 expect_background {} that consumed its stdout; tolerate </dev/null.
24654 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24655
24656 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24657
24658 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24659 CLI jump command to start it.
24660 (mi_run_to_main): Fail immediatly when unexpected output.
24661
24662 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24663
24664 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24665 beginning of function. Fix PR gdb/191.
24666
24667 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24668
24669 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24670 what to force sid endianness to.
24671
24672 2001-08-15 Keith Seitz <keiths@redhat.com>
24673
24674 * lib/gdb.exp (gdbtk_start): Don't set environment
24675 variables for TCL_LIBRARY and friends. Insight will
24676 now figure these out for itself.
24677
24678 2001-08-02 Michael Snyder <msnyder@redhat.com>
24679
24680 * gdb.base/completion.exp: Remove the symbol "a64l" from
24681 the expect string; this is target-specific, and not related
24682 to what is being tested.
24683
24684 2001-08-02 Dave Brolley <brolley@redhat.com>
24685
24686 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24687
24688 2001-07-25 Michael Snyder <msnyder@redhat.com>
24689
24690 * gdb.base/consecutive.exp: New file. Test stepping over
24691 breakpoints on consecutive instructions.
24692 * gdb.base/consecutive.c: New file.
24693
24694 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24695 curly braces in regular expressions.
24696
24697 2001-07-25 Michael Snyder <msnyder@redhat.com>
24698
24699 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24700 legitimate output from stepping out of main.
24701
24702 2001-07-22 Keith Seitz <keiths@redhat.com>
24703
24704 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24705 the empty string, do not run the tests.
24706
24707 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24708
24709 * gdb.base/long_long.exp: Detect size of pointer. Take into
24710 account 2-byte pointers when testing for p/a results.
24711
24712 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24713
24714 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24715 and defined to 1K for m68hc11.
24716 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24717 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24718 (sizeof_random_data): New variable to tell the size of the data table;
24719 don't test past this size; always run to main.
24720
24721 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24722
24723 * gdb.base/return2.exp: return of long long and double fails for
24724 68HC11; don't execute these tests on that platform.
24725 * gdb.base/return.exp: Return of a double fails for 68hc11.
24726
24727 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24728
24729 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24730 tests that print a float.
24731 * call-rt-st.exp: Likewise.
24732
24733 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24734
24735 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24736 running this test on Linux.
24737
24738 2001-06-24 Michael Chastain <chastain@redhat.com>
24739
24740 * gdb.base/arithmet.exp: Remove some tests to make all test names
24741 unique.
24742
24743 2001-07-03 Michael Snyder <msnyder@redhat.com>
24744
24745 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24746 the output of the ptype command.
24747
24748 2001-07-02 Michael Snyder <msnyder@redhat.com>
24749
24750 * gdb.base/completion.exp: Don't assume that break.c is the only
24751 source file that may contain functions named "marker".
24752 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24753
24754 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24755
24756 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24757 of files to delete.
24758
24759 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24760 * gdb.disasm/h8300s.exp: New file.
24761 gdb.disasm/h8300s.s: Likewise.
24762
24763 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24764
24765 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24766 empty breakpoint tables.
24767
24768 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24769
24770 * lib/mi-support.exp: Update args=... part of stop-reason
24771 patterns. Accept either a list or a tuple.
24772
24773 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24774
24775 * lib/mi-support.exp: Remove local emacs variable defining
24776 change-log-default-name.
24777
24778 2001-06-22 Michael Chastain <chastain@redhat.com>
24779
24780 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24781 This is operationally compatible with the previous version.
24782
24783 2001-06-13 Jim Blandy <jimb@redhat.com>
24784
24785 * lib/gdb.exp (gdb_test): Doc fix.
24786
24787 2001-06-10 Michael Chastain <chastain@redhat.com>
24788
24789 * gdb.base/exprs.exp: Remove a duplicate test.
24790
24791 2001-06-06 Jim Blandy <jimb@redhat.com>
24792
24793 * gdb.base/return2.exp (main): Use values to test float and double
24794 returns that are not NaN's, to avoid being confused by IEEE
24795 comparison rules.
24796
24797 2001-06-04 Michael Snyder <msnyder@redhat.com>
24798
24799 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24800 non-zero if control_c fails. Terminate the test on failure,
24801 rather than wait for 12 more tests to time out.
24802
24803 2001-06-06 Jim Blandy <jimb@redhat.com>
24804
24805 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24806 Don't forget to match the GDB prompt.
24807
24808 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24809
24810 2001-06-04 Jim Blandy <jimb@redhat.com>
24811
24812 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24813 command.
24814
24815 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24816
24817 * gdb.base/annota1.exp (info break): Match four or more spaces
24818 after "Address".
24819
24820 2001-05-31 Michael Chastain <chastain@redhat.com>
24821
24822 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24823 (dm_type_int_star): Likewise.
24824 (dm_type_long_star): Likewise.
24825 (dm_type_void_star): Likewise.
24826
24827 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24828
24829 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24830 to a known value in order to get consistent results regardless
24831 of the setting of INPUTRC or the presence or contents of .inputrc.
24832
24833 2001-05-24 Michael Snyder <msnyder@redhat.com>
24834
24835 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24836 Don't require that the main thread and the manager thread are the
24837 first in the list.
24838
24839 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24840 debugging. If test fails, issue an "unsupported" not a "fail".
24841
24842 2001-05-24 Jim Blandy <jimb@redhat.com>
24843
24844 Don't assume that short is shorter than int.
24845 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24846 assume that shorts are smaller than ints. On a 16-bit machine,
24847 this isn't true.
24848 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24849 an int, is not equal to ~0 stored in an unsigned char. This tests
24850 the same thing that the previous test meant to, but works on
24851 16-bit machines, too.
24852 ("print unsigned char != (~0)"): Same test, complemented.
24853
24854 2001-05-24 Michael Snyder <msnyder@redhat.com>
24855
24856 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24857 test for (full_coverage == 0). This makes the test run faster,
24858 and prevents dejagnu getting out of step.
24859
24860 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24861
24862 * gdb.base/finish.exp (finish_void): Revise pattern for
24863 stopping on the call statement to not permit stopping at
24864 the start of the instructions comprising the call sequence.
24865
24866 2001-05-19 Michael Chastain <chastain@redhat.com>
24867
24868 * gdb.base/callfuncs.exp: Make all test names unique.
24869 * gdb.base/commands.exp: Make all test names unique.
24870 * gdb.base/condbreak.exp: Make all test names unique.
24871 * gdb.base/dbx.exp: Make all test names unique.
24872 * gdb.base/default.exp: Make all test names unique.
24873 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24874 and TIMEOUT messages to their corresponding PASS message.
24875 * gdb.base/ending-run.exp: Make all test names unique.
24876 * gdb.base/long_long.exp: Remove duplicate test.
24877
24878 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24879
24880 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24881 stop on the call statement as well as the statement after the
24882 call.
24883
24884 2001-05-21 Michael Snyder <msnyder@redhat.com>
24885
24886 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24887
24888 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24889
24890 * gdb.base/completion.exp: Revamp test. Make it execute on all
24891 platforms.
24892
24893 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24894
24895 * config/gdbserver.exp (gdb_load): Handle the case
24896 in which the arguments to gdbserver are given in the
24897 baseboard configuration file.
24898 Also handle the case in which the server needs to do a
24899 load.
24900
24901 2001-05-07 Keith Seitz <keiths@cygnus.com>
24902
24903 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24904 set up the display for testing.
24905 (gdbtk_start): Convert all paths to paths that tcl will like.
24906 Export target information to environment.
24907 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24908 necessary.
24909 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24910 (to_tcl_path): New proc to convert a given pathname into
24911 a path acceptible as an argument to a tcl command.
24912 (_gdbtk_export_target_info): New proc to export target info
24913 into the environment for gdbtk testing.
24914 (gdbtk_done): New proc to signal end-of-test.
24915
24916 2001-05-06 Jim Blandy <jimb@redhat.com>
24917
24918 * restore.c: Make the code of caller0 correspond to its comment.
24919
24920 2001-05-03 Michael Snyder <msnyder@redhat.com>
24921
24922 * config/sid.exp (gdb_target_sid): Check for error messages.
24923 On error or timeout, don't make expect exit (which will terminate
24924 all subsequent tests); instead just make gdb exit.
24925 (gdb_load): Check for error messages. On error or timeout,
24926 return a negative value.
24927
24928 2001-04-24 Jim Blandy <jimb@redhat.com>
24929
24930 * gdb.c++/templates.exp: If we see the prompt for the overload
24931 list, but we haven't recognized any of the longer patterns,
24932 arrange for this test to fail, not hang.
24933
24934 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24935 variations.
24936
24937 2001-04-22 Michael Chastain <chastain@redhat.com>
24938
24939 * gdb.c++/local.exp: Use the 'runto' library function.
24940 * gdb.c++/namespace.exp: Likewise.
24941 * gdb.c++/overload.exp: Likewise.
24942
24943 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24944
24945 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24946 * gdb.base/step-line.exp: New file. Test step/next in presence of
24947 #line directives.
24948 * gdb.base/step-line.c: New file. Test program for the above.
24949 * gdb.base/step-line.inp: New file. We pretend that this file has
24950 been transformed by some other tool into step-line.c.
24951
24952 2001-03-21 Jim Blandy <jimb@redhat.com>
24953
24954 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24955 unmangled operator names.
24956
24957 2001-03-20 Jim Blandy <jimb@redhat.com>
24958
24959 * gdb.threads/linux-dp.exp: Recognize an additional message
24960 generated by GDB when it doesn't understand how to debug threads
24961 on the target system.
24962
24963 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24964
24965 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24966
24967 2001-03-12 Michael Chastain <chastain@redhat.com>
24968
24969 * gdb.c++/derivation.exp: Use the 'runto' library function.
24970
24971 2001-03-12 Michael Chastain <chastain@redhat.com>
24972
24973 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24974
24975 2001-02-24 Michael Chastain <chastain@redhat.com>
24976
24977 * gdb.c++/ref-types.exp: Change handwritten code to library
24978 function 'runto'.
24979
24980 2001-03-16 Orjan Friberg <orjanf@axis.com>
24981
24982 * gdb.base/signals.exp: Set count to 0 explicitly.
24983
24984 2001-03-15 Mark Salter <msalter@redhat.com>
24985
24986 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24987 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24988 (gdb_load): Add support for additional target_info: gdb_download_size
24989 and gdb_load_timeout.
24990
24991 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24992
24993 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24994 file -- to prevent failing when the compile fails but we have no
24995 intention of running the tests anyway.
24996
24997 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24998 tests if set.
24999
25000 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25001 integers.
25002
25003 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25004 * gdb.c++/namespace.exp: Ditto.
25005
25006 2001-03-07 Orjan Friberg <orjanf@axis.com>
25007
25008 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25009 * gdb.base/pointers.exp: Relax pattern match of decimals.
25010
25011 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25012
25013 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25014 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25015 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25016 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25017 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25018 config/sh.exp, config/sid.exp, config/slite.exp,
25019 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25020 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25021 config/vxworks.exp, config/vxworks29k.exp,
25022 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25023 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25024 gdb.base/arithmet.exp, gdb.base/assign.exp,
25025 gdb.base/async.exp, gdb.base/attach.exp,
25026 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25027 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25028 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25029 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25030 gdb.base/commands.exp, gdb.base/completion.exp,
25031 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25032 gdb.base/constvars.exp, gdb.base/corefile.exp,
25033 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25034 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25035 gdb.base/ending-run.exp, gdb.base/environ.exp,
25036 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25037 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25038 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25039 gdb.base/funcargs.exp, gdb.base/help.exp,
25040 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25041 gdb.base/logical.exp, gdb.base/long_long.exp,
25042 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25043 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25044 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25045 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25046 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25047 gdb.base/regs.exp, gdb.base/relational.exp,
25048 gdb.base/remote.exp, gdb.base/reread.exp,
25049 gdb.base/restore.exp, gdb.base/return2.exp,
25050 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25051 gdb.base/selftest.exp, gdb.base/setshow.exp,
25052 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25053 gdb.base/sigall.exp, gdb.base/signals.exp,
25054 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25055 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25056 gdb.base/step-test.exp, gdb.base/structs.c,
25057 gdb.base/structs.exp, gdb.base/structs2.exp,
25058 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25059 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25060 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25061 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25062 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25063 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25064 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25065 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25066 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25067 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25068 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25069 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25070 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25071 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25072 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25073 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25074 gdb.trace/circ.exp, gdb.trace/collection.exp,
25075 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25076 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25077 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25078 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25079 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25080 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25081 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25082 notices.
25083
25084 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25085
25086 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25087 first arg is int not float.
25088
25089 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25090
25091 * gdb.base/reread.exp: Unsupported for non-native targets;
25092 doesn't work for remote debugging.
25093
25094 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25095
25096 From Drew Moseley <dmoseley@redhat.com>
25097 * gdb.base/ending-run.exp: Properly handle the BSP state when
25098 stepping past the end of main.
25099
25100 2001-02-19 John Moore <jmoore@redhat.com>
25101
25102 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25103 Converted HPUX fix for non-expected items following multiple
25104 step commands into general solution for all platforms.
25105
25106 2001-02-18 Michael Chastain <chastain@redhat.com>
25107
25108 * gdb.c++/classes.exp (do_tests): Change runto statements
25109 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25110 statements demangler agnostic.
25111 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25112 (gdb_virtfunc_restart): Likewise.
25113
25114 2001-02-14 Michael Chastain <chastain@redhat.com>
25115
25116 * gdb.c++/inherit.exp (do_tests): Change runto statements
25117 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25118 statements demangler agnostic.
25119
25120 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25121
25122 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25123 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25124 before calling common_routine 15 times'' tests.
25125
25126 2001-02-11 Michael Chastain <chastain@redhat.com>
25127
25128 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25129 Helps the test script figure out which demangler is in use.
25130 (dm_type_foo_ref): Ditto.
25131 (dm_type_int_star): Ditto.
25132 (dm_type_long_star): Ditto.
25133 (dm_type_unsigned_int): Ditto.
25134 (dm_type_void): Ditto.
25135 (dm_type_void_star): Ditto.
25136 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25137 Probe the gdb demangler and set variables to accommodate
25138 formatting differences.
25139 (info_func_regexp): New function. Same as info_func, but
25140 matches against a regexp.
25141 (info_func): Match against a literal string.
25142 (print_addr_2): New function. Match against a literal string,
25143 which can be different from the input to gdb.
25144 (print_addr): Simply call print_addr_2 with the same argument twice.
25145 (test_lookup_operator_functions): Use demangler formatting variables.
25146 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25147 the tests in the same order as the C++ class declaration.
25148 (test_paddr_operator_functions): Ditto.
25149 (test_paddr_overloaded_functions): Ditto.
25150 (test_paddr_hairy_functions): Use demangler formatting variables.
25151 Add reference to gdb/19 for related tests.
25152 (do_tests): Call probe_demangler.
25153
25154 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25155
25156 * gdb.c++/templates.cc (printf): Remove unused function definition.
25157
25158 2001-01-26 Felix Lee <flee@redhat.com>
25159
25160 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25161
25162 2001-01-25 matthew green <mrg@redhat.com>
25163
25164 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25165 up sid.
25166 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25167
25168 2001-01-25 matthew green <mrg@redhat.com>
25169
25170 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25171 Deprecate $sid_spawn_id.
25172 (sid_exit): Remove code necessary only for `spawn.'
25173
25174 2001-01-25 matthew green <mrg@redhat.com>
25175
25176 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25177
25178 2001-01-28 Michael Chastain <chastain@redhat.com>
25179
25180 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25181 to call when tests fail. It takes gdb out of the overloaded
25182 function choice menu back to the main prompt, so that the test
25183 program stays synchronized.
25184 (set_bp_overloaded): New proc to collect all the common
25185 code for setting a breakpoint on an overloaded name. Calls
25186 take_gdb_out_of_choice_menu when needed.
25187 (menu_overload1arg): New variable to collect the repeated
25188 instances of the expected menu for an overloaded name. Change
25189 the regular expression to handle changes in g++ type encoding:
25190 "void" can be either "void" or "", and "unsigned int" can be
25191 either "unsigned int" or "unsigned".
25192 (continue_to_bp_overloaded): Change regular expressions to handle
25193 changes in g++ type encoding.
25194 (no proc): Call take_gdb_out_of_choice_menu when needed.
25195 Remove redundant calls to "info break". Accept either "canceled"
25196 or "cancelled". Change regular expressions in "info break"
25197 calls to handle changes in g++ type encoding. Give all tests
25198 unique strings.
25199
25200 2001-01-17 Ben Elliston <bje@redhat.com>
25201
25202 * config/sid.exp: New file.
25203
25204 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25205
25206 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25207
25208 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25209
25210 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25211 Add a RE to accept a non-ascii char if one is ever presented.
25212
25213 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25214
25215 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25216
25217 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25218
25219 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25220 in regexp. One '\' does not suffice on Linux.
25221
25222 2000-12-09 Michael Chastain <chastain@redhat.com>
25223
25224 * gdb.base/break.exp (test_clear_command): Use a marker function
25225 rather than 'main' for the test function. Also move this
25226 test to an execution point where the marker function names are
25227 guaranteed to be bound to functions. (Executing tests after a
25228 'finish' from main runs into name conflicts with local names
25229 in __libc_start_main).
25230
25231 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25232
25233 * gdb.base/finish.exp: New test for gdb's "finish" command.
25234 * gdb.base/return2.exp: New test for gdb's "return" command.
25235 * gdb.base/return2.c: New source file for above.
25236
25237 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25238
25239 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25240 * gdb.base/miscexprs.exp: Ditto.
25241 * gdb.base/pointers.exp: Ditto.
25242 * gdb.c++/derivation.exp: Ditto.
25243 * gdb.c++/local.exp: Ditto.
25244 * gdb.c++/namespace.exp: Ditto.
25245 * gdb.c++/overload.exp: Ditto.
25246 * gdb.c++/ref-types.exp: Ditto.
25247
25248 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25249
25250 * gdb.base/constvars.exp: Test result of "up" command.
25251 * gdb.base/miscexprs.exp: Ditto.
25252 * gdb.base/pointers.exp: Ditto.
25253 * gdb.base/scope.exp: Ditto.
25254 * gdb.c++/derivation.exp: Ditto.
25255 * gdb.c++/local.exp: Ditto.
25256 * gdb.c++/namespace.exp: Ditto.
25257 * gdb.c++/overload.exp: Ditto.
25258 * gdb.c++/ref-types.exp: Ditto.
25259
25260 2000-11-22 Michael Chastain <chastain@redhat.com>
25261
25262 * mips_pro.exp: Accept either "middle -> top -> main" or
25263 "middle -> main" in the backtrace, because gcc can optimize
25264 tail calls to jumps. Remove setup_xfail for the hppa case.
25265 Add a comment with the original warning messages from PR 3016,
25266 which was filed in 1993, to preserve them for posterity.
25267
25268 2000-11-17 Nick Duffek <nsd@redhat.com>
25269
25270 * lib/gdb.exp (gdb_test): Override timeout with board info.
25271
25272 2000-11-17 Nick Duffek <nsd@redhat.com>
25273
25274 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25275 the second kill and detach messages.
25276
25277 2000-11-17 Nick Duffek <nsd@redhat.com>
25278
25279 * configure.in: Add AC_EXEEXT.
25280 * configure: Regenerate.
25281 * Makefile.in (just-check): Export EXEEXT.
25282 * lib/gdb.exp ($EXEEXT): Import from environment.
25283 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25284 expect "maint dump-me" on Cygwin.
25285 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25286 $EXEEXT.
25287
25288 2000-11-17 Nick Duffek <nsd@redhat.com>
25289
25290 * gdb.base/break.exp: Test backtrace and finish from called
25291 function on all platforms, not just HP-UX.
25292
25293 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25294
25295 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25296 code from gdb_target_monitor, so it can be used independantly
25297 for gdbserver. Also comment out an unnecessary PUTS.
25298
25299 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25300
25301 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25302 * gdb.base/corefile.exp: Expect the message "Program is being
25303 debugged already" when we send the "corefile" command, since
25304 the preceeding gdb_load may have connected gdb to a remote target.
25305 * gdb.base/display.exp: Disable hardware watchpoints if new
25306 board info variable "no_hardware_watchpoints" is true.
25307 Replace single-letter commands with more readable ones.
25308 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25309 if new board info variable "no_hardware_watchpoints" is true.
25310 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25311 to see if stdio (printf) testing is possible.
25312 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25313 board info variable "no_hardware_watchpoints" is true. Use new
25314 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25315
25316 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25317
25318 From Orjan Friberg <orjanf@axis.com>:
25319 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25320 in array print pattern match.
25321
25322 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25323
25324 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25325 spelling "cancelled" to U.S. spelling "canceled" to match changes
25326 made to gdb.
25327 * gdb.c++/ovldbreak.exp: Ditto.
25328
25329 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25330
25331 * gdb.base/callfuncs.c (main): Moved to end of file, call
25332 t_double_values to initialize the FPU before inferior calls are made.
25333 * gdb.base/callfuncs.exp: Test for register preservation after calling
25334 inferior functions. Add tests for continuining, finishing and
25335 returning from a stop in a call dummy.
25336
25337 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25338
25339 * gdb.base/commands.exp: Break up long lines, and re-indent.
25340
25341 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25342
25343 * config/gdbserver.exp: Rewritten from the ground up, to make it
25344 compatible with the current dejagnu tree, and to make it work with
25345 the new "gdbserver" in libremote.
25346
25347 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25348
25349 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25350 * gdb.base/varargs.exp: Skip entire test if no printf support.
25351 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25352 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25353
25354 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25355
25356 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25357 no floating point support.
25358 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25359 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25360 * gdb.base/call-rt-st.exp: Ditto.
25361 * gdb.base/call-strs.exp: Ditto.
25362
25363 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25364
25365 * gdb.base/sizeof.c: include <stdio.h>.
25366
25367 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25368 'finish', otherwise uncaptured gdb_prompt would potentially
25369 throw remaining test points out of sync.
25370
25371 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25372
25373 * gdb.base/recurse.exp: Run tests for all targets.
25374 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25375 gnu-oldld case on ARM.
25376 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25377 for ARM targets.
25378
25379 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25380
25381 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25382 * gdb.java/configure: Rebuild.
25383
25384 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25385
25386 * gdb.java/jv-exp.exp: New file.
25387
25388 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25389
25390 * configure: Rebuilt.
25391 * configure.in (configdirs): Add gdb.java.
25392 * gdb.java/jmisc.java: New file.
25393 * gdb.java/jmisc.exp: New file.
25394 * gdb.java/Makefile.in: New file.
25395 * gdb.java/configure: Rebuilt.
25396 * gdb.java/configure.in: New file.
25397 * lib/java.exp: New file.
25398
25399 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25400
25401 * gdb.base/exprs.exp: Test casts to a pointer including over and
25402 underflow.
25403
25404 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25405
25406 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25407 and the compilers sizes.
25408
25409 2000-07-09 Nick Duffek <nsd@redhat.com>
25410
25411 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25412 (use_methods): New function.
25413 (main): Call use_methods().
25414 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25415 (do_tests): Call test_method_param_class.
25416
25417 2000-07-09 Nick Duffek <nsd@redhat.com>
25418
25419 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25420 spelling.
25421 (test_enums): New procedure. Move enum tests from end of script
25422 to here. Set breakpoint on function name instead of line number.
25423 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25424 (enums2): New marker function.
25425 (enums1): New function.
25426 (main): Call enums1(). Move enum tests to enums1().
25427
25428 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25429
25430 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25431 compile/link program. Update line numbers.
25432 * gdb.asm/d10v.inc: Define ``startup''.
25433 * gdb.asm/asmsrc1.s: Add definition of _start.
25434
25435 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25436
25437 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25438
25439 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25440
25441 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25442 of 'help maint print' command.
25443
25444 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25445
25446 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25447 they use gdb_expect_list.
25448
25449 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25450
25451 * gdb.base/commands.exp: Use ``set remote
25452 memory-read-packet-size'' instead of ``set endian big'' to test
25453 long commands.
25454
25455 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25456
25457 * gdb.c++/templates.exp (do_tests): Make all of these work under
25458 g++, and stop skipping them.
25459
25460 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25461 work under g++.
25462
25463 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25464 initialization.
25465
25466 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25467
25468 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25469 the regular expression: accept an (almost) arbitrary sequence of
25470 "frames-invalid" and "breakpoints-invalid" messages both before
25471 and after the "starting" message.
25472
25473 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25474
25475 * gdb.c++/local.exp: This test has never been known to work with g++.
25476
25477 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25478
25479 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25480 Relax the regular expression a little, make it pass on Solaris 8.
25481
25482 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25483
25484 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25485 a call, do not require that gdb stop on the line after the call.
25486 Instead, it is permissible for gdb to stop on the line of the
25487 call itself.
25488
25489 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25490
25491 * gdb.base/break.exp (bp on small function, optimized file):
25492 Add a second pass pattern. The behavior differs here between stabs
25493 and dwarf for one-line functions. Stabs preserves two line symbols
25494 (one before the prologue and one after) with the same line number,
25495 but dwarf regards these as duplicates and discards one of them.
25496 Therefore the address after the prologue (where the breakpoint is)
25497 has no exactly matching line symbol, and GDB reports the breakpoint
25498 as if it were in the middle of a line rather than at the beginning.
25499
25500 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25501
25502 * gdb.base/interrupt.exp: Make "pass" message say "send"
25503 rather than "send_gdb" (for consistancy).
25504
25505 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25506
25507 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25508 * gdb.c++/templates.cc: Properly check for GCC version number.
25509 * lib/compiler.cc: Likewise
25510
25511 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25512
25513 * gdb.base/break.exp: When compiled with -O2 optimization,
25514 gdb may not stop at the first line of main, due to code motion.
25515
25516 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25517
25518 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25519 This test depends on parsing the printf output from the target.
25520 Since the sparclet stub doesn't do stdio, this will never work.
25521 * gdb.base/call-rt-st.exp: ditto.
25522 * gdb.base/call-strs: ditto.
25523
25524 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25525
25526 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25527
25528 * gdb.base/ending-run.exp: After connecting to a remote target,
25529 but before running, the target will appear to be in a random
25530 location. Specify both a file and a line for breakpoints.
25531 Also, the function that calls main may be called 'init'
25532 rather than 'start'.
25533
25534 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25535
25536 * gdb.base/help.exp: Update output for add-symbol-file command.
25537
25538 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25539
25540 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25541 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25542
25543 2000-04-07 J.T. Conklin <jtc@redback.com>
25544
25545 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25546
25547 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25548
25549 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25550
25551 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25552 values that can be represented exactly.
25553 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25554 above change, and to not check against the directory part of the source
25555 file name.
25556 (step into print_long_arg_list): Likewise.
25557 (print print_small_structs from print_long_arg_list): Likewise.
25558 (print print_long_arg_list): Likewise.
25559
25560 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25561
25562 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25563
25564 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25565
25566 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25567
25568 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25569
25570 * gdb.base/commands.exp (deprecated_command_test): Add test for
25571 deprecate with no arguments.
25572
25573 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25574
25575 * gdb.base/break.exp: Add new test for setting breakpoints on
25576 optimized code so we can test breakpoints work even when function
25577 prologues may be optimized away
25578
25579 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25580
25581 From David Whedon <dwhedon@gordian.com>
25582 * gdb.base/commands.exp : Added command deprecator tests.
25583
25584 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25585
25586 * gdb.base/help.exp: Added test for new apropos command.
25587
25588 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25589
25590 * gdb.base/pointers.c (usevar): New function.
25591 (main): Make sure that global variables v_int_pointer2, rptr,
25592 and y are all referenced someplace in the program by calling
25593 usevar() on them. [Some linkers delete symbols which are
25594 never referenced. The space remains, but there's no way to
25595 get a (symbolic) handle on the variable from the debugger.]
25596
25597 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25598
25599 * gdb.base/printcmds.c: Add typedeffed arrays.
25600
25601 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25602 procedure to test arrays that are typedef'd.
25603
25604 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25605
25606 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25607 the library directories.
25608
25609 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25610
25611 * configure.in (configdirs): Add sub directory gdb.mi.
25612 * configure: Re-generate.
25613
25614 * gdb.mi: New directory.
25615
25616 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25617
25618 * gdb.base/long_long.exp: Correct test suite failure when printing
25619 a long long value as a double on ARM platforms.
25620
25621 2000-02-16 Jim Blandy <jimb@redhat.com>
25622
25623 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25624 default source file is set properly before running this test.
25625
25626 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25627
25628 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25629 gdbtk/library directory, not in gdbtcl2.
25630
25631 2000-02-04 Jim Blandy <jimb@redhat.com>
25632
25633 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25634 backslash from regexp pattern.
25635
25636 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25637 procedure. Use it to run all the "continue to bp overloaded"
25638 tests. Note that this changes the names of the tests slightly.
25639 If the breakpoint hit message includes a hex PC value, because
25640 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25641 from the real source code, still consider that a pass.
25642
25643 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25644 XFAIL here if the breakpoint message contains a hex address. Note
25645 similar change on 1999-11-02.
25646
25647 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25648
25649 * gdb.base/ptype.exp: Establish a default source file before
25650 calling get_debug_format.
25651
25652 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25653
25654 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25655
25656 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25657
25658 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25659 of successive stepi commands -- while in the prologue we should see
25660 the function entry bracket.
25661
25662 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25663
25664 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25665 reach __change_mode() when stepping through the end of main().
25666
25667 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25668
25669 * gdb.base/default.exp: Fix expected pattern.
25670 * gdb.base/help.exp: Same.
25671
25672 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25673
25674 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25675 Don't use xfail's because that affects only the following test.
25676
25677 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25678 solaris or linux.
25679
25680 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25681
25682 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25683
25684 * gdb.base/display.exp: Some yacc parsers like to say
25685 "A syntax error" rather than "A parse error". Accept both.
25686
25687 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25688
25689 * gdb.base/default.exp: Remove OS dependent string from "target
25690 remote" test.
25691 * gdb.base/help.exp: Same for "help target remote" test.
25692
25693 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25694
25695 From Jim Kingdon <kingdon@redhat.com>:
25696
25697 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25698 prompt (cleanup rather than necessity, but still might keep output
25699 from spilling to next test).
25700
25701 2000-01-02 Fred Fish <fnf@cygnus.com>
25702
25703 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25704 AIX, which defines them in <sys/types.h>.
25705
25706 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25707
25708 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25709 float" test.
25710
25711 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25712
25713 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25714
25715 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25716 outermost frame disallowed".
25717
25718 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25719
25720 * gdb.base/setvar.exp: New tests for setting the value of a struct
25721 with a constant list.
25722
25723 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25724
25725 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25726 require the user to type a cast before setting the value of a struct.
25727
25728 1999-12-06 Jim Blandy <jimb@cygnus.com>
25729
25730 * gdb.base/default.exp: Expect the new 'info float' command on
25731 all i386 platforms.
25732
25733 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25734 LinuxThreads libraries that don't support debugging.
25735
25736 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25737
25738 * gdb.base/remote.c: Fill the buffer with truely random data.
25739 Change the buffer type to ``unsigned char'' to simplify size
25740 arithmetic.
25741
25742 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25743 stub only handles 400-1 byte packets. Verify that the download
25744 worked.
25745
25746 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25747
25748 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25749 tests, using UNRESOLVED for the untested cases. Also, does not wait
25750 for a timeout if the prompt was received before a recognizable pattern.
25751
25752 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25753
25754 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25755
25756 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25757
25758 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25759 watchpoints.
25760
25761 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25762
25763 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25764
25765 * gdb.c++/local.exp: Be more flexible in recognizing local class
25766 name mangling. Don't allow horribly truncated method names.
25767 * gdb.c++/derivation.exp: Expect protected inheritance.
25768 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25769 * gdb.c++/virtfunc.exp: Likewise.
25770 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25771 when printing a nested enum.
25772
25773 1999-11-22 Jim Blandy <jimb@cygnus.com>
25774
25775 * gdb.base/step-test.exp: Properly await GDB's response to setting
25776 a breakpoint on the call to large_struct_by_value.
25777
25778 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25779 just because we have debug info for the `start' function.
25780
25781 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25782
25783 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25784 "Unknown signal" messages, which indicate (on LinuxThreads) that
25785 GDB doesn't know how to debug threads on this system. This is
25786 better than hanging while philosopher 0 dumps chatter into gdb.log.
25787
25788 1999-11-18 Tom Tromey <tromey@cygnus.com>
25789
25790 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25791
25792 1999-11-18 Fred Fish <fnf@cygnus.com>
25793
25794 * gdb.base/coremaker2.c: Add sample program for generating
25795 cores that is more self contained than coremaker.c. Eventually
25796 I'll add more code to this and tie it into the testsuite.
25797
25798 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25799
25800 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25801
25802 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25803
25804 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25805 from $srcdir/lib/.
25806 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25807 and gdb.c++/.
25808
25809 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25810
25811 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25812 'continue with watch' test point.
25813
25814 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25815
25816 Merged from p2linux-990323-branch:
25817
25818 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25819
25820 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25821
25822 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25823 {limit,fixed}''. Test ``set download-write-size''.
25824
25825 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25826
25827 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25828 gdb_expect_list.
25829
25830 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25831
25832 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25833
25834 1999-11-03 Mark Salter <msalter@cygnus.com>
25835
25836 * gdb.base/break.exp: Fix "stub continue" pattern.
25837
25838 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25839
25840 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25841
25842 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25843
25844 * gdb.base/display.exp ("finish"): Add timeout clause.
25845
25846 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25847 plain prompt clause, so this doesn't have to time out in order to
25848 fail.
25849
25850 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25851 breakpoint hit messages include an address.
25852
25853 * gdb.base/display.exp: Don't forget to escape parens in regular
25854 expressions. Unix regexp notatation sucks.
25855
25856 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25857
25858 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25859 order for 'signalled' message.
25860
25861 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25862
25863 From Jimmy Guo <guo@cup.hp.com>:
25864 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25865 * gdb.base/annota1.c: Add code for tests to work with.
25866
25867 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25868
25869 * gdb.base/remote.exp: New test for remote downloading settings.
25870 * gdb.base/remote.c: New file with large .data.
25871
25872 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25873
25874 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25875 for LinuxThreads support, merged from the Code Fusion branch.
25876
25877 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25878
25879 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25880 containing exp_continue into a while within an expect. Don't
25881 attempt a start more than three times. Check return value from
25882 gdb_load.
25883
25884 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25885
25886 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25887 a pass case.
25888
25889 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25890
25891 * gdb.base/break.c (main): Added a statement that we can step
25892 off of.
25893 * gdb.base/break.exp: Added tests for setting a breakpoint
25894 at an offset and stepping onto a breakpoint.
25895
25896 1999-10-01 Fred Fish <fnf@cygnus.com>
25897
25898 * gdb.base/help.exp (help add-symbol-file): Update to match current
25899 gdb output.
25900
25901 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25902
25903 * gdb.base/break.exp: Code locations are in hex, don't forget!
25904 (For HP-UX.)
25905
25906 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25907
25908 * condbreak.exp: Use break.c as test program.
25909 * condbreak.c: Remove, redundant with break.c.
25910
25911 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25912
25913 * config/monitor.exp (gdb_target_monitor): Disable X- and
25914 Z-packets if the target needs it.
25915
25916 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25917
25918 * gdb.c++/overload.exp: Added tests for listing overloaded
25919 functions with function pointers in the arg, explicitly calling
25920 out the version you want.
25921
25922 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25923
25924 * long_long.exp: Add variations of test cases that work for
25925 targets with 16-bit ints and 32-bit doubles.
25926
25927 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25928
25929 * break.c (main): Compare a possibly-uninitialized argc with an
25930 unlikely value that fits in 16 bits.
25931
25932 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25933
25934 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25935 0xfeeb, don't want negative numbers if ints are 16 bits.
25936
25937 * lib/gdb.exp (skip_cplus_tests): New proc.
25938 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25939 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25940 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25941 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25942 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25943 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25944 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25945 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25946
25947 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25948
25949 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25950
25951 * gdb.base/corefile.exp (up): Allow a parameter to appear
25952 in the frame that we're going up to.
25953
25954 From Jim Blandy <jimb@cygnus.com>:
25955
25956 * gdb.base/default.exp (info float): Expect some output now.
25957
25958 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25959 returning floating-point values to fail on the x86.
25960 * gdb.base/callfwmall.exp (do_function_calls): Same.
25961
25962 * gdb.base/list.exp (test_listsize): Correct expectations for
25963 listing line 1 with listsize 2. Also, listing a single line
25964 works now, as does listing three lines. [Kevin's note: There
25965 were a number of other cases fixed too where the expectations
25966 differed...]
25967
25968 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25969
25970 * gdb.base/selftest.exp: Add case for when version prints as
25971 constant string instead of char pointer.
25972
25973 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25974
25975 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25976 stepping out of main.
25977
25978 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25979 G++ used.
25980
25981 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25982 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25983
25984 * gdb.c++/ovldbreak.exp: Update match string in test that
25985 includes a warning of multiple breakpoints.
25986
25987 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25988
25989 * gdb.base/display.exp: Improve precision of step-after-finish
25990 added yesterday.
25991
25992 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25993 test.
25994
25995 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25996 configs when using G++, not just hppa*.
25997
25998 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25999
26000 * gdb.base/async.c: New file.
26001 * gdb.base/async.exp: New file.
26002
26003 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26004
26005 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26006 PA64.
26007
26008 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26009
26010 * gdb.base/display.exp: "finish" can leave us mid-line on many
26011 targets, deal with it. Add a small constant to main, instead of
26012 1000 since main+1000 may not be a valid address in the target.
26013
26014 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26015 on hpux11.
26016
26017 * gdb.base/attach.exp: Handle another hpux11 error message variant
26018 when attaching to a process that does not exist.
26019
26020 1999-08-19 J.T. Conklin <jtc@redback.com>
26021
26022 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26023 characters in 'continue to 1241' test.
26024
26025 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26026
26027 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26028 stop in print_long_arg_list, define and use a whitespace
26029 variable in print_small_structs test, add an XFAIL for Solaris.
26030 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26031 interested enough to fix.
26032
26033 1999-08-13 Keith Seitz <keiths@cygnus.com>
26034
26035 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26036 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26037 proc knows about targets other than the natives.
26038 (test_assign): Use "gdb_run_cmd" to "run" the target.
26039 Check that we've actually hit the breakpoint at main.
26040 When we attempt to assign a value to a local variable, check
26041 that the variable is in the current scope, i.e., don't use
26042 a test with an empty result.
26043
26044 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26045
26046 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26047 command.
26048
26049 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26050
26051 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26052 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26053 gdb.compat, gdb.threads-hp.
26054 gdb.hp/configure, gdb.hp/configure.in: New files.
26055 gdb.hp/Makefile.in: Recurse into new subdirs.
26056 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26057 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26058 in object files.
26059 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26060
26061 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26062
26063 * gdb.base/display.exp: Help expect by putting a newline in the
26064 funky printf, remove a bogus p/a test.
26065
26066 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26067
26068 * gdb.base/display.exp: Make sure that when we say 'run', we are
26069 connected to the target. This is necessary when running not
26070 natively.
26071
26072 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26073
26074 * gdb.base/step-test.exp: Removed some extraneous messages.
26075
26076 * gdb.base/long_long.exp: Don't run memory examination tests
26077 on little-endian targets (they will need a different set of
26078 results to match).
26079
26080 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26081
26082 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26083 until somebody decides to fix GDB.
26084
26085 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26086 constant as "ULL".
26087 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26088 matches for a couple x/2 commands.
26089
26090 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26091
26092 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26093 by merging in ref-types2 tests.
26094 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26095
26096 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26097 * gdb.c++/Makefile.in: Add standard actions.
26098 (EXECUTABLES): Rename from PROGS, update list.
26099 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26100 from gdb.hp.
26101 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26102 foo and bar locals.
26103 * gdb.c++/anon-union.exp: Fix tests to match.
26104 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26105 expect matches to handle output variations.
26106 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26107 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26108 output, add HP alternatives for new and delete prints.
26109 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26110 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26111 * gdb.c++/demangle.exp: Use $style when reporting failure.
26112 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26113 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26114 match alternatives.
26115 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26116 compilers.
26117 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26118 * gdb.c++/method.exp: Add match alternatives.
26119 * gdb.c++/misc.cc: Add bool types.
26120 * gdb.c++/misc.exp: Add tests for bool types.
26121 * gdb.c++/overload.exp: Add xfails.
26122 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26123 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26124 add some more template parameter tests (only for HP currently).
26125 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26126 * gdb.c++/virtfunc.cc: Add return type and value for main.
26127 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26128 match alternatives.
26129
26130 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26131
26132 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26133
26134 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26135
26136 * gdb.base/signals.exp: Don't expect getting a backtrace from
26137 within a signal handler to fail on Linux.
26138
26139 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26140
26141 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26142 * lib/gdb.exp: Remove some gratuitious semicolons.
26143 (delete_breakpoints): Increase timeout.
26144 (gdb_expect): Add -notransfer option.
26145 (gdb_test): Use -notransfer option.
26146 (get_compiler_info): Add f77 case.
26147 (get_compiler): New proc, split out from gdb_preprocess, add f77
26148 case.
26149 (gdb_preprocess): Call get_compiler.
26150
26151 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26152 * gdb.base/attach.exp, gdb.base/display.exp,
26153 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26154 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26155 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26156 third arg to gdb_test.
26157 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26158 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26159 HP-UX xfails, add others.
26160 * gdb.base/completion.exp: Reflect name change of self-test.
26161 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26162 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26163 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26164 HP failure number.
26165 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26166 useless HP-UX 10.30 references.
26167 * gdb.base/maint.exp: Loosen matches.
26168 * gdb.base/pointers.c (main): Declare more_code.
26169 * gdb.base/pointers.exp: Match on output of a `next'.
26170 * gdb.base/structs.c: Add prototypes.
26171 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26172 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26173
26174 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26175
26176 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26177 command.
26178
26179 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26180
26181 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26182 Fix run to main failures. Watchpoint can be hardware watchpoint.
26183
26184 * gdb.base/annota1.exp: Clean up some more, in case printf has
26185 debug info. Deal with lack of signal hanlder info in stack.
26186
26187 From Jim Kingdon <kingdon@redhat.com>:
26188 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26189
26190 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26191
26192 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26193 gdb.base/foll-vfork.exp: Don't run for crosses.
26194
26195 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26196
26197 * gdb.base/configure.in: Check for gdbvars.exp instead of
26198 a1-selftest.exp.
26199 * gdb.base/configure: Re-generate.
26200
26201 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26202
26203 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26204 in trying to run first and name is too long.
26205
26206 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26207 pointers2.c and pointers2.exp, respectively.
26208 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26209 doschk happier.
26210
26211 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26212
26213 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26214 callfuncs2.c and callfuncs2.exp.
26215
26216 * gdb.base/list.exp: Remove mistaken xfails.
26217 * gdb.base/list0.h: Add optional prototypes.
26218
26219 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26220
26221 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26222 calling malloc.
26223 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26224 * ptype.exp: Move test for get_debug_format to before its first
26225 use.
26226
26227 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26228
26229 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26230 * gdb.base/annota2.cc, annota2.exp: Move from here.
26231 * gdb.c++/annota2.cc, annota2.exp: To here.
26232 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26233
26234 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26235
26236 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26237 a consistent format.
26238
26239 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26240
26241 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26242 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26243 HP compilers, also set the globals $true and $false.
26244
26245 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26246 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26247 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26248 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26249 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26250 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26251 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26252 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26253 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26254 whatis.c} Add C++ compatible function definitions and return
26255 types, add includes for library functions.
26256 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26257 * gdb.base/step-test.c (myglob): Rename from glob.
26258 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26259 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26260 files, move here from gdb.hp.
26261 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26262 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26263 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26264 Adjust line numbers in regexps.
26265
26266 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26267 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26268 instead of 0/1.
26269
26270 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26271 foll-vfork.exp: New files, move here from gdb.hp.
26272 * gdb.base/page.exp: New file, test of pagination command.
26273
26274 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26275 recursion test.
26276 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26277
26278 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26279 gdb.base/solib.exp: Fix compiler invocation process.
26280
26281 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26282 HP-UX 11, turn off overload resolution explicitly.
26283 * gdb.base/commands.exp: Set argument list explicitly, add
26284 watchpoint test.
26285 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26286 them work.
26287 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26288 expressions properly.
26289 * gdb.base/corefile.exp: Loosen the match slightly.
26290 * gdb.base/default.exp: Allow "Error accessing memory" message
26291 also.
26292 * gdb.base/display.exp: Skip over x/0 j if PA64.
26293 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26294 * gdb.base/interrupt.exp: Ditto.
26295 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26296 in use.
26297 * gdb.base/list.exp: Add xfails for HP-UX.
26298 * gdb.base/long_long.exp: Refine some of the numeric matches.
26299 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26300 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26301 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26302 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26303 * gdb.base/ptype.exp: Succeed on more varieties of output.
26304 * gdb.base/scope.exp: Add xfails for HP-UX.
26305 * gdb.base/sect-cmd.exp: Add more cases.
26306 * gdb.base/setvar.exp: Add xfails for HP-UX.
26307 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26308 * gdb.base/signals.exp: Match on void symbolically.
26309 * gdb.base/step-test.exp: Add case for PA64.
26310 * gdb.base/term.exp: Add exit and restart.
26311 * gdb.base/twice.exp: Clean up after self.
26312 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26313 * gdb.base/whatis.exp: Allow more ways to pass tests.
26314
26315 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26316 no longer useful.
26317
26318 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26319
26320 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26321 list of patterns.
26322 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26323 print_double_array(double_array)", "continuing to breakpoint
26324 1018", "print print_double_array(array_d)" and "continuing to
26325 1034" tests.
26326
26327 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26328
26329 * Makefile.in: Add empty html and install-html targets.
26330
26331 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26332
26333 * config/mt-*: Remove, these haven't been used since 1996.
26334
26335 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26336
26337 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26338 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26339 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26340
26341 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26342
26343 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26344 simpler match case for the ptype of the big class.
26345
26346 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26347
26348 * gdb.exp: Fix test for gdb_prompt existence.
26349
26350 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26351
26352 * gdb.exp (gdb_test): Add fail after calls to perror.
26353
26354 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26355
26356 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26357
26358 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26359
26360 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26361
26362 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26363
26364 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26365 malloc() is linked in.
26366
26367 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26368
26369 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26370 step at end.
26371
26372 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26373
26374 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26375
26376 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26377
26378 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26379
26380 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26381 * gdb.base/mips_pro.exp: Likewise.
26382
26383 1999-06-02 Keith Seitz <keiths@cygnus.com>
26384
26385 * gdb.c++/templates.cc: Change all "new" operators to throw
26386 an exception.
26387 * gdb.c++/cplusfuncs.cc: Likewise.
26388
26389 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26390
26391 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26392
26393 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26394 * gdb.base/ending-run.exp: When stepping out of main, accept a
26395 step into an arbitrary assembler file.
26396
26397 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26398
26399 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26400 "breakpoint-invalid" to be printed.
26401 * gdb.base/annota2.exp: Revise line number for main
26402 breakpoint. Allow any number of "frames-invalid" and
26403 "breakpoint-invalid" to be printed.
26404 * gdb.base/annota2.cc: Initialize a.x to 0.
26405
26406 1999-05-17 Keith Seitz <keiths@cygnus.com>
26407
26408 * gdb.base/call-ar-st.exp: Skip
26409 "print print_double_array (double_array)" when "skip_float_tests" set.
26410 Ditto for "print print_double_array(array_d)",
26411 "print print_small_structs", "print print_ten_doubles", and
26412 "step into print_long_arg_list".
26413 Don't assume we can step into "print_long_arg_list": we could step
26414 into memcpy.
26415 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26416 "skip_float_tests" is set: "print print_one_double(*d1)"
26417 and "print print_two_floats(*f3)".
26418 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26419 "skip_float_tests" is set.
26420 * gdb.base/varargs.exp: Skip
26421 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26422 "skip_float_tests" set.
26423
26424 1999-05-06 Keith Seitz <keiths@cygnus.com>
26425
26426 * gdb.base/annota2.cc: Include stdio.h.
26427
26428 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26429
26430 * gdb.base/crossload.exp: Remove, this has been disabled ever
26431 since BFD stopped including all targets, and cross-GDB gets
26432 plenty of testing anyway.
26433 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26434 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26435 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26436 * gdb.base/README: Remove, was doc for this.
26437 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26438 needed.
26439
26440 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26441
26442 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26443 output.
26444
26445 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26446 * gdb.base/annota2.exp: New file. More annotation tests.
26447 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26448 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26449
26450 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26451
26452 * config/cfdbug.exp: New file.
26453
26454 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26455
26456 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26457 Marcus Daniel's and Dale Hawkins's demangler crashes.
26458
26459 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26460 test_lucid_style_demangling, test_arm_style_demangling,
26461 test_hp_style_demangling): Try Tom Tromey's core-dumping
26462 identifier under each demangling style.
26463
26464 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26465
26466 * gdb.c++/demangle.exp: Include the current demangling style
26467 in all test names.
26468 (current_demangling_style): New global variable.
26469 (set_demangling_style, test_demangling_core, test_demangling,
26470 test_demangling_exact): New functions.
26471 (test_gnu_style_demangling, test_lucid_style_demangling,
26472 test_arm_style_demangling, test_hp_style_demangling): Use those,
26473 instead of calling gdb_test and gdb_test_exact directly.
26474 (catch_demangling_errors): New function, which reports errors
26475 signalled by the demangling test functions in an orderly way.
26476 (do_tests): Use catch_demangling_errors.
26477
26478 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26479
26480 * gdb.base/signals.exp (test_handle_all_print): Use () for
26481 grouping in expressions, not {}.
26482
26483 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26484 initialized yet.
26485
26486 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26487
26488 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26489 are listed.
26490
26491 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26492
26493 * gdb.stabs/weird.exp: Test for CC being defined before
26494 looking at its value.
26495
26496 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26497
26498 * gdb.base/call-ar-st.exp: Remove stray '#'.
26499 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26500 "short int" and "long int".
26501 * gdb.c++/overload.cc: Cast the string added in the previous
26502 change, to mollify finicky HP compiler.
26503 * gdb.hp/reg-test.exp (testfile): Fix file name.
26504 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26505
26506 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26507 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26508 alternate form of enum ptype.
26509
26510 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26511
26512 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26513 * gdb.hp/*.exp: Change all to run compiler probe only after
26514 passing skip_hp_tests, so as not to waste time on guaranteed
26515 failure.
26516
26517 * gdb.c++/overload.cc: Pass string instead of char addr, always
26518 init ccpfoo.
26519 * gdb.c++/templates.cc: Fix syntax error.
26520
26521 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26522
26523 * gdb.base/commands.exp: Add test for correct position of '>'
26524 when issuing the 'commands' command after a 'while' or 'if'
26525 command.
26526
26527 1999-03-18 James Ingham <jingham@cygnus.com>
26528
26529 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26530
26531 * gdb.c++/method.exp: It was testing an uninitialized int on the
26532 stack and assuming it was positive.
26533
26534 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26535
26536 * gdb.base/step-test.exp: Catch a case where finish is broken and
26537 keep it from killing the rest of the tests.
26538 Use gdb_continue_to_end.
26539
26540 * gdb.base/sigall.exp: use gdb_continue_to_end.
26541
26542 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26543
26544 * gdb.base/display.exp: use runto_main, not run.
26545
26546 * gdb.base/default.exp: Check for the current error message in the
26547 r abbreviation test.
26548 Add strongarm to the targets that know info float.
26549
26550 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26551 run which doesn't work with monitors.
26552
26553 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26554 1034 test.
26555
26556 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26557
26558 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26559 end of a program. Traps the case (in Cygmon) when the program
26560 never really exits. Same as Mark's continue_to_exit, but I had
26561 put it in a lot more places, so I used my name. Sorry Mark...
26562
26563 * config/monitor.exp (gdb_target_monitor): added another
26564 target_info parameter: remotebinarydownload. This will set the
26565 remotebinarydownload flag if this is causing some boards trouble.
26566
26567 1999-03-18 Mark Salter <msalter@cygnus.com>
26568
26569 * lib/gdb.exp (continue_to_exit): New function.
26570
26571 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26572 * gdb.base/ending-run.exp: Ditto.
26573 * gdb.base/step-test.exp: Ditto.
26574
26575 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26576
26577 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26578 (suggested by Art Haas <ahaas@neosoft.com>).
26579
26580 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26581
26582 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26583
26584 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26585
26586 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26587 descriptions of types (short unsigned int vs unsigned short, etc).
26588
26589 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26590
26591 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26592 a call to strlen; sometimes we do have sources.
26593
26594 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26595
26596 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26597 character, so GDB won't print garbage after its end.
26598
26599 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26600 breakpoint there instead. Sometimes GCC emits memcpy to handle
26601 the large structures being passed by value, so we step into that
26602 instead of sum_array_print, which obscures what we're really testing.
26603 * gdb.base/step-test.exp: However, we do want a test that notices
26604 the bizarre steps into memcpy, so do that here. Add check for
26605 stepping into function calls that pass large structures by value.
26606 ("Is that a noun clause, or are you just happy to see me?")
26607 Remove all references to specific line numbers.
26608 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26609 New type and function.
26610 (main): Call large_struct_by_value, passing it a large struct by value.
26611 * lib/gdb.exp (gdb_get_line_number): New function.
26612
26613 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26614 more portable.
26615
26616 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26617
26618 * lib/gdb.exp: Doc fixes.
26619
26620 1999-03-05 Nick Clifton <nickc@cygnus.com>
26621
26622 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26623
26624 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26625
26626 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26627 commands. They're not germane to this test, and they don't work
26628 that way on remote targets.
26629
26630 1999-03-01 James Ingham <jingham@cygnus.com>
26631
26632 * Changelog entries merged over from gdb development branch.
26633
26634 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26635
26636 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26637 for outputting results of test run.
26638
26639 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26640
26641 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26642
26643 1999-02-25 Felix Lee <flee@cygnus.com>
26644
26645 * lib/gdb.exp (debug_format): initialize
26646
26647 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26648
26649 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26650 * gdb.base/call-rt-st.c: Ditto.
26651
26652 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26653
26654 * gdb.threads/pthreads.exp (horiz): New variable.
26655 (test_startup): Fix regexps that capture thread numbers.
26656
26657 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26658
26659 * gdb.base/smoke.exp: Disambiguate two test case names (both
26660 called ``print'').
26661
26662 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26663
26664 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26665 compilation.
26666
26667 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26668
26669 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26670 actual output formatting.
26671 * gdb.base/smoke.exp: GDB removes leading 0's.
26672 * gdb.base/volatile.exp: Don't check type of remuneration;
26673 that variable is no longer defined in constvars.c.
26674 * gdb.base/step-test.c (main): Exit with explicit exit code.
26675 * gdb.base/step-test.exp: Remove two nexti checks--they are
26676 not portable.
26677
26678 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26679
26680 * gdb.base/help.exp ("help delete display"): Fix test to match
26681 gdb's output.
26682
26683 * gdb.base/long_long.c (known_types): Initialize values to zero.
26684 * gdb.base/long_long.exp: Step one more line
26685 so 'dec' is initialized in "get to known place". GDB removes
26686 leading zeros. Explicitly ask for hex formatting. Use
26687 unique test case names.
26688
26689 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26690
26691 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26692
26693 * gdb.c++/method.exp: Add missing close brace.
26694
26695 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26696
26697 * gdb.base/maint.exp: Use 'set height 0' to disable page
26698 prompting, not 'set height 400'.
26699
26700 Fix a bunch of timeouts.
26701 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26702 four separate tests, so expect doesn't take forever to match a ton
26703 of text against a regexp with lots of .* forms.
26704 ("maint print psymbols", "maint print symbols"): Make some of
26705 these greps more selective, so that expect doesn't try to wade
26706 through huge piles of output and time out.
26707
26708 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26709
26710 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26711 tests: one which doesn't expect shlib events to be reported, and
26712 another which does, but is XFAIL for all platforms other than
26713 HP/UX.
26714
26715 * gdb.base/break.exp: Teach the test suite that the `catch
26716 fork', `catch vfork', and `catch exec' commands produce error
26717 messages on platforms that don't provide these features.
26718
26719 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26720
26721 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26722 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26723 (shortening names from solib_threshold.exp etc), won't run on
26724 anything but HP-UX for the foreseeable future.
26725 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26726 reflect move.
26727
26728 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26729
26730 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26731 gdb.trace/Makefile.in (clean): Remove all test executables.
26732
26733 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26734
26735 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26736 successfully re-sets breakpoints in shared libraries.
26737 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26738
26739 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26740
26741 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26742 and compiled w/o GCC.
26743
26744 * gdb.hp/watch-cmd.exp: ditto.
26745
26746 * gdb.hp/watch-hp.exp: ditto.
26747
26748 * gdb.hp/xdb1.exp: ditto.
26749
26750 * gdb.hp/xdb2.exp: ditto.
26751
26752 * gdb.hp/dbx.exp: ditto.
26753
26754 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26755
26756 * constvars.c: Remove C++-isms.
26757 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26758 with GCC.
26759
26760 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26761
26762 The following changes are part of the HP merge.
26763
26764 * gdb.base/break.exp: new tests to verify that catchpoints for
26765 fork, vfork, and exec don't trigger inappropriately.
26766
26767 * gdb.base/opaque.exp: compile one file at a time, then link.
26768
26769 * gdb.base/signals.exp: be more restrictive about which hppa
26770 systems receive a setup_xfail. new tests.
26771
26772 * gdb.base/solib_threshold.build: new file.
26773 * gdb.base/solib_threshold.exp: new file.
26774 * gdb.base/solib_threshold.link_opts: new file.
26775 * gdb.base/solib_threshold.mk: new file.
26776 * gdb.base/gen_solib_threshold.c: new file.
26777
26778 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26779 tests. New tests for enums inside classes.
26780
26781 * gdb.c++/compiler.cc: indicate support of template debugging.
26782
26783 * gdb.c++/demangle.exp: run hp style demangling tests.
26784
26785 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26786 tests.
26787
26788 * gdb.c++/misc.cc: changes to support new tests.
26789
26790 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26791 to support new tests.
26792
26793 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26794 gcc, then skip these tests.
26795
26796 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26797
26798 The following files are part of the HP merge; some had longer
26799 names at HP, but have been renamed to be no more than 14
26800 characters in length.
26801
26802 * gdb.hp/ambiguous.cc: new file.
26803 * gdb.hp/ambiguous.exp: new file.
26804 * gdb.hp/attach.exp: new file.
26805 * gdb.hp/attach2.exp: new file.
26806 * gdb.hp/classes-hp.exp: new file.
26807 * gdb.hp/ctti.exp: new file.
26808 * gdb.hp/ctti-add.cc: new file.
26809 * gdb.hp/ctti-add1.cc: new file.
26810 * gdb.hp/ctti-add2.cc: new file.
26811 * gdb.hp/ctti-add3.cc: new file.
26812 * gdb.hp/dbx.exp: new file.
26813 * gdb.hp/exception.cc: new file.
26814 * gdb.hp/exception.exp: new file.
26815 * gdb.hp/foll-exec.c: new file.
26816 * gdb.hp/foll-exec.exp: new file.
26817 * gdb.hp/foll-fork.c: new file.
26818 * gdb.hp/foll-fork.exp: new file.
26819 * gdb.hp/foll-vfork.c: new file.
26820 * gdb.hp/foll-vfork.exp: new file.
26821 * gdb.hp/inherit-hp.exp: new file.
26822 * gdb.hp/more-steps.exp: new file.
26823 * gdb.hp/namespace.cc: new file.
26824 * gdb.hp/namespace.exp: new file.
26825 * gdb.hp/optimize.exp: new file.
26826 * gdb.hp/pxdb.c: new file.
26827 * gdb.hp/pxdb.exp: new file.
26828 * gdb.hp/quicksort.exp: new file.
26829 * gdb.hp/reg-test.exp: new file.
26830 * gdb.hp/reg-test.s: new file.
26831 * gdb.hp/sized-enum.c: new file.
26832 * gdb.hp/sized-enum.exp: new file.
26833 * gdb.hp/start-stop.exp: new file.
26834 * gdb.hp/templ-hp.cc: new file.
26835 * gdb.hp/templ-hp.exp: new file.
26836 * gdb.hp/thr-lib.c: new file.
26837 * gdb.hp/thr-lib.exp: new file.
26838 * gdb.hp/thr-lib.h: new file.
26839 * gdb.hp/thr-liblib.c: new file.
26840 * gdb.hp/virtfun-hp.c: new file.
26841 * gdb.hp/virtfun-hp.exp: new file.
26842 * gdb.hp/watch-cmd.exp: new file.
26843 * gdb.hp/watch-hp.exp: new file.
26844 * gdb.hp/xdb1.exp: new file.
26845 * gdb.hp/xdb2.exp: new file.
26846 * gdb.hp/xdb3.exp: new file.
26847
26848 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26849
26850 The following files are part of the HP merge; some had longer
26851 names at HP, but have been renamed to be no more than 14
26852 characters in length.
26853
26854 * gdb.base/ss.h: new file.
26855 * gdb.base/call-ar-st.c: new file.
26856 * gdb.base/call-ar-st.exp: new file.
26857 * gdb.base/call-rt-st.c: new file.
26858 * gdb.base/call-rt-st-exp: new file.
26859 * gdb.base/call-strs.exp: new file.
26860 * gdb.base/ena-dis-br.exp: new file.
26861 * gdb.base/environ.exp: new file.
26862 * gdb.base/long_long.exp: new file.
26863 * gdb.base/sect-cmd.exp: new file.
26864 * gdb.base/shlib-cl2.exp: new file.
26865 * gdb.base/smoke.exp: new file.
26866 * gdb.base/so-impl-ld.c: new file.
26867 * gdb.base/so-impl-ld.exp: new file.
26868 * gdb.base/so-indr-cl.c: new file.
26869 * gdb.base/so-indr-cl.exp: new file.
26870 * gdb.base/varargs.exp: new file.
26871 * gdb.base/volatile.exp: new file.
26872 * gdb.base/whatis-exp.exp: new file.
26873 * gdb.base/display.exp: new file.
26874 * gdb.c++/derivation.exp: new file.
26875 * gdb.c++/local.exp: new file.
26876 * gdb.c++/member-ptr.exp: new file.
26877 * gdb.c++/overload.exp: new file.
26878 * gdb.c++/ovldbreak.exp: new file.
26879 * gdb.c++/ref-types.exp: new file.
26880 * gdb.c++/ref-types2.exp: new file.
26881 * gdb.c++/userdef.exp: new file.
26882
26883 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26884
26885 * gdb.base/default.exp: Reflect wording change in remote.c.
26886
26887 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26888
26889 * gdb.base/help.exp: Update to reflect current text.
26890
26891 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26892
26893 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26894 they're stack variables and contain garbage.
26895 * gdb.c++/anon-union.exp: new file.
26896
26897 The following changes were made by David Taylor
26898 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26899 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26900 in changes by HP.
26901
26902 * gdb.base/bitops.exp: new file.
26903 * gdb.base/default.exp: change expected messages for catch and
26904 info catch tests to reflect HP merge changes.
26905 * gdb.base/enable-disable-break.exp
26906 * gdb.base/ending-run.c: new file.
26907 * gdb.base/long_long.c: new file.
26908 * gdb.base/maint.exp: new file.
26909 * gdb.base/pointers2.exp: new file.
26910 * gdb.base/shlib-call2.exp: new file.
26911 * gdb.base/solib.exp: new file.
26912 * gdb.base/step-test.c: new file.
26913 * gdb.c++/anon-union.cc: new file.
26914 * gdb.c++/local.cc: new file.
26915 * gdb.c++/member-pointer.cc: new file.
26916 * gdb.c++/method.cc: new file.
26917 * gdb.c++/ref-types.cc: new file.
26918 * gdb.c++/ref-types2.cc: new file.
26919 * gdb.c++/userdef.cc: new file.
26920
26921 * gdb.base/scope.exp: compile one file at a time, then link.
26922 * gdb.base/langs.exp: ditto.
26923 * gdb.base/list.exp: ditto.
26924
26925 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26926
26927 The following changes were made by David Taylor
26928 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26929 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26930 in changes by HP.
26931
26932 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26933 skip tests. When compiling pass c++ flag to gdb_compile.
26934 * gdb.c++/
26935
26936 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26937 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26938 (skip_hp_tests): new function.
26939 (gdb_preprocess): new function.
26940
26941 * configure.in (hpdir): decide whether to configure gdb.hp.
26942 * configure: regenerated.
26943
26944 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26945 to delete on clean.
26946 (EXECUTABLES): update to reflect new additions.
26947 * gdb.base/commands.exp: update message expected.
26948 * gdb.base/default.exp: add copyright notice.
26949 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26950 * gdb.base/help.exp: update messages to reflect current text.
26951 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26952 targets for recurse tests.
26953 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26954 skip this file.
26955
26956 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26957 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26958 compilation.
26959 * gdb.c++/misc.exp: ditto.
26960 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26961 run the tests. tell gdb_compile that it's a c++ compilation.
26962
26963 * gdb.threads/pthreads.exp: fix typo in message.
26964
26965 * gdb.base/all-bin.exp: new file.
26966 * gdb.base/arithmet.exp: new file.
26967 * gdb.base/assign.exp: new file.
26968 * gdb.base/completion.exp: new file.
26969 * gdb.base/cond-expr.exp: new file.
26970 * gdb.base/condbreak.exp: new file.
26971 * gdb.base/define.exp: new file.
26972 * gdb.base/dollar.exp: new file.
26973 * gdb.base/environment.exp: new file.
26974 * gdb.base/eval-skip.exp: new file.
26975 * gdb.base/jump.exp: new file.
26976 * gdb.base/logical.exp: new file.
26977 * gdb.base/pointers.exp: new file.
26978 * gdb.base/relational.exp: new file.
26979 * gdb.base/section_command.exp: new file.
26980 * gdb.base/whatis-expr.exp: new file.
26981
26982 * gdb.base/all-types.c: new file.
26983 * gdb.base/call-array-struct.c: new file.
26984 * gdb.base/call-return-struct.c: new file.
26985 * gdb.base/call-strings.c: new file.
26986 * gdb.base/callfuncs2.c: new file.
26987 * gdb.base/condbreak.c: new file.
26988 * gdb.base/constvars.c: new file.
26989 * gdb.base/display.c: new file.
26990 * gdb.base/int-type.c: new file.
26991 * gdb.base/jump.c: new file.
26992 * gdb.base/miscexprs.c: new file.
26993 * gdb.base/pointers.c: new file.
26994 * gdb.base/pointers2.c: new file.
26995 * gdb.base/shmain.c: new file.
26996 * gdb.base/shr1.c: new file.
26997 * gdb.base/shr2.c: new file.
26998 * gdb.base/solib.c: new file.
26999 * gdb.base/solib1.c: new file.
27000 * gdb.base/solib2.c: new file.
27001 * gdb.base/varargs.c: new file.
27002 * gdb.c++/derivation.cc: new file.
27003 * gdb.c++/overload.cc: new file.
27004 * gdb.c++/ovldbreak.cc: new file.
27005 * gdb.hp/attach.c: new file.
27006 * gdb.hp/attach2.c: new file.
27007 * gdb.hp/average.c: new file.
27008 * gdb.hp/compiler.c: new file.
27009 * gdb.hp/compiler.cc: new file.
27010 * gdb.hp/execd-program.c: new file.
27011 * gdb.hp/follow-exec.c: new file.
27012 * gdb.hp/follow-fork.c: new file.
27013 * gdb.hp/follow-vfork-and-exec.c: new file.
27014 * gdb.hp/misc-hp.cc: new file.
27015 * gdb.hp/more-steps.c: new file.
27016 * gdb.hp/optimize.c: new file.
27017 * gdb.hp/quicksort.c: new file.
27018 * gdb.hp/run-hp.c: new file.
27019 * gdb.hp/start-stop.c: new file.
27020 * gdb.hp/sum.c: new file.
27021 * gdb.hp/templates-hp.cc: new file.
27022 * gdb.hp/thread-local-in-lib.c: new file.
27023 * gdb.hp/thread-local-in-lib.h: new file.
27024 * gdb.hp/thread-local-in-lib.lib.c: new file.
27025 * gdb.hp/vforked-program.c: new file.
27026 * gdb.hp/virtfunc-hp.cc: new file.
27027 * gdb.hp/watchpoint-hp.c: new file.
27028 * gdb.hp/xdb.c: new file.
27029 * gdb.hp/xdb0.c: new file.
27030 * gdb.hp/xdb0.h: new file.
27031 * gdb.hp/xdb1.c: new file.
27032
27033 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27034
27035 The following change was made by Edith Epstein
27036 <eepstein@cygnus.com> as part of a project to merge in changes
27037 originally made by HP; HP did not create ChangeLog entries.
27038
27039 * gdb.c++/demangle.exp: changed the expected output for some
27040 ARM-style mangling -- removed second reference to datatype.
27041 For example, maint demangle __dt__11T1__pt__2_cFv
27042 T1<char>::~T1<char>(void)
27043 becomes,
27044 maint demangle __dt__11T1__pt__2_cFv
27045 T1<char>::~T1(void)
27046
27047 (test_hp_style_demangling): new hp specific demangling test cases.
27048
27049 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27050
27051 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27052 * gdb.trace/backtrace.exp: Likewise.
27053 * gdb.trace/circ.exp: Likewise.
27054 * gdb.trace/collection.exp: Likewise.
27055 * gdb.trace/deltrace.exp: Likewise.
27056 * gdb.trace/infotrace.exp: Likewise.
27057 * gdb.trace/limits.exp: Likewise.
27058 * gdb.trace/packetlen.exp: Likewise.
27059 * gdb.trace/passc-dyn.exp: Likewise.
27060 * gdb.trace/passcount.exp: Likewise.
27061 * gdb.trace/report.exp: Likewise.
27062 * gdb.trace/save-trace.exp: Likewise.
27063 * gdb.trace/tfind.exp: Likewise.
27064 * gdb.trace/tracecmd.exp: Likewise.
27065 * gdb.trace/while-dyn.exp: Likewise.
27066 * gdb.trace/while-stepping.exp: Likewise.
27067
27068 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27069
27070 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27071
27072 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27073
27074 From Brendan Kehoe:
27075 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27076 int return types.
27077
27078 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27079
27080 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27081 remote dos host testing right.
27082
27083 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27084
27085 * gdb.base/corefile.exp: remove some xfails.
27086
27087 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27088
27089 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27090 have different timestamps.
27091
27092 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27093
27094 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27095 gdb.base/default.exp: Replace "exec" with "executable".
27096
27097 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27098
27099 * gdb.base/default.exp: Change else if to elseif from previous
27100 delta.
27101
27102 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27103
27104 * gdb.base/default.exp: Add brace missing from previous delta.
27105
27106 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27107
27108 * gdb.base/default.exp: Support test for info float for all
27109 varieties of arm toolchain.
27110
27111 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27112
27113 * gdb.trace/*.exp: remove "remote_download" command.
27114
27115 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27116
27117 * gdb.trace/*.exp: remove -gdwarf from compile.
27118
27119 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27120
27121 * gdb.trace/configure.in(AC_INIT): typo
27122 * gdb.trace/configure: regenerated
27123
27124 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27125
27126 * config/m68k-emc.exp: New file.
27127 * lib/<emc-support.exp trace-support.exp}: New files.
27128 * configure.in: add new test directory gdb.trace.
27129 * gdb.trace/{configure configure.in Makefile.in}: New files.
27130 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27131 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27132 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27133 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27134 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27135 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27136 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27137
27138 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27139
27140 * gdb.c++/classes.exp: Change all regular expressions to match
27141 arbitrary combinations of newline/carriage-return, so that they
27142 will work equally well on Unix and Windows.
27143 * gdb.c++/inherit.exp: ditto.
27144 * gdb.c++/virtfunc.exp: ditto.
27145
27146 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27147
27148 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27149
27150 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27151
27152 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27153 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27154 to use a0-a3/d0-d3 as needed.
27155
27156 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27157
27158 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27159 * gdb.disasm/am33.exp: Corresponding changes.
27160
27161 1998-07-11 Felix Lee <flee@cygnus.com>
27162
27163 * gdb.base/callfuncs.exp: add cmp10 test.
27164 * gdb.base/callfuncs.c (cmp10): new function.
27165
27166 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27167
27168 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27169 into two parts to get around a synchronization problem in expect.
27170
27171 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27172
27173 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27174
27175 * configure.in: Add options for gdbtk testsuite.
27176
27177 * configure: Regenerate.
27178
27179 * gdb.gdbtk: New directory to hold gdbtk tests.
27180
27181 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27182
27183 * gdb.fortran/types.exp: Escape brackets in expect patterns
27184 for test_float_literal_types_accepted tests.
27185 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27186 before run test.
27187
27188 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27189
27190 * am33.exp: Just compile, do not link the testcase.
27191 * am33.s: Add ".am33" pseudoop to force am33 mode.
27192
27193 1998-06-25 Felix Lee <flee@cygnus.com>
27194
27195 * gdb.base/setshow.exp: make sure $pc is sane.
27196
27197 * gdb.stabs/weird.exp: split expect patterns properly.
27198
27199 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27200
27201 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27202 * gdb.disasm/am33.exp: Run it.
27203
27204 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27205
27206 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27207 match processing (and eliminate spurious timeouts when running).
27208
27209 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27210
27211 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27212 exception test, but conditionalize it on target [mach | gnu].
27213
27214 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27215
27216 * gdb.base/overlays.exp: fixup compile line for linker script.
27217
27218 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27219
27220 * gdb.fortran/types.exp: don't guess at float size.
27221
27222 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27223
27224 * gdb.base/exprs.exp: delete test that depends on int size.
27225
27226 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27227
27228 * config/sim.exp: Removed checks for target triplets.
27229 (gdb_target_sim): Use gdb,target_sim_options.
27230
27231 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27232
27233 * gdb.base/reread.exp: New file.
27234 * gdb.base/reread1.c: New file.
27235 * gdb.base/reread2.c: New file.
27236
27237 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27238
27239 * config/sim.exp: Use 'target sim -sparclite' when running
27240 SPARClite programs.
27241
27242 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27243
27244 * gdb.base/structs2.exp: New file.
27245 * gdb.base/structs2.c: New file.
27246
27247 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27248
27249 * gdb.asm/common.inc: New file.
27250 * gdb.asm/d10v.inc: New file.
27251 * asm-source.exp: Pass -I's to gas to find .inc files.
27252 Update line numbers in expected output.
27253 * asmsrc1.s: Rewrite.
27254 * asmsrc2.s: Rewrite.
27255 * configure.in: Create arch.inc symlink.
27256 * configure: Regenerate.
27257 * Makefile.in (distclean): Delete arch.inc.
27258
27259 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27260
27261 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27262 (t_enum_value2): ditto
27263 (t_enum_value3): ditto
27264 (main): ditto
27265 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27266
27267 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27268 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27269 change.
27270 Use gdb_test instead of send_gdb/gdb_expect sequences.
27271
27272 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27273
27274 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27275 not void.
27276
27277 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27278
27279 * gdb.base/branches.c: Code with lots of loops and
27280 subroutines. Used to test gdbs ability to single step through PC
27281 changes, especially to test mips-tdep.c:mips_next_pc
27282
27283 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27284
27285 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27286 more rigorous EGCS C++ error checking.
27287
27288 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27289
27290 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27291 tests.
27292 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27293 function when asleep.
27294 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27295 for i*86 Linux and SVR4 signal handling problems.
27296 Remove linux xfail for `next to handler in signals_tests_1', fixed
27297 by recent infrun.c change.
27298 Limit backtrace to 10 frames to avoid timeout problems with infinite
27299 stack backtraces.
27300 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27301 target.[ch] change.
27302
27303 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27304
27305 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27306 for a newline from gdb before continuing.
27307 (default_gdb_exit): Just look for y or n.
27308 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27309 it does, fail the rests of the tests in the file.
27310
27311 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27312
27313 * config/cygmon.exp: New file.
27314
27315 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27316
27317 * gdb.base/list.exp: Fix problem with "list default lines around
27318 main" test on remote targets.
27319
27320 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27321 run test on remote targets.
27322
27323 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27324
27325 * gdb.asm: New directory.
27326 * configure.in: Configure it.
27327 * configure: Regenerate.
27328 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27329 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27330
27331 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27332
27333 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27334
27335 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27336
27337 * gdb.base/overlays (several files): Merge the two overlay
27338 managers into one. Change variables (foox, barx, bazx, grbxx)
27339 back into ints but force them to load in their proper sections.
27340
27341 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27342
27343 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27344 on-chip insn memory and IMAP1 to upper 128k.
27345 (D10VCopy): Handle memory regions crossing 16k boundaries.
27346 (D10VCopy): Transfer data in 32 bit chunks.
27347
27348 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27349
27350 * gdb.base/overlays.c (main): Exit normally when result is
27351 correct.
27352
27353 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27354 map. Include space for printf in .text segment.
27355
27356 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27357 updated d10v memory VMA/LMA map.
27358 (D10VCopy): Call D10VTranslate.
27359
27360 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27361
27362 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27363
27364 * gdb.base/bar.c (barx, bar): Change variable to small array so
27365 that it won't be put into the .sdata - small data -
27366 section. Update reference.
27367 * gdb.base/baz.c (bazx, baz): Ditto.
27368 * gdb.base/foo.c (foox, foo): Ditto.
27369 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27370
27371 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27372 to be arrays.
27373
27374 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27375
27376 * gdb.base/overlays.exp: fix up and get working again.
27377 Add tests for backtraces from an overlay function.
27378
27379 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27380
27381 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27382 "calling function with watchpoint enabled".
27383
27384 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27385
27386 * gdb.base/break.exp (test_next_with_recursion): Remove
27387 gdb_suppress_tests for d10v-*-*.
27388 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27389 pending review of whether it is useful or not.
27390
27391 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27392
27393 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27394
27395 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27396
27397 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27398 * config/dve.exp: New file to support Densan boards.
27399
27400 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27401
27402 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27403 reads and BSD.
27404
27405 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27406
27407 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27408 response.
27409
27410 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27411
27412 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27413
27414 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27415 test.
27416
27417 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27418 target_sizeof_long and target_bigendian_p.
27419 (structs_by_value, structs_by_reference): Check values according
27420 to targets word size and endianess.
27421
27422 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27423
27424 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27425 output.
27426
27427 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27428
27429 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27430 Update test of set args help to match source change.
27431
27432 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27433
27434 * gdb.base/default.exp: Expect help system output to be in
27435 alphabetical order.
27436 * gdb.base/help.exp: Ditto.
27437
27438 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27439
27440 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27441 "i*86-pc-linux-gnu*".
27442 * gdb.base/interrupt.exp: Ditto.
27443 * gdb.base/corefile.exp: Ditto.
27444
27445 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27446 define vxworks when building the testcase.
27447
27448 * gdb.base/ptype.exp: Fix testnames to be unique.
27449 * gdb.base/radix.exp: Ditto.
27450 * gdb.base/term.exp: Ditto.
27451 * gdb.base/whatis.exp: Ditto.
27452 * gdb.c++/classes.exp: Ditto.
27453
27454 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27455
27456 * gdb.base/callfuncs.exp: Fix indentation.
27457
27458 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27459 suppress_flag has been set.
27460 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27461 target feature.
27462
27463 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27464
27465 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27466 the testcase.
27467
27468 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27469 set_debug_traps() and breakpoint().
27470 * gdb.c++/misc.cc (main): Ditto.
27471 * gdb.c++/templates.cc (main): Ditto.
27472 * gdb.c++/virtfunc.cc (main): Ditto.
27473
27474 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27475
27476 * lib/gdb.exp(gdb_step_for_stub): New function.
27477 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27478 exists, reload the executable and do a "continue" instead of
27479 doing a jump.
27480 (runto_main): Use gdb_step_for_stub.
27481
27482 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27483 tests to have unique names.
27484 * gdb.base/callfuncs.exp: Ditto.
27485 * gdb.base/commands.exp: Ditto.
27486 * gdb.base/default.exp: Ditto.
27487 * gdb.base/help.exp: Ditto.
27488 * gdb.base/list.exp: Ditto.
27489 * gdb.base/opaque.exp: Ditto.
27490 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27491 similar tests.
27492
27493 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27494 * gdb.c++/cplusfuncs.cc: Ditto.
27495 * gdb.c++/virtfunc.cc: Ditto.
27496
27497 * config/monitor.exp: Keep track of the last file we saw, rather
27498 than trying to get the info from gdb.
27499
27500 * gdb.fortran/types.exp: Move comment to previous line.
27501
27502 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27503
27504 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27505 target mode.
27506
27507 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27508
27509 From Bob Manson:
27510 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27511 string from GDB when it connects.
27512
27513 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27514
27515 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27516
27517 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27518 if we can't get a debug format from GDB (we may be testing an
27519 older GDB). Use a 10 second timeout when checking for the format.
27520
27521 * gdb.stabs/weird.exp: Fix quoting.
27522
27523 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27524
27525 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27526
27527 * config/arm-ice.exp: New file.
27528
27529 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27530
27531 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27532 until it has been modified to work with the new testsuite.
27533
27534 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27535 testcase won't compile, cause all of the testcases in the file to
27536 fail instead.
27537
27538 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27539 (gdb_clear_suppressed): New procedure.
27540 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27541 it contains a positive value.
27542
27543 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27544
27545 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27546
27547 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27548
27549 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27550
27551 * lib/gdb.exp (setup_xfail_format): New function.
27552 (get_debug_format): New function to get debug format.
27553 (debug_format): New global variable to hold last value set
27554 by get_debug_format.
27555 * gdb.base/list.exp: Call get_debug_format and expect some
27556 tests to fail for DWARF 1 and COFF formats.
27557 * gdb.c++/ptype.exp: Ditto.
27558 * gdb.c++/classes.exp: Ditto.
27559 * gdb.c++/cplusfuncs.exp: Ditto.
27560 * gdb.c++/inherit.exp: Ditto.
27561 * gdb.c++/templates.exp: Ditto.
27562 * gdb.c++/virtfunc.exp: Ditto.
27563
27564 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27565
27566 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27567 host doesn't have a currently-open connection.
27568
27569 * config/sparclet.exp: Cleanups and fixes to make it generic for
27570 any gdb stub target. Handle cases where gdb doesn't respond when
27571 interrupted in a sane fashion.
27572
27573 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27574 same thing in a totally different way.
27575
27576 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27577 setting "timeout".
27578 (gdb_start): We set the global gdb_prompt variable in
27579 default_gdb_init now.
27580
27581 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27582
27583 * gdb.base/printcmds.exp: Fix "check for floating addition"
27584 regexp to accept results within approx +/- .01 of exact value.
27585 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27586
27587 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27588
27589 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27590 properly.
27591 (gdb_expect): Add optional timeout parameter, and add timeout
27592 value to various calls.
27593 (gdb_suppress_tests): Only give one warning message per group.
27594
27595 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27596
27597 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27598 global variables. Handle getting a value for $timeout more
27599 gracefully.
27600
27601 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27602
27603 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27604 initialize.
27605 (default_gdb_init): New procedure; allow gdb_init to be overridden
27606 by a target configuration file.
27607 (gdb_expect): Pass the timeout to remote_expect.
27608
27609 * config/monitor.exp(gdb_load): Fix typo in regexp.
27610
27611 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27612
27613 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27614
27615 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27616
27617 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27618 here. Call gdb_target_exec before rebooting the target, to make
27619 sure the connection to the target is closed.
27620 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27621 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27622 Also detect "Timeout reading from remote" error.
27623
27624 * config/gdbserver.exp: Pass the executable being loaded to
27625 gdb_target_monitor. Don't call gdb_file_cmd here; let
27626 gdb_target_monitor do it.
27627
27628 * gdb.disasm/hppa.exp: Don't use exec_output.
27629
27630 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27631
27632 * gdb.base/list.exp: If we're debugging a non-native target,
27633 try to set the pc register to point to the start of the
27634 program before doing the first list command.
27635
27636 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27637 test_calls after restarting.
27638
27639 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27640 reloading.
27641
27642 * gdb.base/watchpoint.exp: Fix typo.
27643
27644 * gdb.base/setshow.exp: Check for use_gdb_stub.
27645
27646 * gdb.base/break.exp: Fix continue until exit test for the gdb
27647 stub case.
27648 * gdb.base/langs.exp: Ditto.
27649
27650 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27651 gdb_load_offset. If we weren't given a file to load, figure out
27652 what the current file is and use it.
27653
27654 * config/i386-bozo.exp: New file.
27655
27656 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27657
27658 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27659 feature.
27660
27661 * config/proelf.exp: New entry.
27662
27663 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27664
27665 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27666 of regexps.
27667
27668 * gdb.base/watchpoint.exp: Don't run the test_stepping
27669 tests if gdb can't call functions on the target.
27670
27671 * gdb.base/setshow.exp: Don't run the set prompt tests if
27672 the board has gdb_prompt set.
27673
27674 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27675
27676 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27677 * gdb.base/commands.exp: Likewise.
27678 * gdb.base/setshow.exp: Likewise.
27679
27680 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27681
27682 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27683 feature.
27684
27685 * config/i960.exp: New file.
27686
27687 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27688
27689 * gdb.base/funcargs.exp: Check for gdb,short_int target
27690 feature instead of looking for explicit target triplets.
27691
27692 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27693
27694 * gdb.base/printcmds.exp: add a couple more tests a la
27695 "p 123DEADBEEF", to check parse_number.
27696 * top.c: change "to enable to enable" to "to enable" in a couple
27697 of help strings.
27698
27699 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27700
27701 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27702 on the mn10300.
27703
27704 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27705
27706 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27707 where the test executable is run with explicit args.
27708 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27709
27710 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27711
27712 * gdb.base/run.c: Use FAKEARGV to build test executable that
27713 does not require a command line arg, since most simulators
27714 don't currently support passing such an arg into the simulated
27715 program.
27716 * gdb.base/commands.exp: Change tests to insert the proper
27717 value as the arg to the first recursive factorial call. Change
27718 compilation line to define FAKEARGV at compile time.
27719
27720 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27721
27722 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27723 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27724 function with watchpoint enabled" test.
27725
27726 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27727
27728 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27729 Don't call gdb_test when the command doesn't return to a gdb prompt.
27730
27731 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27732 "Tests restarted" messages.
27733
27734 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27735
27736 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27737
27738 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27739
27740 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27741 for INFO SYMBOL; add help tests for OVERLAY commands.
27742 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27743 add tests for OVERLAY commands
27744 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27745 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27746 * gdb.base/sigall.c: add usestubs code frag
27747 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27748
27749 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27750
27751 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27752 failures.
27753 (gdb_stop_suppressing_tests): Note that tests have restarted.
27754
27755 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27756
27757 * config/h8300.exp: New file.
27758
27759 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27760
27761 * gdb.base/setshow.exp: Check for the existence of a
27762 feature, not its value.
27763
27764 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27765
27766 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27767
27768 * gdb.base/scope.exp: It's now init0(), not init().
27769
27770 * gdb.base/scope0.c: For now, change init() to be init0().
27771
27772 * config/monitor.exp: Use gdb_serial in preference to serial
27773 or netport.
27774
27775 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27776 and it's not already set.
27777
27778 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27779
27780 * gdb.base/setshow.exp: Only test the run command if the target
27781 isn't using a stub and if it supports argument passing.
27782
27783 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27784
27785 * config/udi.exp(gdb_start): Make sure UDICONF is set
27786 properly before starting gdb.
27787
27788 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27789
27790 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27791 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27792 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27793
27794 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27795
27796 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27797 specialized code to reboot the board, use remote_reboot instead.
27798
27799 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27800
27801 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27802
27803 * config/monitor.exp: Make sure we disconnect from the target.
27804 Also, try a reboot/reload cycle instead of failing if the
27805 load fails.
27806
27807 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27808
27809 * gdb.base/default.exp: Don't set match_max.
27810 * gdb.base/help.exp: Ditto.
27811 * gdb.base/list.exp: Ditto.
27812 * gdb.base/signals.exp: Ditto.
27813
27814 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27815 set, use remote_ld to download the testcase instead of
27816 the GDB loader.
27817
27818 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27819
27820 * config/vr5000.exp: New file.
27821
27822 * config/monitor.exp(gdb_target_monitor): Add pattern for
27823 "Ending remote" to detect errors in connecting.
27824
27825 * gdb.base/setshow.exp: Add .* within auto language test.
27826
27827 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27828 target feature.
27829
27830 * config/monitor.exp(gdb_load): Check for a failure when loading,
27831 and reboot the board if necessary.
27832
27833 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27834 a set of tests. Remove print.* from the patterns being checked.
27835
27836 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27837
27838 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27839 refer to gdb_spawn_id.
27840
27841 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27842 longer used.
27843 * config/sparclet.exp: Ditto.
27844 * config/sparclet-old.exp: Ditto.
27845 * config/slite.exp: Ditto.
27846 * config/sim.exp: Ditto.
27847 * gdb.base/funcargs.exp: Ditto.
27848
27849 * lib/gdb.exp:Remove references to gdb_spawn_id.
27850 (gdb_expect): Move to remote.exp.
27851
27852 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27853
27854 * config/monitor.exp: Detect the "Couldn't establish connection"
27855 message from GDB.
27856
27857 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27858
27859 * gdb.base/bitfields.exp: Use runto instead of explicit
27860 gdb_run_cmd/gdb_expect sequences.
27861
27862 * gdb.base/break.exp(text_next_with_recursion): Add match for
27863 gdb_expect call.
27864
27865 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27866 We also need to handle the "A program is being debugged already"
27867 prompt from gdb. Use gdb_test to set the baud rate.
27868
27869 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27870 to 20000. Really. I mean it.
27871
27872 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27873
27874 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27875 fails. If suppress_flag is set, skip perror message about not
27876 being able to send to GDB.
27877 (send_gdb): If suppress_flag is set, don't try to send commands to
27878 GDB.
27879 (gdb_expect): If suppress_flag is set, always fail immediately.
27880 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27881 (gdb_init): Call gdb_stop_suppressing_tests.
27882 (default_gdb_exit): Ditto.
27883 (default_gdb_start): Ditto.
27884
27885 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27886 gdb_stop_suppressing_tests as appropriate.
27887 * gdb.base/break.exp: Ditto.
27888 * gdb.base/callfuncs.exp: Ditto.
27889 * gdb.base/commands.exp: Ditto.
27890 * gdb.base/exprs.exp: Ditto.
27891 * gdb.base/funcargs.exp: Ditto.
27892 * gdb.base/list.exp: Ditto.
27893 * gdb.base/recurse.exp: Ditto.
27894 * gdb.base/scope.exp: Ditto.
27895 * gdb.base/structs.exp: Ditto.
27896 * gdb.c++/inherit.exp: Ditto.
27897
27898 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27899
27900 * config/vr4300.exp: New file.
27901
27902 * gdb.*/*.exp: Call gdb_expect instead of expect.
27903
27904 * lib/gdb.exp(gdb_expect): New function.
27905
27906 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27907
27908 * lib/gdb.exp(gdb_init): New function.
27909
27910 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27911 for each individual variable set.
27912
27913 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27914 name.
27915
27916 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27917
27918 * gdb.base/scope.exp: Use gdb_test.
27919
27920 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27921 aborting; the testsuite driver will do that for us (see
27922 gdb_finish). Also, use gdb_test in a few more places.
27923
27924 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27925
27926 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27927
27928 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27929
27930 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27931 and "add_tests" are not at the same address.
27932
27933 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27934
27935 * gdb.base/ptype.exp: Use gdb_test.
27936
27937 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27938
27939 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27940 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27941 left in. No longer expect them to fail.
27942
27943 * gdb.stabs/*.mt; Deleted, no longer used.
27944 * gdb.stabs/configure.in: Remove references to target makefile
27945 frags.
27946 * gdb.stabs/configure: Rebuilt.
27947
27948 * gdb.disasm/*.mt: Deleted, no longer used.
27949 * gdb.disasm/configure.in: Remove references to target makefile
27950 frags. Use "sh3.s" as the unique filename for this directory.
27951 * gdb.disasm/configure: Rebuilt.
27952
27953 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27954 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27955 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27956
27957 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27958
27959 * config/udi.exp: Use mondfe,name instead of remote_host.
27960
27961 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27962
27963 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27964 a function with a watchpoint enabled on the mn10200.
27965
27966 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27967 before trying to create it!
27968
27969 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27970
27971 * config/vx.exp: Use hostname instead of netport.
27972
27973 * config/vxworks.exp: New file.
27974
27975 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27976
27977 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27978 gdb before assuming everything worked. Send a ^C if a timeout
27979 occurs.
27980
27981 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27982 $gdb_spawn_id directly.
27983 (gdb_run_cmd): Try _start as well as start. Use the target feature
27984 gdb,start_symbol as the symbol to start from when jumping.
27985
27986 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27987
27988 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27989 redundant) test.
27990
27991 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27992 it doesn't lose for 16bit integer systems.
27993
27994 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27995
27996 * gdb.fortran/types.exp: If the target doesn't support "double"
27997 data types, then expect "real" types to only be 4 bytes.
27998
27999 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28000 call tests if the target doesn't support inferior function calls.
28001
28002 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28003 in printf tests.
28004
28005 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28006
28007 * gdb.base/help.exp: Disable "help set", "help show", and
28008 "help support". Simplify regexp for "help stack".
28009
28010 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28011 to 60 seconds. Temporarily set match_max to 15000 around the
28012 "info copying" test.
28013
28014 * gdb.base/nodebug.exp: Don't try to do an inferior function
28015 call if the target doesn't support them.
28016 * gdb.base/printcmds.exp: Likewise.
28017 * gdb.base/setvar.exp: Likewise.
28018 * gdb.base/structs.exp: Likewise.
28019 * gdb.c++/templates.exp: Likewise.
28020 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28021
28022 * gdb.base/recurse.exp: Enable for the mn10200.
28023
28024 * configure.in: Do configure gdb.stabs directory for *-*-elf
28025 targets.
28026 * configure: Rebuilt.
28027
28028 * gdb.base/break.exp: Check for gdb,noresults before testing
28029 exit status and/or results from the target.
28030 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28031 * lib/gdb.exp: Remove old (now bogus) initialization of
28032 noinferior, noargs, noresults and nosignals.
28033
28034 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28035
28036 * config/sh.exp: New file.
28037
28038 * config/slite.exp: Try to connect multiple times to the board
28039 before rebooting. Only send a "monitor run" if need_monitor_run
28040 is set.
28041
28042 * gdb.base/break.exp: Don't do the "stub continue" test if
28043 the target has gdb_stub set.
28044
28045 * gdb.base/callfuncs.exp: Increase the timeout.
28046
28047 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28048 if the target has gdb,noinferiorio set.
28049
28050 * gdb.base/list.exp: Increase match_max to 10000 characters.
28051
28052 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28053
28054 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28055 target.
28056
28057 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28058
28059 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28060
28061 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28062 trying to delete the copy of gdb. Catch the file delete so we
28063 don't die if the delete fails; also, the file should be copied to
28064 the host, not to the build.
28065
28066 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28067
28068 * lib/gdb.exp(gdb_test): Surround the result pattern with
28069 parenthesis in case it contains multiple regexps separated
28070 with |.
28071
28072 * gdb.base/watchpoint.exp: Use gdb_test.
28073 * gdb.base/default.exp: Ditto.
28074
28075 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28076
28077 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28078
28079 * gdb.base/scope.exp: Use gdb_test.
28080 * gdb.c++/classes.exp: Ditto.
28081 * gdb.c++/inherit.exp: Ditto.
28082
28083 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28084
28085 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28086 remote_exec instead.
28087 * gdb.base/corefile.exp: Don't be ridiculous.
28088 * gdb.base/*.c: Add missing stub invocations.
28089
28090 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28091
28092 * config/slite.exp: Miscellaneous fixes.
28093
28094 * lib/gdb.exp: Fix runto.
28095
28096 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28097 the target.
28098
28099 * gdb.base/watchpoint.exp: Fix regexp.
28100
28101 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28102 close and wait commands, as the descriptor may now be
28103 invalid. Always call "remote_close host".
28104
28105 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28106
28107 Major rewrite for testsuite revision.
28108
28109 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28110 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28111 instead of relying on spawn_id to always contain a valid
28112 spawn id.
28113 (get_compiler_info): New procedure to build the ${binfile}.ci
28114 file, instead of replicating this in N different places.
28115 (gdb_compile): New procedure.
28116
28117 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28118 appropriate arguments) instead of compile. Use gdb_test in a lot
28119 more places. Use send_gdb instead of send. Always run gdb_start
28120 at the start of a testcase, as this is no longer done magically.
28121
28122 config/*-gdb.exp: Rename without the -gdb suffix.
28123
28124 config/mips.exp: Use remote_close instead of exit_remote_shell.
28125 config/monitor.exp: Use target_info instead of looking at
28126 baud, timeout, etc.
28127 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28128
28129 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28130
28131 * gdb.c++/templates.exp (test_ptype_of_templates),
28132 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28133 Update expect patterns for destructors and assignment operators
28134 to match corresponding c-typeprint.c changes.
28135 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28136 to destructor breakpoint test, GDB should be able to set the
28137 destructor breakpoint without specifying arguments.
28138
28139 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28140
28141 * gdb.threads/pthreads.exp: Change result for failure to compile due
28142 to lack of pthreads runtime support from an error to simply an
28143 unsupported test, per dejagnu standards.
28144
28145 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28146
28147 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28148 where GDB exits to reduce pattern match time.
28149 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28150
28151 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28152
28153 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28154
28155 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28156 * gdb.base/default.exp: ditto.
28157 * gdb.base/nodebug.exp: ditto.
28158 * gdb.base/printcmds.exp: ditto.
28159 * gdb.base/ptype.exp: ditto.
28160 * gdb.base/setvar.exp: ditto.
28161 * gdb.base/structs.exp: ditto.
28162 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28163
28164 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28165
28166 * configure, */configure: Rebuild with autoconf 2.12.
28167
28168 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28169
28170 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28171 use new i*86-pc-linux*-gnu quads.
28172 * gdb.base/corefile.exp: Ditto.
28173 * gdb.base/signals.exp: Ditto.
28174 * gdb.base/sigall.exp: Ditto.
28175 * gdb.base/interrupt.exp: Ditto.
28176
28177 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28178 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28179 RedHat 4.0.
28180
28181 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28182 linux. This allows the test case to at least compile on latest
28183 linux, but still not run due to missing the threads runtime library.
28184
28185 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28186
28187 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28188 directory to search gdb directory. Accept and step over conditional
28189 stack alignment code. Consume $prompt in failure cases.
28190 Reset timeout to $oldtimeout instead of some arbitrary value.
28191 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28192 timeout problems with infinite stack backtraces.
28193 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28194 Accept function parameters for linkfunc member.
28195
28196 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28197
28198 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28199 (CXXFLAGS): Remove, unreferenced.
28200 (B_OPTIONS): Add for -B options and add code to initialize with
28201 previous -B options and also add -B option to pick up cross compiled
28202 runtime.
28203 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28204 doing cross compiles.
28205 (target_alias): Declare global.
28206 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28207 to verify that gcc exists in build tree, and if so set CC to that
28208 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28209
28210 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28211
28212 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28213 ptype test for anonymous union. Fixup testcase to match
28214 current gcc debug output.
28215
28216 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28217
28218 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28219 force argument to an unsigned long type.
28220
28221 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28222
28223 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28224 tests and anonymous union print/ptype tests.
28225 * gdb.base/list.exp (test_forward-search): Increase timeout by
28226 5 minutes for the "search extremely long line" case.
28227 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28228 completely optional and that the pass/fail messages use the command as
28229 the message if that third arg is a null string.
28230 (gdb_test_exact): Arrange that a null string pattern means match a
28231 null string output rather than any output, which might include random
28232 errors.
28233 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28234 backtrace test.
28235 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28236 always failing and failure is now exposed by gdb.exp changes.
28237
28238 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28239
28240 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28241 weren't being noted.
28242
28243 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28244
28245 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28246 * gdb.stabs/weird.exp: Remove v_comb xfails.
28247
28248 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28249
28250 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28251 list.exp scope.exp watchpoint.exp]
28252 Make all timeout error msgs explicitly say "(timeout)".
28253
28254 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28255
28256 * config/monitor.exp: Increase download timeout to 1000 seconds.
28257
28258 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28259
28260 * config/m32r.exp: Increase timeout to 120 seconds.
28261
28262 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28263
28264 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28265 and accept older ordering as obsolescent gcc or gdb.
28266 * gdb.c++/templates.exp: Ditto.
28267 * gdb.c++/virtfunc.exp: Ditto.
28268
28269 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28270
28271 * gdb.base/coremaker.c: Add code to mmap some data so we
28272 can check that it ends up in the core file.
28273 * gdb.base/corefile.exp: Add test to read mmapped data
28274 from core file.
28275
28276 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28277
28278 * config/m32r.exp: New file.
28279
28280 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28281
28282 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28283 that cflags can contains -gstabs, and work correctly for other tests.
28284
28285 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28286
28287 * gdb.base/setshow.exp: New file, tests show and set.
28288 * gdb.base/setshow.c: New file, tests show and set.
28289 * gdb.base/help.exp: Add test for help set|show annotate.
28290 * gdb.base/default.exp: Add test for set|show annotate.
28291
28292 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28293
28294 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28295 errors unique.
28296 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28297 explicitly.
28298
28299 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28300
28301 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28302 and width commands. This is done elsewhere.
28303 * (gdb_start): Don't call gdb_start_sim here. That's already
28304 done in gdb_load. This fixes lots of failures in default.exp.
28305
28306 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28307
28308 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28309 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28310 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28311 in the same we we treat other failures (since it may be an expected
28312 condition), rather than as an error.
28313 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28314 old test format.
28315
28316 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28317
28318 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28319 (distclean maintainer-clean realclean): No need to remove files
28320 twice. Nuke the duplicates.
28321 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28322 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28323 Remove config.h along with other config files.
28324
28325 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28326
28327 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28328 "p func1 ()" and note that rests of tests are skipped.
28329 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28330 setup_xfails for "print func2::coremaker_local".
28331 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28332 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28333 affected by the previous run test.
28334 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28335 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28336 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28337 "pass int powerset tuple" and "pass modeless int powerset tuple".
28338 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28339 "real write 4" and "real write 8".
28340 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28341 setup_xfails for "print vs1 after tuple assign 2",
28342 "print \$i after tuple assign 2", and
28343 "print vs2 after tuple assign 2".
28344 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28345 meaningful error message and return -1 so the caller can
28346 suppress further tests and avoid a cascade of errors.
28347
28348 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28349
28350 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28351 format for printing version.
28352 * gdb.base/default.exp: Ditto.
28353 * gdb.base/interrupt.exp: Fix problem with cascade of
28354 errors if child process dies while calling a function.
28355
28356 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28357
28358 * Makefile.in (VPATH): Add
28359 * Makefile.in (Makefile, config.status): Fix rules so things get
28360 remade when necessary.
28361
28362 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28363
28364 * Makefile.in (just-check): Add path to sibling expect dir
28365 to environment variable specified by RPATH_ENVVAR.
28366
28367 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28368
28369 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28370 (just-check): Add shared library paths for libstdc++, tk,
28371 tcl, bfd, and opcodes to the environment variable specified
28372 in RPATH_ENVVAR.
28373 * configure.in: Add support to recognize --enable-shared flag
28374 and generate correct value for RPATH_ENVVAR.
28375 * configure: Regenerated with autoconf.
28376
28377 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28378
28379 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28380 include all osf versions.
28381 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28382 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28383 when target is linux. When failing to build pthreads test
28384 executable, give more meaningful message.
28385 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28386 arg for pthread_create.
28387
28388 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28389
28390 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28391 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28392 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28393 and -lpthreads (everybody else).
28394 (test_startup): Fail gracefully if threads are not supported.
28395 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28396 "p/c array_index("abcdef",2)" when not gcc compiled.
28397 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28398 "print func2::coremaker_local" when not gcc compiled.
28399 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28400 "ptype on opaque struct tagname (statically)",
28401 "ptype on opaque struct tagname (dynamically) 1", and
28402 "ptype on opaque struct tagname (dynamically) 2"
28403 for not compiled with gcc.
28404 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28405 backtrace when compiled with gcc.
28406 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28407 than always return success.
28408
28409 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28410
28411 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28412
28413 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28414
28415 * gdb.base/structs.exp: Undo last change.
28416
28417 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28418
28419 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28420 encapsulate all the steps/nexts done during self test, starting
28421 at main, and makes them less sensitive to optimization issues.
28422 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28423 signal handler" test.
28424 * gdb.threads/pthreads.exp: Only run this for native configs.
28425 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28426 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28427 tests.
28428 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28429 for "runto test_calls(void)" test.
28430
28431 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28432
28433 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28434 and don't expect address info in breakpoint confirmations.
28435
28436 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28437
28438 * gdb.base/list.exp (test_forward_search): Increase timeout
28439 temporarily by 60 seconds for searching extremely long line,
28440 and then reset to old value when done. Increase expect input
28441 buffer to 10000.
28442
28443 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28444
28445 * gdb.base/list.exp (test_forward_search): Fix to handle very
28446 long source line without overflowing expect's input buffer.
28447
28448 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28449
28450 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28451 "buffer_full".
28452
28453 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28454 "buffer_full".
28455
28456 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28457 "buffer_full".
28458
28459 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28460 "buffer_full".
28461
28462 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28463
28464 * configure.in (configdirs): Add gdb.threads.
28465 * configure: Regenerated with autoconf.
28466 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28467 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28468 * gdb.threads/configure: New, generated with autoconf.
28469
28470 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28471
28472 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28473
28474 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28475
28476 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28477 each signal's status in the output of "handle all print".
28478 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28479 the \r\n sequence that immediately precedes the gdb prompt.
28480 * gdb.base/a1-selftest.exp: Save original timeout and restore
28481 after test.
28482
28483 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28484
28485 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28486 symbol.
28487
28488 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28489
28490 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28491
28492 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28493
28494 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28495 timeout by 60 seconds.
28496
28497 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28498
28499 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28500 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28501 error return.
28502
28503 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28504
28505 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28506 gdb initialization, also report how long dejagnu waited. Restore
28507 old timeout before doing error return. Temporarily increase timeout
28508 by 3 minutes to allow for slow startups over heavy NFS use.
28509
28510 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28511
28512 * lib/gdb.exp: Report timeout value for verbosity level 2.
28513 * config/gdbserver.exp: Ditto.
28514 * config/hppro.exp: Ditto.
28515 * config/mips-gdb.exp: Ditto.
28516 * config/monitor.exp: Ditto.
28517 * config/netware.exp: Ditto.
28518 * config/sim-gdb.exp: Ditto.
28519 * config/slite-gdb.exp: Ditto.
28520 * config/udi-gdb.exp: Ditto.
28521 * config/unix-gdb.exp: Ditto.
28522 * config/vx-gdb.exp: Ditto.
28523 * gdb.base/a1-selftest.exp: Ditto.
28524 * gdb.base/a2-run.exp: Ditto.
28525 * gdb.base/break.exp: Ditto.
28526 * gdb.base/corefile.exp: Ditto.
28527 * gdb.base/list.exp: Ditto.
28528 * gdb.base/recurse.exp: Ditto.
28529 * gdb.base/scope.exp: Ditto.
28530 * gdb.base/signals.exp: Ditto.
28531
28532 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28533
28534 * gdb.threads/Makefile.in (docdir): Removed.
28535
28536 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28537
28538 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28539 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28540 @srcdir@.
28541 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28542 autoconf 2.5 or higher.
28543 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28544
28545 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28546
28547 * configure: Regenerated.
28548 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28549 avoid name clashes with SunOS headers.
28550
28551 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28552
28553 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28554
28555 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28556
28557 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28558 prototype information ends up in the compiler info file.
28559
28560 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28561
28562 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28563 attempting to regenerate it. Eliminate use of a temporary file
28564 and just generate the info file directly. Source it immediately,
28565 for consistency of use.
28566 * gdb.base/corefile.exp: Ditto
28567 * gdb.base/exprs.exp: Ditto.
28568 * gdb.base/funcargs.exp: Ditto.
28569 * gdb.base/langs.exp: Ditto.
28570 * gdb.base/list.exp: Ditto.
28571 * gdb.base/mips_pro.exp: Ditto.
28572 * gdb.base/nodebug.exp: Ditto.
28573 * gdb.base/opaque.exp: Ditto.
28574 * gdb.base/ptype.exp: Ditto.
28575 * gdb.base/scope.exp: Ditto.
28576 * gdb.base/setvar.exp: Ditto.
28577 * gdb.base/signals.exp: Ditto.
28578 * gdb.base/whatis.exp: Ditto.
28579 * gdb.c++/templates.exp: Ditto.
28580 * gdb.c++/virtfunc.exp: Ditto.
28581 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28582 whether or not to add -lstdc++ to the compile command line args.
28583
28584 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28585
28586 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28587 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28588 Increase timeout, a lot of single stepping might be needed if the
28589 target has no hardware watchpoints.
28590
28591 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28592
28593 * gdb.base/break.exp: Ignore compiler warnings when compiling
28594 break.c.
28595 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28596 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28597 from remote-sim.
28598 * gdb.base/exprs.exp: Add h8300 xfails.
28599 * gdb.base/funcargs.exp: Likewise.
28600 * gdb.base/nodebug.exp: Likewise.
28601 * gdb.base/printcmds.exp: Likewise.
28602 * gdb.base/ptype.exp: Likewise.
28603 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28604 h8300 xfails.
28605 * gdb.base/return.exp: Handle float/double precision problems
28606 on the h8300.
28607 * gdb.base/funcargs.c: Explicitly make last constant argument to
28608 call_after_alloca_subr an unsigned long type.
28609 * gdb.base/return.c: Include stdio.h.
28610
28611 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28612
28613 * config/abug.exp: New file for the older Motorola Bug monitor
28614 that runs on the mvme13x series VME boards.
28615 * config/monitor.exp: Use the new config array for target settings
28616 if they exist.
28617
28618 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28619
28620 * sim-gdb.exp: Make the SH simulator allocate less space when
28621 it is targeted.
28622
28623 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28624
28625 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28626 test.
28627
28628 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28629
28630 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28631 "rs6000-*-*" for "list function in include file" when gcc compiled.
28632 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28633 for "p ctable1[120]".
28634 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28635 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28636 Remove setup_xfail for "rs6000-*-*" for
28637 "print 'scope0.c'::filelocal before run".
28638 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28639 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28640 since some compilers don't allow both options to be given
28641 on the same command line. Create object file and move it.
28642
28643 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28644
28645 * gdb.base/corefile.exp: Always regenerate the core file, since
28646 we always regenerate the coremaker program. Detect special case
28647 where registers cannot be read from core file.
28648
28649 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28650
28651 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28652 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28653 * gdb.c++/templates.exp: Only match on basename of file since
28654 some formats like xcoff don't encode directory information.
28655 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28656 and rs6000 AIX xcoff targets.
28657 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28658 * configure: Regenerate.
28659 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28660 here, rather than in distclean.
28661
28662 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28663
28664 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28665 defined, and use it to compile the test case with -O2. The
28666 native compilation still uses no optimization.
28667 * gdb.base/mips_pro.c: Remove inline assembly code since
28668 it is compiled PIC by default, which results in assembler
28669 warnings that make the testsuite think the compilation
28670 was unsuccessful.
28671
28672 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28673
28674 * gdb.c++/misc.exp: Add note to message for
28675 "print s.a for foo struct" that this is a known gcc 2.7.2
28676 and earlier bug.
28677
28678 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28679
28680 * gdb.base/break.exp: Fix pattern for matching "Delete all
28681 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28682 setup_xfail for deleting all breakpoints test. Fix various
28683 timeout messages to include "(timeout)".
28684 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28685 for "p t_float_values2(3.14159,float_val2)".
28686 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28687 for "continue to call2g" when gcc compiled.
28688 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28689 "up to foo in langs.exp", "show language at foo in langs.exp",
28690 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28691 and "show language at fsub in langs.exp".
28692 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28693 "list line 1 in include file", "list message for lines past EOF",
28694 "list function in include file", "list list0.h:foo", and
28695 "list filename:function; nonexistant function".
28696 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28697 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28698 and "ptype t_char_array" to be for native cc only.
28699
28700 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28701
28702 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28703 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28704 "print func2::coremaker_local", and "backtrace in corefile.exp".
28705
28706 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28707
28708 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28709 "bt in signals.exp". This problem only appears when running
28710 the testsuite, and then only intermittently.
28711
28712 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28713
28714 * gdb.base/return.exp (return_tests): Differentiate between
28715 two tests of continuing.
28716
28717 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28718
28719 * */Makefile.in (maintainer-clean): Remove config.log.
28720 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28721 * gdb.c++/Makefile.in (PROGS): Add inherit.
28722 (clean): Remove *.ci.
28723
28724 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28725
28726 * gdb.c++/misc.cc: Add test code from Mike Stump.
28727 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28728
28729 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28730
28731 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28732 to "alpha-*-osf2*" and add comment.
28733 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28734 setup_xfail for "step over execarg initialization" and
28735 "step over corearg initialization".
28736 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28737 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28738 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28739 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28740 "print func2::coremaker_local", and "backtrace in corefile.exp".
28741 * gdb.base/signals.exp: Build and source signals.ci.
28742 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28743 to be for gcc only.
28744 * lib/gdb.exp: Move verbose statements outside conditionals.
28745
28746 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28747
28748 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28749 Feb 3 procfs.c change.
28750
28751 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28752
28753 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28754
28755 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28756
28757 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28758 from dejagnu's apparent default of 10 seconds, which gives random
28759 results when running the tests over NFS on moderately loaded systems.
28760 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28761
28762 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28763
28764 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28765 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28766 result reports.
28767
28768 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28769
28770 * configure.in (CY_AC_PATH_TCLH): Remove.
28771 * configure: Regenerate.
28772
28773 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28774
28775 * gdb.c++/Makefile.in (clean): Add missing '{'.
28776
28777 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28778
28779 * lib/gdb.exp: Provide a default value for noinferior.
28780
28781 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28782 Load libgloss.exp.
28783
28784 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28785
28786 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28787 the executable, not the .o to run the tests from.
28788
28789 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28790
28791 * gdb.base/break.exp: Don't test for program exit or exit status
28792 if $noresults if nonzero.
28793 * gdb.base/langs.exp: Likewise.
28794 * gdb.base/watchpoint.exp: Likewise.
28795
28796 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28797 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28798 trying to compile the testcase.
28799
28800 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28801
28802 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28803 * gdb.base/signals.exp (continue to handler): Likewise.
28804
28805 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28806
28807 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28808
28809 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28810
28811 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28812
28813 * gdb.base/corefile.exp: Recognize "not found" as failure
28814 when trying to determine if a core file was generated.
28815 If no core file was generate the first time, try again without
28816 the ulimit -c to work around braindamaged shells.
28817
28818 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28819
28820 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28821 [] tests with "test" and enclose string in quotes.
28822 * gdb.stabs/configure: Rebuild
28823
28824 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28825
28826 Changes in sync with expect:
28827 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28828 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28829 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28830 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28831 argument to AC_REQUIRE.
28832 * configure: Regenerated.
28833
28834 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28835
28836 * gdb.base/corefile.exp: When generating a core, discard any
28837 error messages about ulimit not found and the "core dumped"
28838 message from the shell that runs the coredumper.
28839
28840 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28841
28842 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28843
28844 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28845 which sed script to run. Expect failure for v_comb test
28846 on PA targets too.
28847
28848 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28849
28850 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28851 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28852
28853 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28854
28855 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28856 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28857 "sparc-sun-solaris*" xfails for "p v_comb".
28858 * lib/gdb.exp (default_gdb_start): Fix typo.
28859 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28860 messages to not include the full program name that caused
28861 the core dump since some systems (such as solaris) apparently
28862 truncate this path to about 80 characters.
28863 When generating a core file first try increasing the core file
28864 size limit to unlimited since some systems may default it to
28865 zero, and it is harmless to try it. Move the test for failing
28866 to generate a core file to where it will actually get executed.
28867 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28868 new gdb result from g++ debug info improvements and make old
28869 pattern obsolescent. Also account for size_t differences
28870 (may be int or long).
28871 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28872 initialization before function call is placed in the delay slot
28873 and thus appears to be skipped over by commands such as "next".
28874
28875 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28876
28877 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28878
28879 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28880
28881 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28882 input source file; fix code to compile test to deal with this
28883 convention.
28884 * gdb.c++/*.exp: Likewise.
28885
28886 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28887
28888 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28889 "bt in signals.exp".
28890
28891 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28892
28893 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28894 "step over execarg initialization" and
28895 "step over corearg initialization".
28896
28897 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28898
28899 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28900 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28901
28902 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28903
28904 From Rob Savoye (rob@poseidon.cygnus.com)
28905 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28906 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28907 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28908 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28909 configure.in}: Major reworking for autoconfig.
28910 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28911 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28912 New files.
28913 * config/unix-gdb.exp: Make GDB global.
28914 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28915 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28916 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28917 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28918 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28919 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28920 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28921 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28922 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28923 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28924 pr-8136.exp, result.exp, string.exp, tuples.exp},
28925 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28926 to returns as necessary, arrange for test to compile own testcase
28927 executable.
28928 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28929
28930 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28931
28932 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28933 clear_xfail at end of test which might not call either pass or fail.
28934 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28935 "backtrace through signal handler".
28936
28937 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28938
28939 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28940 continuing from a job control stop signal.
28941 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28942
28943 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28944
28945 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28946 * gdb.base/corefile.exp: Likewise.
28947 * gdb.base/funcargs.exp: Likewise.
28948
28949 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28950
28951 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28952 * config/monitor.exp: Add support for setting baud rate.
28953
28954 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28955
28956 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28957 i*86-*-linux* xfails for "backtrace through signal handler".
28958 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28959 "print func2::coremaker_local".
28960 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28961 alpha-dec-osf2* xfail for
28962 "delete all breakpoints when none".
28963
28964 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28965
28966 * gdb.base/break.exp: Change test that deletes all breakpoints
28967 when no user breakpoints are installed. A post 4.15 change
28968 causes gdb to no longer prompt in this case.
28969
28970 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28971
28972 * gdb.base/return.exp (return_tests): Change xfail for test
28973 "correct value returned double test" to stop xfailing at
28974 Solaris 2.5. Apparently the bug has been fixed.
28975
28976 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28977
28978 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28979 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28980
28981 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28982
28983 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28984 * gdb.disasm/hppa.s: Corresponding changes.
28985
28986 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28987
28988 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28989 makefile fragment.
28990 * config/mt-hpux: Deleted.
28991
28992 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28993
28994 * Many files: When warning about suppressed tests due to a
28995 nonexistant test binary, avoid incrementing the warning count.
28996
28997 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28998
28999 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29000
29001 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29002
29003 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29004 "sparc-*-solaris2*".
29005
29006 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29007
29008 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29009 Add global and local variables and initialize them.
29010 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29011 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29012 extracts the file name and terminating signal from the core file.
29013 * TODO: Remove note about tests for correct mapping of corefile.
29014 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29015 from optimizing it away.
29016 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29017 handles common blocks.
29018
29019 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29020
29021 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29022 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29023
29024 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29025
29026 * Makefile.in (maintainer-clean): New target, synonym for
29027 realclean.
29028 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29029 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29030 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29031 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29032 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29033 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29034
29035 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29036
29037 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29038 xfails when not gcc compiled for "print foo::funclocal".
29039 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29040 "print foo::funclocal at foo",
29041 "print 'scope1.c'::foo::funclocal at foo",
29042 "print foo::funclocal_bss at foo",
29043 "print 'scope1.c'::foo::funclocal_bss at foo",
29044 "print foo::funclocal_ro at foo",
29045 "print 'scope1.c'::foo::funclocal_ro at foo",
29046 "print bar::funclocal at foo" and
29047 "print 'scope1.c'::bar::funclocal at foo".
29048 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29049 gcc compiled for "print foo::funclocal at bar".
29050 Expand all messages to ensure that they identify that
29051 the test is at bar().
29052 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29053 gcc compiled for:
29054 "ptype on opaque struct pointer (statically)",
29055 "ptype on opaque struct tagname (statically)",
29056 "ptype on opaque struct pointer (dynamically) 1",
29057 "ptype on opaque struct tagname (dynamically) 1",
29058 "ptype on opaque struct pointer (dynamically) 2" and
29059 "ptype on opaque struct tagname (dynamically) 2
29060 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29061 gcc compiled for:
29062 "p datalocal"
29063 "whatis datalocal",
29064 "ptype datalocal",
29065 "p bsslocal",
29066 "whatis bsslocal", and
29067 "ptype bsslocal".
29068 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29069 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29070 when not gcc compiled.
29071 * gdb.base/funcargs.exp (float_and_integral_args): Add
29072 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29073 compiled.
29074 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29075 "backtrace from call6a" when not gcc compiled.
29076 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29077 "backtrace from call7a" when not gcc compiled.
29078 * gdb.base/callfuncs.exp (do_function_calls):
29079 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29080 "p t_char_array_values(char_array_val2,char_array_val1)",
29081 "p t_char_array_values(char_array_val1,char_array_val2)",
29082 "p t_char_array_values("carray 1","carray 2")",
29083 "p t_char_array_values("carray 1",char_array_val2)",
29084 "p t_char_array_values(char_array_val1,"carray 2")",
29085 "p sum_args(1,{2})",
29086 "p sum_args(2,{2,3})",
29087 "p sum_args(3,{2,3,4})",
29088 "p sum_args(4,{2,3,4,5})"
29089 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29090 "backtrace in corefile.exp" when not gcc compiled.
29091
29092 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29093
29094 * gdb.base/signals.exp: Rewrite `handle all print' test as
29095 a procedure. Accept blanks or TABs as whitespace, increase
29096 timeout and expect input buffer size for the large output
29097 from the command. Remove "i*86-*-bsdi2.0" xfail.
29098
29099 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29100
29101 * gdb.base/setvar.exp: Add new testcases for truncation when
29102 assigning invalid values to bitfields.
29103
29104 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29105
29106 * gdb.base/callfuncs.exp (do_function_calls): Remove
29107 mips-sgi-irix* xfail for
29108 "call inferior func with struct - returns char *"
29109 and fix test so that an optional (unsigned char *) cast is
29110 accepted in the result.
29111
29112 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29113
29114 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29115 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29116 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29117 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29118 that accidentally got checked in.
29119
29120 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29121
29122 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29123 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29124 compiled test.
29125 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29126 Add mips-sgi-irix5* xfail for not gcc compiled.
29127 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29128 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29129 compiled for "p top", "whatis top", "p middle", and "whatis
29130 middle".
29131 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29132 "whatis signed char" for not gcc compiled.
29133 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29134 "set variable signed char=-1 (-1)" and
29135 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29136 * gdb.base/funcargs.exp (float_and_integral_args):
29137 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29138 Add mips-sgi-irix* xfail when not gcc compiled for
29139 "continue to call2b".
29140 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29141 "continue to call2g".
29142 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29143 compiled for "backtrace from call6a"
29144 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29145 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29146 when not gcc compiled for "backtrace from call7a".
29147 (localvars_after_alloca): Fix gdb_test cmds for
29148 "print * after runto ...".
29149 Remove rs6000-*-* xfails for
29150 "print i after runto localvars_after_alloca" and
29151 "print l after runto localvars_after_alloca"
29152 for all compilers.
29153 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29154 when not compiled with gcc, for:
29155 "print signed char == (minus)",
29156 "print signed char != (minus)",
29157 "print signed char < (minus)",
29158 "print signed char > (minus)".
29159 * gdb.base/callfuncs.exp (do_function_calls):
29160 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29161 "call inferior func with struct - returns char *".
29162 * gdb.base/return.exp (return_tests): Change xfail for
29163 "correct value returned double test" to include Solaris 2.4.
29164 * gdb.base/funcargs.exp (float_and_integral_args):
29165 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29166
29167 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29168
29169 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29170 enumeration bitfields if compiling with GNU C.
29171 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29172 to empty' prompt.
29173
29174 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29175
29176 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29177 test for PRO targets.
29178
29179 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29180 breakpoints in the inferior at any given time by making
29181 two groups of breakpoints for call2*, call6* and call7*
29182 tests.
29183
29184 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29185
29186 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29187 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29188 from optimizing it away.
29189 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29190 "call inferior func with struct".
29191
29192 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29193
29194 * configure.in: Only configure gdb.chill for particular targets.
29195
29196 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29197
29198 * gdb.base/Makefile.in: Add action to .c.o transformation
29199 rule that generates a .ci file for each .o file and remove
29200 explicit .c.o rules except for callfuncs.o.
29201 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29202 generates a .ci file for each .o file and remove explicit
29203 .cc.o rules.
29204 (clean): Remove *.tmp *.ci files.
29205 (EXECUTABLES): Remove templ-info.exp.
29206 * gdb.base/compiler.c: New file.
29207 * gdb.c++/compiler.cc: New file
29208 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29209 Change rs6000-*-* xfail for
29210 "print 'scope0.c'::filelocal_ro" and
29211 "print 'scope1.c'::filelocal" and
29212 "print 'scope1.c'::filelocal_bss" and
29213 "print 'scope1.c'::filelocal_ro" and
29214 "print 'scope1.c'::foo::funclocal" and
29215 "print 'scope1.c'::foo::funclocal_ro" and
29216 "print 'scope1.c'::bar::funclocal" and
29217 "print 'scope0.c'::filelocal_ro" and
29218 "print 'scope1.c'::filelocal at foo" and
29219 "print 'scope1.c'::filelocal_bss at foo" and
29220 "print 'scope1.c'::filelocal_ro at foo" and
29221 "print 'scope1.c'::foo::funclocal at foo" and
29222 "print 'scope1.c'::foo::funclocal_bss at foo" and
29223 "print 'scope1.c'::foo::funclocal_ro at foo" and
29224 "print 'scope1.c'::bar::funclocal at foo" and
29225 "print 'scope0.c'::filelocal_ro" and
29226 "print 'scope1.c'::filelocal" and
29227 "print 'scope1.c'::filelocal_bss" and
29228 "print 'scope1.c'::filelocal_ro" and
29229 "print 'scope1.c'::foo::funclocal" and
29230 "print 'scope1.c'::foo::funclocal_bss" and
29231 "print 'scope1.c'::foo::funclocal_ro" and
29232 "print 'scope1.c'::bar::funclocal" and
29233 "print 'scope1.c'::bar::funclocal_bss"
29234 to only be xfail'd when not compiled with gcc.
29235 Add rs6000-*-* xfail for
29236 "print 'scope0.c'::filelocal_bss before run"
29237 when compiled with gcc.
29238 (test_at_main): Add rs6000-*-* xfail for
29239 "print filelocal_ro in test_at_main"
29240 when compiled with gcc.
29241 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29242 Add rs6000-*-aix* xfail for
29243 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29244 "ptype t_char_array", not compiled with gcc.
29245 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29246 xfail for "list foo (in include file)" when gcc compiled.
29247 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29248 (integral_args): Add rs6000-*-* xfail for
29249 "run to call0a" if not compiled with gcc.
29250 (unsigned_integral_args): Add rs6000-*-* xfail for
29251 "run to call1a" if not compiled with gcc.
29252 (float_and_integral_args): Add rs6000-*-* xfail for
29253 "run to call2a" if not compiled with gcc and for
29254 "continue to call2b" for any compiler.
29255 Add rs6000-*-* xfail to
29256 "print f1 after run to call2a" for gcc compiled.
29257 (discard_and_shuffle): Add rs6000-*-* xfail for
29258 "run to call6a".
29259 (shuffle_round_robin): Add rs6000-*-* xfail for
29260 "backtrace from call7a" if not compiled with gcc.
29261 Add rs6000-*-* xfail for
29262 "backtrace from call7b" if compiled with gcc.
29263 (call_after_alloca): Add rs6000-*-* xfail for
29264 "print c in call_after_alloca" and
29265 "print s in call_after_alloca" and
29266 "backtrace from call_after_alloca_subr"
29267 if not compiled with gcc.
29268 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29269 "print c in localvars_in_indirect_call" and
29270 "print c in localvars_in_indirect_call" and
29271 "backtrace in indirectly called function" and
29272 "stepping into indirectly called function"
29273 if not compiled with gcc.
29274 (localvars_after_alloca): Add rs6000-*-* xfail for
29275 "print c after runto localvars_after_alloca" and
29276 "print s after runto localvars_after_alloca" and
29277 "print i after runto localvars_after_alloca" and
29278 "print l after runto localvars_after_alloca"
29279 for all compilers.
29280 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29281 than whatis-info.exp.
29282 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29283 than opaque-info.exp.
29284 Setup rs6000-*-* xfail for
29285 "ptype on opaque struct pointer (statically)" and
29286 "ptype on opaque struct pointer (dynamically)" when
29287 not compiled with gcc.
29288 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29289 rather than callf-info.exp.
29290 (do_function_calls): Add clear_xfail for rs6000-*-* for
29291 "p t_float_values2(3.14159,float_val2)". Seems to work
29292 fine there, both with xlc and gcc. Need to find out what
29293 it is doing right and fix other platforms.
29294 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29295 "call inferior func with struct - returns int",
29296 "call inferior func with struct - returns long",
29297 "call inferior func with struct - returns float",
29298 "call inferior func with struct - returns double",
29299 "call inferior func with struct - returns char *",
29300 but only if not gcc compiled (presumes xlc compiled).
29301 Change rs6000-*-* xfails for
29302 "call inferior func with struct - returns char" and
29303 " call inferior func with struct - returns short" to only
29304 xfail if not using gcc.
29305 (clean mostlyclean): Remove *.ci and *.tmp files.
29306 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29307 than templ-info.exp.
29308 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29309 Add rs6000-*-* xfail for "up to foo in langs.exp"
29310 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29311 when not gcc compiled.
29312
29313 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29314
29315 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29316 * gdb.base/corefile.exp: Likewise.
29317 * gdb.base/list.exp: Likewise.
29318 * gdb.base/scope.exp: Likewise.
29319 * gdb.base/siganls.exp: Likewise.
29320
29321 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29322 compiler output.
29323 * gdb.base/whatis.exp: Likewise.
29324
29325 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29326
29327 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29328 failure (opcode table has been fixed to match reality).
29329
29330 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29331
29332 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29333 "call inferior func with struct - returns char",
29334 "call inferior func with struct - returns short"
29335
29336 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29337 "print 'scope0.c'::filelocal at main",
29338 "print 'scope0.c'::filelocal_bss in test_at_main",
29339 "print 'scope0.c'::filelocal at foo",
29340 "print 'scope0.c'::filelocal_bss in test_at_foo",
29341 "print 'scope0.c'::filelocal at bar",
29342 "print 'scope0.c'::filelocal_bss in test_at_bar"
29343
29344 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29345 in source file 1". This bug seems to have been fixed with both
29346 gcc and native cc (was native assembler bug?).
29347
29348 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29349
29350 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29351 "backtrace through signal handler" to "i*86-*-sysv4*".
29352 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29353 continue" case. Add "known SVR4 bug" to fail message.
29354 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29355 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29356 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29357 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29358 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29359 "up to foo in langs.exp", "show language at foo in
29360 langs.exp", "up to cppsub_ in langs.exp", "show
29361 language at cppsub_ in langs.exp", "up to fsub in
29362 langs.exp", and "show language at fsub in langs.exp".
29363 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29364 "bactrace in corefile.exp".
29365 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29366 "call inferior function with struct - returns float" and
29367 "call inferior function with struct - returns double".
29368
29369 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29370
29371 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29372 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29373 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29374 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29375
29376 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29377
29378 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29379 (or overriden) "CHILL" macro rather then bare "gcc".
29380 Also look for ../../gcc/xgcc since that is what we will
29381 actually need, not "Makefile". Remove following assignment
29382 of CHILL to CHILL_FOR_TARGET because that results in
29383 recursive definition.
29384
29385 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29386
29387 * gdb.base/corefile.exp: Change xfail for backtrace in
29388 corefile.exp from linuxaout to all linux.
29389 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29390 cases where we miss the breakpoint at the signal handler
29391 for some reason. Setup xfail for linuxoldld/linuxaout and
29392 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29393 hitting SIGURG breakpoint.
29394 * gdb.base/signals.exp: Setup xfail for "next" acting like
29395 continue to add linuxoldld. Setup xfail for all linux for
29396 "next to handler in signals_tests_1", "backtrace in
29397 signals_tests_1", "continue to func1", "pass SIGUSR1",
29398 and continue to handler".
29399
29400 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29401
29402 * Update all FSF addresses except those in COPYING* files.
29403
29404 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29405
29406 * gdb.base/a2-run.exp: Change messages to be more explicit about
29407 the status of args, and quote binfile in results.
29408
29409 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29410
29411 * gdb.base/callfuncs.exp: Add tests for passing structs to
29412 inferior functions and return various types.
29413 * gdb.base/callfuncs.c: Add functions to receive a struct
29414 and return a member of the struct, in various types.
29415
29416 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29417
29418 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29419
29420 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29421
29422 * config/vxworks29k.exp: New file, sources vxworks.exp.
29423
29424 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29425
29426 * config/gdbremote.exp: New file. Testing framework using
29427 gdbserver.
29428
29429 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29430
29431 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29432 "call function when asleep" and "send end of file".
29433 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29434 for "backtrace in corefile.exp".
29435 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29436 for "backtrace through signal handler".
29437 * gdb.base/corefile.exp: Make sure we actually generate a core file
29438 before trying the core tests. Some systems allow the user to suppress
29439 generation of core files and default to that (linux for example).
29440 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29441 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29442
29443 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29444
29445 * gdb.threads: New directory with some crude multi-threaded
29446 gdb tests (step.exp and step2.exp).
29447 * config/mt-lynx (STEP_EXECUTABLE): Define.
29448 (THREADFLAGS): Define.
29449
29450 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29451
29452 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29453
29454 * gdb.base/signals.exp: Disable whole file for lynx until
29455 further notice.
29456
29457 * gdb.base/signals.exp: xfail test where "next" acts like
29458 "continue" for lynx.
29459
29460 * gdb.base/interrupt.exp: xfail test for calling function while
29461 inferior is asleep for lynx.
29462
29463 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29464 than one cr-lf after each command.
29465
29466 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29467
29468 * configure.in: Reinstate setting of stabsdirs variable, fix
29469 typo in setting up configdirs for native builds.
29470
29471 * gdb.base/return.exp: Fix typo in return double test.
29472 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29473 compiler from optimizing them away.
29474
29475 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29476
29477 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29478 sequences to be echo'd by gdb when using gdb_test.
29479 * gdb.chill/chexp.exp: Likewise.
29480 * gdb.fortran/exprs.exp: Likewise
29481
29482 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29483
29484 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29485 after the inferior gdb has started.
29486
29487 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29488 after each command.
29489 * gdb.base/funcargs.exp: Likewise.
29490 * gdb.base/gdbvars.exp: Likewise.
29491 * gdb.base/interrupt.exp: Likewise.
29492 * gdb.base/list.exp: Likewise.
29493 * gdb.base/watchpoint.exp: Likewise.
29494 * gdb.c++/demangle.exp: Likewise.
29495 * gdb.c++/inherit.exp: Likewise.
29496 * gdb.chill/chexp.exp: Likewise.
29497 * gdb.fortran/exprs.exp: Likewise.
29498
29499 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29500 test if we can't handle IO to/from the inferior.
29501
29502 * gdb.c++/misc.exp: Always check for a program already being
29503 started after sending a "run" command to gdb.
29504
29505 * gdb.base/twice.exp: Start with a fresh gdb.
29506
29507 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29508 only depend on gdb's expression code, not the chill runtime.
29509
29510 * gdb.base/return.c: Put return values into variables so we
29511 can have gdb print them rather than depending on the program
29512 to print them.
29513 * gdb.base/return.exp: Corresponding changes.
29514
29515 * lib/gdb.exp: Provide default value for noinferiorio.
29516 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29517 the inferior.
29518
29519 * gdb.base/break.exp: Always check for a program already being
29520 started after sending a "run" command to gdb.
29521 (text_next_with_recursion): Don't check the output from the
29522 program's printf statement. Instead just make sure the program
29523 exited.
29524
29525 * gdb.base/commands.exp: Protect tests which need arguments with
29526 $noargs conditionals.
29527
29528 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29529
29530 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29531 of structure member arrays to match gdb/valops.c:value_addr change.
29532
29533 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29534
29535 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29536 cases.
29537
29538 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29539
29540 * configure.in (configdirs): Remove gdb.chill from default list
29541 of subdirs and then add it back in only if doing a native build.
29542 The current chill compiler does not yet work in any cross build.
29543 * Revert all signal changes from Jul 6.
29544 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29545 for sh-hms targets, allowing these tests to link, with no other
29546 changes. Testing is suppressed by setting "nosignals" in site.exp.
29547
29548 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29549
29550 * configure.in (signaldirs): Define and add to configdirs for all
29551 targets except some specific ones that are known to not support signals.
29552 Also clean up formatting.
29553 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29554 (signals, sigall): Remove rules to build.
29555 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29556 Moved to new gdb.signals directory.
29557 * gdb.signals: New test directory.
29558 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29559 signals.c signals.exp}: New or moved files.
29560
29561 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29562
29563 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29564
29565 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29566
29567 * gdb.base/return.exp: Xfail `return double' test failure
29568 on at least Solaris 2.3 and handle future/past versions on
29569 a case by case basis as appropriate. Also update message
29570 to include i*86 failures.
29571
29572 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29573
29574 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29575
29576 * lib/gdb.exp: Fix comment which erroneously identified
29577 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29578 gdb_file_cmd not gdb_load).
29579 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29580
29581 * gdb.base/setvar.exp: Make test names consistent between pass and
29582 fail cases. Use gdb_test more.
29583
29584 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29585
29586 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29587
29588 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29589
29590 * gdb.base/help.exp: Fix expected help string for `show commands'.
29591
29592 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29593
29594 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29595
29596 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29597 of a text section.
29598
29599 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29600
29601 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29602 that loop eventually terminates. Fix Connection refused logic so
29603 that testsuite will expire nicely.
29604
29605 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29606
29607 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29608 config/rom68k.exp: New tcl glue for the appropriate monitors.
29609 These all just end up calling monitor.exp.
29610 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29611 refused' by retrying. Cleanup some timeout issues.
29612 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29613 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29614 callers don't have to set/restore global timeout variable.
29615
29616 * The following set of changes centralizes management of the global
29617 timeout variable. This way, it can be set in one target dependent
29618 place instead of dozens of places scattered throughout the test suite.
29619 If you need to lengthen a timeout, then you should either set timeout
29620 in one of the config/{target}.exp files, or multiply it by a factor.
29621 Setting it to an absolute value is always going to lose for some
29622 targets.
29623 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29624 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29625 * gdb.base/funcargs.exp: Don't set timeout.
29626 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29627 * gdb.base/printcmds.exp (test_print_string_constants
29628 test_print_array_constants): Don't set timeout.
29629 * gdb.base/ptype.exp: Don't set timeout.
29630 * gdb.base/recurse.exp: Don't set timeout.
29631 * gdb.base/return.exp: Don't set timeout.
29632 * gdb.base/watchpoint.exp: Don't set timeout.
29633 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29634 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29635
29636 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29637
29638 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29639
29640 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29641
29642 * lib/gdb.exp: Disable chill tests for irix5.
29643
29644 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29645
29646 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29647 each test pass or fail.
29648
29649 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29650
29651 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29652 xlc not gcc.
29653
29654 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29655
29656 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29657
29658 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29659
29660 * config/est.exp: Fix copyright and comments. Remove dead code.
29661 Use targetname, serialport and baud variables instead of fixed
29662 constants.
29663 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29664 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29665
29666 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29667
29668 * gdb.base/watchpoint.exp: Don't run
29669 test_watchpoint_triggered_in_syscall for sunos.
29670
29671 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29672
29673 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29674 they don't seem to exist. Do include stdio.h.
29675
29676 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29677
29678 * gdb.base/a1-selftest.exp: Add alpha xfail.
29679
29680 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29681
29682 * gdb.base/watchpoint.c (main): Prompt before calling read().
29683 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29684 Revise accordingly. Remove cruft about sending "123" several
29685 times, until it gets noticed. Clean up the "print buf[0]" stuff
29686 so that it passes or fails, and waits for prompts in the usual way.
29687
29688 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29689
29690 * gdb.base/recurse.exp: Fix comment.
29691
29692 * TODO: Remove item about printing variables in nodebug.exp. Add
29693 item about enabling tests which are only run on some targets.
29694
29695 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29696 fail, make test names unique, use new gdb_test convention
29697 regarding pattern, use gdb_test more, etc.).
29698
29699 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29700 fail, make test names unique, etc.).
29701
29702 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29703
29704 * gdb.base/nodebug.c: Change return type of top and middle to
29705 short.
29706 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29707 are fixed by the recent mdebugread.c changes. Allow `short ()'
29708 as type for top and middle.
29709
29710 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29711
29712 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29713 nearly as I can tell, the whole thing was an accident in Stu's
29714 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29715 to replace a send/expect pair with gdb_test, but ended up only
29716 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29717 of 30 Mar 1995 took care of it, but left this vestigial comment
29718 which I am now nuking.
29719
29720 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29721
29722 * gdb.base/break.exp: Look for different line number for
29723 breakpoint at main depending on usestubs.
29724
29725 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29726
29727 * gdb.base/list.exp: Adjust some alternate expect patterns to
29728 match recent list0.c change. Add alternate expect pattern for
29729 output from `list default lines around main' for optimizing
29730 compilers.
29731
29732 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29733
29734 * lib/gdb.exp: If nosignals is not set, set it to 0.
29735
29736 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29737
29738 * config/slite-gdb.exp: Responds to load symbol table prompt.
29739 * gdb.base/break.exp: Adjust line number, fix rerun.
29740 * gdb.base/langs0.c: Add #ifdef usestubs.
29741
29742 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29743
29744 * gdb.base/list.exp: Adjust line contents after adding new lines in
29745 list0.c. Also fix a syntax error.
29746
29747 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29748 * gdb.base/break.exp: ditto.
29749 * gdb.base/list.exp: ditto.
29750 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29751 * gdb.base/run.c: ditto.
29752 * gdb.base/list0.c: ditto.
29753 * gdb.base/funcargs.c: ditto.
29754
29755 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29756
29757 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29758 $targetname, $serialport and $baud instead of hardwired variables.
29759 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29760 target doesn't support signals.
29761
29762 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29763
29764 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29765
29766 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29767
29768 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29769 Don't rely on the value of an auto variable before it has been
29770 initialized. Use gdb_test more.
29771
29772 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29773
29774 * lib/gdb.exp (default_gdb_version): A version number must start
29775 with a digit, but other than that contains all characters up to
29776 the first whitespace character.
29777
29778 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29779
29780 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29781
29782 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29783
29784 * gdb.c++/*.exp: Warn if executable does not exist. The original
29785 reason for skipping the warning was that configure.in sometimes
29786 intentionally skipped building the executables but the tcl code
29787 had no way of knowing. That (a) was always bogus with respect to
29788 error handling, (b) is no longer true (right now there is no way
29789 to skip C++ tests).
29790
29791 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29792
29793 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29794
29795 * gdb.base/list.exp: Add expect patterns for output from
29796 SunPRO compiled executables.
29797 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29798 types.
29799
29800 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29801
29802 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29803 number (we are already testing that the correct source line text
29804 gets printed).
29805
29806 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29807 that is what is intended, but something needed to be done to get
29808 sunos4 native working again.
29809
29810 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29811
29812 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29813 apparently went with a (very) old xfail.
29814
29815 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29816
29817 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29818 runto_main is a proc in gdb.exp that will do 'step' for target use
29819 stubs.
29820 * gdb.base/exprs.exp: ditto.
29821 * gdb.base/interrupt.exp: ditto.
29822 * gdb.base/opaque.exp: ditto.
29823 * gdb.base/printcmds.exp: ditto.
29824 * gdb.base/ptype.exp: ditto.
29825 * gdb.base/scope.exp: ditto.
29826 * gdb.base/setvar.exp: ditto.
29827 * gdb.base/signals.exp: ditto.
29828 * gdb.base/twice.exp: ditto.
29829 * gdb.c++/classes.exp: ditto.
29830 * gdb.c++/inherit.exp: ditto.
29831 * gdb.c++/templates.exp: ditto.
29832 * gdb.base/break.exp: no run and hit main for stubs. Change line
29833 numbers for breakpoints and info breakpoint.
29834 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29835 breakpoint().
29836 * gdb.base/callfuncs.c: ditto.
29837 * gdb.base/exprs: ditto.
29838 * gdb.base/interrupt.c: ditto.
29839 * gdb.base/opaque0.c: ditto.
29840 * gdb.base/printcmds.c: ditto.
29841 * gdb.base/ptype.c: ditto.
29842 * gdb.base/scope0.c: ditto.
29843 * gdb.base/setvar.c: ditto.
29844 * gdb.base/signals.c: ditto.
29845 * gdb.base/twice.c: ditto.
29846 * gdb.c++/misc.cc: ditto.
29847 * gdb.c++/templates.cc: ditto.
29848
29849 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29850
29851 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29852
29853 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29854 somewhere between `read' and `main.c'. I'm pretty sure the
29855 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29856 and it isn't particularly useful.
29857
29858 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29859
29860 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29861
29862 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29863
29864 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29865
29866 * config/mt-slite: add LIBS and -nostdlib.
29867 * config/slite-gdb.exp: add this new file to support sparclite target.
29868
29869 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29870
29871 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29872
29873 * gdb.base/a2-run.exp: Change argument to istarget from
29874 "*-*-vxworks" to "*-*-vxworks*".
29875 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29876
29877 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29878
29879 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29880 will not runto main but do a 'step' to step out of breakpoint().
29881 * config/mt-slite: add -Dusestubs.
29882
29883 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29884
29885 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29886 instead of just @.
29887
29888 * gdb.base/signals.exp: Add test for "handle all print".
29889 * TODO: Remove "handle all print". Also remove item about
29890 checking copyright date (I don't like the idea of a spurious FAIL
29891 based on when we run the tests).
29892
29893 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29894 for SunOS4 (reason for failure not investigated). Remove
29895 redundant test for $binfile.
29896
29897 * gdb.base/nodebug.c (array_index): Call malloc.
29898
29899 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29900
29901 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29902
29903 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29904 conventions and slightly simplify the matching regexp.
29905
29906 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29907
29908 * gdb.base/break.exp: Update gdb_test invocation to use new
29909 convention.
29910
29911 * lib/gdb.exp: If noargs is not set, set it to 0.
29912
29913 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29914 tests unique.
29915
29916 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29917
29918 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29919
29920 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29921 one argument of type "<non-float parameter>".
29922
29923 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29924
29925 * config/rom68k.exp: New file to support Motorola IDP board.
29926 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29927 * gdb.base/break.c: Change things around so that this program
29928 doesn't depend upon args. This is necessary to make remote
29929 targets work (in general, they can't take args).
29930 * gdb.base/break.exp: Don't try to send args to program. Don't
29931 expect output. Also, replace lots of code with gdb_test.
29932
29933 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29934
29935 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29936 printing of '\'' (which is what the comment says we are testing,
29937 even though we were not), not '''.
29938 (test_integer_literals_rejected): Test that printing ''' is an error.
29939
29940 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29941 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29942 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29943 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29944 Use gdb_test not test_print_accept.
29945 * lib/gdb.exp: Remove test_print_accept.
29946
29947 * gdb.base/signals.exp (signal_tests_1): Make pass message
29948 consistent with fail message.
29949
29950 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29951 unsigned char; the bug (PR 1821) is fixed.
29952
29953 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29954
29955 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29956 successful tests--makes xfailing them work right.
29957
29958 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29959
29960 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29961 only \r\n, not .*. The test can pass .* as the last thing in
29962 $pattern if that is what it wants. In addition to providing this
29963 flexibility, this change should speed up pattern matching in cases
29964 where the pattern already ended with .* (there were a number of
29965 them). This change also helps catch bad patterns--in the old
29966 scheme the typo "char \*" instead of "char \\*" would pass. Now
29967 it is caught.
29968 * Many .exp files: Update callers.
29969
29970 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29971 clearer and does not spuriously match multiple ('s. Likewise for
29972 ) and *.
29973
29974 * gdb.base/nodebug.exp: Test ability to call a function and pass
29975 it a string (even with no debugging info).
29976
29977 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29978 "p '\'", which is the same as "p ''" once tcl gets done with
29979 quoting, to "p '\\'", which I suspect is what is intended (one
29980 backslash gets sent to GDB).
29981
29982 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29983
29984 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29985
29986 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29987 1817) was fixed literally years ago.
29988
29989 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29990
29991 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29992 test, it causes stepping out of call_after_alloca_subr with
29993 optimizing compilers.
29994 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29995 fails.
29996
29997 * gdb.c++/templates.exp: Source templ-info.exp only if
29998 the templates executable exists.
29999
30000 * gdb.c++/misc.cc (class Contains_static_instance,
30001 class Contains_nested_static_instance),
30002 gdb.c++/classes.exp (test_static_members): Test printing of
30003 a class that contains a static instance of the class.
30004
30005 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30006
30007 * gdb.base/langs2.c (cppsub_): Don't prototype.
30008 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30009 only, I believe).
30010
30011 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30012
30013 * lib/gdb.exp (skip_chill_tests): New procedure.
30014
30015 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30016
30017 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30018
30019 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30020 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30021
30022 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30023
30024 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30025
30026 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30027 disassemble 8, not 16, instructions for part 4.
30028
30029 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30030 support the latter anymore.
30031
30032 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30033 -DNO_PROTOTYPES.
30034 * gdb.base/callfuncs.c: Control use of prototypes based on
30035 NO_PROTOTYPES, not __STDC__.
30036 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30037 t_float_values2 tests if prototypes in use.
30038
30039 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30040 t_double_values): When checking differences against DELTA, check
30041 that difference is within the range (-DELTA,DELTA), not just
30042 (-infinity,DELTA).
30043
30044 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30045
30046 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30047 'file' command firts, then 'target', then 'load', this is due to gdb
30048 target set up.
30049 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30050
30051 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30052
30053 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30054 FP load/store variants.
30055 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30056
30057 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30058
30059 * gdb.base/term.exp: Do not give a warning if not native, it is
30060 not an abnormal condition.
30061
30062 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30063
30064 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30065 t_char_array".
30066
30067 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30068
30069 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30070 are getting the version number.
30071
30072 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30073 if not native, it is not an abnormal condition.
30074
30075 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30076
30077 * lib/gdb.exp: Just use "file exists", rather than undocumented
30078 dejagnu procedure "findfile".
30079
30080 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30081
30082 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30083 (LDFLAGS): Set to -Xlinker -Ur.
30084
30085 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30086 Removed, these values are set by lib/gdb.exp.
30087
30088 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30089
30090 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30091
30092 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30093 of replicating gdb startup code.
30094
30095 * config/mt-vxworks (LDFLAGS): Set to -r.
30096 (CFLAGS_FOR_TARGET): Removed.
30097
30098 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30099 (gdb) and gdb for vxworks uses (vxgdb).
30100
30101 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30102 executable is not in the tree and host != target, use sed and
30103 program_transform_name to determine the gdb name used by the
30104 target.
30105
30106 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30107 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30108
30109 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30110
30111 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30112 floats, chars, and shorts where there are ANSI-style function
30113 definitions.
30114
30115 * gdb.base/langs.exp, gdb.base/langs*: New test.
30116 * gdb.base/Makefile.in: Build it.
30117 * TODO: Remove item about checking that C names don't get C++
30118 demangling applied; this test tests it.
30119
30120 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30121
30122 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30123 went with the const70 xfail. The xfail went away a year ago.
30124
30125 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30126
30127 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30128 for hp300.
30129
30130 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30131
30132 * gdb.base/a1-selftest.exp: Don't run on hp300.
30133
30134 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30135
30136 * Makefile.in (site.exp): Set host_alias and target_alias as well
30137 as host_triplet and target_triplet.
30138
30139 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30140
30141 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30142
30143 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30144 places as other ecoff systems).
30145
30146 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30147 ultrix.
30148
30149 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30150
30151 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30152 remove them.
30153 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30154 variable and "variable" in addition to "data variable".
30155 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30156
30157 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30158 2.
30159 * gdb.base/list1.c (long_line): Add additional statement at start
30160 of function.
30161 * gdb.base/list.exp (test_forward_search): Update line number to
30162 reflect new statement.
30163
30164 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30165
30166 * gdb.base/signals.exp: Reinitialize searched source directories
30167 after gdb_start call.
30168
30169 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30170
30171 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30172 * gdb.stabs/Makefile.in: Likewise.
30173
30174 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30175 change. Instead split the tests into smaller pieces.
30176 * gdb.disasm/hppa.s: Corresponding changes.
30177
30178 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30179
30180 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30181 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30182
30183 * gdb.base/funcargs.exp: Modify many tests so that every test
30184 either passes or fails. Make some test names unique.
30185
30186 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30187
30188 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30189 Call stty to set interrupt character.
30190
30191 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30192 for HP assembler versus GNU assembler based on actual behavior of
30193 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30194
30195 * TODO: Suggest a few more stepping tests.
30196
30197 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30198
30199 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30200 restart GDB for h8300 after a continue.
30201 (return): Add pattern to match a29k-udi behavior.
30202 * gdb.base/nodebug.exp: Remove obsolete comment.
30203 * gdb.base/regs.exp: New file, testing of register displays.
30204 * gdb.base/return.exp: Fix typo in reference to $objdir.
30205 * gdb.base/whatis.exp: Always start with a fresh GDB.
30206
30207 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30208
30209 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30210 higher, these tests generate a lot of output.
30211
30212 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30213
30214 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30215 code following the catch silently ignored some errors; without the
30216 catch they should be thrown like any other tcl error. Also, the
30217 catch used "" instead of {} which meant all the callers who wanted
30218 to include one of the characters "[]$ had to quote it an extra time.
30219 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30220 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30221 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30222 Remove extra quoting.
30223
30224 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30225
30226 * gdb.base/commands.exp: Make test names unique; every test either
30227 passes or fails. Update some comments.
30228
30229 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30230
30231 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30232
30233 The following fixes a FAIL caused by the fact that the alpha stabs
30234 configuration didn't use the ".if alpha" code in weird.def.
30235 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30236 bit pointer, so the 32 bit version works even on the alpha.
30237 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30238 Remove the stuff which allowed us to have separate versions for
30239 alpha and everything else.
30240
30241 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30242 regexp which "info func operator\[\](" is supposed to match. Fix
30243 string to send to GDB. Note that GDB still doesn't work right. Add a
30244 new test for "info func .perator\[\](" which GDB does handle correctly.
30245
30246 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30247
30248 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30249
30250 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30251 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30252 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30253 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30254 it makes the tests harder to understand and confuses test-o-matic.
30255 The preferred style is that each test provides a PASS or a FAIL,
30256 and has a unique message (e.g. "continue #54" not just "continue")
30257 which is the same for the pass and the fail.
30258 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30259 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30260 to lib/gdb.exp.
30261 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30262 prt_accept which was basically the same thing. Likewise for
30263 test_print_reject and prt_reject.
30264 * lib/gdb.exp (test_print_reject): Add some more error message
30265 patterns to match from the former printcmds.exp (prt_reject).
30266 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30267 One defect of the passcount stuff is that some of it failed to
30268 report XPASS where appropriate.
30269 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30270 stuff before and after arg in expected pattern.
30271 (test_paddr_operator_functions): Re-do test without print_addr_of;
30272 this is the only test which seems to want extra stuff there.
30273
30274 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30275
30276 * gdb.base/nodebug.exp: Update new tests to reflect improved
30277 wording of gdb output.
30278
30279 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30280 and "ptype" work on variables in files compiled without -g.
30281 Replaces commented out "maint print msymbol" tests.
30282
30283 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30284
30285 * gdb.base/setvar.c (dummy): Call malloc.
30286
30287 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30288 losing with the irix4 sed.
30289
30290 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30291 ALRM" on irix4.
30292
30293 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30294
30295 * TODO: Remove items about corefile.exp testing new exec-file and
30296 backtrace; both are now done. Add items about printing enums.
30297
30298 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30299
30300 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30301 "get signal $thissig" test fails.
30302
30303 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30304
30305 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30306
30307 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30308 compiler warning with dec alpha compiler.
30309
30310 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30311 extra \n from gdb_test call (this explains why the prompt test
30312 that I removed yesterday was there).
30313 (user_defined_command_test): Remove extra \n and prompt test.
30314
30315 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30316 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30317 doesn't exist.
30318 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30319 Also remove alpha workaround, which turns out to be because
30320 SIGABRT == SIGLOST.
30321
30322 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30323
30324 * gdb.base/help.exp: Don't test "help show".
30325
30326 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30327
30328 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30329 "set print address" is on.
30330 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30331 pass prompt to gdb_test; gdb_test already looks for the prompt.
30332
30333 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30334
30335 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30336 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30337 was to make sure that gdb can read a core file. But (a) the "read
30338 the corefile" part didn't make it to a1-selftest.exp, we just
30339 delete the corefile after creating it, and (b) we test reading
30340 corefiles in corefile.exp anyway. Also, this test left around a
30341 xgdb process on Solaris.
30342
30343 * gdb.base/corefile.exp: Also test backtrace.
30344
30345 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30346
30347 * gdb.base/commands.exp: Test a simple user defined command with
30348 arguments and if/while statements; verify the full user command is
30349 printed by "show user".
30350
30351 * gdb.base/commands.exp: Test if/while commands as part of a
30352 breakpoint command list; verify they appear in breakpoint
30353 information.
30354
30355 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30356
30357 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30358 than by dividing by zero.
30359
30360 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30361
30362 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30363 performing an inferior call with watchpoints enabled.
30364 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30365 call.
30366
30367 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30368
30369 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30370 of "file" command.
30371
30372 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30373 Add additional pattern for when "int operator int(void);" appears
30374 in a different order.
30375
30376 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30377
30378 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30379
30380 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30381 and "signal" with ".*".
30382
30383 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30384
30385 * TODO: Add note about "handle all nostop".
30386
30387 * gdb.base/{sigall.c, sigall.exp}: New test.
30388 * gdb.base/Makefile.in: Add it.
30389
30390 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30391
30392 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30393 when invoking GDB, suppresses any windowing interface.
30394
30395 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30396
30397 * config/sim-gdb: New file, simulator testing support.
30398
30399 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30400
30401 * gdb.base/interrupt.exp: Test calling func1 twice.
30402
30403 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30404
30405 * gdb.base/list.exp (test_forward_search): Set timeout higher
30406 when we'll be getting lots of output from gdb.
30407
30408 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30409 "init_malloc" to after the expect statement. Run it if that
30410 regexp is taken, but also for two others which happen if source
30411 cannot be found.
30412
30413 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30414
30415 * gdb.base/printcmds.exp: New test, for printing register before
30416 program is running.
30417
30418 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30419
30420 * gdb.base/list.exp: Correct some alternate expect patterns
30421 to reflect changes in list1.c.
30422
30423 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30424
30425 * TODO: Add item regarding large frames.
30426
30427 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30428
30429 * TODO: Remove item about enabling return.exp; it
30430 is enabled. Suggest a few more "return" tests.
30431
30432 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30433
30434 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30435 anonymous unions.
30436
30437 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30438
30439 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30440 and pr-5646.o, so "make" is the same as "make all", not "make
30441 pr-4975.o".
30442
30443 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30444
30445 * gdb.base/list.exp: Adjust expectations to reflect changes in
30446 list1.c.
30447 (test_forward_search): New test proc.
30448 * gdb.base/list1.c (long_line): New function, has long source line.
30449
30450 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30451
30452 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30453 additional line of code that was added.
30454
30455 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30456
30457 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30458 tests so as not to overflow expect's input buffers.
30459 * gdb.disasm/hppa.exp: Corresponding changes.
30460
30461 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30462
30463 Beginnings of template debugging tests.
30464 * gdb.c++/templ-info.cc: New file to test for template
30465 debugging capability of the compiler.
30466 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30467 templ-info.cc.
30468 * gdb.c++/templates.cc: Add explicit template instantiations
30469 to enable compiling with -fno-implicit-templates. Add destructor
30470 and 'value' method to T5 class for template tests.
30471 * gdb.c++/templates.exp: Add testcases for printing of template
30472 types, setting breakpoints on template methods and calling a
30473 template method.
30474
30475 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30476
30477 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30478 branch target since some assemblers (gas-2.5) may emit a
30479 relocation for the branch instead of resolving it in the
30480 assembler.
30481
30482 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30483
30484 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30485 through signal handler.
30486
30487 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30488
30489 * configure.in (*-*-netware): Use config/mt-netware.
30490
30491 * config/mt-netware: New file.
30492 * config/mt-i386-netware: Removed, separate configs for different
30493 netware architectures are no longer needed now that we have
30494 --with-headers.
30495
30496 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30497
30498 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30499 by the recent changes to use ANSI C arithmetic conversions.
30500
30501 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30502
30503 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30504 bug involving using inferior_pid to figure out whether to select a
30505 frame.
30506
30507 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30508
30509 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30510 match the current disassembler output.
30511
30512 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30513
30514 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30515 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30516 types, expect "int" as type of integer values (for now).
30517
30518 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30519
30520 * gdb.base/commands.exp: New tests for if/while commands.
30521
30522 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30523
30524 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30525 by .*, since hex values have different syntax in Chill mode.
30526
30527 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30528
30529 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30530 linefeed from expect pattern for repeated types with indices > 9.
30531
30532 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30533
30534 First part of Fortran test suite.
30535 * gdb.fortran: New directory.
30536 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30537
30538 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30539
30540 * gdb.base/default.exp: Update expect pattern for load command
30541 without arguments.
30542
30543 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30544
30545 * configure.in: Change i386 to i[345]86.
30546 * gdb.base/configure.in: Likewise.
30547 * gdb.c++/configure.in: Likewise.
30548 * gdb.chill/configure.in: Likewise.
30549
30550 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30551
30552 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30553 patterns, since that is not a valid context for comments.
30554
30555 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30556
30557 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30558 repeated types and repeated types with indices > 9.
30559
30560 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30561
30562 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30563 2417; old bug has been fixed.
30564
30565 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30566
30567 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30568 send the newline ourselves instead of assuming gdb_test will do
30569 so when passed an empty input string.
30570
30571 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30572 stabs testcode.
30573
30574 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30575
30576 * lib/gdb.exp (gdb_test): Don't send anything if the first
30577 argument is an empty string. This makes cases where we want to
30578 match output that is already in expect's buffers (for example,
30579 matching a breakpoint after gdb_run_cmd has been called) work
30580 reliably.
30581
30582 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30583
30584 * config/netware.exp: New file.
30585
30586 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30587
30588 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30589 the -B and -L prefixes so we can find the debugging stub.
30590
30591 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30592 there and we are using the gcc from the tree.
30593
30594 * gdb.base/types.c: Removed.
30595
30596 * gdb.base/configure.in: Look for makefile fragments in ../config.
30597 Recognize i386-*-netware.
30598 * gdb.c++/configure.in: Likewise.
30599
30600 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30601
30602 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30603 the correct TCL syntax.
30604
30605 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30606
30607 * gdb.base/opaque.exp: use runto instead of messing around with
30608 breakpoints. Simplify by using gdb_test.
30609
30610 * gdb.base/bitfields.exp: restart between tests on netware targets
30611 because breakpoints aren't relocated after target death. Run
30612 processes to completion.
30613
30614 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30615
30616 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30617
30618 * Makefile.in: Remove extra tabs that confuse some versions
30619 of "make". Use the newly built gdb to test with by default,
30620 rather than the first one in the tester's search path.
30621
30622 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30623
30624 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30625
30626 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30627 condition help.
30628
30629 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30630
30631 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30632
30633 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30634 running.
30635 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30636 * gdb.base/funcargs.exp: Likewise.
30637
30638 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30639 * gdb.base/funcargs.exp: Likewise.
30640
30641 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30642 message is "".
30643
30644 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30645
30646 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30647 return,signals,twice}.exp: Handle non-existant binaries
30648 consistantly.
30649
30650 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30651 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30652 might testing a cross development system.
30653
30654 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30655
30656 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30657 runtest script is relative to ${srcdir}, not ${rootdir}.
30658
30659 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30660
30661 * gdb.base/signals.exp: Allow for optionality of breakpoint
30662 address.
30663
30664 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30665
30666 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30667
30668 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30669
30670 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30671 for size_t definition.
30672 * gdb.c++/templates.cc: Likewise
30673
30674 * config/mt-i386-netware: New file.
30675
30676 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30677 defined.
30678
30679 * gdb.base/Makefile.in: Added support for systems that name core
30680 files by appending "core" to the program name.
30681 * gdb.base/a1-selftest.exp: Likewise.
30682
30683 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30684
30685 * gdb.base/return.exp: Add comment and message for `return double'
30686 test failure on Sparc Solaris.
30687
30688 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30689
30690 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30691
30692 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30693
30694 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30695 from optimizing them away.
30696 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30697 patterns to include default constructors and assignment operators,
30698 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30699 character in the output of the virtual base pointer.
30700
30701 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30702
30703 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30704 expression match in print_addr_of to avoid unintented matches.
30705 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30706 versions up to 2.5.8.
30707
30708 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30709
30710 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30711 included file to run under newer versions of expect.
30712 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30713 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30714 Remove xfail for the virtual table of BDDHookV.
30715
30716 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30717
30718 * lib/gdb.exp (string_to_regexp): Set a default result.
30719 (default_gdb_start): Fix misleading message.
30720
30721 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30722
30723 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30724 Remove all CC, etc definitions.
30725 * config/mt-hpux: New file.
30726 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30727 (CFLAGS, LDFLAGS): Define.
30728 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30729
30730 * Makefile.in (site.exp): Don't insert host_os, etc.
30731 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30732 (distclean): Check existence of subdir.
30733 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30734 * gdb.base/Makefile.in: General cleanup and simplification.
30735 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30736 to build executables. Use default rule to build .o files.
30737 (EXPECT, RUNTEST, CC): Fix relative pathname.
30738 (site.exp): Don't insert host_os, etc.
30739 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30740 and/or SIGUSR1 defined.
30741 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30742 * gdb.c++/Makefile.in: General cleanup and simplification.
30743 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30744 (CFLAGS): Remove.
30745 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30746
30747 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30748
30749 * gdb.base/recurse.exp: Misc changes to get tests running again
30750 after Kung's changes to the watchpoint code.
30751 * gdb.base/watchpoint.exp: Likewise.
30752
30753 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30754
30755 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30756
30757 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30758
30759 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30760 * lib/gdb.exp (default_gdb_start): Define.
30761 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30762 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30763 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30764 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30765 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30766 Don't call gdb_target_udi in between tests.
30767
30768 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30769
30770 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30771 (which was basically just a local version of the same thing). In
30772 addition to avoiding duplication, gdb_test_exact is faster.
30773 * lib/gdb.exp (gdb_test_exact): Fix typo.
30774
30775 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30776 don't give an error.
30777
30778 * gdb.base/term.exp: Call delete_breakpoints before starting.
30779
30780 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30781 (t10): Add comment.
30782
30783 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30784
30785 Reorganization of the GDB Test Suite.
30786
30787 * gdb.base: New directory, contains all the basic tests.
30788 * gdb.c++: New directory, tests specific to C++.
30789 * gdb.chill: New directory, tests specific to Chill.
30790 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30791 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30792 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30793 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30794 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30795 t30-31 to chill).
30796 * */gdbme.*: Rename to match appropriate expect scripts.
30797 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30798 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30799 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30800 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30801 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30802 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30803 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30804 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30805 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30806 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30807 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30808 gdb.c++/virtfunc.cc: New names of C++ files.
30809 * gdb.chill/chillvars.ch: New name of Chill file.
30810 * gdb.base/configure.in, gdb.c++/configure.in,
30811 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30812 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30813 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30814 * configure.in (configdirs): Update to reflect directory changes.
30815 (target_abbrev): No longer define for any configuration.
30816 * Makefile.in: Cosmetic improvements to header comments.
30817
30818 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30819
30820 Various changes to gdb.t31:
30821
30822 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30823 * gdbme.ch: Make all key-words and predefineds be upper-case.
30824 * chillvars.exp: Expect key-words and predefinds in upper-case.
30825
30826 * chillvars.exp: Use gdb_test_exact many places.
30827 Change expected output for arrays (which now includes index labels).
30828
30829 * pr-5020.exp, gdme.ch (module PR_5020):
30830 New test, for PR-5020.
30831
30832 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30833
30834 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30835 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30836
30837 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30838
30839 * Makefile.in: Fix bit-rot in definitions of CHILL,
30840 CHILL_FOR_TARGET and Chill_LIB.
30841 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30842 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30843 CHILL, and CHILL_LIB.
30844
30845 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30846
30847 * Revert the previous changes. Please see Rob's directory
30848 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30849
30850 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30851
30852 * Makefile.in, configure.in, config/mips-gdb.exp,
30853 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30854 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30855 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30856 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30857 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30858 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30859 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30860 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30861 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30862 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30863 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30864 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30865 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30866 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30867 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30868 changes from 94Q1.
30869
30870 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30871
30872 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30873 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30874 Rob's new testing fragments.
30875
30876 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30877
30878 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30879 lib/gdb.exp: Replace error proc calls with perror.
30880
30881 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30882
30883 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30884 version also, match on casted version strings, and match on
30885 gdb startup case where the line numbers might be messed up.
30886
30887 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30888
30889 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30890 (CFLAGS): Delete it from here.
30891
30892 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30893
30894 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30895
30896 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30897
30898 * Makefile.in (RUNTEST): Default to just "runtest".
30899
30900 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30901
30902 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30903 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30904 the code has been restructured.
30905
30906 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30907
30908 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30909 \n, not just one of each.
30910
30911 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30912 /bin/cc gives a warning if you do.
30913
30914 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30915
30916 * gdb.t24/demangle.exp: change expect pattern of
30917 __t10ListS_link1ZUiRCUiPT0
30918
30919 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30920
30921 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30922 on local variables in recursive functions.
30923
30924 * gdb.t07/Makefile.in: Build the new test.
30925
30926 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30927
30928 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30929 directly. Instead compare the return values from actual calls.
30930
30931 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30932
30933 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30934
30935 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30936
30937 * From Peter Schauer with minor modifications.
30938 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30939 stops in mid-line in the caller. Add xfail for returning a float
30940 value on X86 targets.
30941
30942 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30943
30944 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30945 to avoid expect lossage.
30946 (fmem_LRbug_tests): Likewise.
30947 * gdb.disasm/hppa.s: Corresponding changes.
30948
30949 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30950 conditions to work with latest dejagnu/expect.
30951
30952 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30953 expected to fail on the PA.
30954 (backtrace in call with trampolines): Explicitly require main
30955 to be frame #1 (no trampolines should show up in backtrace).
30956
30957 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30958 "continue -expect".
30959 * gdb.t06/break.exp: Likewise.
30960 * gdb.t07/watchpoint.exp: Likewise.
30961 * gdb.t13/bitfields.exp: Likewise.
30962 * gdb.t15/{funcargs,return}.exp: Likewise.
30963 * gdb.stabs/weird.exp: Likewise.
30964 * config/{mips,udi}-gdb.exp: Likewise.
30965
30966 * hppa.sed: Enclose comments within a sed command to avoid
30967 losing with the old OSF1 sed.
30968
30969 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30970
30971 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30972 sequent dynix.
30973 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30974 * gdb.t15/funcargs.exp: Conditionally step again to really
30975 finish from marker_call_with_trampolines. Handle the case where
30976 the first step from within call_with_trampolines already steps
30977 us back to main.
30978 * gdb.t15/gdbme.c: Add comment to closing brace of
30979 call_with_trampolines for funcargs.exp.
30980
30981 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30982
30983 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30984 Fix typo(s).
30985
30986 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30987
30988 * gdb.t07/gdbme.c: More code for watchpoint testing.
30989
30990 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30991 "Hardware watchpoint" throughout file.
30992 (test_watchpoint_triggered_in_syscall): New test.
30993 (test_complex_watchpoint): New test.
30994
30995 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30996
30997 * gdbme.c (call_with_trampolines): New function to try and step
30998 into. Tests trampoline problems on the PA.
30999
31000 * funcargs.exp (localvars_in_indirect_call): No longer expect
31001 stepping into indirect call to fail on PAs.
31002 (test_stepping_over_trampolines): New test.
31003
31004 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31005
31006 * TODO: Add suggestions for static member function tests, and
31007 completion tests.
31008
31009 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31010
31011 * TODO: Add suggestions for "p/a" tests.
31012
31013 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31014 (default_gdb_exit): Replace all the hair with sending "quit" to
31015 the process with a simple close.
31016
31017 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31018
31019 * TODO: Add suggestions for shared library tests.
31020
31021 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31022
31023 * TODO: Add suggestions for x/s tests.
31024
31025 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31026
31027 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31028 "enable once", and "enable breakpoints once" with ".*".
31029
31030 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31031
31032 * TODO: Add suggestions about structure passing tests.
31033
31034 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31035
31036 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31037 the primary1 test, use work around if __GNUC__ < 2.
31038 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31039 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31040 Test for bad output rather than waiting for timeout. Issue
31041 second continue only if first continue failed.
31042
31043 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31044
31045 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31046 operator[] test with gdb_test because the old code didn't seem to
31047 be getting the quoting right with the new dejagnu.
31048
31049 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31050
31051 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31052 one from the path.
31053 * Makefile.in: Use a fresh expect if there is one, use runtest
31054 from the src tree if there is one.
31055
31056 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31057
31058 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31059 next over recursive call. Revise the tests from that point on
31060 (which had been skipped) to match GDB's actual (correct) output.
31061
31062 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31063 with next over a breakpoint whose condition is false.
31064
31065 * gdb.t00/help.exp: Comment out "help set print" tests just like
31066 (and for same reason as) "help set" test.
31067
31068 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31069
31070 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31071 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31072
31073 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31074
31075 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31076 necessary gdb_target_udi.
31077
31078 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31079
31080 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31081 1838 and 2417; they are fixed.
31082
31083 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31084 gdb.t03/ptype.exp (ptype structure, ptype union):
31085 Remove xfails; the test is looser than when the xfails were added.
31086
31087 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31088 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31089
31090 * gdb.t01/run.exp: Only run shell test if isnative.
31091
31092 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31093 since "run" automatically loads if necessary. Call gdb_target_udi
31094 after the "file" since "file" kills any execution target.
31095
31096 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31097 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31098 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31099 argument for UDI.
31100
31101 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31102
31103 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31104
31105 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31106
31107 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31108
31109 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31110 properly quoting regexps. This makes the second argument to
31111 demangle a fixed string, which matches the callers, instead of a
31112 shell-style pattern which is what the previous implementation
31113 used. Update some of the callers.
31114
31115 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31116
31117 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31118 (comib_nullified_tests): Fix typo.
31119 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31120 strings. No longer expected to fail.
31121
31122 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31123 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31124 strings. No longer expected to fail.
31125
31126 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31127 string. No longer expected to fail.
31128
31129 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31130
31131 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31132 No longer expected to fail.
31133
31134 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31135 string. No longer expected to fail.
31136
31137 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31138
31139 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31140 only in the names (I probably got most of them). I was even
31141 generous with some which differed in underscores in names, and
31142 probably missed a few, and I *still* was able to remove almost a
31143 third of the file with almost no impact on testsuite coverage.
31144
31145 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31146
31147 * gdb.t00/default.exp: Match udi_attach error message as well as
31148 the one from child_attach.
31149
31150 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31151
31152 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31153
31154 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31155 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31156
31157 * Move test with enums and partial symbols back to
31158 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31159 Reverts the change of 26 May 93. Per today's change to
31160 stabs.texinfo, the behavior that weird.exp was expecting was
31161 unreasonable; what is important is that the compiler+gdb get
31162 things right, which happens with a recent gcc. Also fix the test
31163 to deal with native compilers which put out the stab gdb can't
31164 deal with.
31165
31166 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31167
31168 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31169 in the names. The main thing these accomplish is to slow things down.
31170 Many more such duplicates surely remain.
31171
31172 * gdb.t00/help.exp: Comment out "help support" test just like
31173 (and for same reason as) "help set" test.
31174
31175 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31176
31177 * gdb.t06/break.exp: Remove setup_xfails for
31178 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31179 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31180 about known bug in gcc to include up through 2.5.8.
31181 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31182 well as "_vb$".
31183 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31184 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31185 with latest gcc and gdb.
31186 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31187 well as "_vb$".
31188
31189 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31190
31191 * configure.in (hppa*-*-*): Also configure and build stabs-only
31192 tests.
31193
31194 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31195
31196 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31197 * gdb.t10/configure.in (hppa*-*-*): Use it.
31198
31199 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31200
31201 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31202
31203 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31204
31205 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31206 versions prior to 1.13.5.
31207
31208 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31209
31210 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31211 the prompt is at the start of a line.
31212
31213 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31214
31215 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31216 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31217 in the copr tests now.
31218 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31219 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31220 expected to fail.
31221
31222 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31223
31224 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31225 gdb.t31/chillvars.exp, lib/gdb.exp:
31226 Tweak to run under either version of expect.
31227 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31228 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31229 * gdb.t11/list.exp: Remove extraneous whitespace.
31230
31231 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31232
31233 * gdb.t16/printcmds.exp (test_print_strings): Accept
31234 "(unsigned char *) " before the string.
31235
31236 * TODO: Add notes about printing of fancy types and GDB expressions.
31237
31238 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31239
31240 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31241 * gdb.t06/configure.in: Don't try to compile signals test program
31242 if doing mips-idt-ecoff.
31243
31244 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31245
31246 * Most .exp files: Tweak to run under either version of expect.
31247
31248 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31249
31250 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31251 xfails; I'm not sure why they are failing, but not because of PR 1806.
31252
31253 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31254
31255 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31256 defined in lib/gdb.exp.
31257
31258 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31259
31260 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31261 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31262 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31263 have to be typeless.
31264
31265 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31266
31267 * TODO: Add suggestion for copyright year test.
31268
31269 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31270
31271 * configure.in (*-*-lynxos*): Add stabs tests.
31272
31273 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31274
31275 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31276 so insert a tab before any assembler directive in column zero.
31277
31278 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31279 stores.
31280 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31281 stores.
31282 (fpu_short_memory_tests): Likewise.
31283
31284 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31285
31286 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31287 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31288 .stabs directives in comments.
31289
31290 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31291
31292 * TODO: New file, describing tests we could write.
31293 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31294
31295 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31296
31297 * gdb.t06/signals.exp: Add kludge to force re-sync.
31298
31299 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31300 to xgdb instead of gdb, get out of gdb.
31301
31302 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31303
31304 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31305 for info.
31306
31307 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31308
31309 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31310 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31311 * gdb.stabs/hppa.sed: New sed script for the PA.
31312
31313 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31314
31315 * gdb.stabs: Re-write weird.def and configuration to use sed
31316 instead of cpp. sed is portable and POSIX; cpp is neither.
31317
31318 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31319
31320 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31321
31322 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31323
31324 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31325
31326 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31327
31328 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31329 "_vb$".
31330 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31331 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31332
31333 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31334
31335 * lib/gdb.exp: Comment out code which depends on non-existent
31336 `transform' procedure.
31337
31338 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31339
31340 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31341 * lib/gdb.exp: Transform tool name.
31342 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31343 1.1's new error handling system.
31344
31345 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31346
31347 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31348
31349 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31350
31351 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31352 They made pattern matching so slow that timeouts happened on
31353 heavily loaded systems. Now any output from "show print" which
31354 gets us back to the GDB prompt is a PASS.
31355
31356 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31357
31358 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31359
31360 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31361
31362 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31363
31364 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31365 It is not from PR 3220.
31366
31367 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31368
31369 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31370 just started failing because they depended on the order the
31371 subcommands are presented, or exact docstring text. This kind of
31372 test is a pain and has minimal benefit.
31373
31374 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31375
31376 * gdb.t09/corefile.exp: At end of test, use "core" command with
31377 no arguments.
31378
31379 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31380
31381 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31382 17}/Makefile.in: Make it possible to run the testsuite with Sun
31383 make and CC = cross gcc by adding explicit build rules for .o
31384 files.
31385
31386 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31387
31388 * gdb.t15/funcargs.exp: Don't put comments on same line as
31389 setup_xfail (@#$*%& tcl braindamage!).
31390
31391 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31392
31393 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31394
31395 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31396
31397 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31398 * gdb.t20/inherit.exp: remove three dumplicate entries.
31399
31400 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31401
31402 * gdb.t06/break.exp: For "next over recursive call", fail on any
31403 incorrect output, not just on "factorial (value=2)".
31404
31405 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31406
31407 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31408 working now. Add an xfail if accesing a bss variable causes
31409 a memory error if the target is not yet run.
31410
31411 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31412
31413 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31414 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31415 name of __st* demangling (2 strings). Did Kung really get the
31416 more than 95 others right without testing them?
31417
31418 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31419
31420 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31421
31422 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31423
31424 * configure.in (configdirs): Add gdb.disasm
31425 * gdb.disasm: New directory for GDB disassembler tests.
31426 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31427
31428 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31429
31430 * gdb.t00/help.exp: Don't test "help set".
31431
31432 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31433 from within expect statements. None of these happen anymore and
31434 they cause regressions to be silently unnoticed.
31435
31436 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31437 messages) about known failures with gcc cygnus-2.4.5-930417.
31438
31439 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31440 comp-info.exp so it gets built if it doesn't exist.
31441
31442 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31443 it is no longer used.
31444 * gdb.t13/comp-info.c: Removed.
31445
31446 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31447
31448 * gdb.t06/signals.exp: Add xfail for sun3.
31449
31450 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31451
31452 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31453 relevant because ^C doesn't get sent but failure can be reproduced
31454 interactively).
31455
31456 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31457
31458 * gdb.stabs/alpha.mt: New configuration file for alpha.
31459 * gdb.stabs/configure.in: Use it.
31460 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31461 sharing with alpha.mt, redefine long to word via preprocessor.
31462 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31463 for alpha.
31464 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31465 native cc.
31466 * gdb.t00/teststrategy.exp: Change expect string so that we
31467 consume the `(xgdb)' from the command echo and from the gdb prompt.
31468 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31469 gdb currently compares all values as long, so this failure probably
31470 applies to any configuration where LONGEST is bigger than a target int.
31471 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31472 with gcc.
31473 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31474 to handle opaque pointers, gcc is.
31475 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31476 as first argument. Include <sys/types.h> and change all operator
31477 new definitions to use size_t.
31478 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31479 now that we use size_t.
31480
31481 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31482
31483 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31484 a long or float array cast all array members to the same type.
31485 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31486 with 64 bit longs.
31487 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31488 on alpha.
31489 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31490
31491 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31492
31493 * gdb.t24 (demangle.exp): Constructors of templates have names like
31494 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31495 section 14.6 of the ARM.
31496
31497 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31498 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31499 accomplish little and slow down the testsuite.
31500
31501 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31502 Accept spaces various places.
31503
31504 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31505
31506 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31507 with watchpoint enabled.
31508
31509 * Makefile.in: Remove definition of CC and remove the second
31510 definition of CXX (the "CXX = gcc" one remains). These definitions
31511 were causing backquotes to be expanded within backquotes, which
31512 doesn't work.
31513
31514 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31515
31516 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31517
31518 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31519
31520 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31521 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31522 by mips cc and contains no stabs entries.
31523
31524 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31525
31526 * config/vx-gdb.exp: Use fake device to load files rather than
31527 NFS.
31528 * lib/gdb.exp: New proc to do "file" command.
31529 * config/unix-gdb.exp: Use new "file" proc.
31530
31531 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31532
31533 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31534 Rework board rebooting slightly.
31535 (gdb_exit): Don't exit from the remote shell; there isn't one.
31536 * gdb.stabs/weird.exp: If a program is being debugged already,
31537 kill it.
31538 * gdb.t04/setvar.exp: Stop and restart gdb.
31539 * gdb.t05/expr.exp: Likewise.
31540 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31541 restart gdb and reload the program.
31542 * gdb.t08/opaque.exp: Likewise.
31543 * gdb.t12/scope.exp: Likewise.
31544 * gdb.t13/bitfields.exp: Likewise.
31545 * gdb.t15/funcargs.exp: Likewise.
31546 * gdb.t20/classes.exp: Likewise.
31547 * gdb.t03/ptype.exp: Increase timeout.
31548 * gdb.t16/printcmds.exp (test_print_string_constants,
31549 test_print_array_constants): Likewise.
31550 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31551 * gdb.t20/classes.exp (do_tests): Likewise.
31552 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31553
31554 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31555
31556 * gdb.stabs: Renamed *wierd* to *weird*.
31557
31558 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31559
31560 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31561 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31562
31563 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31564
31565 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31566 (do_tests): Remove xfail for whatis on one_var and two_var.
31567
31568 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31569
31570 * Makefile.in: Made cross building work better by adding
31571 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31572
31573 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31574
31575 * gdb.t15/{return.c,return.exp,Makefile.in}:
31576 New test, currently commented out.
31577
31578 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31579
31580 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31581 still running and removes the leftover named socket so GDb can do
31582 clean restarts.
31583
31584 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31585
31586 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31587 console, not GDB.
31588 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31589 cross testing works better with "make check"
31590 * config/unix-gdb: Use default procedures for exit and version.
31591 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31592 with the newest VxWorks.
31593
31594 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31595
31596 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31597 old form.
31598
31599 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31600 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31601
31602 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31603
31604 * config/unix-gdb.exp: Remove this version of gdb_exit
31605 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31606 Rob says he'll look at it when he gets back to testing boards.
31607
31608 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31609
31610 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31611 an expected fail for certain ptype commands.
31612
31613 * gdb.t20/classes.exp: Update expected results of "ptype class
31614 Base1" to account for the constructor that now appears in the type.
31615
31616 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31617
31618 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31619 disappeared from list.
31620 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31621 "alldone" proc with call to cleanup and exit.
31622 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31623 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31624 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31625 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31626 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31627 "alldone" proc with simple returns that suppress remaining
31628 tests. The alldone proc went away many months ago.
31629
31630 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31631
31632 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31633
31634 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31635
31636 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31637
31638 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31639 as vax gdb will display them.
31640
31641 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31642
31643 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31644 optimizers.
31645
31646 * scope.exp: Change "bad value for localval" messages so each one
31647 is unique.
31648
31649 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31650 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31651
31652 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31653
31654 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31655
31656 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31657 doesn't exist (due to optimization).
31658
31659 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31660
31661 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31662 contains \r because the filename is long.
31663
31664 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31665 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31666
31667 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31668
31669 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31670 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31671 Ultrix.
31672 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31673 int tests.
31674 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31675
31676 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31677
31678 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31679
31680 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31681 to match does not match the passing case but still matches the
31682 failing case.
31683
31684 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31685
31686 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31687
31688 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31689
31690 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31691 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31692 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31693 Remove various versions of gdb_exit.
31694 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31695 gdb_exit.
31696 * config/unix-gdb.exp: gdb_exit remains here, and should override
31697 the generic version, since it's doing a lot of wierd stuff that
31698 the other versions aren't. FIXME, fold it in, or abandon this
31699 version.
31700
31701 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31702
31703 * gdb.t24/demangle.exp: Add tests for PR 3220.
31704
31705 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31706
31707 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31708
31709 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31710
31711 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31712 "i386-*-*". Works for i486 as well.
31713
31714 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31715 bug, and expand domain of xfail to all SVR4 systems, since the
31716 actual problem is likely to be in generic SVR4 /proc support.
31717
31718 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31719
31720 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31721
31722 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31723
31724 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31725 xfails for other systems. Match a missing 'Continuing.' as an
31726 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31727
31728 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31729 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31730 Only issue warning for missing executables if -all option is used.
31731
31732 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31733 file if -all option is used. It's like an unpredictable XFAIL.
31734
31735 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31736
31737 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31738 for dynamically linked binaries.
31739
31740 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31741
31742 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31743
31744 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31745 to state that this is a known bug in old versions of g++.
31746
31747 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31748
31749 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31750 while waiting for `Continuing'.
31751
31752 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31753
31754 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31755 in text, data, and bss.
31756 * gdb.t10/nodebug.c: Add local and global test variables for
31757 initialized and uninitialized data.
31758
31759 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31760
31761 * config/unix-gdb.exp (gdb_exit): Add "wait".
31762
31763 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31764
31765 * gdb.t06/signals.exp: xfail the continue from the handler for all
31766 targets.
31767
31768 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31769 function with watchpoints enabled, the i386 call dummy starts with
31770 a call.
31771
31772 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31773 386 bsd names its corefiles.
31774
31775 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31776
31777 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31778 compilers don't grok it.
31779 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31780 with small octal ints rather than character constants, which
31781 are signed and might not fit if first promoted to int.
31782
31783 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31784
31785 * gdb.t09/Makefile.in (clean): Remove corefile.
31786
31787 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31788
31789 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31790
31791 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31792 and Jim Kingdon (kingdon@cygnus.com)
31793
31794 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31795 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31796 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31797
31798 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31799
31800 * gdb.t17/interrupt.exp: Add xfail for hppa.
31801
31802 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31803
31804 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31805 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31806 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31807 to determine signed-ness of bitfields and use the result to setup
31808 the xfail.
31809 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31810 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31811 call line is reached if necessary.
31812
31813 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31814
31815 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31816
31817 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31818
31819 * gdb.t06/break.exp: Also test `clear' command.
31820
31821 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31822
31823 * gdb.t00/teststrategy.exp: Remove extra quote.
31824
31825 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31826 watchpoint enabled to be for all non-68k machines.
31827
31828 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31829
31830 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31831
31832 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31833 targets use aout.mt instead of ecoff.mt as gas understands
31834 standard aout format.
31835
31836 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31837
31838 * lib/gdb.exp (runto): Don't insist that function we are running to
31839 was compiled with -g.
31840
31841 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31842
31843 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31844 to get back into the read system call.
31845 Accept leading newline in case where we woke it up.
31846
31847 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31848
31849 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31850 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31851 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31852 enable ecoff configuration.
31853
31854 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31855
31856 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31857
31858 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31859
31860 * gdb.t16/printcmds.exp: Add another printf test.
31861
31862 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31863
31864 * configure.in: If configured -with-stabs on any target, add
31865 stabsdirs to configdirs.
31866
31867 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31868
31869 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31870 fun" so pattern does not match the command itself.
31871
31872 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31873
31874 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31875
31876 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31877
31878 * gdb.t17/interrupt.exp: Test for more things.
31879
31880 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31881
31882 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31883 compiler arranges the code and line numbers.
31884
31885 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31886
31887 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31888
31889 * gdb.t00/help.exp: Increase expect input buffer size.
31890
31891 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31892
31893 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31894
31895 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31896
31897 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31898
31899 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31900 [0-9]*, not just [0-9].
31901
31902 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31903
31904 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31905
31906 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31907
31908 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31909
31910 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31911
31912 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31913
31914 * gdb.t06/signals.c: Add xfails for sun3.
31915
31916 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31917
31918 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31919 test_stepping tests.
31920
31921 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31922
31923 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31924
31925 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31926
31927 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31928 rather than actually putting it through cpp twice.
31929
31930 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31931
31932 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31933
31934 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31935 no longer needed.
31936
31937 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31938
31939 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31940
31941 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31942 C++ features prints as "struct", make it a pass, not an xfail.
31943
31944 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31945
31946 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31947 Don't require VA to print as "class" rather than "struct".
31948
31949 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31950
31951 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31952
31953 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31954
31955 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31956
31957 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31958
31959 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31960 order.
31961
31962 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31963
31964 * gdb.t16/printcmds.exp: Add printf tests.
31965
31966 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31967
31968 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31969
31970 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31971
31972 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31973 pass counts, to counteract any existing or future setup_xfails.
31974
31975 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31976
31977 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31978 {BEGIN,END}_COMMON for common block instead of STAB.
31979 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31980
31981 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31982 intp_var should be N_GSYM not N_LSYM.
31983 wierd-aout.S: Use a label for the value of the N_SO.
31984 wierd.def: Remove all backslashes.
31985 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31986
31987 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31988
31989 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31990 get the expected next to inheritance3.
31991
31992 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31993
31994 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31995 now that gcc-2.4 gets it right.
31996
31997 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31998
31999 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32000
32001 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32002 generating comp-info.exp which works for cross-compilation.
32003
32004 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32005
32006 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32007 "*-*-sysv4.*".
32008
32009 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32010
32011 * gdb.t01/run.exp: Start with a fresh gdb.
32012 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32013 SVR4.x.
32014
32015 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32016
32017 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32018 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32019 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32020 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32021 things to remove.
32022
32023 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32024
32025 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32026 test cases from bug reports.
32027
32028 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32029
32030 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32031 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32032 avoid spurious xfails.
32033 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32034 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32035 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32036
32037 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32038
32039 * gdb.t00/teststrategy.exp: Rework to provide more useful
32040 description of each test, fix problem with systems that define
32041 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32042 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32043 results for "next over recursive call" so timeouts aren't taken
32044 by error.
32045
32046 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32047
32048 * gdb.t12/scope.exp: Test printing of variables before run.
32049
32050 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32051 printed in wrong order due to sorting.
32052
32053 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32054
32055 * gdb.t00/teststrategy.exp: Fix expected results for printing
32056 user entered string constant. Is array of char, prints with no
32057 address.
32058
32059 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32060 commands.
32061 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32062 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32063 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32064 of struct of char arrays.
32065 * gdb.t00/radix.exp: New tests for radix commands.
32066
32067 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32068
32069 * gdb.t16/printcmd.exp: Print a variable before running program
32070 (with xfail for AIX).
32071
32072 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32073
32074 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32075
32076 * gdb.t16/printcmd.exp: Don't print variables before running program.
32077
32078 * gdb.t06/break.exp: Don't require envp argument to main.
32079
32080 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32081
32082 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32083 Add xfails for rs6000.
32084
32085 * gdb.t02/whatis.exp: Change other tests not to re-test something
32086 we already tested.
32087
32088 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32089 each type used has a variable of that type.
32090
32091 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32092
32093 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32094
32095 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32096
32097 * configure.in: change srctrigger to be a file, not a directory
32098
32099 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32100
32101 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32102
32103 * gdb.t11/list.exp: Fixed a couple of typos.
32104
32105 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32106
32107 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32108 is fixed and PR is closed.
32109 * gdb.t16 (gdbme.c): Add simple test string variable.
32110 * gdb.t16 (printcmds.exp): Add tests with simple test string
32111 variable, primarily for boundaries on "set print elements".
32112
32113 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32114
32115 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32116 Make leading 0's optional and don't expect a tab in the middle
32117 of the number.
32118
32119 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32120
32121 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32122 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32123 don't end command passed to gdb_test with newline.
32124
32125 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32126 signed keyword away, don't expect signed bitfields to be signed.
32127
32128 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32129 printing with only as many 1's as are in the field as well as printing
32130 with 32 1's (see comment).
32131
32132 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32133
32134 * gdb.t00/default.exp: Start with a fresh gdb.
32135 * configure.in (configdirs): Remove gdb.t31 until the chill
32136 compiler works again. It no longer is able to find chillrt0
32137 since it isn't in libchill.a anymore.
32138 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32139 wierd.o, make more modular.
32140 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32141 spurious newlines that caused problems.
32142
32143 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32144
32145 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32146 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32147 gdb.stabs/wierd.{exp,def}: Many new tests.
32148
32149 * gdb.t00/default.exp: update info line for new message.
32150
32151 * gdb.t02/{whatis.exp,gdbme.c}:
32152 Test that "char *" doesn't print as "caddr_t".
32153
32154 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32155
32156 * gdb.t00/help.exp: Use .* in place of some help messages which
32157 just changed.
32158 gdb.t00/default.exp: Update "info frame" test for new message.
32159 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32160 Remove some xfails
32161
32162 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32163
32164 * gdb.t03/{gdbme.c,ptype.exp}:
32165 Add tests for typedef'd struct and union without tags.
32166 Also check "whatis" on a variable of a typedef'd enum without a tag.
32167
32168 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32169 PRMS 1823; the bug still exists but isn't reproduced by this test
32170 anymore), and remove rs6000 XFAIL (the bug is fixed).
32171
32172 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32173 duplicated from whatis.exp. For those that are left, accept
32174 "long", "long int", or "int" for long variables (whatis.exp already
32175 has an XFAIL for "int", so no need to fail it here).
32176
32177 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32178 Deal with GCC's names for types now that GDB uses the compiler's names.
32179
32180 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32181 setup_xfail's for sunos4. If we #defined the signed keyword away,
32182 don't expect GDB to know that char it is signed.
32183
32184 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32185
32186 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32187
32188 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32189 should work on any system, regardless of debugging format.
32190 * gdb.t21/demangle.exp: Move to gdb.t24.
32191 * gdb.t24/demangle.exp: Move from gdb.t21.
32192 * gdb.t24/{Makefile.in, configure.in}: New files.
32193
32194 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32195
32196 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32197 * gdb.stabs: New directory.
32198
32199 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32200
32201 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32202 not just "Quit anyway?".
32203
32204 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32205
32206 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32207 that all setup_xfails are immediately followed by clear_xfails.
32208
32209 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32210
32211 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32212 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32213 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32214 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32215 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32216 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32217 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32218 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32219 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32220 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32221 gdb.t31/chillvars.exp, lib/gdb.exp:
32222 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32223 bug-gdb@prep.ai.mit.edu.
32224
32225 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32226
32227 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32228 with 0.0, not integer 0.
32229
32230 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32231
32232 * gdb.t06/break.exp: Update for "Kill the program" message change.
32233
32234 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32235
32236 * Makefile.in (GDBFLAGS): Set to -nx.
32237 * Makefile.in (site.exp): Use GDBFLAGS.
32238
32239 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32240
32241 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32242 Makefiles.
32243 (check): depend on just-check.
32244 (just-check): added so that tests can be run without a noop
32245 build pass.
32246
32247 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32248
32249 Switch to using configure's configdirs.
32250 * Makefile.in (Makefile): add configure.in dependency.
32251 (SUBDIRS): removed redundant assignment.
32252 * configure.in: switch subdirs assignment to configdirs.
32253 * gdb.t*/configure.in: new files.
32254
32255 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32256
32257 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32258 works.
32259
32260 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32261
32262 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32263 in explicit rules. Apparently this is not supported by some makes.
32264
32265 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32266
32267 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32268
32269 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32270
32271 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32272 disappeared.
32273
32274 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32275
32276 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32277
32278 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32279
32280 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32281 watchpoint problem that is now fixed.
32282 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32283 uninitialized convenience variables.
32284 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32285 structures.
32286
32287 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32288
32289 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32290 which causes expect to get out of sync with gdb on long output
32291 from help set.
32292 * gdb.t09/corefile.exp: Make expected pattern for core file
32293 failing signal and frame output format less sun specific.
32294
32295 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32296
32297 * gdb.t31/chillvars.exp: Add and remove initial dummy
32298 breakpoint, so that symbol table is forced in.
32299 (Needed at least on Sunos4, though it seems not SVR4.)
32300 * gdb.t31/chillvars.exp: Update for changed output format.
32301
32302 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32303
32304 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32305
32306 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32307
32308 * Makefile.in: Added --srcdir when invoking runtest, removed the
32309 need for a local config file. (optional now)
32310
32311 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32312
32313 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32314 failure count used to force early termination. Add some more
32315 expected failures for gnu style demangling.
32316
32317 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32318
32319 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32320 pmi variable from gdb.t20/gdbme to get optimized away.
32321 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32322 Check for written corefile upon timeout _and_ eof.
32323
32324 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32325
32326 * config/unix-gdb.exp: Add missing return 0.
32327
32328 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32329
32330 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32331 test termination.
32332
32333 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32334
32335 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32336 disappeared.
32337
32338 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32339
32340 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32341 time as i860 support works.
32342
32343 * gdb.t15/funcargs.exp: Fix expected outputs to include
32344 "backtrace 100\r" rather than just "backtrace\r", to match last
32345 change.
32346
32347 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32348
32349 * config/udi-gdb.exp (gdb_exit): Remove close command.
32350 (gdb_target_udi): New procedure to set the UDI target.
32351 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32352 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32353 Added waits for prompts after several question responses. Added
32354 some more responses used by a29k-amd-udi-gdb.
32355 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32356 pass different arguments, restart UDI connection after program
32357 completion.
32358 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32359 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32360 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32361 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32362 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32363 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32364 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32365 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32366 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32367 after program completion.
32368 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32369 compiled with a SELECT_VECS setting.
32370 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32371 infinite recursion.
32372
32373 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32374 Added checks for COFF results, and made them expected failures for
32375 all targets. It would be better to make them expected failures
32376 for COFF targets only.
32377
32378 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32379
32380 * Makefile.in: add null dvi target, don't bother to recurse
32381 through test directories for info and install-info; rename
32382 $(datadir) to be dejagnu instead of deja-gnu
32383
32384 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32385
32386 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32387 compiler to coredump.
32388 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32389 code.
32390
32391 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32392
32393 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32394 coredump.
32395 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32396 code.
32397
32398 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32399
32400 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32401 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32402 which in a shell. Deletes xgdb when done.
32403 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32404 Tests the return from the "set height" or "set width" commands.
32405 Added a few return codes where needed.
32406
32407 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32408
32409 * Makefile.in (SUBDIRS): Add gdb.t17.
32410 * configure.in (subdirs): Add gdb.t17.
32411 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32412 files to test gdb's calling of functions in the inferior with
32413 the correct arguments and gdb's ability to retrieve any
32414 result returned.
32415
32416 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32417
32418 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32419 may be called after gdb goes away. Previous versions of expect
32420 needed these to avoid file descriptor leaks, but they cause
32421 errors with the current revision of expect.
32422 * gdb.t00/gdbvars.exp: Use -re on expected output after
32423 setting sevenbit-strings.
32424 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32425 to set sevenbit-strings consistent across tests.
32426 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32427 set sevenbit-strings consistent across tests.
32428
32429 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32430
32431 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32432 expected output to match current "expect" expectations.
32433
32434 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32435
32436 * gdb.t00/default.exp: Change expected output for default "source"
32437 command, to match new gdb behavior which requires a filename to
32438 source.
32439
32440 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32441
32442 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32443 expected fail for i486-*-* that misses the marker2 function.
32444 * gdb.t10/crossload.exp (bfddefault): Allow successful
32445 recognition of a format to pass even if no symbols are found.
32446 Explicitly catch failures where the format is not recognized
32447 or is ambiguous, and add the reason to the fail message.
32448 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32449 the cause is and invalid target and add reason to failure message.
32450 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32451 elf32-i386, elf32-sparc, and elf32-i860.
32452 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32453 Set up expected failure for 'filename'::variable scope resolution,
32454 which is now apparently broken on all targets.
32455 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32456 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32457 gdb.t23/templates.exp: Change failure for missing binfile into
32458 just a warning.
32459 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32460 references.
32461
32462 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32463
32464 * gdb.t00/default.exp: Add expected output for default "source"
32465 command, to match new gdb behavior.
32466 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32467
32468 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32469
32470 * config/*-gdb.exp: returns an error, rather than exiting on
32471 internal errors.
32472
32473 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32474
32475 * gdb.t03/gdbme.c: Add pointer to struct variable.
32476 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32477 referencing struct members.
32478
32479 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32480
32481 * configure.in (mips-idt-ecoff): New target.
32482 * config/mips-gdb.exp: New file for remote board using MIPS remote
32483 debugging protocol.
32484
32485 * Redid configuration scheme. Removed gdb.t*/configure.in.
32486 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32487 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32488 distclean targets. Built executables via .o files. Adjusted
32489 tests to account for source files in $(srcdir) rather than
32490 $(objdir).
32491 * lib/gdb.exp (runto): Don't expect () after the function name,
32492 because it may have arguments.
32493
32494 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32495
32496 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32497 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32498 expected failures for mips-idt-* and mips-sgi-*.
32499 * gdb.t00/default.exp (attach): Kill process if requested.
32500 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32501 that does not read core files.
32502 * gdb.t01/run.exp: Removed checks for exit status code.
32503 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32504 it is linked in.
32505 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32506 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32507 appropriate, rather than doing it by hand.
32508 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32509 execution.
32510 * gdb.t10/crossload.exp: Kill existing program if needed.
32511 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32512 appropriate, rather than doing it by hand. Always increase
32513 timeout for this test, not just for VxWorks.
32514
32515 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32516
32517 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32518 of Chill STRUCT types and STRUCT values.
32519 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32520 than "char".
32521 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32522 struct2): New struct definitions and initializations to test
32523 simple Chill STRUCT types.
32524
32525 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32526
32527 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32528 the null byte at the end of strings.
32529 * gdb.t00/default.exp: Make show version insensitive to copyright
32530 date.
32531 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32532 to avoid dependencies on target char signedness.
32533 * gdb.t16/printcmds.exp: Update expected results for explicitly
32534 unsigned char.
32535 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32536 now work.
32537 * gdb.t21/demangle.exp: Add many more patterns for template
32538 demangling, most of them being expected failures.
32539 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32540 string we are matching for, to match on the whole string.
32541 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32542 and fix a whole bunch that had incorrect expected output but were
32543 passing anyway because of the bug in "proc demangle".
32544 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32545 type.
32546 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32547
32548 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32549
32550 * gdb/testsuite: made modifications to testcases, etc., to allow
32551 them to work properly given the reorganization of deja-gnu and the
32552 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32553
32554 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32555
32556 * gdb/testsuite: Initial creation of gdb/testsuite.
32557 Migrated dejagnu testcases and support files for testing nm to
32558 gdb/testsuite from deja-gnu. These files were moved "as is"
32559 with no modifications. This migration is part of a major overhaul
32560 of dejagnu. The modifications to these testcases, etc., which
32561 will allow them to work with the new version of dejagnu will be
32562 made in a future update.
32563
32564 For additional changes see gdb.mi/ChangeLog-1999-2003.
32565 \f
32566 ;; Local Variables:
32567 ;; mode: change-log
32568 ;; left-margin: 8
32569 ;; fill-column: 74
32570 ;; version-control: never
32571 ;; End:
32572
32573 Copyright 1993-2013 Free Software Foundation, Inc.
32574 Copying and distribution of this file, with or without modification,
32575 are permitted provided the copyright notice and this notice are preserved.
This page took 0.926503 seconds and 4 git commands to generate.