]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
fix up gdb.gdb
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bdfe0594
TT
12013-11-04 Tom Tromey <tromey@redhat.com>
2
3 * gdb.gdb/selftest.exp: Use standard_output_file.
4 * lib/selftest-support.exp (do_self_tests): Use
5 standard_output_file.
6
8c639e73
TT
72013-11-04 Tom Tromey <tromey@redhat.com>
8
9 * gdb.stabs/weird.exp: Use gdb_remote_download and
10 standard_output_file.
11
5030a410
TT
122013-11-04 Tom Tromey <tromey@redhat.com>
13
14 * gdb.base/gcore-buffer-overflow.exp: Use
15 standard_output_file, not standard_testfile.
16 * gdb.base/twice.exp: Use standard_testfile, not
17 standard_output_file. Use gdb_remote_download.
18
95d7853e
TT
192013-11-04 Tom Tromey <tromey@redhat.com>
20
21 * lib/gdb.exp (get_compiler_info): Use log_file -info and
22 restore from that.
23
eab88b54
MR
242013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
25
26 * gdb.cp/derivation.exp: s/perrro/perror/
27
a1b0fbee
MR
282013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
29
30 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
31 `debugdir'.
32
638aa5a1
AB
332013-10-31 Andrew Burgess <aburgess@broadcom.com>
34
35 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
36 tests and update expected error message.
37 (test_watch_register_location): New tests.
38 (do_tests): Call test_watch_register_location.
39 * gdb.base/watchpoints.exp: Update expected error message.
40
055e608a
UW
412013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
42
43 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
44 the patterns in gdb_test_multiple.
45
9ac69859
NB
462013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
47
48 * gdb.base/sym-file-lib.c: New file.
49 * gdb.base/sym-file-loader.c: New file.
50 * gdb.base/sym-file-loader.h: New file.
51 * gdb.base/sym-file-main.c: New file.
52 * gdb.base/sym-file.exp: New file.
53 * lib/gdb.exp (is_elf_target): New function.
54
24ba476b
PA
552013-10-29 Pedro Alves <palves@redhat.com>
56
57 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
58 variable setting change-log-default-name to ChangeLog-mi.
59
f69d9aef
AB
602013-10-29 Andrew Burgess <aburgess@broadcom.com>
61
62 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
63 Expect <unavailable> pattern.
64
71193121
TV
652013-10-28 Tom de Vries <tom@codesourcery.com>
66
67 * gdb.arch/thumb2-it.S (it_8): Fix typo.
68
38095c27
AK
692013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
70
71 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
72 remote stubs where exit() behaviour is unreliable.
73
686d4def
PA
742013-10-25 Pedro Alves <palves@redhat.com>
75
76 * gdb.cp/m-static.exp: Adjust expected output of printing a
77 nonexistent or optimized out static field. Also test printing the
78 the "container" object.
79
a35cfb40
MR
802013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
81
82 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
83 if in the persistent mode.
84 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
85
bbe769cc
MR
862013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
87
88 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
89 support core file generation" reply.
90
95e4302a
JM
912013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
92
93 PR gdb/15986
94 * gdb.base/run.c (main): gdb_get_line_number tag added for
95 commands.exp.
96 (factorial): Likewise.
97
98 * gdb.base/commands.exp (watchpoint_command_test): Use
99 gdb_get_line_number in order to determine the locations in run.c
100 where local_var is detected to go out of scope.
101
4c406179
JM
1022013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
103
104 * gdb.base/gnu_vector.exp: Care about endianness when casting
105 scalars to vectors.
106
bb6216d8
TT
1072013-10-18 Tom Tromey <tromey@redhat.com>
108
109 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
110 of "binfile".
111
e8369a73
AB
1122013-10-18 Andrew Burgess <aburgess@broadcom.com>
113
114 * gdb.base/watchpoints.exp: Add test for setting software
115 watchpoints of different types before starting the inferior.
116
776f04fa
PA
1172013-10-18 Pedro Alves <palves@redhat.com>
118
119 PR gdb/16062
120 * gdb.threads/stepi-random-signal.c: New file.
121 * gdb.threads/stepi-random-signal.exp: New file.
122
e4b8388f
MR
1232013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
124
125 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
126 Fix comment typo.
127 * lib/gdb.exp (gdb_init): Likewise.
128
50b34a18
TT
1292013-10-17 Tom Tromey <tromey@redhat.com>
130
131 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
132
3db258f5
TT
1332013-10-14 Tom Tromey <tromey@redhat.com>
134
135 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
136 name to gdb_test_no_output.
137
4856b6bc
JK
1382013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 Canonicalize directories for EXEC_FILENAME.
141 * gdb.base/argv0-symlink.exp
142 (kept file symbolic link name for info inferiors): New.
143 (kept directory symbolic link name): Setup kfail.
144 (kept directory symbolic link name for info inferiors): New.
145
9772d074
UW
1462013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
147
148 * gdb.arch/s390-multiarch.exp: New file.
149 * gdb.arch/s390-multiarch.c: New file.
150
2a3be966
JB
1512013-10-11 Joel Brobecker <brobecker@adacore.com>
152
153 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
154 use the appropriate GDB/MI command instead, and verify
155 the test output.
156
7c647d61
JB
1572013-10-11 Joel Brobecker <brobecker@adacore.com>
158
159 * gdb.base/source-nofile.gdb: New file.
160 * gdb.base/source.exp: Add two tests verifying the behavior when
161 the "source" command is given a non-existant filename.
162
bb66bd51
YQ
1632013-10-11 Yao Qi <yao@codesourcery.com>
164
165 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
166 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
167 and 'dlclose'.
168 [!__WIN32__]: Include "dlfcn.h".
169 * gdb.mi/mi-catch-load.exp: Set up kfail.
170
4f424bb1
AK
1712013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
172
173 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
174 generated corefile" by argument "$test".
175
578d3588
PA
1762013-10-09 Pedro Alves <palves@redhat.com>
177
178 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
179 output.
180
eb4ca471
PA
1812013-10-09 Pedro Alves <palves@redhat.com>
182
183 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
184 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
185 (test_catch_syscall_with_wrong_args)
186 (test_catch_syscall_restarting_inferior)
187 (test_catch_syscall_fail_nodatadir)
188 (test_catch_syscall_without_args_noxml)
189 (test_catch_syscall_with_args_noxml)
190 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
191
dc294be5
TT
1922013-10-08 Tom Tromey <tromey@redhat.com>
193
194 * gdb.dwarf2/dwzbuildid.exp: New file.
195 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
196 parameters.
197 (Dwarf::_defer_output): Change "section" parameter to
198 "section_spec"; update.
199 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
200 procs.
201
c968bd18
JB
2022013-10-08 Joel Brobecker <brobecker@adacore.com>
203
204 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
205
f44eeb11
TT
2062013-10-07 Tom Tromey <tromey@redhat.com>
207
208 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
209 to 0.
210
0c557179
SDJ
2112013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
212
213 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
214 $_exitcode is void when opening a corefile.
215 * gdb.base/exitsignal.exp: New file.
216 * gdb.base/segv.c: Likewise.
217 * gdb.base/normal.c: Likewise.
218
5713b9b5
JB
2192013-10-04 Joel Brobecker <brobecker@adacore.com>
220
221 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
222
3f983d47
YZ
2232013-10-02 Vidya Praveen <vidyapraveen@arm.com>
224
225 * gdb.trace/entry-values.exp: Modify regular expression to scan for
226 'bl' instruction instead of 'call' for ARM and AArch64 targets.
227
901461f8
PA
2282013-10-02 Pedro Alves <palves@redhat.com>
229
230 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
231 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
232 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
233 (not_saved_pattern): New.
234 Replace use of the former with the latter.
235
b477a5e6
PA
2362013-10-02 Pedro Alves <palves@redhat.com>
237
238 * README (Board Settings): Document "exit_is_reliable".
239 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
240 running to exit reliably reports program exits.
241 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
242 info.
243 * boards/native-stdio-gdbserver.exp: Likewise.
244
a49bed3a
DE
2452013-10-01 Doug Evans <dje@google.com>
246
247 * gdb.python/python.exp: Remove redundant print-stack tests.
248 Make all print-stack test names unique. Fix spelling of print-stack.
249
2ed2ad44
YQ
2502013-09-29 Yao Qi <yao@codesourcery.com>
251
252 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
253 is remote.
254
7d760051
UW
2552013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
256
257 PR shlibs/8882
258 * gdb.base/corefile.exp: Add a check to assure warning-free
259 core-file load.
260
82bf32bc
JK
2612013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
262
263 * gdb.dwarf2/dwp-symlink.c: New file.
264 * gdb.dwarf2/dwp-symlink.exp: New file.
265
4fa7d390
DE
2662013-09-20 Doug Evans <dje@google.com>
267
6b4646ce
DE
268 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
269 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
270 file.
271 * gdb.dwarf2/fission-loclists.S: Ditto.
272 * gdb.dwarf2/fission-reread.S: Ditto.
273 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
274 build_executable_from_fission_assembler.
275 * gdb.dwarf2/fission-loclists.exp: Ditto.
276 * gdb.dwarf2/fission-reread.exp: Ditto.
277
4fa7d390
DE
278 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
279 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
280 (gdb_gnu_strip_debug): Ditto.
281 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
282 * gdb.arch/altivec-abi.exp: Ditto.
283 * gdb.base/attach-pie-misread.exp: Ditto.
284 * gdb.base/comprdebug.exp: Ditto.
285 * gdb.base/dup-sect.exp: Ditto.
286 * gdb.base/gnu-debugdata.exp: Ditto.
287 * gdb.base/step-symless.exp: Ditto.
288 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
289 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
290 * gdb.dwarf2/gdb-index.exp: Ditto.
291
e4c6a2c4
AB
2922013-09-18 Andrew Burgess <aburgess@broadcom.com>
293
294 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
295 register to "<optimized out>", and also print the registers.
296
a205fbfc
PA
2972013-09-18 Pedro Alves <palves@redhat.com>
298
299 PR server/15967
300 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
301 change text.
302
ee47b2f8
YQ
3032013-09-18 Yao Qi <yao@codesourcery.com>
304
305 * gdb.server/wrapper.c: New.
306 * gdb.server/wrapper.exp: New.
307
49fa26b0
PA
3082013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
309 Jan Kratochvil <jan.kartochvil@redhat.com>
310 Pedro Alves <palves@redhat.com>
311
312 PR gdb/11568
313 * gdb.thread/thread-specific-bp.c: New file.
314 * gdb.thread/thread-specific-bp.exp: New file.
315
e83b28bc
SDJ
3162013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
317
318 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
319 convenience function.
320
08d72866
PA
3212013-09-17 Pedro Alves <palves@redhat.com>
322
323 PR gdb/15911
324 * gdb.threads/info-threads-cur-sal-2.c: New file.
325 * gdb.threads/info-threads-cur-sal.c: New file.
326 * gdb.threads/info-threads-cur-sal.exp: New file.
327
57b0d98e
YQ
3282013-09-17 Yao Qi <yao@codesourcery.com>
329
330 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
331 [__WIN32__]: Include "windows.h" and define macro dlopen
332 and dlclose.
333 [!__WIN32__]: Include "dlfcn.h".
334 * gdb.base/catch-load.exp (one_catch_load_test): Match
335 directory separator.
336
0295a32e
DE
3372013-09-16 Doug Evans <dje@google.com>
338
a587b477
DE
339 * lib/gdb.exp (using_fission): New proc.
340 * gdb.base/info-macros.exp: Skip test if using Fission.
341
0295a32e
DE
342 * gdb.base/break-interp.exp: Fix indentation.
343
a280dbd1
SDJ
3442013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
345
346 * gdb.base/gdbvars.c (foo_void): New function.
347 (foo_int): Likewise.
348 * gdb.base/gdbvars.exp (test_convenience_functions): New
349 function. Call it.
350
4ac33720
UW
3512013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
352
353 * gdb.arch/s390-tdbregs.c: New file.
354 * gdb.arch/s390-tdbregs.exp: New file.
355
b866c52d
SS
3562013-09-12 Stan Shebs <stan@codesourcery.com>
357
358 * README: New file.
359
dc59cba6
DE
3602013-09-12 Doug Evans <dje@google.com>
361
362 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
363 added code to print event.inferior.
364
edf9f00c
JK
3652013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
366
367 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
368 debug part of the binary.
369
5423b017
JK
3702013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
371
372 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
373 (addlink): Add comment.
374
9295cf6f
SA
3752013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
376
377 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
378 canonical pathname.
379
89e63ee4
DE
3802013-09-04 Doug Evans <dje@google.com>
381
314bb8c3
DE
382 * gdb.python/py-events.py (exit_handler): Verify we get the expected
383 event.
384 (continue_handler, new_objfile_handler): Ditto.
385 (test_events): Rename command to "test-events".
386 (test_newobj_events): Rename command to "test-objfile-events".
387 * gdb.python/py-events.exp: Update.
388 * gdb.python/py-evsignal.exp: Update.
389 * gdb.python/py-evthreads.exp: Update.
390
89e63ee4
DE
391 * gdb.base/enumval.c (ZERO): New enum value.
392 (main): Use it
393 * gdb.base/enumval.exp: Test ability to print ZERO.
394
3952013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
396 Pedro Alves <palves@redhat.com>
397
398 * gdb.base/relocate.exp: Check that invalid options are
399 rejected.
400
26c2b53c
AB
4012013-08-30 Andrew Burgess <aburgess@broadcom.com>
402
403 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
404 (my_static_symbol): Add comment.
405 (main): Reference my_bss_symbol.
406
96d9056e
PM
4072013-08-30 Phil Muldoon <pmuldoon@redhat.com>
408
409 * gdb.python/py-arch.exp: Tests for invalid architecture.
410
489d4f4d
SA
4112013-08-29 Sterling Augustine <saugustine@google.com>
412
413 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
414 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
415 said conditional.
416
5b791bb5
PM
4172013-08-29 Phil Muldoon <pmuldoon@redhat.com>
418
419 * gdb.python/py-arch.exp: Load gdb-python.exp.
420
8f28f522
PM
4212013-08-29 Phil Muldoon <pmuldoon@redhat.com>
422
423 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
424 itertools for imap attribute. Otherwise use map().
425 (ElidingIterator): Define wrapper function __next__.
426 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
427 use exec (open (read ())) instead.
428 * gdb.python/py-framefilter.exp: Ditto.
429 * gdb.python/py-arch.exp: Update print based test to Python 3.x
430 compliance.
431 * gdb.python/py-frame.exp: Ditto.
432 * gdb.python/py-type.exp: Ditto.
433
1f0c4988
JK
4342013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
435
436 PR gdb/15415
437 * gdb.base/argv0-symlink.c: New file.
438 * gdb.base/argv0-symlink.exp: New file.
439
7893c162
TT
4402013-08-28 Tom Tromey <tromey@redhat.com>
441
442 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
443 when saving index.
444
6211c335
YQ
4452013-08-27 Yao Qi <yao@codesourcery.com>
446
447 * gdb.trace/entry-values.exp: Test unavailable entry value is
448 not shown when option '--skip-unavailable' is specified.
449 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
450 Add tests for new option '--skip-unavailable'.
451
ce4ea2bb
YQ
4522013-08-27 Yao Qi <yao@codesourcery.com>
453
454 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
455 remote_download if it is empty.
456
6e45f158
DE
4572013-08-26 Doug Evans <dje@google.com>
458
779bd270
DE
459 PR symtab/15885
460 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
461 (clean): rm -f *.gdb-index *.with-index.
462 * gdb.dwarf2/gdb-index.exp: New testcase.
463
6e45f158
DE
464 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
465 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
466 run_on_host. All callers updated.
467
b1224238
YQ
4682013-08-24 Yao Qi <yao@codesourcery.com>
469
470 * gdb.trace/entry-values.c (end): New
471 (main): Call end.
472 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
473 tracepoint and collect data. Test entry value is unavailable.
474
b39a8faf
YQ
4752013-08-24 Yao Qi <yao@codesourcery.com>
476
477 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
478 * gdb.trace/entry-values.c: New.
479 * gdb.trace/entry-values.exp: New.
480
9eaabc75
MW
4812013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
482
483 PR gdb/15501
484 * gdb.base/ena-dis-br.exp: Add test to verify
485 enable/disable commands work correctly with
486 multiple arguments that include multiple locations.
487
9f948660
SDJ
4882013-08-22 Samuel Bronson <naesten@gmail.com>
489
490 ARM Linux support for `catch syscall'.
491 * gdb.base/catch-syscall.exp: Test this on ARM now.
492 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
493
e630b974
TT
4942013-08-22 Tom Tromey <tromey@redhat.com>
495
496 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
497 default addr_size.
498 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
499
f3a76454
TT
5002013-08-22 Tom Tromey <tromey@redhat.com>
501
502 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
503 standard_temp_file.
504
de5f37e1
TT
5052013-08-22 Tom Tromey <tromey@redhat.com>
506
507 * gdb.arch/amd64-byte.exp: Use standard_testfile,
508 clean_restart.
509 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
510 * gdb.arch/amd64-dword.exp: Use standard_testfile,
511 clean_restart.
512 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
513 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
514 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
515 * gdb.arch/amd64-word.exp: Use standard_testfile,
516 clean_restart.
517 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
518 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
519 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
520 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
521 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
522 * gdb.arch/i386-signal.exp: Use standard_testfile.
523 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
524 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
525 * gdb.arch/i386-unwind.exp: Use standard_testfile.
526 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
527
8448e842
TT
5282013-08-22 Tom Tromey <tromey@redhat.com>
529
530 * gdb.python/py-error.exp: Use gdb_remote_download.
531 * gdb.python/py-mi.exp: Use gdb_remote_download.
532 * gdb.python/py-objfile-script.exp: Use standard_output_file.
533 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
534 (run_lang_tests): Likewise.
535 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
536 filename.
537 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
538 compiling. Use gdb_remote_download. Update some tests.
539 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
540 standard_output_file.
541 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
542 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
543 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
544 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
545 standard_output_file.
546
16cfcbc2
TT
5472013-08-22 Tom Tromey <tromey@redhat.com>
548
549 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
550
44ee8174
TT
5512013-08-22 Tom Tromey <tromey@redhat.com>
552
553 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
554 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
555 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
556 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
557 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
558 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
559 * lib/gdb.exp (gdb_remote_download): New proc.
560
7a218f88
TT
5612013-08-22 Tom Tromey <tromey@redhat.com>
562
563 * gdb.dwarf2/clztest.exp: Use standard_testfile.
564 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
565 * gdb.dwarf2/fission-base.S: Remove directory from
566 DW_AT_GNU_dwo_name.
567 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
568 debug-file-directory.
569 * gdb.dwarf2/fission-reread.S: Remove directory from
570 DW_AT_GNU_dwo_name.
571 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
572 debug-file-directory.
573
70cc1c23
DE
5742013-08-16 Doug Evans <dje@google.com>
575
576 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
577 prelink complains about an unhandled DWARF version.
578
61884d20
DE
5792013-08-14 Cary Coutant <ccoutant@google.com>
580
581 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
582
5e92f71a
TT
5832013-08-13 Tom Tromey <tromey@redhat.com>
584 Yao Qi <yao@codesourcery.com>
585
586 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
587 * lib/gdb.exp: Handle GDB_PARALLEL.
588 (default_gdb_version): Kill inotify_pid if it exists.
589 (default_gdb_exit): Emit warning if the inotify log is not
590 empty.
591 (standard_output_file): Respect GDB_PARALLEL.
592 (standard_temp_file): Likewise.
593 (gdb_init): Start inotifywait if requested.
594
5c30d39a
AB
5952013-08-13 Andrew Burgess <aburgess@broadcom.com>
596
597 * gdb.base/printcmds.exp (test_printf): Add test for printf of
598 pointer with various flags.
599
17e1c970
TT
6002013-08-13 Tom Tromey <tromey@redhat.com>
601
602 * lib/cache.exp: New file.
603 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
604 * lib/gdb.exp: Load cache.exp.
605 (support_complex_tests, is_ilp32_target, is_lp64_target)
606 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
607 (gdb_skip_xml_test): Use gdb_caching_proc.
608 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
609
4e234898
TT
6102013-08-13 Tom Tromey <tromey@redhat.com>
611
612 * lib/gdb.exp (standard_temp_file): New proc.
613 (support_complex_tests, is_ilp32_target, is_lp64_target)
614 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
615 standard_temp_file.
616
53e981d9
TT
6172013-08-13 Tom Tromey <tromey@redhat.com>
618
619 * lib/gdb.exp (build_id_debug_filename_get): Use
620 standard_output_file.
621 * lib/prelink-support.exp (section_get)
622 (build_executable_own_libs): Use standard_output_file.
623
3f539315
TT
6242013-08-12 Tom Tromey <tromey@redhat.com>
625
626 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
627
b4013987
AA
6282013-08-12 Ali Anwar <alianwar@codesourcery.com>
629
630 * gdb.base/break.exp: Test break via convenience variable
631 with file name.
632
f61d5529
DE
6332013-08-09 Doug Evans <dje@google.com>
634
635 * lib/future.exp (gdb_find_ldd): New proc.
636 * lib/prelink-support.exp (build_executable_own_libs): Call it.
637 Make "/usr/sbin/" in prelink path optional.
638
1ed8d800
YQ
6392013-08-09 Yao Qi <yao@codesourcery.com>
640
641 * gdb.trace/collection.exp (gdb_collect_args_test): Set
642 "only" and "both" to 'print entry-values' before selecting
643 trace frame.
644
82a0a75f
YQ
6452013-08-08 Yao Qi <yao@codesourcery.com>
646
647 * gdb.trace/mi-trace-unavailable.exp: Don't set
648 "print entry-values" to "no".
649 (test_trace_unavailable): Set various values to
650 "print entry-values" to test that the output of
651 '-stack-list-locals' is not affected, and then set
652 set "print entry-values" to "no".
653
ac52f9a2
DE
6542013-08-07 Doug Evans <dje@google.com>
655
656 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
657 * gdb.python/py-value-cc.exp: Update.
658 * gdb.python/py-value.exp: Use different names for .o files for
659 C and C++. Only perform C++ tests if !skip_cplus_tests.
660
bf6d8a91
TT
6612013-08-07 Tom Tromey <tromey@redhat.com>
662
663 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
664
f9125b6c
TT
6652013-08-07 Tom Tromey <tromey@redhat.com>
666
667 * gdb.dwarf2/dwz.exp: New file.
668
3a1115a0
TT
6692013-08-02 Tom Tromey <tromey@redhat.com>
670
671 * gdb.base/watchpoint.c (struct foo5): New.
672 (nullptr): New global.
673 * gdb.base/watchpoint.exp (test_watch_location): Add test.
674
b846d303
DE
6752013-08-01 Doug Evans <dje@google.com>
676
7ee85ab1
DE
677 PR symtab/15691
678 * gdb.dwarf2/fission-mix.exp: New file.
679 * gdb.dwarf2/fission-mix.h: New file.
680 * gdb.dwarf2/fission-mix.c: New file.
681 * gdb.dwarf2/fission-mix2.c: New file.
682
b846d303
DE
683 PR symtab/15695
684 * gdb.base/func-ptr.exp: New file.
685 * gdb.base/func-ptr.c: New file.
686
67d21849
YQ
6872013-08-01 Yao Qi <yao@codesourcery.com>
688
689 * gdb.python/py-sync-interp.c: New.
690 * gdb.python/py-sync-interp.exp: New.
691
de74e63a
YQ
6922013-07-31 Yao Qi <yao@codesourcery.com>
693
694 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
695 'tdump' on stack frame 0 and 1 respectively.
696
680558e8
YQ
6972013-07-31 Yao Qi <yao@codesourcery.com>
698
699 PR gdb/13443
700 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
701 'traceframe'. Wrap test with with_test_prefix.
702 (top level): Update.
703
48bbe0bf
YQ
7042013-07-31 Yao Qi <yao@codesourcery.com>
705
706 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
707 'gdb_start'.
708 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
709 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
710
11b4b7cc
AB
7112013-07-30 Andrew Burgess <aburgess@broadcom.com>
712
713 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
714 when printing an optimized out value. Expect an error when using
715 an optimized out value in an expression.
716
b0c54aa5
AB
7172013-07-30 Andrew Burgess <aburgess@broadcom.com>
718
719 * gdb.dwarf2/pieces-optimized-out.exp: New file.
720 * gdb.dwarf2/pieces-optimized-out.c: New file.
721 * gdb.dwarf2/pieces-optimized-out.S: New file.
722
97c85fc6
MB
7232013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
724
725 PR gdb/15715
726 * gdb.base/setshow.exp: Test that relative paths passed to
727 'set history filename' are converted to absolute paths.
728
5b32ae97
KS
7292013-07-26 Keith Seitz <keiths@redhat.com>
730
731 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
732 of f77.
733 Allow for compiler variations of integer types.
734 Use mi_create_varobj.
735 Use mi_list_varobj_children for the immediate children of `array'.
736 Add "has_more" attribute for grandchildren test.
737
6f64ef53
PA
7382013-07-26 Pedro Alves <palves@redhat.com>
739
740 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
741 files.
742
fdc8aae8
AB
7432013-07-25 Andrew Burgess <aburgess@broadcom.com>
744
745 * gdb.mi/mi-reg-undefined.exp: New file.
746 * gdb.mi/mi-reg-undefined.c: Likewise.
747 * gdb.mi/mi-reg-undefined.S: Likewise.
748
6fbe845e
AB
7492013-07-25 Andrew Burgess <aburgess@broadcom.com>
750
751 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
752 z, o, and t output formats.
753 * gdb.base/display.exp: Use 'k' as an undefined format now that
754 'z' is defined.
755
7b79b135
DE
7562013-07-24 Doug Evans <dje@google.com>
757
758 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
759 "--" to switch.
760
a0607b84
YQ
7612013-07-24 Yao Qi <yao@codesourcery.com>
762
763 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
764 host.
765 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
766 Likewise. If host is remote, copy ${binfile} to host.
767
2eb14a9b
YQ
7682013-07-23 Yao Qi <yao@codesourcery.com>
769
770 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
771 message.
772
5d0a3b53
WN
7732013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
774
775 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
776 instructions and enable disp-step-syscall for arm targets.
777
9a5911c0
WN
7782013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
779
780 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
781 assembler errors on arm.
782 * gdb.dwarf2/mac-fileno.S: Likewise.
783 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
784 * gdb.dwarf2/pr13961.S: Likewise.
785
fa876972
HZ
7862013-07-19 Hui Zhu <hui@codesourcery.com>
787
788 PR gdb/15692
789 * gdb.mi/mi-dprintf.exp: Add double quotes test.
790
1527aea8
YQ
7912013-07-19 Yao Qi <yao@codesourcery.com>
792
793 * gdb.trace/read-memory.exp (test_from_remote): Update test.
794 (teset_from_exec): Likewise.
795
73c1d57e
YQ
7962013-07-19 Yao Qi <yao@codesourcery.com>
797
798 * gdb.trace/read-memory.c: New.
799 * gdb.trace/read-memory.exp: New.
800
a075c3e5
YQ
8012013-07-19 Yao Qi <yao@codesourcery.com>
802
803 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
804 $dest to link options if host is remote. Move the
805 generated file to $dest.a on host if host is remote.
806
623cc285
WN
8072013-07-18 Will Newton <will.newton@linaro.org>
808
809 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
810 to ensure the test is linked against pthreads.
811 * gdb.threads/tls-var-main.c: Likewise.
812 * gdb.threads/tls-shared.c: Likewise.
813
1f74d3b5
YQ
8142013-07-18 Yao Qi <yao@codesourcery.com>
815
816 * lib/future.exp (gdb_default_target_compile): Use tail name
817 of $destfile as the output name of compile. Move the
818 generated file to $destfile on build.
819
f6dc277e
YQ
8202013-07-18 Yao Qi <yao@codesourcery.com>
821
822 * lib/gdb.exp (gdb_compile): Set
823 gdb_saved_set_unbuffered_mode_obj to
824 set_unbuffered_mode_saved.o if host is remote. Invoke
825 remote_download to copy $unbuf_obj to host.
826
e7045703
DE
8272013-07-17 Doug Evans <dje@google.com>
828
829 * gdb.python/py-frame-args.c: New file.
830 * gdb.python/py-frame-args.py: New file.
831 * gdb.python/py-frame-args.exp New file.
832
5ea5559b
AB
8332013-07-16 Andrew Burgess <aburgess@broadcom.com>
834
835 * gdb.base/printcmds.exp (test_printf): Add tests for format
836 strings with missing format specifier.
837
4229ca0e
TT
8382013-07-16 Tom Tromey <tromey@redhat.com>
839
840 * gdb.ada/info_types.exp: Use standard_testfile.
841
5ee657d5
TT
8422013-07-16 Tom Tromey <tromey@redhat.com>
843
844 * gdb.mi/mi-basics.exp: Use standard_output_file.
845 (test_dir_specification, test_cwd_specification)
846 (test_path_specification): Use testsubdir, not subdir and objdir.
847
20e3d738
TT
8482013-07-16 Tom Tromey <tromey@redhat.com>
849
850 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
851
7d7c6477
JB
8522013-07-09 Joel Brobecker <brobecker@adacore.com>
853
854 * gdb.ada/small_reg_param.exp: Accept optional entry value
855 for parameter "w".
856
52cd8b7d
JB
8572013-07-09 Joel Brobecker <brobecker@adacore.com>
858
859 * gdb.ada/small_reg_param.exp: Remove trailing space.
860
2a998fc0
DE
8612013-07-09 Doug Evans <dje@google.com>
862
863 * gdb.base/default.exp: Update expected output of "show print array"
864 and "show print pretty".
865
0329e9fb
UW
8662013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
867
868 * gdb.threads/wp-replication.exp: Stop counting available hardware
869 watchpoints after NR_THREADS iterations.
870
1953058f
AB
8712013-07-08 Andrew Burgess <aburgess@broadcom.com>
872
873 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
874
7c0de741
YQ
8752013-07-07 Yao Qi <yao@codesourcery.com>
876
877 * boards/native-gdbserver.exp: Move invoke of
878 process_multilib_options to gdbserver-base.exp.
879 Move set_board_info 'compiler', 'gdb,noinferiorio',
880 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
881 gdbserver-base.exp.
882 Move proc ${board}_download, ${board}_upload and
883 ${board}_file to gdbserver-base.exp.
884 * boards/native-extended-gdbserver.exp: Likewise.
885 * boards/native-stdio-gdbserver.exp: Likewise.
886 * boards/gdbserver-base.exp: New file.
887
497a4c48
LM
8882013-07-05 Luis Machado <lgustavo@codesourcery.com>
889
890 * gdb.base/dump.exp: Remove arch-specific tests and do a
891 generic data address check to set is64bitonly correctly.
892
bb3f62fc
LM
8932013-07-05 Luis Machado <lgustavo@codesourcery.com>
894
895 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
896 the register number instead of expecting only 0.
897
005faa9d
WN
8982013-07-05 Will Newton <will.newton@linaro.org>
899
900 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
901 in asm syntax to allow building on ARM.
902
4767856f
YQ
9032013-07-05 Yao Qi <yao@codesourcery.com>
904
905 * boards/local-remote-host.exp: Remove obsolete comments.
906 * boards/native-extended-gdbserver.exp: Likewise.
907 * boards/native-gdbserver.exp: Likewise.
908 * boards/native-stdio-gdbserver.exp: Likewise.
909
691a26f5
AB
9102013-07-04 Andrew Burgess <aburgess@broadcom.com>
911
912 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
913 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
914 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
915
4d142eaa
JK
9162013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
917
918 * gdb.base/break-on-linker-gcd-function.exp: Replace
919 prepare_for_testing by build_executable_from_specs and clean_restart.
920
62cef515
TT
9212013-06-27 Tom Tromey <tromey@redhat.com>
922
923 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
924 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
925 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
926 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
927 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
928 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
929 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
930 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
931 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
932 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
933 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
934 Use standard_testfile, standard_output_file, prepare_for_testing,
935 clean_restart.
936
0ab77f5f
TT
9372013-06-27 Tom Tromey <tromey@redhat.com>
938
939 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
940 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
941 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
942 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
943 gdb.base/shreloc.exp, gdb.base/sigall.exp,
944 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
945 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
946 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
947 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
948 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
949 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
950 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
951 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
952 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
953 gdb.base/solib-weak.exp, gdb.base/source.exp,
954 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
955 gdb.base/stap-probe.exp, gdb.base/start.exp,
956 gdb.base/step-break.exp, gdb.base/step-bt.exp,
957 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
958 gdb.base/step-test.exp, gdb.base/structs.exp,
959 gdb.base/structs2.exp, gdb.base/structs3.exp,
960 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
961 standard_output_file, prepare_for_testing, clean_restart.
962
822bd149
TT
9632013-06-27 Tom Tromey <tromey@redhat.com>
964
965 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
966 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
967 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
968 gdb.base/pending.exp, gdb.base/permissions.exp,
969 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
970 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
971 gdb.base/printcmds.exp, gdb.base/prologue.exp,
972 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
973 gdb.base/ptype.exp, gdb.base/randomize.exp,
974 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
975 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
976 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
977 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
978 standard_testfile, standard_output_file, prepare_for_testing,
979 clean_restart.
980
f8b41b00
TT
9812013-06-27 Tom Tromey <tromey@redhat.com>
982
a8c97a87
TT
983 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
984 gdb.base/huge.exp, gdb.base/included.exp,
985 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
986 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
987 gdb.base/info-os.exp, gdb.base/info-proc.exp,
988 gdb.base/info-target.exp, gdb.base/infoline.exp,
989 gdb.base/interp.exp, gdb.base/interrupt.exp,
990 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
991 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
992 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
993 gdb.base/logical.exp, gdb.base/long_long.exp,
994 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
995 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
996 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
997 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
998 standard_testfile, standard_output_file, prepare_for_testing,
999 clean_restart.
1000
289f9037
TT
10012013-06-27 Tom Tromey <tromey@redhat.com>
1002
a8c97a87
TT
1003 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1004 gdb.base/enumval.exp, gdb.base/environ.exp,
1005 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1006 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1007 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1008 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1009 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1010 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1011 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1012 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1013 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1014 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1015 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1016 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1017 gdb.base/gnu_vector.exp: Use standard_testfile,
1018 standard_output_file, prepare_for_testing, clean_restart.
289f9037 1019
f76495c8
TT
10202013-06-27 Tom Tromey <tromey@redhat.com>
1021
a8c97a87
TT
1022 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1023 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1024 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1025 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1026 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1027 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1028 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1029 gdb.base/commands.exp, gdb.base/completion.exp,
1030 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1031 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1032 gdb.base/constvars.exp, gdb.base/corefile.exp,
1033 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1034 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1035 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1036 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1037 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
1038 standard_output_file, prepare_for_testing, clean_restart.
1039
a64d2530
TT
10402013-06-27 Tom Tromey <tromey@redhat.com>
1041
a8c97a87
TT
1042 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1043 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1044 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1045 gdb.base/async-shell.exp, gdb.base/async.exp,
1046 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1047 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1048 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1049 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1050 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1051 gdb.base/break-on-linker-gcd-function.exp,
1052 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
1053 standard_output_file, prepare_for_testing, clean_restart.
1054
aaff8d73
YQ
10552013-06-26 Yao Qi <yao@codesourcery.com>
1056
1057 * gdb.trace/mi-trace-frame-collected.exp: New.
1058
a0743c90
YQ
10592013-06-25 Yao Qi <yao@codesourcery.com>
1060
1061 * boards/native-extended-gdbserver.exp: Set board_info
1062 'gdb,predefined_tsv'.
1063 * boards/native-gdbserver.exp: Likewise.
1064 * boards/native-stdio-gdbserver.exp: Likewise.
1065 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1066 uploaded TSVs if target supports tracing.
1067 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1068 tracing and target has predefined tsv.
1069
9d6e6e84
HZ
10702013-06-25 Yao Qi <yao@codesourcery.com>
1071 Hui Zhu <hui@codesourcery.com>
1072 Pedro Alves <palves@redhat.com>
1073
1074 PR breakpoints/15075
1075 PR breakpoints/15434
1076 * gdb.base/dprintf-next.c: New file.
1077 * gdb.base/dprintf-next.exp: New file.
1078 * gdb.base/dprintf-non-stop.c: New file.
1079 * gdb.base/dprintf-non-stop.exp: New file.
1080 * gdb.base/dprintf.exp: Don't check "continue" in the output
1081 of "info breakpoints".
1082 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1083 Don't check "continue" in script field.
1084
e7ab3185
TT
10852013-06-21 Tom Tromey <tromey@redhat.com>
1086
1087 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1088 name in a test name.
1089
c898adb7
YQ
10902013-06-20 Yao Qi <yao@codesourcery.com>
1091
1092 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1093 and set an action.
1094 (test_trace_unavailable): Test command -data-list-register-values
1095 in the context of traceframe and with option --skip-unavailable.
1096 * gdb.trace/trace-unavailable.c (foo): New.
1097 (main): Call it.
1098 * gdb.mi/gdb2549.exp: Update matching pattern.
1099
4d157a3d
MF
11002013-06-19 Mike Frysinger <vapier@gentoo.org>
1101
1102 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1103 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1104 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1105 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1106 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1107
d69cace4
LM
11082013-06-19 Luis Machado <lgustavo@codesourcery.com>
1109
1110 * gdb.base/subst.exp: Delete default rules before further
1111 tests.
1112
9bdd0636
YQ
11132013-06-19 Yao Qi <yao@codesourcery.com>
1114
1115 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1116 unsupported if it is not registered.
1117
427cd150
TT
11182013-06-18 Tom Tromey <tromey@redhat.com>
1119
1120 * gdb.base/random-signal.c: New file.
1121 * gdb.base/random-signal.exp: New file.
1122
6de7c271
WN
11232013-06-18 Will Newton <will.newton@linaro.org>
1124
1125 * gdb.base/skip.c: Use comma to evaluate results of foo()
1126 and bar() before passing to baz().
1127 * gdb.base/skip.c: baz() now takes one argument instead of
1128 two.
1129
5bd1ef56
TT
11302013-06-18 Tom Tromey <tromey@redhat.com>
1131
1132 * gdb.dwarf2/implptrpiece.exp: New file.
1133 * gdb.dwarf2/implptrconst.exp (d): New variable.
1134 Print d.
1135 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1136
e379b391
TT
11372013-06-18 Tom Tromey <tromey@redhat.com>
1138
1139 * lib/selftest-support.exp (do_self_tests): Reject remote or
1140 non-native targets.
1141 * gdb.gdb/complaints.exp: Remove check.
1142 * gdb.gdb/observer.exp: Remove check.
1143 * gdb.gdb/xfullpath.exp: Remove check.
1144 * gdb.gdb/complaints.exp: Remove check.
1145
4ec70201
PA
11462013-06-07 Pedro Alves <palves@redhat.com>
1147
1148 * boards/native-extended-gdbserver.exp: Remove semicolon.
1149 * config/arm-ice.exp: Likewise.
1150 * config/bfin.exp: Likewise.
1151 * config/cygmon.exp: Likewise.
1152 * config/h8300.exp: Likewise.
1153 * config/monitor.exp: Likewise.
1154 * config/sid.exp: Likewise.
1155 * config/sim.exp: Likewise.
1156 * config/slite.exp: Likewise.
1157 * config/vx.exp: Likewise.
1158 * gdb.arch/i386-bp_permanent.exp: Likewise.
1159 * gdb.asm/asm-source.exp: Likewise.
1160 * gdb.base/args.exp: Likewise.
1161 * gdb.base/attach-pie-misread.exp: Likewise.
1162 * gdb.base/auxv.exp: Likewise.
1163 * gdb.base/bigcore.exp: Likewise.
1164 * gdb.base/bitfields2.exp: Likewise.
1165 * gdb.base/bitfields.exp: Likewise.
1166 * gdb.base/break.exp: Likewise.
1167 * gdb.base/break-interp.exp: Likewise.
1168 * gdb.base/callfuncs.exp: Likewise.
1169 * gdb.base/call-sc.exp: Likewise.
1170 * gdb.base/commands.exp: Likewise.
1171 * gdb.base/corefile.exp: Likewise.
1172 * gdb.base/dbx.exp: Likewise.
1173 * gdb.base/ending-run.exp: Likewise.
1174 * gdb.base/exprs.exp: Likewise.
1175 * gdb.base/funcargs.exp: Likewise.
1176 * gdb.base/hbreak2.exp: Likewise.
1177 * gdb.base/huge.exp: Likewise.
1178 * gdb.base/list.exp: Likewise.
1179 * gdb.base/memattr.exp: Likewise.
1180 * gdb.base/overlays.exp: Likewise.
1181 * gdb.base/printcmds.exp: Likewise.
1182 * gdb.base/recurse.exp: Likewise.
1183 * gdb.base/remotetimeout.exp: Likewise.
1184 * gdb.base/reread.exp: Likewise.
1185 * gdb.base/savedregs.exp: Likewise.
1186 * gdb.base/scope.exp: Likewise.
1187 * gdb.base/sepdebug.exp: Likewise.
1188 * gdb.base/setshow.exp: Likewise.
1189 * gdb.base/setvar.exp: Likewise.
1190 * gdb.base/sigaltstack.exp: Likewise.
1191 * gdb.base/siginfo-addr.exp: Likewise.
1192 * gdb.base/siginfo.exp: Likewise.
1193 * gdb.base/siginfo-obj.exp: Likewise.
1194 * gdb.base/sigrepeat.exp: Likewise.
1195 * gdb.base/sigstep.exp: Likewise.
1196 * gdb.base/structs.exp: Likewise.
1197 * gdb.base/testenv.exp: Likewise.
1198 * gdb.base/twice.exp: Likewise.
1199 * gdb.base/valgrind-db-attach.exp: Likewise.
1200 * gdb.base/valgrind-infcall.exp: Likewise.
1201 * gdb.base/varargs.exp: Likewise.
1202 * gdb.base/watchpoint.exp: Likewise.
1203 * gdb.cp/gdb1355.exp: Likewise.
1204 * gdb.cp/misc.exp: Likewise.
1205 * gdb.disasm/hppa.exp: Likewise.
1206 * gdb.disasm/t01_mov.exp: Likewise.
1207 * gdb.disasm/t02_mova.exp: Likewise.
1208 * gdb.disasm/t03_add.exp: Likewise.
1209 * gdb.disasm/t04_sub.exp: Likewise.
1210 * gdb.disasm/t05_cmp.exp: Likewise.
1211 * gdb.disasm/t06_ari2.exp: Likewise.
1212 * gdb.disasm/t07_ari3.exp: Likewise.
1213 * gdb.disasm/t08_or.exp: Likewise.
1214 * gdb.disasm/t09_xor.exp: Likewise.
1215 * gdb.disasm/t10_and.exp: Likewise.
1216 * gdb.disasm/t11_logs.exp: Likewise.
1217 * gdb.disasm/t12_bit.exp: Likewise.
1218 * gdb.disasm/t13_otr.exp: Likewise.
1219 * gdb.gdb/selftest.exp: Likewise.
1220 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1221 * gdb.mi/mi-reverse.exp: Likewise.
1222 * gdb.pascal/floats.exp: Likewise.
1223 * gdb.python/py-inferior.exp: Likewise.
1224 * gdb.threads/attach-into-signal.exp: Likewise.
1225 * gdb.threads/pthreads.exp: Likewise.
1226 * gdb.threads/thread_events.exp: Likewise.
1227 * gdb.threads/watchthreads.exp: Likewise.
1228 * gdb.trace/actions-changed.exp: Likewise.
1229 * gdb.trace/actions.exp: Likewise.
1230 * gdb.trace/ax.exp: Likewise.
1231 * gdb.trace/backtrace.exp: Likewise.
1232 * gdb.trace/change-loc.exp: Likewise.
1233 * gdb.trace/deltrace.exp: Likewise.
1234 * gdb.trace/disconnected-tracing.exp: Likewise.
1235 * gdb.trace/ftrace.exp: Likewise.
1236 * gdb.trace/infotrace.exp: Likewise.
1237 * gdb.trace/passc-dyn.exp: Likewise.
1238 * gdb.trace/passcount.exp: Likewise.
1239 * gdb.trace/pending.exp: Likewise.
1240 * gdb.trace/qtro.exp: Likewise.
1241 * gdb.trace/range-stepping.exp: Likewise.
1242 * gdb.trace/report.exp: Likewise.
1243 * gdb.trace/save-trace.exp: Likewise.
1244 * gdb.trace/status-stop.exp: Likewise.
1245 * gdb.trace/strace.exp: Likewise.
1246 * gdb.trace/tfile.exp: Likewise.
1247 * gdb.trace/tfind.exp: Likewise.
1248 * gdb.trace/trace-break.exp: Likewise.
1249 * gdb.trace/tracecmd.exp: Likewise.
1250 * gdb.trace/trace-mt.exp: Likewise.
1251 * gdb.trace/tspeed.exp: Likewise.
1252 * gdb.trace/tsv.exp: Likewise.
1253 * gdb.trace/while-stepping.exp: Likewise.
1254 * lib/gdb.exp: Likewise.
1255 * lib/gdbserver-support.exp: Likewise.
1256 * lib/java.exp: Likewise.
1257 * lib/mi-support.exp: Likewise.
1258 * lib/pascal.exp: Likewise.
1259 * lib/prompt.exp: Likewise.
1260 * lib/trace-support.exp: Likewise.
1261
47d48711
PA
12622013-06-07 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.ada/info_types.c: Fix formating in copyright header.
1265 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1266 * gdb.base/float.c: Likewise.
1267 * gdb.base/inferior-died.c: Likewise.
1268 * gdb.base/interp.c: Likewise.
1269 * gdb.base/jit-main.c: Likewise.
1270 * gdb.base/jit-solib.c: Likewise.
1271 * gdb.base/long_long.c: Likewise.
1272 * gdb.base/longjmp.c: Likewise.
1273 * gdb.base/nextoverexit.c: Likewise.
1274 * gdb.base/pr11022.c: Likewise.
1275 * gdb.base/prelink-lib.c: Likewise.
1276 * gdb.base/prelink.c: Likewise.
1277 * gdb.base/prologue.c: Likewise.
1278 * gdb.base/restore.c: Likewise.
1279 * gdb.base/sigchld.c: Likewise.
1280 * gdb.base/solib-search-lib1.c: Likewise.
1281 * gdb.base/solib-search-lib2.c: Likewise.
1282 * gdb.base/solib-search.c: Likewise.
1283 * gdb.base/solib-search.h: Likewise.
1284 * gdb.base/whatis.c: Likewise.
1285 * gdb.cp/abstract-origin.cc: Likewise.
1286 * gdb.cp/anon-struct.cc: Likewise.
1287 * gdb.cp/baseenum.cc: Likewise.
1288 * gdb.cp/bs15503.cc: Likewise.
1289 * gdb.cp/call-c-1.c: Likewise.
1290 * gdb.cp/call-c.cc: Likewise.
1291 * gdb.cp/class2.cc: Likewise.
1292 * gdb.cp/classes.cc: Likewise.
1293 * gdb.cp/cttiadd.cc: Likewise.
1294 * gdb.cp/cttiadd1.cc: Likewise.
1295 * gdb.cp/cttiadd2.cc: Likewise.
1296 * gdb.cp/cttiadd3.cc: Likewise.
1297 * gdb.cp/derivation.cc: Likewise.
1298 * gdb.cp/derivation2.cc: Likewise.
1299 * gdb.cp/dispcxx.cc: Likewise.
1300 * gdb.cp/exception.cc: Likewise.
1301 * gdb.cp/gdb2384-base.cc: Likewise.
1302 * gdb.cp/gdb2384-base.h: Likewise.
1303 * gdb.cp/gdb2384.cc: Likewise.
1304 * gdb.cp/gdb2495.cc: Likewise.
1305 * gdb.cp/mb-inline.h: Likewise.
1306 * gdb.cp/mb-inline1.cc: Likewise.
1307 * gdb.cp/mb-inline2.cc: Likewise.
1308 * gdb.cp/member-name.cc: Likewise.
1309 * gdb.cp/member-ptr.cc: Likewise.
1310 * gdb.cp/misc.cc: Likewise.
1311 * gdb.cp/namespace1.cc: Likewise.
1312 * gdb.cp/nextoverthrow.cc: Likewise.
1313 * gdb.cp/pr-574.cc: Likewise.
1314 * gdb.cp/pr9631.cc: Likewise.
1315 * gdb.cp/printmethod.cc: Likewise.
1316 * gdb.cp/psmang1.cc: Likewise.
1317 * gdb.cp/psmang2.cc: Likewise.
1318 * gdb.cp/psymtab-parameter.cc: Likewise.
1319 * gdb.cp/ptype-flags.cc: Likewise.
1320 * gdb.cp/ref-params.cc: Likewise.
1321 * gdb.cp/ref-types.cc: Likewise.
1322 * gdb.cp/smartp.cc: Likewise.
1323 * gdb.cp/try_catch.cc: Likewise.
1324 * gdb.cp/userdef.cc: Likewise.
1325 * gdb.cp/using-crash.cc: Likewise.
1326 * gdb.cp/virtfunc.cc: Likewise.
1327 * gdb.cp/virtfunc2.cc: Likewise.
1328 * gdb.dwarf2/callframecfa.S: Likewise.
1329 * gdb.dwarf2/dw2-ranges.c: Likewise.
1330 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1331 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1332 * gdb.dwarf2/dw2-restore.S: Likewise.
1333 * gdb.dwarf2/pieces.S: Likewise.
1334 * gdb.dwarf2/valop.S: Likewise.
1335 * gdb.java/jnpe.java: Likewise.
1336 * gdb.mi/mi-stepn.c: Likewise.
1337 * gdb.mi/mi-var-cp.cc: Likewise.
1338 * gdb.mi/mi-var-rtti.cc: Likewise.
1339 * gdb.mi/ns-stale-regcache.c: Likewise.
1340 * gdb.mi/pr11022.c: Likewise.
1341 * gdb.mi/solib-lib.c: Likewise.
1342 * gdb.mi/solib-main.c: Likewise.
1343 * gdb.python/py-arch.c: Likewise.
1344 * gdb.python/py-block.c: Likewise.
1345 * gdb.python/py-breakpoint.c: Likewise.
1346 * gdb.python/py-events.c: Likewise.
1347 * gdb.python/py-evthreads.c: Likewise.
1348 * gdb.python/py-explore.c: Likewise.
1349 * gdb.python/py-explore.cc: Likewise.
1350 * gdb.python/py-finish-breakpoint.c: Likewise.
1351 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1352 * gdb.python/py-symbol.c: Likewise.
1353 * gdb.threads/execl.c: Likewise.
1354 * gdb.threads/execl1.c: Likewise.
1355
88ab5684
WN
13562013-06-07 Will Newton <will.newton@linaro.org>
1357
1358 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1359
42daa7a0
WN
13602013-06-07 Will Newton <will.newton@linaro.org>
1361
1362 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1363 and "starting".
1364
f4059ef3
WN
13652013-06-07 Will Newton <will.newton@linaro.org>
1366
1367 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1368 destructor prototypes for ARM ABI.
1369 * gdb.cp/m-static.exp: Likewise.
1370
8cb5cc78
YQ
13712013-06-07 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.trace/mi-trace-unavailable.exp: New.
1374 * gdb.trace/trace-unavailable.c: New.
1375
c6cf1712
DE
13762013-06-06 Doug Evans <dje@google.com>
1377
1378 * gdb.cp/derivation.exp: Make tests have unique names.
1379
bf6be0f4
TT
13802013-06-06 Tom Tromey <tromey@redhat.com>
1381
1382 * gdb.base/dump.exp (capture_value): Don't put expression into
1383 test name if arguments passed in.
1384 Rename a couple more tests to make them unique.
1385
ebb022fa
TT
13862013-06-06 Tom Tromey <tromey@redhat.com>
1387
1388 * gdb.base/break-always.exp: Explicitly specify test name.
1389
69fc87c2
DE
13902013-06-05 Doug Evans <dje@google.com>
1391 Keith Seitz <keiths@redhat.com>
1392
1393 * gdb.cp/derivation2.cc: New file.
1394 * gdb.cp/derivation.cc (main): Call foo2.
1395 * gdb.cp/derivation.exp: Add tests for typedefs in another
1396 file, and when there's an active block.
1397
f993f39e
LM
13982013-06-05 Luis Machado <lgustavo@codesourcery.com>
1399
1400 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1401 from targets that use function descriptors in the virtual tables.
1402 Handle presence of dot symbols.
1403
afacd7f3
GB
14042013-06-04 Gary Benson <gbenson@redhat.com>
1405
1406 * gdb.base/break-probes.exp: New file.
1407 * gdb.base/break-probes.c: Likewise.
1408 * gdb.base/break-probes-solib.c: Likewise.
1409 * gdb.base/info-shared.exp: New file.
1410 * gdb.base/info-shared.c: Likewise.
1411 * gdb.base/info-shared-solib1.c: Likewise.
1412 * gdb.base/info-shared-solib2.c: Likewise.
1413
a29a3fb7
GB
14142013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1415 Gary Benson <gbenson@redhat.com>
1416
1417 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1418 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1419 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1420 to be set to "no" to indicate that no ld.so copy should be made.
1421 * gdb.base/break-interp.exp (solib_bp): New constant.
1422 (reach_1): Use the above instead of "_dl_debug_state".
1423 (test_attach): Likewise.
1424 (test_ld): Likewise.
1425 * gdb.threads/dlopen-libpthread.exp: New file.
1426 * gdb.threads/dlopen-libpthread.c: Likewise.
1427 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1428 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1429
62a813cc
YQ
14302013-05-30 Yao Qi <yao@codesourcery.com>
1431
1432 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1433 Add a test that no MI notification is emitted when executing
1434 -exec-arguments.
1435
8f56dad4
JK
14362013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1437
1438 PR testsuite/12649
1439 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1440 $mi_gdb_prompt expectation by mi_expect_stop.
1441 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1442 (mi info dprintf second time): Replace them by mi_send_resuming_command
1443 and mi_expect_stop.
1444
c588eb20
GB
14452013-05-24 Gary Benson <gbenson@redhat.com>
1446
1447 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1448 backslash.
1449 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1450 backslashes.
1451 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1452 backslash.
1453
c0ea94eb
YQ
14542013-05-24 Yao Qi <yao@codesourcery.com>
1455
1456 * gdb.trace/tfile.exp: Test inferior and thread.
1457
db1ac436
YQ
14582013-05-24 Yao Qi <yao@codesourcery.com>
1459 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1462 test fails.
1463 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1464 Return 0 if the test passes, otherwise return 1.
1465
b6abb10c
DE
14662013-05-23 Doug Evans <dje@google.com>
1467
1468 * boards/fission-dwp.exp: New file.
1469
bc5065a7
PA
14702013-05-23 Yao Qi <yao@codesourcery.com>
1471 Pedro Alves <palves@redhat.com>
1472
1473 * gdb.base/range-stepping.c: New file.
1474 * gdb.base/range-stepping.exp: New file.
1475 * gdb.trace/range-stepping.c: New file.
1476 * gdb.trace/range-stepping.exp: New file.
1477 * lib/range-stepping-support.exp: New file.
1478
5f2e6b00
TT
14792013-05-22 Tom Tromey <tromey@redhat.com>
1480
1481 * gdb.cp/class2.cc (main): New local 'aref'.
1482 * gdb.cp/class2.exp: Check printing of 'aref'.
1483
e6ba475a
DE
14842013-05-22 Doug Evans <dje@google.com>
1485
1486 * gdb.threads/wp-replication.c (main): Insert some code at the start
1487 to ensure the breakpoint on main is only hit once. Fix comment.
1488
52c935b6
KS
14892013-05-21 Keith Seitz <keiths@redhat.com>
1490 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1493 gdb_expect.
1494 Add test to flush the remaining input buffer so that this
1495 file passes testsuite/12649.
1496
bd9673a4
PW
14972013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1498
1499 * gdb.base/catch-signal-fork.exp: New file.
1500 * gdb.base/catch-signal-fork.c: New file.
1501
69a97597
SA
15022013-05-21 Sterling Augustine <saugustine@google.com>
1503
1504 * boards/remote-stdio-gdbserver.exp: New file.
1505
44e97363
JK
15062013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1507
1508 PR testsuite/12649
1509 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1510 racy matches.
1511
02392865
CG
15122013-05-21 Christian Groessler <chris@groessler.org>
1513
1514 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1515 since it's not supported in all shells.
1516
c5867ab6
HZ
15172013-05-21 Hui Zhu <hui@codesourcery.com>
1518
1519 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1520 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1521
6c9e2db4
DE
15222013-05-20 Doug Evans <dje@google.com>
1523
1524 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1525 (_handle_DW_TAG): Use it.
1526 (cu, tu): Replace parameters is_64, version, addr_size with options.
1527 All callers updated. Add Fission support.
1528 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1529 * gdb.dwarf2/method-ptr.exp: Ditto.
1530 * gdb.dwarf2/nostaticblock.exp: Ditto.
1531 * gdb.dwarf2/subrange.exp: Ditto.
1532 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1533
4a6e676c
TT
15342013-05-20 Tom Tromey <tromey@redhat.com>
1535
1536 * gdb.gdb/python-selftest.exp: New file.
1537
e19d3afb
DE
15382013-05-20 Doug Evans <dje@google.com>
1539
1540 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1541 -fdebug-types-section.
1542
4d804846
JB
15432013-05-20 Joel Brobecker <brobecker@adacore.com>
1544
1545 * gdb.ada/float_param: New testcase.
1546
8d324e83
DE
15472013-05-17 Doug Evans <dje@google.com>
1548
7d0c9981
DE
1549 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1550 Add tests for "maint check-symtabs", "maint expand-symtabs".
1551
8d324e83
DE
1552 * gdb.base/maint.exp: Remove testing of individual maint command
1553 help output.
1554
177aadc4
PA
15552013-05-16 Pedro Alves <palves@redhat.com>
1556
1557 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1558 comment. Use gdb_test_no_output.
1559
b8fea896
JB
15602013-05-16 Joel Brobecker <brobecker@adacore.com>
1561
1562 * gdb.ada/complete.exp: Add test verifying completion using
1563 the "tab" key.
1564
52c935b6
KS
15652013-05-15 Keith Seitz <keiths@redhat.com>
1566
1567 * gdb.base/filesym.exp: New completer test.
1568 * gdb.base/filesym.c: New file.
1569
ed0f00b8
PA
15702013-05-15 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.base/fixsection.c: Remove attribution.
1573 * gdb.base/watch-read.exp: Ditto.
1574
55fb6d27
TT
15752013-05-13 Tom Tromey <tromey@redhat.com>
1576
1577 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1578 size and change type sizes to 4 bytes.
1579
ac1ca910
TT
15802013-05-13 Tom Tromey <tromey@redhat.com>
1581
1582 * gdb.base/exprs.exp (test_expr): Add regression test.
1583 * gdb.base/exprs.c (null_t_struct): New global.
1584
8414efef
MB
15852013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1586
1587 * gdb.base/default.exp: Disable history saving.
1588 * gdb.base/setshow.exp: Likewise.
1589
9779ab84
PA
15902013-05-10 Pedro Alves <palves@redhat.com>
1591
1592 PR remote/15455
1593
1594 * gdb.trace/qtro.c: New file.
1595 * gdb.trace/qtro.exp: New file.
1596
1e611234
PM
15972013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1598
1599 * gdb.python/py-framefilter.py: New File.
1600 * gdb.python/py-framefilter-mi.exp: Ditto.
1601 * gdb.python/py-framefilter.c: Ditto.
1602 * gdb.python/py-framefilter-mi.exp: Ditto.
1603 * gdb.python/py-framefilter-mi.c: Ditto,
1604 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1605
5e4c3ac4
TT
16062013-05-08 Tom Tromey <tromey@redhat.com>
1607
1608 * gdb.base/solib-search.exp: Set test name for "set
1609 solib-search-path" test.
1610
993654a9
HAQ
16112013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1612
1613 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1614 (set_a_tracepoint): Set tracepoint before prologue.
1615 (run_trace_experiment): Test setup_tracepoints and 'break end'
1616 in it.
1617 (trace_buffer_normal): Remove.
1618 (gdb_trace_circular_tests): Remove. Move tests to...
1619 (top level): ...here. Call 'runto_main' before checking for
1620 trace support. Use commands to check the support for circular
1621 trace buffer and changing of trace buffer size. Add test
1622 to calculate size of single frame. Use this size to
1623 calculate the size of trace buffer. Use 'tfind pc func9'
1624 instead of 'tfind 9'. Use 'with_test_prefix'.
1625
c95aea6b
TT
16262013-05-07 Tom Tromey <tromey@redhat.com>
1627
1628 * lib/selftest-support.exp: New file.
1629 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1630 do_self_tests.
1631 (setup_test, find_gdb): Remove.
1632 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1633 do_self_tests.
1634 (setup_test, find_gdb): Remove.
1635 (test_observer): Don't call setup_test. Remove argument.
1636 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1637 (find_gdb): Remove.
1638 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1639 do_self_tests.
1640 (setup_test, find_gdb): Remove.
1641 (test_with_self): Don't call setup_test. Remove argument.
1642
1f031429
PA
16432013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1644
1645 * gdb.arch/system-gcore.exp: Remove.
1646 * gdb.arch/gcore.c: Remove.
1647 * gdb.base/gcore.exp: Add "info reg system".
1648
58ce7251
SDJ
16492013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1650
1651 PR breakpoints/15413:
1652 * gdb.base/pending.exp: Add test for completion of the "condition"
1653 command for pending breakpoints.
1654 * gdb.linespec/linespec.ex: Add test for completion of the
1655 "condition" command when dealing with multiple locations.
1656
aacbb8a5
LM
16572013-05-07 Luis Machado <lgustavo@codesourcery.com>
1658
1659 * gdb.threads/wp-replication.c: New file.
1660 * gdb.threads/wp-replication.exp: New file.
1661
2dd6254d
SL
16622013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1663
1664 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1665
c2a96e8c
DE
16662013-05-06 Doug Evans <dje@google.com>
1667
b903e17e
DE
1668 * gdb.base/solib-search-lib1.c: New file.
1669 * gdb.base/solib-search-lib2.c: New file.
1670 * gdb.base/solib-search.c: New file.
1671 * gdb.base/solib-search.h: New file.
1672 * gdb.base/solib-search.exp: New file.
1673
fac51dd9
DE
1674 * lib/gdb.exp (gdb_core_cmd): New function.
1675 * gdb.arch/system-gcore.exp: Use it.
1676 * gdb.arch/vsx-regs.exp: Ditto.
1677 * gdb.base/gcore.exp: Ditto.
1678 * gdb.threads/gcore-thread.exp: Ditto.
1679
c2a96e8c
DE
1680 * gdb.reverse/shr.h: New file.
1681 * gdb.reverse/shr1.c: New file.
1682 * gdb.reverse/shr2.c: #include "shr.h".
1683 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1684 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1685 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1686 Update tests using sleep/printf to use shr2.sl instead.
1687 * gdb.reverse/solib-reverse.exp: Ditto.
1688
b6807d98
TT
16892013-05-06 Tom Tromey <tromey@redhat.com>
1690
1691 * gdb.dwarf2/implptrconst.c: New file.
1692 * gdb.dwarf2/implptrconst.exp: New file.
1693 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1694 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1695 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1696
96f7d3f1
PW
16972013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1698
1699 * gdb.base/catch-sig.c (main): Raise SIGINT.
1700 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1701
1ebff1fd
HAQ
17022013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1703
1704 * status-stop.exp (test_tstart_tstart): Check for error
1705 returned by the second 'tstart' command.
1706
f92b06da
WT
17072013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1708
1709 * gdb.xml/maint_print_struct.exp: New file.
1710 * gdb.xml/maint_print_struct.xml: New file.
1711
ff546935
TT
17122013-04-25 Tom Tromey <tromey@redhat.com>
1713
1714 * gdb.dwarf2/nostaticblock.exp: New file.
1715
bf9e4d0c
MB
17162013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1717
1718 PR gdb/10462
1719 * gdb.base/setshow.exp: Add test case.
1720
a11cfd87
HZ
17212013-04-23 Hui Zhu <hui@codesourcery.com>
1722
1723 PR gdb/15293
a11cfd87
HZ
1724 * gdb.base/dprintf.exp: Add ignore command.
1725
2d9442cc
HZ
17262013-04-23 Hui Zhu <hui@codesourcery.com>
1727
1728 PR gdb/15165
2d9442cc
HZ
1729 * gdb.base/save-bp.exp: Add test for dprintf.
1730
0f3305ed
TT
17312013-04-22 Tom Tromey <tromey@redhat.com>
1732
1733 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1734 notice_open_fds.
1735
d504301e
SDJ
17362013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1737
1738 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1739 ldflags.
1740
9991b207
SDJ
17412013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1742
1743 * gdb.arch/arm-bl-branch-dest.c: New file.
1744 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1745
433730c9
PA
17462013-04-19 Vladimir Kargov <kargov@gmail.com>
1747 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.arch/i386-float.S: New file.
1750 * gdb.arch/i386-float.exp: New file.
1751
9a908334
LM
17522013-04-18 Luis Machado <lgustavo@codesourcery.com>
1753
1754 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1755 type void *.
1756
4f22ed5c
DE
17572013-04-17 Doug Evans <dje@google.com>
1758
1759 * lib/dwarf.exp (Dwarf): New proc "tu".
1760 * gdb.dwarf2/missing-sig-type.exp: New file.
1761
a0d3f2f5
SCR
17622013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1763
1764 Add option to link testcases with Pthreads library when
1765 using 'prepare_for_testing' in tests.
1766
1767 * lib/gdb.exp (build_executable_from_specs): Use
1768 gdb_compile_pthreads to compile if option "pthreads" is
1769 specified.
1770
cc16e6c9
TT
17712013-04-15 Tom Tromey <tromey@redhat.com>
1772
1773 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1774
72f1fe8a
TT
17752013-04-15 Tom Tromey <tromey@redhat.com>
1776
1777 * gdb.base/default.exp: Update for $_exception.
1778 * gdb.cp/exceptprint.cc: New file.
1779 * gdb.cp/exceptprint.exp: New file.
1780 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1781
6e72ca20
TT
17822013-04-15 Tom Tromey <tromey@redhat.com>
1783
1784 * gdb.cp/typeid.cc: New file.
1785 * gdb.cp/typeid.exp: New file.
1786
591f19e8
TT
17872013-04-15 Tom Tromey <tromey@redhat.com>
1788
1789 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1790
da9160e4
YQ
17912013-04-13 Yao Qi <yao@codesourcery.com>
1792
1793 * gdb.base/completion.exp: Test completion of command
1794 'target ctf' if target ctf is supported.
1795
f81d1120
PA
17962013-04-10 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.base/completion.exp: Test "set height", "set listsize" and
1799 "set trace-buffer-size" completion.
1800 * gdb.base/setshow.exp: Test "set height unlimited".
1801 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1802 unlimited".
1803
393fd4c3
YQ
18042013-04-10 Yao Qi <yao@codesourcery.com>
1805
1806 * gdb.trace/actions.exp: Save trace data to CTF.
1807 Change to ctf target if GDB supports, read CTF data in ctf
1808 target, and check the actions of tracepoints.
1809 * gdb.trace/while-stepping.exp: Likewise.
1810 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1811 format and read CTF trace file if GDB supports.
1812 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1813 target is supported, change to ctf target, read trace data and
1814 check output of command "tstatus".
1815 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1816 read CTF data by target ctf and call check_tsv.
1817
b7a273f8
YQ
18182013-04-10 Yao Qi <yao@codesourcery.com>
1819
1820 * gdb.trace/actions.exp (check_tracepoint): New.
1821 (top level): Start the tracing and check the actions of
1822 tracepoints. Save trace data to tfile format. Restart GDB
1823 and read trace file in tfile target. Check the actions of
1824 tracepoints again.
1825 * gdb.trace/while-stepping.exp: Likewise.
1826
f3786771
YQ
18272013-04-10 Yao Qi <yao@codesourcery.com>
1828
1829 * gdb.trace/report.exp: Use standard_output_file for saved
1830 trace file.
1831
5c2b4418
HZ
18322013-04-10 Hui Zhu <hui@codesourcery.com>
1833
1834 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1835 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1836 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1837
f7543f0a
JK
18382013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1839
1840 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1841 response.
1842
f6de8ec2
PA
18432013-04-08 Pedro Alves <palves@redhat.com>
1844
1845 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1846 the location.
1847
b8abfd58
SL
18482013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1849
1850 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1851 for breakpoint location.
1852
156bffd0
SL
18532013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1854
1855 * gdb.linespec/linespec.exp: Make dir/file:line tests
1856 conditional for non-remote hosts only.
1857
c9a6ce02
PA
18582013-04-04 Stan Shebs <stan@codesourcery.com>
1859 Pedro Alves <palves@redhat.com>
1860
1861 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1862 * gdb.trace/actions-changed.c: New file.
1863 * gdb.trace/actions-changed.exp: New file.
1864 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1865 (gdb_trace_setactions_command): ... this. Add "actions_command"
1866 parameter, and handle it.
1867 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1868
4bd05f24
YQ
18692013-04-04 Yao Qi <yao@codesourcery.com>
1870
1871 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1872 'step'.
1873
3758b5ce
YQ
18742013-04-03 Yao Qi <yao@codesourcery.com>
1875
1876 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1877 "tfile-basic.tf".
1878 (test_tfind_tfile): Likewise.
1879
1dcaed0d
YQ
18802013-04-03 Yao Qi <yao@codesourcery.com>
1881
1882 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1883 "tfile-basic.tf" instead of "basic.tf".
1884 (write_error_trace_file): Pass argument "tfile-error.tf"
1885 instead of "error.tf".
1886 * gdb.trace/tfile.exp: Update tfile names to
1887 "tfile-basic.tf" and "tfile-error.tf".
1888
0e7a53fc
SL
18892013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1890
1891 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1892 empty directory in file for breakpoint hit.
1893
9852c492
YQ
18942013-03-29 Yao Qi <yao@codesourcery.com>
1895
1896 * gdb.base/completion.exp: Test completion of commands
1897 "target core", "target tfile" and "target exec".
1898 * gdb.trace/tfile.exp: Test completion of command
1899 "target tfile".
1900
af312be7
JB
19012013-03-28 Joel Brobecker <brobecker@adacore.com>
1902
1903 * gdb.ada/win_fu_syms: New testcase.
1904
e4a48d9d
DE
19052013-03-28 Doug Evans <dje@google.com>
1906
1907 * gdb.base/maint.exp (maint print statistics): Update expected output.
1908
7f7cc265
PA
19092013-03-28 Pedro Alves <palves@redhat.com>
1910
1911 PR gdb/15294
1912
1913 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1914 mean unlimited instead of $arg < 0.
1915 (test_listsize): Remove "listsize of 0 suppresses output" test.
1916 Test that "set listsize 0" ends up with an unlimited listsize.
1917
fc0da894
PA
19182013-03-28 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/list.exp (last_line): New global.
1921 (last_line_re): New global.
1922 (test_listsize, test_list_function, test_list_forward)
1923 (test_repeat_list_command, test_list_range)
1924 (test_list_filename_and_function): Use them.
1925 * gdb.base/list0.c: Comment the last line of the file with "last
1926 line".
1927
abe7b711
PA
19282013-03-28 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1931 list the whole file.
1932
15b3979c
PA
19332013-03-28 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1936 "set listsize".
1937
96811e3b
KS
19382013-03-26 Keith Seitz <keiths@redhat.com>
1939
1940 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1941 from passing.
1942
4043f22b
PA
19432013-03-26 Pedro Alves <palves@redhat.com>
1944
1945 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1946 until after GDB has run.
1947
14a1aa17
YQ
19482013-03-26 Yao Qi <yao@codesourcery.com>
1949
1950 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1951 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1952
99c819ee
MM
19532013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1954
1955 * gdb.btrace/enable.exp: Add regression test.
1956
24955f63
TT
19572013-03-25 Tom Tromey <tromey@redhat.com>
1958
1959 * gdb.cp/m-static.exp: Add destructor-printing tests.
1960
fce632b6
TT
19612013-03-25 Tom Tromey <tromey@redhat.com>
1962
1963 * gdb.cp/m-static.exp: Add constructor ptype tests.
1964 * gdb.cp/m-static.cc (single_constructor): New class.
1965 (main): Make instance of single_constructor.
1966
598d3636
JK
19672013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1968 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.server/server-kill.c: New file.
1971 * gdb.server/server-kill.exp: New file.
1972
c12440c9
PA
19732013-03-21 Pedro Alves <palves@redhat.com>
1974
1975 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1976 Expect $gdb_prompt in gdb_test_multiple.
1977
bd712aed
DE
19782013-03-21 Doug Evans <dje@google.com>
1979
1980 * gdb.base/maint.exp: Update tests for per-command stats.
1981
b2f83c08
TT
19822013-03-21 Tom Tromey <tromey@redhat.com>
1983
1984 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1985 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1986
ef0026f0
PA
19872013-03-20 Pedro Alves <palves@redhat.com>
1988
1989 PR gdb/15289
1990
1991 * gdb.base/remote.exp: Test
1992 "set remote hardware-watchpoint-limit -1",
1993 "set remote hardware-breakpoint-limit -1",
1994 "set remote hardware-watchpoint-limit 2147483647" and
1995 "set remote hardware-breakpoint-limit 2147483647".
1996
3f1175a9
PA
19972013-03-20 Pedro Alves <palves@redhat.com>
1998 Yao Qi <yao@codesourcery.com>
1999
2000 * gdb.trace/tfile.c: Add comments.
2001 (nonconstglob): New global.
2002 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2003 global that is not covered by the trace frame. Test
2004 disassembling.
2005
a09ae1c1
JK
20062013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2007
2008 * gdb.base/valgrind-infcall.exp
2009 (continue #$continue_count) <remote connection closed>
2010 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2011 $valgrind_pid.
2012
9ce98649
TT
20132013-03-15 Tom Tromey <tromey@redhat.com>
2014
2015 * gdb.cp/overload.cc (intintfunc): New.
2016 * gdb.cp/overload.exp: Add regression test.
2017
0a251e08
YQ
20182013-03-15 Yao Qi <yao@codesourcery.com>
2019
2020 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2021 using with_test_prefix.
2022 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2023 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2024 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2025 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2026 * gdb.base/break-interp.exp (test_core): Likewise.
2027 (test_attach_gdb): Likewise.
2028 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2029 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2030 Likewise.
2031 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2032 * gdb.base/jit.exp (one_jit_test): Likewise.
2033 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2034 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2035 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2036 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2037 Likewise.
2038 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2039 Likewise.
2040 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2041 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2042 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2043 (tracepoint_change_loc_2): Likewise.
2044 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2045 Likewise.
2046 (disconnected_tfind): Likewise.
2047 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2048 Likewise.
2049 (test_tfind_remote): Likewise.
2050 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2051 Likewise.
2052 (test_pending_resolved): Likewise.
2053 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2054 Likewise.
2055 (test_upload_tsv): Likewise.
2056 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2057 Likewise.
2058 (pending_tracepoint_works): Likewise.
2059 * gdb.trace/report.exp (use_collected_data): Likewise.
2060 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2061 Likewise.
2062 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2063 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2064 (strace_trace_on_same_addr): Likewise.
2065 (strace_trace_on_diff_addr): Likewise.
2066 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2067 (gdb_collect_locals_test): Likewise.
2068 (gdb_unavailable_registers_test): Likewise.
2069 (gdb_collect_globals_test): Likewise.
2070
2c415c0f
YQ
20712013-03-15 Yao Qi <yao@codesourcery.com>
2072
2073 * gdb.base/condbreak.exp: Add semicolon back which was removed
2074 by my previous commit.
2075
ae59b1da
YQ
20762013-03-14 Yao Qi <yao@codesourcery.com>
2077
2078 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2079 'return'.
2080 (gdb_target_monitor, gdb_load): Likewise.
2081 * config/sid.exp (gdb_load): Likewise.
2082 * config/slite.exp (gdb_load): Likewise.
2083 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2084 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2085 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2086 (single_step_until): Likewise.
2087 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2088 * gdb.arch/system-gcore.exp: Likewise.
2089 * gdb.base/bigcore.exp (extract_heap): Likewise.
2090 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2091 * gdb.base/call-ar-st.exp: Likewise.
2092 * gdb.base/call-rt-st.exp: Likewise.
2093 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2094 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2095 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2096 * gdb.base/corefile.exp: Likewise.
2097 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2098 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2099 * gdb.base/fixsection.exp: Likewise.
2100 * gdb.base/funcargs.exp: Likewise.
2101 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2102 * gdb.base/gcore-relro.exp: Likewise.
2103 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2104 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2105 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2106 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2107 * gdb.base/list.exp: Likewise.
2108 (set_listsize): Likewise.
2109 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2110 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2111 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2112 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2113 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2114 * gdb.base/setvar.exp: Likewise.
2115 (test_set): Likewise.
2116 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2117 * gdb.base/solib-overlap.exp: Likewise.
2118 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2119 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2120 * gdb.base/watchpoint.exp (initialize): Likewise.
2121 (test_simple_watchpoint): Likewise.
2122 (test_disabling_watchpoints): Likewise.
2123 (test_watchpoint_triggered_in_syscall): Likewise.
2124 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2125 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2126 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2127 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2128 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2129 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2130 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2131 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2132 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2133 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2134 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2135 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2136 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2137 * gdb.mi/gdb792.exp: Likewise.
2138 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2139 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2140 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2141 * gdb.threads/gcore-thread.exp: Likewise.
2142 (load_core): Likewise.
2143 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2144 (test_startup, check_control_c): Likewise.
2145 * gdb.threads/sigstep-threads.exp: Likewise.
2146 * gdb.threads/thread_check.exp: Likewise.
2147 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2148 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2149 (set_a_tracepoint, trace_buffer_normal): Likewise.
2150 (gdb_trace_circular_tests): Likewise.
2151 * gdb.trace/collection.exp: Likewise.
2152 * gdb.trace/disconnected-tracing.exp: Likewise.
2153 * gdb.trace/infotrace.exp: Likewise.
2154 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2155 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2156 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2157 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2158 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2159 * gdb.trace/stap-trace.exp: Likewise.
2160 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2161 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2162 * gdb.trace/trace-buffer-size.exp: Likewise.
2163 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2164 * gdb.trace/unavailable.exp: Likewise.
2165 * gdb.trace/while-dyn.exp: Likewise.
2166 * lib/fortran.exp (set_lang_fortran): Likewise.
2167 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2168 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2169 (default_gdb_start, get_compiler_info): Likewise.
2170 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2171 (get_debug_format, setup_xfail_format): Likewise.
2172 (rerun_to_main, gdb_skip_float_test): Likewise.
2173 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2174 * lib/java.exp (set_lang_java): Likewise.
2175 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2176 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2177 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2178 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2179 * lib/objc.exp (set_lang_objc): Likewise.
2180 * lib/pascal.exp (set_lang_pascal): Likewise.
2181 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2182 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2183 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2184
bb869963
SDJ
21852013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2186
2187 PR c++/15203
2188 PR c++/15210
2189 * gdb.cp/m-static.cc (keepalive_int): New function.
2190 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2191 * gdb.cp/m-static.exp: New test for `sintvar'.
2192
e2be70a0
YQ
21932013-03-14 Yao Qi <yao@codesourcery.com>
2194
2195 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2196 of 'tstatus' into tstatus_output.
2197 (top level): Save the trace data to tfile. Read trace file in
2198 tfile target. Check the trace status.
2199
8ddb1965
YQ
22002013-03-13 Yao Qi <yao@codesourcery.com>
2201
2202 * gdb.trace/tsv.exp (check_tsv): New.
2203 (top level): Save a tfile on current trace session. Call
2204 check_tsv on live target. Load the tfile with target tfile
2205 and call check_tsv again.
2206
045dd51f
YQ
22072013-03-13 Yao Qi <yao@codesourcery.com>
2208
2209 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2210 Replace some "gdb_test" with "gdb_test_no_output".
2211
82d049ab
PH
22122013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2213
2214 * gdb.ada/expr_delims.exp: New file.
2215 * gdb.ada/expr_delims/foo.adb: New file.
2216 * gdb.ada/expr_delims/pck.ads: New file.
2217 * gdb.ada/expr_delims/pck.adb: New file.
2218
cb8ea32b
KS
22192013-03-11 Keith Seitz <keiths@redhat.com>
2220
2221 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2222 both condition and thread. Then delete the watchpoint.
2223
2f1d9bdd
MM
22242013-03-11 Christian Himpel <christian.himpel@intel.com>
2225
2226 * Makefile.in: Add btrace testsuite.
2227 * configure: Regenerated.
2228 * configure.ac: Add btrace testsuite.
2229 * gdb.btrace/Makefile.in: New file.
2230 * gdb.btrace/enable.c: New file.
2231 * gdb.btrace/enable.exp: New file.
2232 * gdb.btrace/function_call_history.c: New file.
2233 * gdb.btrace/function_call_history.exp: New file.
2234 * gdb.btrace/instruction_history.c: New file.
2235 * gdb.btrace/instruction_history.exp: New file.
2236 * gdb.btrace/instruction_history.S: New file.
2237 * lib/gdb.exp: Add btrace skip proc.
2238
05c56a9d
JK
22392013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2240
2241 Fix entry-values if the callee called a noreturn function.
2242 * gdb.arch/amd64-tailcall-noret.S: New file.
2243 * gdb.arch/amd64-tailcall-noret.c: New file.
2244 * gdb.arch/amd64-tailcall-noret.exp: New file.
2245
9112db09
JK
22462013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2247
2248 Fix entry-values in C++ across CUs.
2249 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2250 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2251 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2252 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2253 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2254
be9a119c 22552013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
2256 Hafiz Abid Qadeer <abidh@codesourcery.com>
2257
2258 gdb/testsuite/
2259 * gdb.trace/trace-buffer-size.exp: New file.
2260 * gdb.trace/trace-buffer-size.c: New file.
2261
049109b0
PA
22622013-03-06 Pedro Alves <palves@redhat.com>
2263
2264 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2265 doesn't support the tested optional feature, call "unsupported"
2266 with the same test message as the "pass" case, instead of calling
2267 "pass" with a different message. Use the same text for the "fail"
2268 cases too.
2269
4aa54120
YQ
22702013-03-06 Yao Qi <yao@codesourcery.com>
2271
2272 * gdb.trace/tstatus.exp: Remove the invocation of
2273 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2274 (test_tracepoints): Don't set fast tracepoint.
2275 (top level): Don't check agent library is loaded or not.
2276
b8b71e63
YQ
22772013-03-06 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2280 parentheses by "\\".
2281
33f448b1
JK
22822013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2283
2284 * gdb.linespec/base/one/thefile.cc (twodup): New.
2285 (m): Call it.
2286 * gdb.linespec/base/two/thefile.cc (dupname): New.
2287 (n): Call it.
2288 * gdb.linespec/break-ask.exp: New file.
2289 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2290
1c942fb9
YQ
22912013-02-28 Yao Qi <yao@codesourcery.com>
2292
2293 * gdb.trace/report.exp: Move some code to ...
2294 (use_collected_data): New.
2295 (top level): Call use_collected_data once on the live target.
2296 Save at file of the current trace session, load it with target
2297 tfile, and call use_collected_data again.
2298
5b967901
JK
22992013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2300
2301 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2302
6447023f
JK
23032013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2304
2305 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2306 Add final kill of ${valgrind_pid}.
2307
9f44fbc0
SCR
23082013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2309
2310 * gdb.python/py-arch.c: New test case
2311 * gdb.python/py-arch.exp: New tests to test
2312 gdb.Architecture.disassemble
2313 * gdb.python/Makefile.in: Add py-arch to the list of
2314 EXECUTABLES.
2315
4c9ad8c2
TT
23162013-02-18 Tom Tromey <tromey@redhat.com>
2317
2318 * gdb.dwarf2/subrange.exp: New file.
2319
f5911ea1
HAQ
23202013-02-15 Pedro Alves <pedro@codesourcery.com>
2321 Hafiz Abid Qadeer <abidh@codesourcery.com>
2322
2323 * gdb.trace/tfile.exp: Add test for -trace-status command.
2324
420f4384
JK
23252013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2326
2327 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2328 nanosleep by sleep.
2329
4819b3f8
PA
23302013-02-14 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2333
1773c82c
HAQ
23342013-02-14 Pedro Alves <pedro@codesourcery.com>
2335 Hafiz Abid Qadeer <abidh@codesourcery.com>
2336
2337 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2338
e234dfaf
TT
23392013-02-12 Tom Tromey <tromey@redhat.com>
2340
2341 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2342 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2343
6c01dd94
PA
23442013-02-12 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/catch-signal.c: Update copyright years.
2347 * gdb.base/catch-signal.exp: Update copyright years.
2348 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2349 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2350 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2351 * gdb.dwarf2/dw2-error.S: Update copyright years.
2352 * gdb.dwarf2/dw2-error.c: Update copyright years.
2353 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2354 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2355 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2356
595fc67f
PA
23572013-02-12 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2360 message.
2361 * gdb.base/sigaltstack.exp: Ditto.
2362 * gdb.base/siginfo.exp: Ditto.
2363 * gdb.base/sizeof.exp: Ditto.
2364
17282693
PA
23652013-02-12 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.mi/mi-basics.exp: Tweak intro comment.
2368 * gdb.mi/mi-break.exp: Tweak intro comment.
2369 * gdb.mi/mi-console.exp: Tweak intro comment.
2370 * gdb.mi/mi-file.exp: Tweak intro comment.
2371 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2372 * gdb.mi/mi-return.exp: Tweak intro comment.
2373 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2374 * gdb.mi/mi-until.exp: Tweak intro comment.
2375 * gdb.mi/mi-watch.exp: Tweak intro comment.
2376
8a4ac37e
PA
23772013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2378
2379 * gdb.server/no-thread-db.exp: New file.
2380 * gdb.server/no-thread-db.c: New file.
2381 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2382
c2792f5a
DE
23832013-02-11 Doug Evans <dje@google.com>
2384
2385 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2386 two decfloats.
2387
d9e98382
SDJ
23882013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2389
2390 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2391 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2392
a321661a
JK
23932013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2396
134a2066
YQ
23972013-02-06 Yao Qi <yao@codesourcery.com>
2398
2399 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2400 to ...
2401 (test_create_delete_modify_tsv): ... here. New test on modifying
2402 the initial value of a tsv.
2403
5a2dc60a
JK
24042013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2407 (cd .../rdir): ... here.
2408
233d95b5
JK
24092013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2410
2411 * gdb.linespec/base/one/header.h: New file.
2412 * gdb.linespec/base/two/header.h: New file.
2413 * gdb.linespec/macro-relative.c: New file.
2414 * gdb.linespec/macro-relative.exp: New file.
2415
fbd9ab74
JK
24162013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2417
2418 * gdb.base/fullpath-expand-func.c: New file.
2419 * gdb.base/fullpath-expand.c: New file.
2420 * gdb.base/fullpath-expand.exp: New file.
2421 * gdb.base/realname-expand-real.c: New file.
2422 * gdb.base/realname-expand.c: New file.
2423 * gdb.base/realname-expand.exp: New file.
2424
1b56eb55
JK
24252013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2426
2427 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2428 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2429
af529f8f
JK
24302013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2433 (compare_filenames_for_search does not match)
2434 (compare_filenames_for_search does match): New tests.
2435
f5b95b50
JK
24362013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2437
2438 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2439
d47921b9
JK
24402013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2441
2442 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2443
8a92335b
JK
24442013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2445
2446 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2447 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2448 ${binfile}.mini_debuginfo-debuglink and
2449 ${binfile}.mini_debuginfo-debuglink.xz.
2450
17f2157d
TT
24512013-02-01 Tom Tromey <tromey@redhat.com>
2452
2453 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2454 attributes.
2455
d65f0a9c
TT
24562013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2457 Tom Tromey <tromey@redhat.com>
2458
2459 * gdb.dwarf2/method-ptr.exp: Link with c++.
2460 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2461
f25c0135
TT
24622013-01-31 Tom Tromey <tromey@redhat.com>
2463
2464 * gdb.base/jit.exp (compile_jit_test): New proc.
2465 Add PIE tests.
2466
7078baeb
TT
24672013-01-31 Tom Tromey <tromey@redhat.com>
2468
2469 * gdb.dwarf2/method-ptr.cc: New file.
2470 * gdb.dwarf2/method-ptr.exp: New file.
2471
1d24041a
TT
24722013-01-31 Tom Tromey <tromey@redhat.com>
2473
2474 * lib/dwarf.exp (namespace Dwarf): New.
2475
8d9878a4
TT
24762013-01-29 Tom Tromey <tromey@redhat.com>
2477
2478 * gdb.dwarf2/fission-reread.exp: Add unload test.
2479
bed911e5
DE
24802013-01-28 Doug Evans <dje@google.com>
2481
2482 * gdb.dwarf2/fission-loclists.exp: New file.
2483 * gdb.dwarf2/fission-loclists.S: New file.
2484
e229648e
JK
24852013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2486
2487 Code cleanup.
2488 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2489 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2490 and prepare_for_testing.
2491 * gdb.base/store.exp: Likewise.
2492
86700f00
TT
24932013-01-25 Tom Tromey <tromey@redhat.com>
2494
2495 * gdb.python/py-explore.exp: Expect the gdb prompt.
2496
8954db33
AB
24972013-01-25 Andrew Burgess <aburgess@broadcom.com>
2498
2499 * gdb.base/gnu_vector.c: New variable for use in tests.
2500 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2501 changes in scalar to vector casting and widening.
2502 * gdb.python/py-type.c: New variables for use in tests.
2503 * gdb.python/py-type.exp: Update vector related tests to reflect
2504 changes in scalar to vector casting and widening.
2505
2077afdd
TD
25062013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2507
2508 * gdb.base/prologue-include.c: New file.
2509 * gdb.base/prologue-include.exp: New file.
2510 * gdb.base/prologue-include.h: New file.
2511
d7499464
HAQ
25122013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2513
2514 PR gdb/13443
2515 * gdb.mi/mi-var-block.exp: Make test messages unique.
2516
e2a3e0f1
TT
25172013-01-23 Tom Tromey <tromey@redhat.com>
2518
2519 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2520
152fcc9c
TT
25212013-01-23 Tom Tromey <tromey@redhat.com>
2522
2523 * gdb.cp/converts.cc (main): Initialize 'a'.
2524
bea883fd
SCR
25252013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2526
2527 * testsuite/gdb.python/frame.exp: Add a test for
2528 gdb.Frame.architecture() method.
2529
0928e93d
PA
25302013-01-22 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.base/annota1.exp (signal sent): No longer expect
2533 breakpoints-invalid.
2534 * gdb.cp/annota2.exp (continue until exit)
2535 (watch triggered on a.x): Ditto.
2536
9c97429f
PA
25372013-01-22 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2540 Adjust tests to breakpoints-invalid changes.
2541 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2542 variables.
2543 Adjust tests to breakpoints-invalid changes.
2544
187d10dd
PA
25452013-01-22 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.base/annota1.exp (annotate ignore count change): Add
2548 expected output for failure case.
2549
ea3aedcb
TT
25502013-01-22 Tom Tromey <tromey@redhat.com>
2551
2552 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2553 call.
2554
998580f1
MK
25552013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2556
2557 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 2558 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
2559 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2560 Also handle 'thread' field.
2561 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2562 * gdb.mi/mi-watch.exp: Ditto.
2563 * lib/mi-support.exp: Ditto.
2564
8f1d5693
MK
25652013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2566
2567 * gdb.python/py-explore.exp: Improve a test
2568
2d8c5d7c
DB
25692013-01-18  David Blaikie  <dblaikie@gmail.com>
2570
2571 * gdb.base/label.c (main): Correct the type of the second
2572 parameter.
2573
46f35228
TT
25742013-01-18 Tom Tromey <tromey@redhat.com>
2575
2576 * gdb.dwarf2/trace-crash.s: New file.
2577 * gdb.dwarf2/trace-crash.exp: New file.
2578
5965d69d
HAQ
25792013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2580
43aaf8b6
PA
2581 PR gdb/13443
2582 * gdb.base/checkpoint.exp: Update test messages to make them
2583 unique.
5965d69d 2584
5ae4861a
YQ
25852013-01-18 Yao Qi <yao@codesourcery.com>
2586
2587 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2588 output of 'info tracepoints'.
2589 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2590 Likewise.
2591 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2592 * gdb.trace/disconnected-tracing.c (struct foo): New.
2593
d84fca2c
JK
25942013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2595
2596 * gdb.dwarf2/dw2-dos-drive.S: New file.
2597 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2598
aebb1cc9
DE
25992013-01-17 Doug Evans <dje@google.com>
2600
2782d512
DE
2601 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2602 CXX_FOR_TARGET.
2603
aebb1cc9
DE
2604 * boards/cc-with-tweaks.exp: New file.
2605
db2b2972
TT
26062013-01-17 Tom Tromey <tromey@redhat.com>
2607
2608 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2609
96343774
PA
26102013-01-17 Pedro Alves <palves@redhat.com>
2611
2612 Merge dg-extract-results.sh from upstream (svn 195224).
2613
2614 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2615 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
2616
2617 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2618 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
2619
2620 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2621 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
2622
2623 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2624 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2625 of grep -q.
2626
675921c0
SD
26272012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2628
2629 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2630 interface.
2631 * gdb.base/jithost.c: New file.
2632 * gdb.base/jithost.h: New file.
2633 * gdb.base/jitreader.c : New file.
2634 * gdb.base/jit-protocol.h: New file.
2635
ab04a2af
TT
26362013-01-16 Tom Tromey <tromey@redhat.com>
2637
2638 * gdb.base/catch-signal.c: New file.
2639 * gdb.base/catch-signal.exp: New file.
2640
8ac3646f
TT
26412013-01-16 Tom Tromey <tromey@redhat.com>
2642
2643 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2644
22fc223e
JK
26452013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2646
2647 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2648
44478ab3
TT
26492013-01-14 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.base/completion.exp: Add "set gnutarget" test.
2652
06d66ee9
TT
26532013-01-14 Tom Tromey <tromey@redhat.com>
2654
2655 * gdb.dwarf2/dw2-restrict.S: New file.
2656 * gdb.dwarf2/dw2-restrict.c: New file.
2657 * gdb.dwarf2/dw2-restrict.exp: New file.
2658
c9bf0622
TT
26592013-01-14 Tom Tromey <tromey@redhat.com>
2660
2661 * gdb.dwarf2/dw2-error.exp: New file.
2662 * gdb.dwarf2/dw2-error.c: New file.
2663 * gdb.dwarf2/dw2-error.S: New file.
2664
5b12a61c
JK
26652013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.cp/parse-lang.cc: New file.
2668 * gdb.cp/parse-lang.exp: New file.
2669
f0a4b570
JK
26702013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2673 (set substitute-path): New test.
2674 (fullname present): Remove content.
2675 (substituted fullname): New test.
2676
f751cc97
JB
26772013-01-13 Joel Brobecker <brobecker@adacore.com>
2678
2679 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2680 check. Move $gdb_py_is_py24 value check right after.
2681
04164e8e
JK
26822013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2683
2684 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2685 targets.
2686
5bf480a5
YQ
26872013-01-11 Yao Qi <yao@codesourcery.com>
2688
2689 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2690 for dprintf.
2691 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2692 Check the fields in "=breakpoint-created" for dprintf.
2693
f35a17b5
JK
26942012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2695
2696 * gdb.mi/mi-fullname-deleted.exp: New file.
2697
85817405
JK
26982012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2701 expected output.
2702 (info skip with pending file): Remove.
2703 (ignoring function in solib, info skip for function multiply): Update
2704 the expected output.
2705 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2706 (info skip (delete 1), info skip after disabling all)
2707 (info skip after enabling all, info skip after disabling 4 2-3)
2708 (info skip after enabling 2-3, info skip 2-3)
2709 (info skip after deleting 2 3): Update the expected output.
2710 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2711 statement to its initialization and return.
2712 * gdb.linespec/skip-two.exp: New file.
2713
27210e12
DE
27142012-12-19 Doug Evans <dje@google.com>
2715
2716 * gdb.base/maint.exp: Handle testing with .gdb_index.
2717
bb627a12
JB
27182012-12-19 Joel Brobecker <brobecker@adacore.com>
2719
2720 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2721 Cavium to FSF.
2722
7785b880
JB
27232012-12-19 Joel Brobecker <brobecker@adacore.com>
2724
2725 * dg-extract-results.sh: Update contact info in copyright notice.
2726 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2727 GPL v3 or later. Update contact info.
2728 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2729 gdb.threads/watchpoint-fork-mt.c,
2730 gdb.threads/watchpoint-fork-parent.c,
2731 gdb.threads/watchpoint-fork-st.c,
2732 gdb.threads/watchpoint-fork.h: Likewise.
2733
f2a8bc8a
YQ
27342012-12-15 Yao Qi <yao@codesourcery.com>
2735
2736 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2737 'installed' field in '=breakpoint-modified'.
2738 (test_reconnect): Check 'installed' field in
2739 '=breakpoint-modified' and '=breakpoint-created'.
2740
2741 * gdb.trace/actions.exp: Update test for 'installed' field.
2742 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2743 (tracepoint_change_loc_2): Likewise.
2744 Check 'info tracepoint' display nothing else.
2745 * gdb.trace/deltrace.exp: Likewise.
2746 * gdb.trace/infotrace.exp: Likewise.
2747 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2748 Likewise.
2749 * gdb.trace/passcount.exp: Likewise.
2750 * gdb.trace/tracecmd.exp: Likewise.
2751 * gdb.trace/while-stepping.exp: Likewise.
2752
6592e36f
TT
27532012-12-14 Tom Tromey <tromey@redhat.com>
2754
2755 * gdb.cp/member-name.exp: New file.
2756 * gdb.cp/member-name.cc: New file.
2757
7d27a96d
TT
27582012-12-14 Tom Tromey <tromey@redhat.com>
2759
2760 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2761
f8c05d0d
DE
27622012-12-14 Doug Evans <dje@google.com>
2763
2764 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2765 DW_OP_GNU_implicit_pointer is section-relative.
2766
451b7c33
TT
27672012-12-14 Tom Tromey <tromey@redhat.com>
2768
43aaf8b6 2769 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 2770
10e339df
PA
27712012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2772
6fdff2c5 2773 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 2774
e780d813
DE
27752012-12-13 Doug Evans <dje@google.com>
2776
2777 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2778 * gdb.multi/multi-arch.exp: Ditto.
2779
ca3dbcc8 27802012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 2781
ca3dbcc8
MG
2782 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2783 catch load test library source file.
2784 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2785 load test source file.
2786 * gdb.mi/mi-catch-load.exp: New. Test file for
2787 basic MI -catch-load and -catch-unload tests.
2788
2960a434
PK
27892012-12-11 Paul Koning <paul_koning@dell.com>
2790
2791 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2792 exception.
2793 (_iterator_except): New function.
2794 (ArrayPrinter): Use _iterator function instead of local _iterator
2795 class for Python 3 compatibility.
2796 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2797 _iterator.
2960a434
PK
2798 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2799 execfile for Python 3 compatibility.
2800 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2801 format in error_prompt test.
6fdff2c5 2802
9325cb04
PK
28032012-12-10 Paul Koning <paul_koning@dell.com>
2804
2805 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2806 compatibility.
9325cb04
PK
2807 * gdb.python/py-block.exp: Ditto.
2808 * gdb.python/py-breakpoint.exp: Ditto.
2809 * gdb.python/py-cmd.exp: Ditto.
2810 * gdb.python/py-events.py: Ditto.
2811 * gdb.python/py-finish-breakpoint.py: Ditto.
2812 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2813 * gdb.python/py-finish-breakpoint2.py: Ditto.
2814 * gdb.python/py-frame-inline.exp: Ditto.
2815 * gdb.python/py-frame.exp: Ditto.
2816 * gdb.python/py-infthread.exp: Ditto.
2817 * gdb.python/py-objfile.exp: Ditto.
2818 * gdb.python/py-parameter.exp: Ditto.
2819 * gdb.python/py-progspace.exp: Ditto.
2820 * gdb.python/py-prompt.exp: Ditto.
2821 * gdb.python/py-symbol.exp: Ditto.
2822 * gdb.python/py-symtab.exp: Ditto.
2823 * gdb.python/py-template.exp: Ditto.
2824 * gdb.python/py-value-cc.exp: Ditto.
2825 * gdb.python/python.exp: Ditto.
2826 * gdb.python/source2.py: Ditto.
2827 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2828 compatibility.
9325cb04
PK
2829 Use sorted() function rather than sort() method.
2830 Accept either int or long values for enum values.
2831 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2832 execfile for Python 3 compatibility.
2833 * gdb.python/py-evsignal.exp: Ditto.
2834 * gdb.python/py-evthreads.exp: Ditto.
2835 * gdb.python/py-mi.exp: Ditto.
2836 * gdb.python/py-pp-maint.exp: Ditto.
2837 * gdb.python/py-prettyprint.exp: Ditto.
2838 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2839 Python 3 compatibility.
9325cb04
PK
2840 Skip tests for Python 2.4.
2841 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2842 Python 3 compatibility.
9325cb04
PK
2843 Use byte string rather than character string in memory write test
2844 if Python 3.
2845 * gdb.python/py-pp-maint.py: Change class declarations to "new
2846 class" syntax.
2847 * gdb.python/py-prettyprint.py: Change iterator class to generator
2848 function for Python 3 compatibility.
2849 Make all classes "new style".
2850 Fix indentation issue and stray semicolon.
2851 * gdb.python/py-shared.expChange print syntax for Python 3
2852 compatibility.
2853 Define "long" if Python 3.
2854 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2855 compatibility.
9325cb04
PK
2856 Accept either int or long values for enum values.
2857 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2858 compatibility.
9325cb04
PK
2859 Skip "long" and "unicode" tests if Python 3.
2860 Accept either "type" or "class" in type checks.
2861 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2862 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2863
8b9737bf
TT
28642012-12-10 Tom Tromey <tromey@redhat.com>
2865
2866 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2867 (test): Add "two_cu" argument.
2868 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2869 for types; allow two CUs.
2870
1b80a9fa
JK
28712012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2874 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2875
f0b6d50a
YQ
28762012-12-08 Yao Qi <yao@codesourcery.com>
2877 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2880 '=breakpoint-created' when GDB merges the tracepoints of both
2881 sides.
2882
2f68a895
TT
28832012-12-07 Tom Tromey <tromey@redhat.com>
2884
2885 * gdb.base/break1.c (enum some_enum, union some_union): New.
2886 (some_enum_global, some_union_global, some_value): New globals.
2887 * gdb.base/completion.exp: Add tag completion tests.
2888
4fc5d43e
TT
28892012-12-07 Tom Tromey <tromey@redhat.com>
2890
2891 * gdb.base/completion.exp: Add tests for ptype and whatis
2892 completion.
2893
6559e013
JB
28942012-12-07 Joel Brobecker <brobecker@adacore.com>
2895
2896 * gdb.base/stale-infcall.exp: Fix copyright line.
2897
ae2b630d
JB
28982012-12-07 Joel Brobecker <brobecker@adacore.com>
2899
2900 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2901
0ba2eb0f
TT
29022012-12-06 Pedro Alves <palves@redhat.com>
2903 Tom Tromey <tromey@redhat.com>
2904
2905 * gdb.base/exprs.exp: Add tests for cast to void.
2906
731145cb
TT
29072012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2908
2909 * gdb.python/py-mi.exp: Correct expected results for attribute
2910 "dynamic" returned by -var-update.
2911 Add test case for correct handling of "diplayhint" for children
2912 of dynamic varobjs.
2913 * gdb.python/py-prettyprint.c (set_itme): New function.
2914 (bug_14741) New function.
2915 (main) Add call to bug_14741().
2916 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2917
e58fcc15
UW
29182012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2919
2920 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2921 ${binfile}.funcsyms list.
2922
e9eb0d14
YQ
29232012-12-04 Yao Qi <yao@codesourcery.com>
2924
2925 PR gdb/13443
2926 * gdb.trace/actions.exp: Make test messages unique.
2927
4983028c
TT
29282012-11-29 Tom Tromey <tromey@redhat.com>
2929
2930 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2931
ea5e6b0e
UW
29322012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2933
2934 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2935 * gdb.opencl/datatypes.exp: Likewise.
2936 * gdb.opencl/operators.exp: Likewise.
2937 * gdb.opencl/vec_comps.exp: Likewise.
2938
cdde3dfb
JG
29392012-11-29 Jerome Guitton <guitton@adacore.com>
2940
2941 * gdb.ada/iwide: New testcase.
2942
b50d69b5
JG
29432012-11-29 Jerome Guitton <guitton@adacore.com>
2944
2945 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2946 ptype test.
2947
c2d3fccf
JG
29482012-11-29 Jerome Guitton <guitton@adacore.com>
2949
2950 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2951 form {VARIANT_TYPE}ADDRESS.
2952
5edf51fe
YQ
29532012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2954
2955 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2956 (func): New function.
2957 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2958 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2959 pointers to members with pointer-to-function type.
2960
608e2dbb
TT
29612012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2962 Tom Tromey <tromey@redhat.com>
2963
2964 * gdb.base/gnu-debugdata.exp: New file.
2965 * gdb.base/gnu-debugdata.c: New file.
2966 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2967 (gdb_unload): Return 0 on success.
2968
4648e588
JK
29692012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2972
17d6efc4
JB
29732012-11-26 Joel Brobecker <brobecker@adacore.com>
2974
2975 * gdb.base/empty_exe.exp: New testcase.
2976
ace21957
MF
29772012-11-20 Mike Frysinger <vapier@gentoo.org>
2978
2979 * gdb.base/completion.exp: Add test for help aliases completion.
2980
5c401a0a
YQ
29812012-11-20 Yao Qi <yao@codesourcery.com>
2982
2983 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2984 Don't test 'maint set show-debug-regs'.
2985 Use command 'set remotecache' instead of
2986 'set circular-trace-buffer'.
2987
8dea366b
KS
29882012-11-16 Keith Seitz <keiths@redhat.com>
2989
2990 PR c++/13615
2991 * gdb.cp/baseenum.cc: New file.
2992 * gdb.cp/baseenum.exp: New file.
2993 * gdb.cp/derivation.cc (A): Add copyright.
2994 Add a typedef.
2995 (B): Use A::value_type instead of int. Change all references.
2996 (D): Use value_type instead of int. Change all references.
2997 (E): Likewise.
2998 (F); Likewise.
2999 (Z): New class.
3000 (ZZ): New class.
6fdff2c5 3001 (N, Base, Derived): New namespace and classes.
8dea366b
KS
3002 (main): Add instances of Z and ZZ.
3003 Make sure all symbols from N are kept.
3004 * gdb.cp/derivation.exp: Update typedef changes in tests.
3005 Add tests for class typedefs both before and after starting
3006 the inferior.
3007 Add tests for searching for a typedef while stopped in a
3008 method.
3009
5e34c6c3
LM
30102012-11-14 Luis Machado <lgustavo@codesourcery.com>
3011
3012 * gdb.mi/mi-var-create-rtti.c: New file.
3013 * gdb.mi/mi-var-create-rtti.exp: New file.
3014
5e487a5f
LM
30152012-11-14 Luis Machado <lgustavo@codesourcery.com>
3016
3017 * gdb.base/structs3.exp: Run to main before doing any tests.
3018
6d67b990
AB
30192012-11-14 Andrew Burgess <aburgess@broadcom.com>
3020
3021 * gdb.python/py-type.exp: Uniquify test names.
3022
e5d98164
YQ
30232012-11-14 Yao Qi <yao@codesourcery.com>
3024
3025 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3026 (thread_function) [DEBUG]: Call 'printf'.
3027 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3028 command line if 'DEBUG=1' is passed to test.
3029 Remove a pattern to match inferior's output.
3030
62747a60
TT
30312012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3032
3033 * gdb.mi/mi-fill-memory.exp: New test.
3034
18a9fc12
TT
30352012-11-12 Tom Tromey <tromey@redhat.com>
3036
3037 * gdb.base/completion.exp: Update for "info type-printers".
3038 * gdb.python/py-typeprint.cc: New file.
3039 * gdb.python/py-typeprint.exp: New file.
3040 * gdb.python/py-typeprint.py: New file.
3041
bd69fc68
TT
30422012-11-12 Tom Tromey <tromey@redhat.com>
3043
3044 * gdb.base/call-sc.exp: Use "ptype/r".
3045 * gdb.base/volatile.exp: Don't expect "int".
3046 * gdb.cp/ptype-flags.cc: New file.
3047 * gdb.cp/ptype-flags.exp: New file.
3048 * gdb.cp/templates.exp: Use ptype/r.
3049 (test_ptype_of_templates, test_template_typedef): Likewise.
3050 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3051 argument. Handle template names and template parameters.
3052 * gdb.mi/mi-var-cmd.exp: Accept "long".
3053 * gdb.mi/mi-var-child.exp: Accept "long".
3054 * gdb.mi/mi-var-display.exp: Accept "long".
3055 * gdb.mi/mi2-var-child.exp: Accept "long".
3056
b3720c3a
TT
30572012-11-12 Tom Tromey <tromey@redhat.com>
3058
3059 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3060 "ptype" from calls to cp_test_ptype_class.
3061 (test_enums): Likewise.
3062 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3063 cp_test_ptype_class.
3064 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3065 calls to cp_test_ptype_class.
3066 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3067 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3068 from calls to cp_test_ptype_class.
3069 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3070 command here. Change "in_command" argument to "in_exp".
3071
0d63ecda
KS
30722012-11-10 Keith Seitz <keiths@redhat.com>
3073
3074 PR gdb/14288
3075 * gdb.base/printcmds.c: Add invalid_XXX globals
3076 for repeated byte tests.
3077 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3078 * gdb.base/wchar.c (main): Add and construct a wchar_t
3079 array with repeated characters.
3080 * gdb.base/wchar.exp: Add repeated character tests.
3081
ed8a1c2d
AB
30822012-11-09 Andrew Burgess <aburgess@broadcom.com>
3083
3084 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3085 disassembly output.
3086
9107fc8d
PA
30872012-11-09 Pedro Alves <palves@redhat.com>
3088
3089 PR gdb/14306
3090
3091 * gdb.multi/multi-arch-exec.c: New file.
3092 * gdb.multi/multi-arch-exec.exp: New file.
3093
558a9d82
YQ
30942012-11-09 Yao Qi <yao@codesourcery.com>
3095
3096 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3097 (top level): Call it.
3098
e714f336
YQ
30992012-11-09 Yao Qi <yao@codesourcery.com>
3100
3101 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3102 typo.
3103
6ecd4729
PA
31042012-11-09 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.multi/multi-arch.exp: New.
3107
9015683b
TT
31082012-11-08 Tom Tromey <tromey@redhat.com>
3109
3110 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3111 core files, if possible.
3112 * gdb.base/siginfo-thread.c: New file
3113 * gdb.base/siginfo-thread.exp: New file
3114
ea9f10bb
TT
31152012-11-08 Tom Tromey <tromey@redhat.com>
3116
3117 * gdb.base/comprdebug.exp: New file.
3118
f6592439
PA
31192012-11-06 Pedro Alves <palves@redhat.com>
3120
3121 PR gdb/14810
3122
3123 * gdb.base/disabled-location.c: New file.
3124 * gdb.base/disabled-location.exp: New file.
3125
2d338fa9
TT
31262012-11-06 Tom Tromey <tromey@redhat.com>
3127
3128 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3129 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3130 gdb_gcore_cmd.
3131 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3132 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3133 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3134 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3135 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3136 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3137 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3138 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3139 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3140
68c9da30
PA
31412012-11-05 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3144 procedure.
3145 (do_vfork_and_follow_child_tests_exec)
3146 (do_vfork_and_follow_child_tests_exit): Call it.
3147
a7c8c931
PA
31482012-11-05 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3151 fails.
3152
6f6484cd
YQ
31532012-11-03 Yao Qi <yao@codesourcery.com>
3154
3155 Fix PR gdb/14617.
3156 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3157 Remove setup_kfail, and update test.
3158
b45627a0
TT
31592012-11-02 Tom Tromey <tromey@redhat.com>
3160
3161 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3162 test.
3163
f50f4e56
PA
31642012-11-02 Pedro Alves <palves@redhat.com>
3165
3166 PR gdb/14766
3167
3168 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3169 setup_kfail.
3170 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3171 get registers".
3172
71ce889d
PA
31732012-11-02 Pedro Alves <palves@redhat.com>
3174
3175 * gdb.base/foll-vfork-exit.c: New file.
3176 * gdb.base/foll-vfork.exp (top level): New file-describing
3177 comment.
3178 (vfork_child_follow_to_exit): New procedure.
3179 (tcatch_vfork_then_child_follow): Rename as ...
3180 (tcatch_vfork_then_child_follow_exec): ... this.
3181 (tcatch_vfork_then_child_follow_exit): New procedure.
3182 (do_vfork_and_follow_parent_tests): New procedure, factored out
3183 from do_vfork_and_exec_tests.
3184 (do_vfork_and_follow_child_tests_exec): Ditto.
3185 (do_vfork_and_exec_tests): Delete.
3186 (do_vfork_and_follow_child_tests_exit): New procedure.
3187 (top level): Run tests with both the program that has the vfork
3188 child execing, and the program has the vfork child exiting.
3189
1e35b1a9
PA
31902012-11-02 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3193 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3194 (vfork_parent_follow_to_bp): Call it.
3195 (kill_child): Delete.
3196 (vfork_and_exec_child_follow_to_main_bp)
3197 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3198 longer call kill_child.
3199 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3200 (do_vfork_and_exec_tests): Don't runto_main before calling each
3201 test procedure.
3202 (top level): Don't clean restart and set verbose before running
3203 each test procedure.
3204
32052012-11-02 Pedro Alves <palves@redhat.com>
3206
3207 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3208 (vfork_parent_follow_to_bp)
3209 (vfork_and_exec_child_follow_to_main_bp)
3210 (vfork_and_exec_child_follow_through_step)
3211 (tcatch_vfork_then_parent_follow)
3212 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3213 Use with_test_prefix.
3214
32152012-11-02 Pedro Alves <palves@redhat.com>
3216
3217 * gdb.base/foll-vfork.c: Add copyright header.
3218 * gdb.base/vforked-prog.c: Add copyright header.
3219
32202012-11-02 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.base/foll-vfork.exp
3223 (vfork_and_exec_child_follow_through_step): Don't skip on
3224 non-HP/UX targets. Expect the next to only step one line on
3225 non-HP/UX targets, rather than stopping only after the exec.
3226
32272012-11-02 Pedro Alves <palves@redhat.com>
3228
3229 Don't hard code line numbers.
3230
3231 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3232 Expect text from the sources instead of a line number.
3233 (vfork_parent_follow_to_bp)
3234 (vfork_and_exec_child_follow_to_main_bp)
3235 (vfork_and_exec_child_follow_through_step)
3236 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3237 Use gdb_get_line_number.
3238
32392012-11-02 Pedro Alves <palves@redhat.com>
3240
3241 Modernize.
3242
3243 * gdb.base/foll-vfork.exp: Use standard_testfile and
3244 build_executable. Pass descriptive string to untested.
3245 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3246 (vfork_and_exec_child_follow_to_main_bp)
3247 (vfork_and_exec_child_follow_through_step)
3248 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3249 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3250 of send_gdb/gdb_expect.
3251
3252 (kill_child): New procedure.
3253 (vfork_and_exec_child_follow_to_main_bp)
3254 (vfork_and_exec_child_follow_through_step): Use it.
3255
f0559fff
YQ
32562012-11-02 Yao Qi <yao@codesourcery.com>
3257
3258 * gdb.base/setvar.exp: Test setting nested struct.
3259 * gdb.base/setvar.c (v_struct3): New.
3260
c207c6da
DE
32612012-11-01 Doug Evans <dje@google.com>
3262
3263 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3264 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3265 use them.
3266
2f27adfe
AB
32672012-10-31 Andrew Burgess <aburgess@broadcom.com>
3268
3269 PR cli/14772
3270 * gdb.base/gnu_vector.c (union_with_vector_1)
3271 (struct_with_vector_1): Add new struct and union for testing
3272 ptype.
3273 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3274 structs / unions containing vectors.
3275
bb662ca6
YQ
32762012-10-25 Yao Qi <yao@codesourcery.com>
3277
3278 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3279 'setup_kfail' instead of 'setup_kfail_for_target'.
3280 * gdb.base/varargs.exp: Likewise.
3281 * lib/gdb.exp (setup_kfail_for_target): Remove.
3282
635d23ff
MK
32832012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3284
3285 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3286
afdb064f
MK
32872012-10-25 Mark Kettenis <kettenis@gnu.org>
3288
3289 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3290
d99dcf51
JB
32912012-10-24 Joel Brobecker <brobecker@adacore.com>
3292
3293 * gdb.ada/set_wstr: New testcase.
3294
32560274
JB
32952012-10-24 Joel Brobecker <brobecker@adacore.com>
3296
3297 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3298
5ded5331
JB
32992012-10-24 Joel Brobecker <brobecker@adacore.com>
3300
3301 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3302
d8d84291
MK
33032012-10-24 Mark Kettenis <kettenis@gnu.org>
3304
3305 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3306
6e933c51
JK
33072012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3308
3309 * gdb.base/callfuncs.exp (do_function_calls): Fix
3310 setup_kfail_for_target for -m32 mode.
3311
274bd000
MK
33122012-10-23 Mark Kettenis <kettenis@gnu.org>
3313
3314 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3315 are now fixed.
3316
545f743d
YQ
33172012-10-23 Yao Qi <yao@codesourcery.com>
3318
3319 * gdb.base/info-os.exp: Resume the inferior until it exits.
3320
48b56b6a 33212012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3322
99c7d5a8 3323 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3324 * gdb.base/print-file-var.exp: Likewise.
3325 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 3326
8de0566d
YQ
33272012-10-17 Yao Qi <yao@codesourcery.com>
3328
3329 * gdb.mi/mi-memory-changed.exp: New.
3330
44883546
YQ
33312012-10-16 Yao Qi <yao@codesourcery.com>
3332
3333 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3334 returns true.
3335 Call gdb_load_shlibs.
3336 * gdb.reverse/solib-reverse.exp: Likewise.
3337
345f514a
KS
33382012-10-15 Keith Seitz <keiths@redhat.com>
3339
3340 * lib/cp-support.exp (cp_test_ptype_class): Add support
3341 for class typedefs.
3342
3343 * gdb.cp/derivation.exp: Add tests for g_instance.
3344
9e3a7d65
JK
33452012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3346
3347 Fix entry values resolving in inlined frames.
3348 * gdb.arch/amd64-entry-value-inline.S: New file.
3349 * gdb.arch/amd64-entry-value-inline.c: New file.
3350 * gdb.arch/amd64-entry-value-inline.exp: New file.
3351
21a7b089
JK
33522012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3353 Doug Evans <dje@google.com>
3354
3355 Fix recent gdb_breakpoint regression.
3356 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3357 braces from the parameter.
3358 * gdb.java/jprint.exp: Likewise.
3359
2c47921e
DE
33602012-10-15 Doug Evans <dje@google.com>
3361
3362 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3363
89398707
JB
33642012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3365
3366 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3367
801e4185
TT
33682012-10-15 Tom Tromey <tromey@redhat.com>
3369
3370 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3371
74f910c8
TT
33722012-10-15 Tom Tromey <tromey@redhat.com>
3373
3374 * gdb.python/py-symbol.exp: Test symbol destructor.
3375
91567807
YQ
33762012-10-14 Yao Qi <yao@codesourcery.com>
3377
3378 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3379 * gdb.mi/mi-cli.exp: New.
3380
3381 * gdb.mi/mi2-basics.exp: Remove.
3382 * gdb.mi/mi2-break.exp: Remove.
3383 * gdb.mi/mi2-console.exp: Remove.
3384 * gdb.mi/mi2-disassemble.exp: Remove.
3385 * gdb.mi/mi2-eval.exp: Remove.
3386 * gdb.mi/mi2-file.exp: Remove.
3387 * gdb.mi/mi2-hack-cli.exp: Remove.
3388 * gdb.mi/mi2-pthreads.exp: Remove.
3389 * gdb.mi/mi2-read-memory.exp: Remove.
3390 * gdb.mi/mi2-regs.exp: Remove.
3391 * gdb.mi/mi2-return.exp: Remove.
3392 * gdb.mi/mi2-simplerun.exp: Remove.
3393 * gdb.mi/mi2-stack.exp: Remove.
3394 * gdb.mi/mi2-stepi.exp: Remove.
3395 * gdb.mi/mi2-syn-frame.exp: Remove.
3396 * gdb.mi/mi2-until.exp: Remove.
3397 * gdb.mi/mi2-watch.exp: Remove.
3398 * gdb.mi/mi2-var-block.exp: Remove.
3399 * gdb.mi/mi2-var-cmd.exp: Remove.
3400 * gdb.mi/mi2-var-display.exp: Remove.
3401
87332029
YQ
34022012-10-12 Yao Qi <yao@codesourcery.com>
3403
3404 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3405 trail '.*' on matching patterns.
3406
11fc9057
L
34072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3410 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3411 * gdb.arch/i386-disp-step.exp: Likewise.
3412 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3413 * gdb.arch/i386-prologue.exp: Likewise.
3414 * gdb.arch/i386-size-overlap.exp: Likewise.
3415 * gdb.arch/i386-size.exp: Likewise.
3416 * gdb.arch/i386-unwind.exp: Likewise.
3417
7d46bcdc
L
34182012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3421 * gdb.arch/i386-word.exp: Likewise.
3422
31224d9d
L
34232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3426 is_ilp32_target to set nr_regs.
3427 * gdb.arch/i386-sse.exp: Likewise.
3428
5b7d0050
DE
34292012-10-11 Doug Evans <dje@google.com>
3430
7c09e5a0
DE
3431 PR breakpoints/14643.
3432 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3433 * gdb.linespec/thread.c: New file.
3434 * gdb.linespec/thread.exp: New file.
3435
5b7d0050
DE
3436 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3437 Recognize "message" -> print pass and fail. Add eof case.
3438 (runto): Recognize message, no-message. Print pass/fail if requested,
3439 with same treatment as gdb_breakpoint.
3440 (runto_main): Pass no-message to runto.
3441 (gdb_internal_error_resync): Add log message.
3442 (gdb_file_cmd): Tweak internal error fail text for consistency.
3443
2e24f4aa
JK
34442012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3445
3446 Fix crash during stepping on ppc32.
3447 * gdb.base/step-symless.c: New file.
3448 * gdb.base/step-symless.exp: New file.
3449
aa14df25
DE
34502012-10-03 Doug Evans <dje@google.com>
3451
3452 PR symtab/14601
3453 * gdb.cp/using-crash.exp: New file.
3454 * gdb.cp/using-crash.cc: New file.
3455
975531db
DE
34562012-10-02 Doug Evans <dje@google.com>
3457
3458 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3459 more consistent.
3460 (runto,gdb_debug_format): Ditto.
3461 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3462 Clean up logging and error messages.
3463
b3dc46ff
AB
34642012-10-01 Andrew Burgess <aburgess@broadcom.com>
3465
3466 Test find command on unmapped memory.
3467 * gdb.base/find-unmapped.c: New file.
3468 * gdb.base/find-unmapped.exp: New file.
3469
45814d45
YQ
34702012-09-29 Yao Qi <yao@codesourcery.com>
3471
3472 * gdb.trace/mi-tracepoint-changed.exp: New.
3473 * gdb.mi/mi-breakpoint-changed.exp: New.
3474 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3475 * gdb.mi/pendshr2.c: New.
3476
4c2786ba
YQ
34772012-09-28 Yao Qi <yao@codesourcery.com>
3478
3479 * gdb.mi/pr11022.exp: New.
3480 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3481
7977e5d2
TT
34822012-09-27 Tom Tromey <tromey@redhat.com>
3483
3484 * gdb.cp/derivation.exp: Add regression test.
3485 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3486 V_derived): New.
3487 (vderived): New global.
3488
0971de02
TT
34892012-09-26 Tom Tromey <tromey@redhat.com>
3490
3491 * gdb.dwarf2/dw2-common-block.S: New file.
3492 * gdb.dwarf2/dw2-common-block.exp: New file.
3493
4357ac6c
TT
34942012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3495
3496 * gdb.fortran/common-block.exp: New file.
3497 * gdb.fortran/common-block.f90: New file.
3498
6f380991
AB
34992012-09-26 Andrew Burgess <aburgess@broadcom.com>
3500
3501 * gdb.base/duplicate-bp.c: New file.
3502 * gdb.base/duplicate-bp.exp: New file.
3503
8ae551cf
YQ
35042012-09-26 Yao Qi <yao@codesourcery.com>
3505
3506 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3507
3508 Revert:
3509 2012-09-21 Yao Qi <yao@codesourcery.com>
3510
3511 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3512
318102b9
SP
35132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
3515 * gdb.base/longest-types.c: New test case.
3516 * gdb.base/longest-types.exp: New test case.
3517
a1e5fd69
YQ
35182012-09-25 Yao Qi <yao@codesourcery.com>
3519
3520 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3521
04e7407c
JK
35222012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3523
3524 Fix internal error on canonicalization of clang types.
3525 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3526 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3527 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3528
9bf4bce9
JK
35292012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3530
3531 Fix disassemble without parameters in tailcall frame.
3532 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3533
2603f7ee
AB
35342012-09-21 Andrew Burgess <aburgess@broadcom.com>
3535
3536 * gdb.dwarf2/dw2-op-out-param.S: New file.
3537 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3538
a3569abd
YQ
35392012-09-21 Yao Qi <yao@codesourcery.com>
3540
3541 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3542
a065d7af
YQ
35432012-09-21 Yao Qi <yao@codesourcery.com>
3544
3545 * gdb.mi/mi-cli.exp: Remove.
3546 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3547
15544bd9
YQ
35482012-09-21 Yao Qi <yao@codesourcery.com>
3549
3550 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3551 "=record-started" notification.
3552
82a90ccf
YQ
35532012-09-21 Yao Qi <yao@codesourcery.com>
3554
3555 * gdb.mi/mi-record-changed.exp: New.
3556 * gdb.mi/mi-reverse.exp: Adjust expected output.
3557
d7de8e3c
TT
35582012-09-20 Tom Tromey <tromey@redhat.com>
3559
3560 * gdb.python/python.exp: Test atexit.register.
3561
1aa99537
DE
35622012-09-20 Doug Evans <dje@google.com>
3563
05eade73
DE
3564 * boards/dwarf4-gdb-index.exp: New file.
3565
1aa99537
DE
3566 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3567 while running the tests.
3568
4ae24af0
JB
35692012-09-18 Joel Brobecker <brobecker@adacore.com>
3570
3571 * gdb.ada/bp_reset: New testcase.
3572
bb25a15c
YQ
35732012-09-18 Yao Qi <yao@codesourcery.com>
3574
3575 * gdb.trace/mi-tsv-changed.exp: New.
3576
201b4506
YQ
35772012-09-18 Yao Qi <yao@codesourcery.com>
3578
3579 * gdb.trace/mi-traceframe-changed.exp: New.
3580
6fc1c773
YQ
35812012-09-17 Yao Qi <yao@codesourcery.com>
3582
3583 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3584 when it is less than 0.
3585
1ab3b62c
JK
35862012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3587
3588 PR 14119
3589 * gdb.arch/amd64-tailcall-ret.S: New file.
3590 * gdb.arch/amd64-tailcall-ret.c: New file.
3591 * gdb.arch/amd64-tailcall-ret.exp: New file.
3592 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3593 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3594 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3595
acf9414f
JK
35962012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3597
3598 PR 14548
3599 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3600 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3601 * gdb.reverse/singlejmp-reverse.S: New file.
3602 * gdb.reverse/singlejmp-reverse.c: New file.
3603 * gdb.reverse/singlejmp-reverse.exp: New file.
3604
666b578b
JK
36052012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3606
3607 Fix compatibility with old GCC (~4.1).
3608 * gdb.cp/converts.cc (my_enum_var): New variable.
3609
42056501
AB
36102012-09-14 Andrew Burgess <aburgess@broadcom.com>
3611
3612 * gdb.xml/tdesc-regs.exp: Update expected output for new
3613 vector_size syntax of vector types.
3614
b9516fa1
YPK
36152012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3616
3617 Refactor Python "gdb" module into a proper Python package, by
3618 introducing a new "_gdb" module for code implemented in C, and
3619 using reload/__import__ instead of exec.
3620 * gdb.python/python.exp (Test stderr location): Update module
3621 location of GDB-specific sys.stderr.
3622 (Test stdout location): Ditto for sys.stdout.
3623
18dc9ad8
JK
36242012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3625
3626 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3627
ea3a9873
KS
36282012-09-12 Keith Seitz <keiths@redhat.com>
3629
3630 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3631 conversion statement.
3632
5941debb
DE
36332012-09-12 Doug Evans <dje@google.com>
3634
3635 * gdb.base/help.exp: Remove testing of individual command help text,
3636 too much of a maintenance burden. Instead, test the functionality
3637 of "help" itself.
3638
cfc35e02
DE
36392012-09-11 Doug Evans <dje@google.com>
3640
3a0ed5d7
DE
3641 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3642 breakpoint.
3643
cfc35e02
DE
3644 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3645 * gdb.dwarf2/fission-reread.S: Ditto.
3646 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3647 * gdb.dwarf2/fission-reread.exp: Ditto.
3648
350b1b26
AB
36492012-09-11 Andrew Burgess <aburgess@broadcom.com>
3650
3651 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3652
2fa15f23
JB
36532012-09-10 Joel Brobecker <brobecker@adacore.com>
3654
3655 * gdb.ada/optim_drec: New testcase.
3656
09be558e
DE
36572012-09-10 Doug Evans <dje@google.com>
3658
3659 * boards/fission.exp: Explicitly mark "board" as not remote.
3660
5b4f6e25
KS
36612012-09-10 Keith Seitz <keiths@redhat.com>
3662
3663 PR gdb/13483
3664 * gdb.cp/converts.cc (A::A): Add ctor.
3665 (A::member_): Add member.
3666 (enum my_enum): New enumeration.
3667 (main): Add calls to foo1_7 with various
3668 permitted arguments.
3669 * gdb.cp/converts.exp: Add tests for boolean
3670 conversions permitted by the standard.
3671
b4ca5ed9
YPK
36722012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3673
3674 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3675 avoid spurious results due to ~/.gdbinit.
3676 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3677 $INTERNAL_GDBFLAGS in run command.
3678 * gdb.gdb/observer.exp (setup_test): Ditto.
3679 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3680 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3681
d54b30bb
DE
36822012-09-06 Doug Evans <dje@google.com>
3683
14910956
DE
3684 * boards/fission.exp: New file.
3685
d54b30bb
DE
3686 * gdb.python/py-value.exp: Use clean_restart.
3687
91b253e1
DE
36882012-09-05 Doug Evans <dje@google.com>
3689
3690 * gdb.base/info-macros.c: Fix whitespace.
3691
1292279a
PA
36922012-08-28 Pedro Alves <palves@redhat.com>
3693
3694 PR gdb/14428
3695
3696 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3697
1c8cdcb1
JK
36982012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3699
3700 * gdb.base/break-caller-line.c: New file.
3701 * gdb.base/break-caller-line.exp: New file.
3702
1e8e8b51
JK
37032012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3704
3705 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3706 * gdb.arch/i386-cfi-notcurrent.S: New file.
3707 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3708
1591a1e8
PA
37092012-08-27 Wei-cheng Wang <cole945@gmail.com>
3710 Yao Qi <yao@codesourcery.com>
3711 Pedro Alves <palves@redhat.com>
3712
3713 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3714 New procedures.
3715 (top level): Add overlap checking tests.
3716
4442ada7
TT
37172012-08-24 Tom Tromey <tromey@redhat.com>
3718
3719 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3720 gdb_test_multiple fails for other reasons.
3721
e7d50cc9
YQ
37222012-08-24 Yao Qi <yao@codesourcery.com>
3723
3724 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3725
dfbd5e7b
PA
37262012-08-23 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.base/help.exp: Adjust to "handle" help text change.
3729
8d735b87
YQ
37302012-08-23 Yao Qi <yao@codesourcery.com>
3731
3732 * gdb.trace/disconnected-tracing.c (start, end): New.
3733 (main): Call start and end.
3734 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3735 existing tests into this proc.
3736 (disconnected_tfind): New.
3737
61b1d759
YQ
37382012-08-23 Yao Qi <yao@codesourcery.com>
3739
3740 * boards/native-gdbserver.exp (${board}_upload): New.
3741 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3742 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3743 Execute tfile on remote target.
3744 Copy trace file from target to host.
3745
6ca1b147
JM
37462012-08-22 Joseph Myers <joseph@codesourcery.com>
3747
3748 * gdb.arch/thumb-bx-pc.S: New file.
3749 * gdb.arch/thumb-bx-pc.exp: New file.
3750
706e3705
TT
37512012-08-22 Tom Tromey <tromey@redhat.com>
3752
3753 * gdb.base/maint.exp: Update.
3754
b4893d48
TT
37552012-08-22 Tom Tromey <tromey@redhat.com>
3756
3757 * lib/gdb.exp (skip_unwinder_tests): New proc.
3758 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3759 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3760
45b7da81
TT
37612012-08-21 Tom Tromey <tromey@redhat.com>
3762
3763 * gdb.hp/gdb.aCC/exception.exp: Remove.
3764
f94363d7
AP
3765012-08-19 Andrew Pinski <apinski@cavium.com>
3766
3767 * gdb.arch/mips-octeon-bbit.c: New file.
3768 * gdb.arch/mips-octeon-bbit.exp: New Test.
3769
e5afdbd7
KS
3770012-08-19 Keith Seitz <keiths@redhat.com>
3771
3772 PR c++/14365
3773 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3774 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3775
c29e8b64
JK
37762012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3777
3778 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3779 verbose -log by more specific untested call.
3780
15a7e7bc
YQ
37812012-08-18 Yao Qi <yao@codesourcery.com>
3782
3783 * gdb.trace/tfind.exp: Move tests on various command help before
3784 checking target supports trace.
3785 Fix the expected output of 'help tfind end'.
3786
a451cb65
KS
37872012-08-17 Keith Seitz <keiths@redhat.com>
3788
3789 PR c++/13356
3790 * gdb.base/default.exp: Update all "check type" tests.
3791 * gdb.base/help.exp: Likewise.
3792 * gdb.base/setshow.exp: Likewise.
3793 * gdb.cp/converts.cc (foo1_type_check): New function.
3794 (foo2_type_check): New function.
3795 (foo3_type_check): New function.
3796 (main): Call new functions.
3797 * converts.exp: Add tests for integer-to-pointer conversions
3798 with/without strict type-checking.
3799
dbf6a605
MF
38002012-08-16 Mike Frysinger <vapier@gentoo.org>
3801
3802 * gdb.base/help.exp: Update expected output.
3803
0c92d8c1
JB
38042012-08-16 Joel Brobecker <brobecker@adacore.com>
3805
3806 * gdb.ada/rdv_wait: New testcase.
3807
e56f7f42
JK
38082012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3809
3810 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3811
f47f77df
DE
38122012-08-13 Doug Evans <dje@google.com>
3813
e202d6e8 3814 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3815 * gdb.base/default.exp: Update expected output of "show convenience".
3816
a72c3253
DE
38172012-08-10 Doug Evans <dje@google.com>
3818
3819 * gdb.python/py-strfns.c: New file.
3820 * gdb.python/py-strfns.exp: New file.
3821 * gdb.python/py-type.exp (test_fields): Add vector tests.
3822
de0bea00
MF
38232012-08-10 Mike Frysinger <vapier@gentoo.org>
3824
3825 PR cli/10436:
3826 * gdb.base/completion.exp: Add tests for handle completion.
3827
5b9afe8a
YQ
38282012-08-09 Yao Qi <yao@codesourcery.com>
3829
3830 * gdb.mi/mi-cmd-param-changed.exp: New.
3831 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3832 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3833 * gdb.mi/mi2-prompt.exp: Likewise.
3834
4f485ebc
DE
38352012-08-08 Doug Evans <dje@google.com>
3836
3837 * gdb.base/debug-expr.c: New file.
3838 * gdb.base/debug-expr.exp: New file.
3839 * gdb.base/exprs.exp: Test {type} casts.
3840 * gdb.cp/debug-expr.exp: New file.
3841
5888842d
JK
38422012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3845 global variable loop, not a 'break'. Add loop count limit to 100.
3846 Add new fail case for terminated vgdb.
3847
4f69f4c2
JK
38482012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3849 Jean-Marc Saffroy <saffroy@gmail.com>
3850
3851 PR 11804
3852 * gdb.base/gcore-relro.exp: New file.
3853 * gdb.base/gcore-relro-main.c: New file.
3854 * gdb.base/gcore-relro-lib.c: New file.
3855
e2de5390
JK
38562012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 Do not false FAIL with old GCCs.
3859 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3860 GCC < 4.5 in $no_hw mode.
3861
606603c5
JK
38622012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3865
777f26c2
JK
38662012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3867
3868 * gdb.base/list.exp (test_only_end): New function.
3869 Call it.
3870
2c12abee
TT
38712012-08-06 Tom Tromey <tromey@redhat.com>
3872
3873 * gdb.python/py-mi.exp: Add test for printer whose children
3874 are a list.
3875 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3876 (main): New variable children_as_list.
3877 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3878 New.
3879 (register_pretty_printers): Register new printer.
3880
0eae2cf4
EBM
38812012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3882
3883 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3884 symbols. Abort if vgdb remote connection is closed.
3885
09e0881d
DE
38862012-08-02 Doug Evans <dje@google.com>
3887
3888 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3889
b40f514f
SDJ
38902012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3891
3892 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3893 s390x, PowerPC 64 and m68k-linux.
3894
11315ae0
UW
38952012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3896
3897 * gdb.base/annota1.exp: Accept no frames-invalid notification
3898 when starting up the program.
3899 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3900 show a symbolic value as well.
3901 * gdb.server/server-exec-info.exp: Skip test when skipping
3902 gdbserver test and/or when skipping shared library tests.
3903 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3904 avoid name conflicts with other tests.
3905
0547eeed
UW
39062012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3907
3908 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3909 Fix wrong output on big-endian systems.
3910 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3911 4-byte pointer types on 64-bit s390x.
3912
bdddb4de
UW
39132012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3914
3915 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3916 marker comment at the beginning (after intialization).
3917 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3918 breakpoint on marker comment instead of function begin.
3919 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3920 PowerPC.
3921 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3922 or 64-bit PowerPC.
3923 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3924 gdb,no_hardware_watchpoints flag is set.
3925 (initialize): Remove now redundant can-use-hw-watchpoints change.
3926
5d206025
YQ
39272012-08-02 Yao Qi <yao@codesourcery.com>
3928 Pedro Alves <palves@redhat.com>
3929
3930 * boards/local-remote-host.exp: New.
3931
4f665099
UW
39322012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3933
3934 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3935 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3936 * gdb.base/print-file-var.exp: Likewise.
3937 * gdb.server/solib-list.exp: Skip on remote targets.
3938
b62e2b27
UW
39392012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3940
3941 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3942 watchpoints on ARM. When expecting software watchpoints, tolerate
3943 (remote) targets that report unsupported hardware watchpoint only
3944 at continue time.
3945 (test_wide_location_2): Likewise.
3946
a967a851
JK
39472012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3950 valgrind versions.
3951
75d9f9ff 39522012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3953
3954 * gdb.base/valgrind-infcall.c: New file.
3955 * gdb.base/valgrind-infcall.exp: New file.
3956
75d9f9ff
JK
3957 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3958
1c9f2ed2
KS
39592012-07-30 Keith Seitz <keiths@redhat.com>
3960
3961 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3962 linespecs.
3963
7f9b2034
DE
39642012-07-30 Doug Evans <dje@google.com>
3965
85220e01
DE
3966 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3967 * gdb.dwarf2/pr13961.S: Ditto.
3968
7f9b2034
DE
3969 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3970
4e969b4f
AB
39712012-07-30 Andrew Burgess <aburgess@broadcom.com>
3972
3973 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3974 change its format immediately after reloading the binary.
3975
e7de8362
JK
39762012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3977
3978 Fix testsuite regression after --use-deprecated-index-sections removal.
3979 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3980 string.
3981 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3982
7255706c
YQ
39832012-07-27 Yao Qi <yao@codesourcery.com>
3984
3985 KFAIL for PR remote/14161.
3986 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3987 Cleanup socket files.
3988 (strace_info_marker): Detach inferior.
3989
f2e8016f
TT
39902012-07-26 Tom Tromey <tromey@redhat.com>
3991
6fdff2c5 3992 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3993
f66713d2
JK
39942012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3995
3996 * gdb.python/py-inferior.c (thread): New function.
3997 (check_threads): New function.
3998 (test_threads): New function.
3999 * gdb.python/py-inferior.exp: Added test.
4000 Replaced runto with continue to breakpoint.
4001
8223e12c
TT
40022012-07-26 Tom Tromey <tromey@redhat.com>
4003
4004 * lib/ada.exp (standard_ada_testfile): New proc.
4005 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4006 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4007 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4008 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4009 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4010 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4011 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4012 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4013 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4014 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4015 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4016 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4017 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4018 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4019 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4020 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4021 * gdb.ada/complete.exp: Use standard_ada_testfile.
4022 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4023 standard_output_file.
4024 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4025 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4026 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4027 standard_output_file.
4028 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4029 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4030 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4031 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4032 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4033 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4034 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4035 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4036 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4037 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4038 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4039 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4040 * gdb.ada/interface.exp: Use standard_ada_testfile.
4041 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4042 standard_output_file
4043 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4044 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4045 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4046 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4047 * gdb.ada/nested.exp: Use standard_ada_testfile.
4048 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4049 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4050 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4051 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4052 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4053 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4054 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4055 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4056 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4057 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4058 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4059 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4060 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4061 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4062 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4063 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4064 * gdb.ada/start.exp: Use standard_ada_testfile.
4065 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4066 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4067 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4068 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4069 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4070 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4071 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4072 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4073 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4074 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4075 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4076 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4077 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4078 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4079
bbec57e4
JK
40802012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 Fix testsuite regression after --use-deprecated-index-sections removal.
4083 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4084
9cc8e32c
JK
40852012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4086
4087 Fix compatibility with Tcl before 7.5.
4088 * lib/future.exp (lreverse): New function if it does not exist.
4089
ea5ca7b5
MK
40902012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4091
4092 * gdb.mi/mi-pending.c: New method to set a second pending
4093 breakpoint.
4094 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4095 condition.
4096
64776a0b
PA
40972012-07-20 Pedro Alves <palves@redhat.com>
4098
4099 PR threads/11692
4100 PR gdb/12203
4101
4102 * gdb.threads/create-fail.c: New file.
4103 * gdb.threads/create-fail.exp: New file.
4104
13e4e967
PA
41052012-07-19 Pedro Alves <palves@redhat.com>
4106
4107 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4108 * config/vx.exp (gdb_start): Likewise.
4109 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4110 * gdb.base/setvar.exp (test_set): Likewise.
4111 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4112 * gdb.reverse/sigall-precsave.exp: Likewise.
4113 * gdb.reverse/sigall-reverse.exp: Likewise.
4114
b7aefa4d
PA
41152012-07-19 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4118 handler before recording.
4119
608b4967
TT
41202012-07-19 Tom Tromey <tromey@redhat.com>
4121
4122 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4123 * gdb.cp/casts.cc (decltype): New function.
4124 (main): Use it.
4125
b1e0c0fa
PA
41262012-07-19 Pedro Alves <palves@redhat.com>
4127
4128 * gdb.base/sigall.exp (signals): New list.
4129 <top level>: Loop over signals in the $signals list instead of
4130 calling a test function once per signal.
4131 * gdb.reverse/sigall-precsave.exp (signals): New list.
4132 <top level>: Loop over signals in the $signals list instead of
4133 calling a test function once per signal.
4134 * gdb.reverse/sigall-reverse.exp (signals): New list.
4135 <top level>: Loop over signals in the $signals list instead of
4136 calling a test function once per signal.
4137
6ace3df1
YQ
41382012-07-19 Yao Qi <yao@codesourcery.com>
4139
4140 * gdb.base/setshow.exp: Test 'set args ~'.
4141
263a0f8c
JK
41422012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4143
4144 * gdb.base/store.exp (check_set): Import gdb_prompt.
4145 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4146 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4147
8f043999
JK
41482012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4149
4150 PR 11914
4151 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4152 (main): Call eval_sub.
4153 * gdb.python/py-prettyprint.exp:
4154 (python execfile ('py-prettyprint.py')): Move it earlier.
4155 New breakpoint for eval-break.
4156 (continue to breakpoint: eval-break, info locals): New test.
4157 (python execfile ('py-prettyprint.py')): Move it from here.
4158 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4159 (register_pretty_printers): Register pp_eval_type.
4160
725c7b66
JK
41612012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 Fix a testcase regression by me.
4164 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4165 DW_FORM_data4.
4166
4359dff1
JK
41672012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4168 Doug Evans <dje@google.com>
4169
4170 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4171 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4172
61e44cfa
JK
41732012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4174
4175 Fix gdbserver run regression.
4176 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4177
93c0ef37
TT
41782012-07-12 Tom Tromey <tromey@redhat.com>
4179
4180 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4181 (clean_restart): Likewise.
4182 (core_find): Use standard_output_file.
4183
76027ef5
TT
41842012-07-12 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4187 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4188 prepare_for_testing_full.
4189 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4190 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4191 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4192 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4193 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4194 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4195 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4196 prepare_for_testing_full.
4197 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4198 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4199 prepare_for_testing_full.
4200 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4201 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4202 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4203
85b4440a
TT
42042012-07-12 Tom Tromey <tromey@redhat.com>
4205
4206 * lib/gdb.exp (build_executable_from_specs): New proc, from
4207 build_executable.
4208 (build_executable): Use it.
4209 (prepare_for_testing_full): New proc.
4210
55baab26
TT
42112012-07-11 Tom Tromey <tromey@redhat.com>
4212
4213 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4214 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4215 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4216 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4217 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4218 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4219 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4220 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4221 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4222 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4223
298a9cf0
TT
42242012-07-10 Tom Tromey <tromey@redhat.com>
4225
4226 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4227 standard_output_file.
4228 * gdb.mi/gdb2549.exp: Use standard_testfile.
4229 * gdb.mi/gdb669.exp: Use standard_testfile.
4230 * gdb.mi/gdb701.exp: Use standard_testfile.
4231 * gdb.mi/gdb792.exp: Use standard_testfile.
4232 * gdb.mi/mi-async.exp: Use standard_testfile.
4233 * gdb.mi/mi-basics.exp: Use standard_testfile.
4234 * gdb.mi/mi-break.exp: Use standard_testfile.
4235 * gdb.mi/mi-cli.exp: Use standard_testfile.
4236 * gdb.mi/mi-console.exp: Use standard_testfile.
4237 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4238 * gdb.mi/mi-eval.exp: Use standard_testfile.
4239 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4240 * gdb.mi/mi-file.exp: Use standard_testfile.
4241 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4242 * gdb.mi/mi-logging.exp: Use standard_testfile.
4243 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4244 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4245 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4246 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4247 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4248 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4249 * gdb.mi/mi-pending.exp: Use standard_testfile,
4250 standard_output_file.
4251 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4252 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4253 * gdb.mi/mi-regs.exp: Use standard_testfile.
4254 * gdb.mi/mi-return.exp: Use standard_testfile.
4255 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4256 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4257 * gdb.mi/mi-solib.exp: Use standard_testfile,
4258 standard_output_file.
4259 * gdb.mi/mi-stack.exp: Use standard_testfile.
4260 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4261 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4262 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4263 * gdb.mi/mi-until.exp: Use standard_testfile.
4264 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4265 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4266 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4267 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4268 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4269 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4270 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4271 standard_output_file.
4272 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4273 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4274 * gdb.mi/mi-watch.exp: Use standard_testfile.
4275 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4276 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4277 * gdb.mi/mi2-break.exp: Use standard_testfile.
4278 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4279 * gdb.mi/mi2-console.exp: Use standard_testfile.
4280 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4281 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4282 * gdb.mi/mi2-file.exp: Use standard_testfile.
4283 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4284 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4285 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4286 * gdb.mi/mi2-return.exp: Use standard_testfile.
4287 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4288 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4289 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4290 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4291 * gdb.mi/mi2-until.exp: Use standard_testfile.
4292 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4293 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4294 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4295 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4296 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4297
f5f3a911
TT
42982012-07-10 Tom Tromey <tromey@redhat.com>
4299
4300 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4301 * gdb.cp/ambiguous.exp: Use standard_testfile,
4302 prepare_for_testing.
4303 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4304 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4305 * gdb.cp/anon-ns.exp: Use standard_testfile.
4306 * gdb.cp/anon-struct.exp: Use standard_testfile.
4307 * gdb.cp/anon-union.exp: Use standard_testfile,
4308 prepare_for_testing.
4309 * gdb.cp/arg-reference.exp: Use standard_testfile,
4310 prepare_for_testing.
4311 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4312 * gdb.cp/breakpoint.exp: Use standard_testfile,
4313 prepare_for_testing.
4314 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4315 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4316 standard_output_file.
4317 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4318 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4319 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4320 (test_static_members): Update.
4321 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4322 * gdb.cp/converts.exp: Use standard_testfile.
4323 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4324 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4325 prepare_for_testing.
4326 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4327 * gdb.cp/cplabel.exp: Use standard_testfile.
4328 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4329 prepare_for_testing.
4330 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4331 * gdb.cp/derivation.exp: Use standard_testfile,
4332 prepare_for_testing.
4333 * gdb.cp/destrprint.exp: Use standard_testfile.
4334 * gdb.cp/dispcxx.exp: Use standard_testfile.
4335 * gdb.cp/exception.exp: Use standard_testfile,
4336 prepare_for_testing.
4337 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4338 * gdb.cp/extern-c.exp: Use standard_testfile,
4339 prepare_for_testing.
4340 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4341 prepare_for_testing.
4342 * gdb.cp/fpointer.exp: Use standard_testfile.
4343 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4344 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4345 standard_output_file.
4346 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4347 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4348 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4349 standard_output_file.
4350 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4351 (do_tests): Update.
4352 * gdb.cp/koenig.exp: Use standard_testfile.
4353 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4354 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4355 * gdb.cp/m-static.exp: Use standard_testfile,
4356 prepare_for_testing.
4357 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4358 * gdb.cp/mb-inline.exp: Use standard_testfile,
4359 prepare_for_testing.
4360 * gdb.cp/mb-templates.exp: Use standard_testfile,
4361 prepare_for_testing.
4362 * gdb.cp/member-ptr.exp: Use standard_testfile,
4363 prepare_for_testing.
4364 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4365 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4366 * gdb.cp/method2.exp: Use standard_testfile.
4367 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4368 standard_output_file.
4369 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4370 (do_tests): Update.
4371 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4372 prepare_for_testing.
4373 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4374 prepare_for_testing.
4375 * gdb.cp/namespace.exp: Use standard_testfile,
4376 prepare_for_testing.
4377 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4378 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4379 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4380 * gdb.cp/nsimport.exp: Use standard_testfile,
4381 prepare_for_testing.
4382 * gdb.cp/nsnested.exp: Use standard_testfile.
4383 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4384 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4385 prepare_for_testing.
4386 * gdb.cp/nsstress.exp: Use standard_testfile,
4387 prepare_for_testing.
4388 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4389 * gdb.cp/operator.exp: Use standard_testfile.
4390 * gdb.cp/oranking.exp: Use standard_testfile.
4391 * gdb.cp/overload-const.exp: Use standard_testfile.
4392 * gdb.cp/overload.exp: Use standard_testfile,
4393 prepare_for_testing.
4394 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4395 * gdb.cp/ovsrch.exp: Use standard_testfile.
4396 * gdb.cp/paren-type.exp: Use standard_testfile.
4397 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4398 prepare_for_testing.
4399 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4400 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4401 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4402 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4403 * gdb.cp/pr10728.exp: Use standard_testfile,
4404 standard_output_file.
4405 * gdb.cp/pr12028.exp: Use standard_testfile.
4406 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4407 * gdb.cp/pr9167.exp: Use standard_testfile.
4408 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4409 * gdb.cp/printmethod.exp: Use standard_testfile,
4410 prepare_for_testing.
4411 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4412 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4413 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4414 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4415 standard_output_file.
4416 * gdb.cp/readnow-language.exp: Use standard_testfile.
4417 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4418 (gdb_start_again): Use clean_restart.
4419 * gdb.cp/ref-types.exp: Use standard_testfile,
4420 prepare_for_testing.
4421 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4422 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4423 * gdb.cp/smartp.exp: Use standard_testfile.
4424 * gdb.cp/static-method.exp: Use standard_testfile.
4425 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4426 * gdb.cp/temargs.exp: Use standard_testfile.
4427 * gdb.cp/templates.exp: Use standard_testfile,
4428 prepare_for_testing.
4429 (do_tests): Update.
4430 * gdb.cp/try_catch.exp: Use standard_testfile,
4431 prepare_for_testing.
4432 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4433 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4434 * gdb.cp/virtbase.exp: Use standard_testfile,
4435 prepare_for_testing.
4436 * gdb.cp/virtfunc.exp: Use standard_testfile,
4437 prepare_for_testing.
4438 (do_tests): Update.
4439 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4440 prepare_for_testing.
4441
686f09d0
TT
44422012-07-10 Tom Tromey <tromey@redhat.com>
4443
4444 * lib/gdb.exp (standard_testfile): Unset output variables from
4445 earlier invocations.
4446
9357e021
YQ
44472012-07-10 Yao Qi <yao@codesourcery.com>
4448
4449 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4450 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4451 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4452 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4453 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4454 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4455 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4456 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4457 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4458 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4459 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4460 * gdb.mi/mi-var-display.exp: Likewise.
4461 * gdb.mi/mi-var-invalidate.exp: Likewise.
4462 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4463 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4464 * gdb.mi/mi2-console.exp: Likewise.
4465 * gdb.mi/mi2-disassemble.exp: Likewise.
4466 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4467 * gdb.mi/mi2-read-memory.exp: Likewise.
4468 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4469 * gdb.mi/mi2-simplerun.exp: Likewise.
4470 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4471 * gdb.mi/mi2-syn-frame.exp: Likewise.
4472 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4473 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4474 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4475
e314d629
TT
44762012-07-09 Tom Tromey <tromey@redhat.com>
4477
4478 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4479 * gdb.base/callfuncs.exp: Add cast-based test.
4480 * gdb.base/callfuncs.c (voidfunc): New function.
4481
06928b3f
DE
44822012-07-08 Doug Evans <dje@google.com>
4483
4484 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4485
32f11bad
JK
44862012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 Fix XFAIL compatibility with old i386 systems.
4489 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4490 Check also 'Cannot insert breakpoint 0'.
4491
76b83c51
JK
44922012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4493
4494 PR 14321
4495 * gdb.base/find.exp
4496 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4497
a6fb9c08
TT
44982012-07-06 Tom Tromey <tromey@redhat.com>
4499
4500 * gdb.base/whatis.exp: Add test.
4501
71918a86
TT
45022012-07-06 Tom Tromey <tromey@redhat.com>
4503
4504 * gdb.base/whatis.exp: Add regression test.
4505
fcde5961
TT
45062012-07-06 Tom Tromey <tromey@redhat.com>
4507
4508 * gdb.base/whatis.exp: Add tests.
4509
f9cf0f4a
JK
45102012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4511
4512 PR 12649
4513 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4514 gdb_test_multiple $gdb_prompt terminator.
4515
979ade8b
PA
45162012-07-04 Pedro Alves <palves@redhat.com>
4517
4518 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4519 supports_process_record.
4520
8a980b44
PA
45212012-07-04 Pedro Alves <palves@redhat.com>
4522
4523 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4524 endings.
4525 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4526
855ba978
SS
45272012-07-03 Stan Shebs <stan@codesourcery.com>
4528
4529 * gdb.base/info-os.c (main): Retry resource acquisition until an
4530 available one is found.
4531 * gdb.base/info-os.exp: Collect resource keys from the program
4532 and use them in matching.
4533
fcb44371
JK
45342012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4535
4536 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4537 Wrap the test into loop for corefile and core0file.
4538
08a67be6
JK
45392012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4540
4541 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4542 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4543 .note.GNU-stack.
4544
0f3c2347
JK
4545 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4546
ff4a4500
SDJ
45472012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4548
4549 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4550 break): Include help message for the new `-probe' and `-probe-stap'
4551 options.
4552
d3ce09f5
SS
45532012-07-02 Stan Shebs <stan@codesourcery.com>
4554
4555 * gdb.base/dprintf.exp: Add agent style tests.
4556
a1624241
JK
45572012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 * gdb.base/stale-infcall.c (infcall): New label test-next.
4560 (main): New labels test-pass and test-fail.
4561 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4562 $test_fail_bpnum to test-fail.
4563 (test system longjmp tracking support): New test.
4564 Delete $test_fail_bpnum.
4565 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4566 breakpoint.
4567
42e7ad6c
DE
45682012-06-30 Doug Evans <dje@google.com>
4569
4570 * gdb.dwarf2/fission-reread.S: New file.
4571 * gdb.dwarf2/fission-reread.exp: New file.
4572
37ce89eb
SS
45732012-06-28 Stan Shebs <stan@codesourcery.com>
4574
4575 * gdb.mi/mi-logging.exp: New file.
4576
e5ef252a
PA
45772012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4578 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.threads/siginfo-threads.exp: New file.
4581 * gdb.threads/siginfo-threads.c: New file.
4582 * gdb.threads/sigstep-threads.exp: New file.
4583 * gdb.threads/sigstep-threads.c: New file.
4584
22f1fbae
TT
45852012-06-28 Tom Tromey <tromey@redhat.com>
4586
4587 * gdb.go/package.exp: Partially revert earlier patch; use
4588 gdb_compile again. Use standard_output_file.
4589
2e3cf129
DE
45902012-06-27 Doug Evans <dje@google.com>
4591
4592 * gdb.dwarf2/fission-base.c: New file.
4593 * gdb.dwarf2/fission-base.S: New file.
4594 * gdb.dwarf2/fission-base.exp: New file.
4595
785fd303
JK
45962012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4597
4598 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4599
1bb9788d
TT
46002012-06-27 Tom Tromey <tromey@redhat.com>
4601
4602 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4603 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4604
c83ee902
TT
46052012-06-27 Tom Tromey <tromey@redhat.com>
4606
4607 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4608 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4609 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4610 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4611 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4612 prepare_for_testing.
4613 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4614 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4615 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4616 standard_testfile.
4617 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4618 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4619 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4620 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4621 prepare_for_testing.
4622 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4623 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4624 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4625 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4626 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4627 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4628 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4629 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4630 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4631 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4632 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4633 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4634 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4635 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4636 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4637 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4638 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4639 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4640 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4641 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4642 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4643 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4644 standard_output_file.
4645 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4646 standard_output_file.
4647 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4648 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4649 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4650 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4651 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4652 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4653 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4654 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4655 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4656 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4657 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4658 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4659 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4660 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4661 * gdb.dwarf2/valop.exp: Use standard_testfile,
4662 prepare_for_testing.
4663
5204774b
TT
46642012-06-27 Tom Tromey <tromey@redhat.com>
4665
4666 * gdb.python/python.exp: Fix regexps in pagination tests.
4667
ee0bf529
SCR
46682012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4669
4670 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4671 'last' of gdb.Symtab_and_line.
4672 * gdb.python/py-symbol.c: Move break point comment to enable
4673 testing of gdb.Symtab_and_line.last.
4674
14fcc022
TT
46752012-06-26 Tom Tromey <tromey@redhat.com>
4676
4677 * gdb.threads/step.c: Remove.
4678 * gdb.threads/step.exp: Remove.
4679 * gdb.threads/step2.exp: Remove.
4680
0efbbabc
TT
46812012-06-26 Tom Tromey <tromey@redhat.com>
4682
4683 * gdb.threads/watchpoint-fork.exp (test): Use
4684 standard_output_file. Don't declare objdir.
4685 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4686 standard_output_file.
4687 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4688 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4689 clean_restart. Remove incdir.
4690 * gdb.threads/corethreads.exp: Use standard_testfile.
4691 * gdb.threads/execl.exp: Use standard_testfile,
4692 standard_output_file, clean_restart.
4693 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4694 clean_restart.
4695 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4696 clean_restart.
4697 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4698 incdir.
4699 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4700 clean_restart. Remove incdir.
4701 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4702 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4703 clean_restart. Remove incdir.
4704 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4705 Remove incdir.
4706 * gdb.threads/leader-exit.exp: Use standard_testfile.
4707 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4708 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4709 clean_restart.
4710 * gdb.threads/manythreads.exp: Use standard_testfile,
4711 clean_restart. Remove incdir.
4712 * gdb.threads/multi-create.exp: Use standard_testfile,
4713 clean_restart.
4714 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4715 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4716 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4717 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4718 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4719 * gdb.threads/pending-step.exp: Use standard_testfile,
4720 clean_restart. Remove incdir.
4721 * gdb.threads/print-threads.exp: Use standard_testfile,
4722 clean_restart. Remove incdir.
4723 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4724 clean_restart. Remove incdir.
4725 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4726 Remove incdir.
4727 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4728 incdir.
4729 * gdb.threads/sigthread.exp: Use standard_testfile,
4730 clean_restart.
4731 * gdb.threads/staticthreads.exp: Use standard_testfile,
4732 clean_restart. Remove incdir.
4733 * gdb.threads/switch-threads.exp: Use standard_testfile,
4734 clean_restart. Remove incdir.
4735 * gdb.threads/thread-execl.exp: Use standard_testfile,
4736 clean_restart. Remove incdir.
4737 * gdb.threads/thread-find.exp: Use standard_testfile,
4738 clean_restart.
4739 * gdb.threads/thread-specific.exp: Use standard_testfile,
4740 clean_restart. Remove incdir.
4741 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4742 clean_restart. Remove incdir.
4743 * gdb.threads/thread_check.exp: Use standard_testfile,
4744 clean_restart. Remove incdir.
4745 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4746 incdir.
4747 * gdb.threads/threadapply.exp: Use standard_testfile,
4748 clean_restart. Remove incdir.
4749 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4750 clean_restart. Remove incdir.
4751 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4752 clean_restart.
4753 * gdb.threads/tls-shared.exp: Use standard_testfile,
4754 clean_restart, standard_output_file.
4755 * gdb.threads/tls-var.exp: Use standard_testfile,
4756 standard_output_file.
4757 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4758 Remove incdir.
4759 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4760 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4761 incdir.
4762 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4763 clean_restart. Remove incdir.
4764
497a5eb0
TT
47652012-06-26 Tom Tromey <tromey@redhat.com>
4766
4767 * gdb.trace/actions.exp: Use standard_testfile.
4768 * gdb.trace/ax.exp: Use standard_testfile.
4769 * gdb.trace/backtrace.exp: Use standard_testfile.
4770 * gdb.trace/change-loc.exp: Use standard_testfile.
4771 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4772 * gdb.trace/collection.exp: Use standard_testfile,
4773 prepare_for_testing.
4774 * gdb.trace/deltrace.exp: Use standard_testfile.
4775 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4776 * gdb.trace/ftrace.exp: Use standard_testfile.
4777 * gdb.trace/infotrace.exp: Use standard_testfile.
4778 * gdb.trace/packetlen.exp: Use standard_testfile.
4779 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4780 * gdb.trace/passcount.exp: Use standard_testfile.
4781 * gdb.trace/pending.exp: Use standard_testfile.
4782 * gdb.trace/report.exp: Use standard_testfile.
4783 * gdb.trace/save-trace.exp: Use standard_testfile.
4784 * gdb.trace/stap-trace.exp: Use standard_testfile.
4785 * gdb.trace/status-stop.exp: Use standard_testfile.
4786 * gdb.trace/strace.exp: Use standard_testfile.
4787 * gdb.trace/tfile.exp: Use standard_testfile.
4788 * gdb.trace/tfind.exp: Use standard_testfile.
4789 * gdb.trace/trace-break.exp: Use standard_testfile.
4790 * gdb.trace/trace-mt.exp: Use standard_testfile.
4791 * gdb.trace/tracecmd.exp: Use standard_testfile.
4792 * gdb.trace/tspeed.exp: Use standard_testfile.
4793 * gdb.trace/tstatus.exp: Use standard_testfile.
4794 * gdb.trace/tsv.exp: Use standard_testfile.
4795 * gdb.trace/unavailable.exp: Use standard_testfile,
4796 prepare_for_testing.
4797 * gdb.trace/while-dyn.exp: Use standard_testfile.
4798 * gdb.trace/while-stepping.exp: Use standard_testfile.
4799
7686c074
TT
48002012-06-26 Tom Tromey <tromey@redhat.com>
4801
4802 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4803 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4804 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4805 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4806 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4807 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4808 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4809 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4810 prepare_for_testing.
4811 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4812 prepare_for_testing.
4813 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4814 prepare_for_testing.
4815 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4816 prepare_for_testing.
4817 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4818 prepare_for_testing
4819 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4820 * gdb.reverse/machinestate.exp: Use standard_testfile.
4821 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4822 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4823 build_executable.
4824 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4825 build_executable.
4826 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4827 standard_output_file.
4828 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4829 standard_output_file.
4830 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4831 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4832 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4833 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4834 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4835 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4836
481fc100
TT
48372012-06-26 Tom Tromey <tromey@redhat.com>
4838
4839 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4840 standard_output_file.
4841 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4842 prepare_for_testing. Remove directory-checking code.
4843
7bb18ae2
TT
48442012-06-25 Tom Tromey <tromey@redhat.com>
4845
4846 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4847 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4848 build_executable, not prepare_for_testing.
4849 * gdb.multi/base.exp: Use standard_output_file. Use
4850 build_executable, not prepare_for_testing.
4851
cf09b3e4
TT
48522012-06-25 Tom Tromey <tromey@redhat.com>
4853
4854 * gdb.fortran/subarray.exp: Use standard_testfile,
4855 prepare_for_testing.
4856 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4857 * gdb.fortran/module.exp: Use standard_testfile.
4858 * gdb.fortran/logical.exp: Use standard_testfile.
4859 * gdb.fortran/library-module.exp: Use standard_testfile,
4860 standard_output_file.
4861 * gdb.fortran/derived-type.exp: Use standard_testfile,
4862 prepare_for_testing.
4863 * gdb.fortran/complex.exp: Use standard_testfile,
4864 prepare_for_testing.
4865 * gdb.fortran/charset.exp: Use standard_testfile.
4866 * gdb.fortran/array-element.exp: Use standard_testfile,
4867 prepare_for_testing.
4868
18b5ff1b
KS
48692012-06-25 Keith Seitz <keiths@redhat.com>
4870
4871 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4872 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4873
17b77626
TT
48742012-06-25 Tom Tromey <tromey@redhat.com>
4875
4876 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4877 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4878 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4879 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4880
f91e3dc1
TT
48812012-06-25 Tom Tromey <tromey@redhat.com>
4882
4883 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4884 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4885 * gdb.linespec/linespec.exp: Use standard_testfile.
4886
a884434d
TT
48872012-06-25 Tom Tromey <tromey@redhat.com>
4888
4889 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4890 prepare_for_testing.
4891
efc9d70a
TT
48922012-06-25 Tom Tromey <tromey@redhat.com>
4893
4894 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4895 prepare_for_testing.
4896 * gdb.opt/inline-break.exp: Use standard_testfile,
4897 prepare_for_testing.
4898 * gdb.opt/inline-bt.exp: Use standard_testfile,
4899 prepare_for_testing.
4900 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4901 prepare_for_testing.
4902 * gdb.opt/inline-locals.exp: Use standard_testfile,
4903 prepare_for_testing.
4904
e2fc92c6
TT
49052012-06-25 Tom Tromey <tromey@redhat.com>
4906
4907 * gdb.asm/asm-source.exp: Use standard_output_file,
4908 standard_testfile. Construct .o files in proper subdir.
4909
b0963d73
TT
49102012-06-25 Tom Tromey <tromey@redhat.com>
4911
4912 * gdb.server/ext-attach.exp: Use standard_testfile,
4913 prepare_for_testing.
4914 * gdb.server/ext-run.exp: Use standard_testfile,
4915 build_executable.
4916 * gdb.server/file-transfer.exp: Use standard_testfile,
4917 prepare_for_testing.
4918 * gdb.server/server-exec-info.exp: Use standard_testfile.
4919 * gdb.server/server-mon.exp: Use standard_testfile,
4920 prepare_for_testing.
4921 * gdb.server/server-run.exp: Use standard_testfile,
4922 build_executable.
4923 * gdb.server/solib-list.exp: Use standard_testfile,
4924 standard_output_file.
4925
8a3e1f8d
TT
49262012-06-25 Tom Tromey <tromey@redhat.com>
4927
4928 * lib/gdb.exp (standard_output_file): Use "file join".
4929 * gdb.go/chan.exp: Use standard_testfile.
4930 * gdb.go/handcall.exp: Use standard_testfile.
4931 * gdb.go/hello.exp: Use standard_testfile.
4932 * gdb.integers/chan.exp: Use standard_testfile.
4933 * gdb.go/methods.exp: Use standard_testfile.
4934 * gdb.go/package.exp: Use standard_testfile.
4935 * gdb.go/strings.exp: Use standard_testfile.
4936 * gdb.go/types.exp: Use standard_testfile.
4937 * gdb.go/unsafe.exp: Use standard_testfile.
4938
944a9061
MGD
49392012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4940
4941 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4942
1c06bd58
JK
49432012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4944
4945 Fix regression by the previous commit.
4946 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4947
b4a58790
TT
49482012-06-22 Tom Tromey <tromey@redhat.com>
4949
4950 * gdb.python/lib-types.exp: Use standard_testfile,
4951 prepare_for_testing.
4952 * gdb.python/py-block.exp: Use standard_testfile.
4953 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4954 * gdb.python/py-events.exp: Use standard_testfile,
4955 standard_output_file.
4956 * gdb.python/py-evsignal.exp: Use standard_testfile.
4957 * gdb.python/py-evethreads.exp: Use standard_testfile.
4958 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4959 * gdb.python/py-explore.exp: Use standard_testfile.
4960 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4961 standard_output_file.
4962 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4963 prepare_for_testing.
4964 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4965 * gdb.python/py-frame.exp: Use standard_testfile.
4966 * gdb.python/py-inferior.exp: Use standard_testfile.
4967 * gdb.python/py-infthread.exp: Use standard_testfile.
4968 * gdb.python/py-mi.exp: Use standard_testfile.
4969 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4970 build_executable.
4971 * gdb.python/py-objfile.exp: Use standard_testfile.
4972 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4973 prepare_for_testing.
4974 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4975 * gdb.python/py-progspace.exp: Use standard_testfile,
4976 build_executable.
4977 * gdb.python/py-prompt.exp: Use standard_testfile,
4978 build_executable.
4979 * gdb.python/py-section-script.exp: Use standard_testfile,
4980 build_executable.
4981 * gdb.python/py-shared.exp: Use standard_testfile,
4982 standard_output_file, clean_restart.
4983 * gdb.python/py-symbol.exp: Use standard_output_file,
4984 prepare_for_testing.
4985 * gdb.python/py-symtab.exp: Use standard_output_file,
4986 prepare_for_testing
4987 * gdb.python/py-template.exp: Use standard_testfile.
4988 * gdb.python/py-type.exp: Use standard_testfile.
4989 * gdb.python/py-value-cc.exp: Use standard_testfile.
4990 * gdb.python/py-value.exp: Use standard_testfile.
4991 * gdb.python/python.exp: Use standard_testfile, build_executable.
4992
2c44deac
TT
49932012-06-22 Tom Tromey <tromey@redhat.com>
4994
4995 * gdb.objc/basicclass.exp: Use standard_testfile.
4996 (do_objc_tests): Don't declare objdir.
4997 * gdb.objc/nondebug.exp: Use standard_testfile.
4998 (do_objc_tests): Don't declare objdir.
4999 * gdb.objc/objcdecode.exp: Use standard_testfile.
5000 (do_objc_tests): Don't declare objdir.
5001
c24ccbce
TT
50022012-06-22 Tom Tromey <tromey@redhat.com>
5003
5004 * gdb.java/jmain.exp: Use standard_testfile.
5005 * gdb.java/jmisc.exp: Use standard_testfile.
5006 * gdb.java/jnpe.exp: Use standard_testfile.
5007 * gdb.java/jprint.exp: Use standard_testfile.
5008
0a6d0306
TT
50092012-06-22 Tom Tromey <tromey@redhat.com>
5010
5011 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5012 (standard_output_file, standard_testfile): New procs.
5013 (build_executable, clean_restart): Use standard_output_file.
5014
6ea815ef
YQ
50152012-06-22 Yao Qi <yao@codesourcery.com>
5016
5017 * boards/native-gdbserver.exp: New proc ${board}_exec.
5018 * boards/native-stdio-gdbserver.exp: Likewise.
5019
4c93b1db
TT
50202012-06-21 Tom Tromey <tromey@redhat.com>
5021
5022 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5023 (build_executable): Update.
5024 (get_compiler_info): Remove 'binfile' argument.
5025 * gdb.ada/arrayidx.exp: Update.
5026 * gdb.ada/null_array.exp: Update.
5027 * gdb.arch/altivec-abi.exp: Update.
5028 * gdb.arch/altivec-regs.exp: Update.
5029 * gdb.arch/amd64-byte.exp: Update.
5030 * gdb.arch/amd64-dword.exp: Update.
5031 * gdb.arch/amd64-word.exp: Update.
5032 * gdb.arch/i386-avx.exp: Update.
5033 * gdb.arch/i386-byte.exp: Update.
5034 * gdb.arch/i386-sse.exp: Update.
5035 * gdb.arch/i386-word.exp: Update.
5036 * gdb.arch/ppc-dfp.exp: Update.
5037 * gdb.arch/ppc-fp.exp: Update.
5038 * gdb.arch/vsx-regs.exp: Update.
5039 * gdb.base/all-bin.exp: Update.
5040 * gdb.base/annota1.exp: Update.
5041 * gdb.base/async.exp: Update.
5042 * gdb.base/attach.exp: Update.
5043 * gdb.base/break-interp.exp: Update.
5044 * gdb.base/call-ar-st.exp: Update.
5045 * gdb.base/call-rt-st.exp: Update.
5046 * gdb.base/call-sc.exp: Update.
5047 * gdb.base/callfuncs.exp: Update.
5048 * gdb.base/catch-load.exp: Update.
5049 * gdb.base/completion.exp: Update.
5050 * gdb.base/complex.exp: Update.
5051 * gdb.base/condbreak.exp: Update.
5052 * gdb.base/consecutive.exp: Update.
5053 * gdb.base/constvars.exp: Update.
5054 * gdb.base/corefile.exp: Update.
5055 * gdb.base/eval-skip.exp: Update.
5056 * gdb.base/expand-psymtabs.exp: Update.
5057 * gdb.base/exprs.exp: Update.
5058 * gdb.base/fileio.exp: Update.
5059 * gdb.base/fixsection.exp: Update.
5060 * gdb.base/funcargs.exp: Update.
5061 * gdb.base/gdb11530.exp: Update.
5062 * gdb.base/gdb1555.exp: Update.
5063 * gdb.base/gnu-ifunc.exp: Update.
5064 * gdb.base/gnu_vector.exp: Update.
5065 * gdb.base/info-macros.exp: Update.
5066 * gdb.base/jit-simple.exp: Update.
5067 * gdb.base/jit-so.exp: Update.
5068 * gdb.base/jit.exp: Update.
5069 * gdb.base/langs.exp: Update.
5070 * gdb.base/list.exp: Update.
5071 * gdb.base/logical.exp: Update.
5072 * gdb.base/long_long.exp: Update.
5073 * gdb.base/longjmp.exp: Update.
5074 * gdb.base/macscp.exp: Update.
5075 * gdb.base/mips_pro.exp: Update.
5076 * gdb.base/miscexprs.exp: Update.
5077 * gdb.base/morestack.exp: Update.
5078 * gdb.base/nodebug.exp: Update.
5079 * gdb.base/opaque.exp: Update.
5080 * gdb.base/pc-fp.exp: Update.
5081 * gdb.base/pending.exp: Update.
5082 * gdb.base/permissions.exp: Update.
5083 * gdb.base/pointers.exp: Update.
5084 * gdb.base/prelink.exp: Update.
5085 * gdb.base/printcmds.exp: Update.
5086 * gdb.base/psymtab.exp: Update.
5087 * gdb.base/ptype.exp: Update.
5088 * gdb.base/relational.exp: Update.
5089 * gdb.base/scope.exp: Update.
5090 * gdb.base/setvar.exp: Update.
5091 * gdb.base/shlib-call.exp: Update.
5092 * gdb.base/shreloc.exp: Update.
5093 * gdb.base/signals.exp: Update.
5094 * gdb.base/sizeof.exp: Update.
5095 * gdb.base/so-impl-ld.exp: Update.
5096 * gdb.base/so-indr-cl.exp: Update.
5097 * gdb.base/solib-disc.exp: Update.
5098 * gdb.base/solib-display.exp: Update.
5099 * gdb.base/solib-nodir.exp: Update.
5100 * gdb.base/solib-overlap.exp: Update.
5101 * gdb.base/solib-symbol.exp: Update.
5102 * gdb.base/solib-weak.exp: Update.
5103 * gdb.base/solib.exp: Update.
5104 * gdb.base/store.exp: Update.
5105 * gdb.base/structs.exp: Update.
5106 * gdb.base/structs2.exp: Update.
5107 * gdb.base/type-opaque.exp: Update.
5108 * gdb.base/unload.exp: Update.
5109 * gdb.base/varargs.exp: Update.
5110 * gdb.base/volatile.exp: Update.
5111 * gdb.base/watch_thread_num.exp: Update.
5112 * gdb.base/watchpoint-solib.exp: Update.
5113 * gdb.base/watchpoint.exp: Update.
5114 * gdb.base/watchpoints.exp: Update.
5115 * gdb.base/whatis.exp: Update.
5116 * gdb.cell/arch.exp: Update.
5117 * gdb.cell/break.exp: Update.
5118 * gdb.cell/bt.exp: Update.
5119 * gdb.cell/core.exp: Update.
5120 * gdb.cell/data.exp: Update.
5121 * gdb.cell/ea-cache.exp: Update.
5122 * gdb.cell/f-regs.exp: Update.
5123 * gdb.cell/fork.exp: Update.
5124 * gdb.cell/gcore.exp: Update.
5125 * gdb.cell/mem-access.exp: Update.
5126 * gdb.cell/ptype.exp: Update.
5127 * gdb.cell/registers.exp: Update.
5128 * gdb.cell/sizeof.exp: Update.
5129 * gdb.cell/solib-symbol.exp: Update.
5130 * gdb.cell/solib.exp: Update.
5131 * gdb.cp/ambiguous.exp: Update.
5132 * gdb.cp/breakpoint.exp: Update.
5133 * gdb.cp/bs15503.exp: Update.
5134 * gdb.cp/casts.exp: Update.
5135 * gdb.cp/class2.exp: Update.
5136 * gdb.cp/cpexprs.exp: Update.
5137 * gdb.cp/cplusfuncs.exp: Update.
5138 * gdb.cp/ctti.exp: Update.
5139 * gdb.cp/dispcxx.exp: Update.
5140 * gdb.cp/gdb1355.exp: Update.
5141 * gdb.cp/gdb2384.exp: Update.
5142 * gdb.cp/gdb2495.exp: Update.
5143 * gdb.cp/infcall-dlopen.exp: Update.
5144 * gdb.cp/local.exp: Update.
5145 * gdb.cp/m-data.exp: Update.
5146 * gdb.cp/m-static.exp: Update.
5147 * gdb.cp/mb-ctor.exp: Update.
5148 * gdb.cp/mb-inline.exp: Update.
5149 * gdb.cp/mb-templates.exp: Update.
5150 * gdb.cp/member-ptr.exp: Update.
5151 * gdb.cp/method.exp: Update.
5152 * gdb.cp/namespace.exp: Update.
5153 * gdb.cp/nextoverthrow.exp: Update.
5154 * gdb.cp/nsdecl.exp: Update.
5155 * gdb.cp/nsrecurs.exp: Update.
5156 * gdb.cp/nsstress.exp: Update.
5157 * gdb.cp/nsusing.exp: Update.
5158 * gdb.cp/pr-1023.exp: Update.
5159 * gdb.cp/pr-1210.exp: Update.
5160 * gdb.cp/pr-574.exp: Update.
5161 * gdb.cp/pr9631.exp: Update.
5162 * gdb.cp/printmethod.exp: Update.
5163 * gdb.cp/psmang.exp: Update.
5164 * gdb.cp/re-set-overloaded.exp: Update.
5165 * gdb.cp/rtti.exp: Update.
5166 * gdb.cp/shadow.exp: Update.
5167 * gdb.cp/templates.exp: Update.
5168 * gdb.cp/try_catch.exp: Update.
5169 * gdb.dwarf2/dw2-ranges.exp: Update.
5170 * gdb.dwarf2/pr10770.exp: Update.
5171 * gdb.fortran/library-module.exp: Update.
5172 * gdb.hp/gdb.aCC/optimize.exp: Update.
5173 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5174 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5175 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5176 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5177 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5178 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5179 * gdb.hp/gdb.compat/xdb1.exp: Update.
5180 * gdb.hp/gdb.compat/xdb2.exp: Update.
5181 * gdb.hp/gdb.compat/xdb3.exp: Update.
5182 * gdb.hp/gdb.defects/bs14602.exp: Update.
5183 * gdb.hp/gdb.defects/solib-d.exp: Update.
5184 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5185 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5186 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5187 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5188 * gdb.mi/gdb792.exp: Update.
5189 * gdb.mi/mi-pending.exp: Update.
5190 * gdb.mi/mi-solib.exp: Update.
5191 * gdb.mi/mi-var-cp.exp: Update.
5192 * gdb.opt/clobbered-registers-O2.exp: Update.
5193 * gdb.opt/inline-bt.exp: Update.
5194 * gdb.opt/inline-cmds.exp: Update.
5195 * gdb.opt/inline-locals.exp: Update.
5196 * gdb.python/py-events.exp: Update.
5197 * gdb.python/py-finish-breakpoint.exp: Update.
5198 * gdb.python/py-type.exp: Update.
5199 * gdb.reverse/solib-precsave.exp: Update.
5200 * gdb.reverse/solib-reverse.exp: Update.
5201 * gdb.server/solib-list.exp: Update.
5202 * gdb.stabs/weird.exp: Update.
5203 * gdb.threads/attach-into-signal.exp: Update.
5204 * gdb.threads/attach-stopped.exp: Update.
5205 * gdb.threads/tls-shared.exp: Update.
5206 * gdb.trace/change-loc.exp: Update.
5207 * gdb.trace/strace.exp: Update.
5208
95c391b6
TT
52092012-06-19 Tom Tromey <tromey@redhat.com>
5210
5211 * gdb.base/whatis.exp: Add tests.
5212
e910f0b6
TT
52132012-06-19 Tom Tromey <tromey@redhat.com>
5214
5215 * gdb.cp/m-static.cc (keepalive): New function.
5216 (gnu_obj_1::method): Use it.
5217
422d65e7
DE
52182012-06-18 Doug Evans <dje@google.com>
5219
5220 * gdb.base/info-fun.exp: New file.
5221 * gdb.base/info-fun.c: New file.
5222 * gdb.base/info-fun-solib.c: New file.
5223
e2e4d78b
JK
52242012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5225
5226 Remove stale dummy frames.
5227 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5228 (maintenance info breakpoints): New tests.
5229 * gdb.base/stale-infcall.c: New file.
5230 * gdb.base/stale-infcall.exp: New file.
5231
1788b2d3
JK
52322012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5233
5234 * gdb.arch/amd64-entry-value-param.S: New file.
5235 * gdb.arch/amd64-entry-value-param.c: New file.
5236 * gdb.arch/amd64-entry-value-param.exp: New file.
5237
663b969e
TT
52382012-06-15 Tom Tromey <tromey@redhat.com>
5239
5240 * gdb.cp/namespace.exp: Add "show lang" test.
5241
8e09ad05
IS
52422012-06-15 Iain Sandoe <iain@codesourcery.com>
5243
5244 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5245 case. (top level): Use gdb_file_cmd instead of gdb_load.
5246
f85e18ee
JK
52472012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5248
5249 PR tdep/14222
5250 * gdb.arch/i386-sse-stack-align.S: New file.
5251 * gdb.arch/i386-sse-stack-align.c: New file.
5252 * gdb.arch/i386-sse-stack-align.exp: New file.
5253
f3b5e280
KS
52542012-06-13 Keith Seitz <keiths@redhat.com>
5255
5256 PR breakpoints/13798 and mi/11541
5257 * gdb.linespec/ls-errs.exp: Add a few more tests for
5258 filenames with spaces and colons.
5259
50af5481
JK
52602012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5263 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5264 (test_function): Call CV_f.
5265 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5266 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5267 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5268 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5269 (p CV_f(CV::i)): New tests.
5270
d55637df
TT
52712012-06-13 Tom Tromey <tromey@redhat.com>
5272
5273 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5274
cc80f267
JK
52752012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 Fix regression by the "ambiguous linespec" series.
5278 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5279 tests.
5280
bb2af9cc
JK
52812012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5282
5283 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5284 missing.
5285
e81a37f7
TT
52862012-06-11 Tom Tromey <tromey@redhat.com>
5287
5288 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5289 location...
5290 (main): ...here.
5291
8efd7788
YQ
52922012-06-07 Yao Qi <yao@codesourcery.com>
5293
5294 * gdb.trace/strace.exp: Shorten some too-long lines.
5295
359f5fe6
PA
52962012-06-06 Pedro Alves <palves@redhat.com>
5297
5298 * gdb.threads/clone-new-thread-event.c: New file.
5299 * gdb.threads/clone-new-thread-event.exp: New file.
5300
7b2fe205
YQ
53012012-06-06 Yao Qi <yao@codesourcery.com>
5302
5303 * gdb.base/dprintf.c (main): Add extra parameter when calling
5304 printf and fprintf.
5305 (bar): New function. It is a dead function, but to ensure
5306 'malloc' is linked explicitly.
5307
3eca55e8
YQ
53082012-06-06 Yao Qi <yao@codesourcery.com>
5309
5310 * gdb.base/info-proc.exp: Return if target doesn't support
5311 'info proc'.
5312
91cc9324
JK
53132012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5314
5315 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5316 (run program with breakpoint commands): XFAIl if it is not.
5317
c56e7c43
JB
53182012-06-05 Joel Brobecker <brobecker@adacore.com>
5319
5320 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5321 and add comment.
5322 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5323 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5324 "STOP" marker. Adjust testing strategy to make it work on
5325 all targets.
5326
5327 * gdb.base/print-file-var-main.c (main): Rewrite using local
5328 variables and adjust get_version_2's return value check.
5329 Add small comment.
5330 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5331 marker. Adjust testing strategy to make it work on all targets.
5332
ccab2054
JB
53332012-06-05 Joel Brobecker <brobecker@adacore.com>
5334
5335 * gdb.ada/bad-task-bp-keyword: New testcase.
5336
d0d86158
JK
53372012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5338
5339 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5340 Simplify it to ...
5341 (symbol-file ${testfile1}): ... here.
5342 (test eliminated var my_global_symbol)
5343 (test eliminated var my_static_symbol)
5344 (test eliminated var my_global_func, get address of main): Wrap them to
5345 'single psymtabs' and 'single symtabs'
5346 (get address of my_global_symbol, get address of my_static_symbol)
5347 (get address of my_global_func, get address of main): Wrap them to
5348 'order1' and 'order2'.
5349
952cf74c
JK
5350 * gdb.base/code_elim.exp
5351 (add-symbol-file ${testfile1} 0x100000)
5352 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5353 'order2'.
5354 (order1: add-symbol-file ${testfile1} 0x100000)
5355 (order1: add-symbol-file ${testfile2} 0x200000)
5356 (order2: add-symbol-file ${testfile2} 0x200000)
5357 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5358 .bss as appropriate.
5359
0c5bf5a9
JK
53602012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5361
5362 * gdb.server/solib-list-lib.c: New file.
5363 * gdb.server/solib-list-main.c: New file.
5364 * gdb.server/solib-list.exp: New file.
5365
4196f325
MR
53662012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5367
5368 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5369 for 'set print symbol' change.
5370
bfb05775
JK
53712012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5374 .debug_abbrev_seg3.
5375
685b1105
JK
53762012-05-24 John Steele Scott <toojays@toojays.net>
5377
5378 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5379 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5380 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5381
f3e0e960
SS
53822012-05-23 Stan Shebs <stan@codesourcery.com>
5383
5384 * gdb.mi/mi-info-os.exp: New file.
5385
11eb1b4d
KS
53862012-05-23 Keith Seitz <keiths@redhat.com>
5387
5388 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5389 return -1 to suppress the rest of the tests.
5390 (compile_stap_bin): Return boolean success value.
5391
b1af9e97
TT
53922012-05-21 Tom Tromey <tromey@redhat.com>
5393
5394 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5395 Remove kfails.
5396 (test_print_mi_member_types): Likewise.
5397
248537e3
TT
53982012-05-21 Tom Tromey <tromey@redhat.com>
5399
5400 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5401 print symbol' change.
5402
d791e155
TJB
54032012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5404
5405 * gdb.python/py-prompt.exp: Quit if the target is remote.
5406
e77afa2e
JK
54072012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5408
5409 Fix ERROR: internal buffer is full.
5410 * gdb.base/info-os.exp (expect_multiline): New function.
5411 (get process list, get process groups, get threads)
5412 (get file descriptors, get internet-domain sockets)
5413 (get shared-memory regions, get semaphores, get message queues): Use
5414 it for these tests.
5415
9cb709b6
TT
54162012-05-18 Tom Tromey <tromey@redhat.com>
5417
5418 * gdb.mi/mi-var-cmd.exp: Update.
5419 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5420 * gdb.cp/virtbase.exp: Update.
5421 * gdb.cp/classes.exp (test_static_members): Update.
5422 * gdb.cp/casts.exp: Update.
5423 * gdb.base/pointers.exp: Update.
5424 * gdb.base/funcargs.exp (pointer_args): Update.
5425 (structs_by_reference): Update.
5426 * gdb.base/find.exp: Update.
5427 * gdb.base/call-strs.exp: Send "set print symbol off".
5428 * gdb.base/call-ar-st.exp: Update.
5429 * gdb.ada/fun_addr.exp: Update.
5430 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5431 Call it.
5432 (test_print_repeats_10, test_print_strings)
5433 (test_print_char_arrays): Update.
5434
b012acdd
TT
54352012-05-18 Tom Tromey <tromey@redhat.com>
5436
5437 * gdb.base/charset.exp (string_display): Update.
5438
1d51a733
TT
54392012-05-18 Tom Tromey <tromey@redhat.com>
5440
5441 * gdb.mi/mi2-var-display.exp: Update.
5442 * gdb.mi/mi-var-display.exp: Update.
5443 * gdb.mi/mi-var-child.exp: Update.
5444 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5445 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5446
957df313
DE
54472012-05-17 Doug Evans <dje@google.com>
5448
682c7f7b
DE
5449 * info-macros.exp: Pass "debug" to prepare_for_testing.
5450
957df313
DE
5451 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5452 * gdb.ada/Makefile.in (clean): Ditto.
5453 * gdb.arch/Makefile.in (clean): Ditto.
5454 * gdb.asm/Makefile.in (clean): Ditto.
5455 * gdb.base/Makefile.in (clean): Ditto.
5456 * gdb.cell/Makefile.in (clean): Ditto.
5457 * gdb.cp/Makefile.in (clean): Ditto.
5458 * gdb.disasm/Makefile.in (clean): Ditto.
5459 * gdb.dwarf2/Makefile.in (clean): Ditto.
5460 * gdb.fortran/Makefile.in (clean): Ditto.
5461 * gdb.go/Makefile.in (clean): Ditto.
5462 * gdb.hp/Makefile.in (clean): Ditto.
5463 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5464 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5465 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5466 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5467 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5468 * gdb.java/Makefile.in (clean): Ditto.
5469 * gdb.linespec/Makefile.in (clean): Ditto.
5470 * gdb.mi/Makefile.in (clean): Ditto.
5471 * gdb.modula2/Makefile.in (clean): Ditto.
5472 * gdb.multi/Makefile.in (clean): Ditto.
5473 * gdb.objc/Makefile.in (clean): Ditto.
5474 * gdb.opencl/Makefile.in (clean): Ditto.
5475 * gdb.opt/Makefile.in (clean): Ditto.
5476 * gdb.pascal/Makefile.in (clean): Ditto.
5477 * gdb.python/Makefile.in (clean): Ditto.
5478 * gdb.reverse/Makefile.in (clean): Ditto.
5479 * gdb.server/Makefile.in (clean): Ditto.
5480 * gdb.stabs/Makefile.in (clean): Ditto.
5481 * gdb.threads/Makefile.in (clean): Ditto.
5482 * gdb.trace/Makefile.in (clean): Ditto.
5483 * gdb.xml/Makefile.in (clean): Ditto.
5484
abc9d0dc
TT
54852012-05-16 Tom Tromey <tromey@redhat.com>
5486
5487 * gdb.base/macscp1.c (macscp_expr): Add comment.
5488 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5489
6a3a010b
MR
54902012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5491
5492 * gdb.base/return-nodebug.exp: Also test float and double types.
5493
01429c8e
JK
54942012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5495
5496 PR testsuite/12649
5497 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5498
54115cd4
JK
5499 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5500
0c5f383f
SDJ
55012012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5502
5503 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5504 `rerun_to_main'.
5505 (stap_test_no_debuginfo): Likewise.
5506
e7e0cddf
SS
55072012-05-14 Stan Shebs <stan@codesourcery.com>
5508
5509 * gdb.base/dprintf.c: New file.
5510 * gdb.base/dprintf.exp: New file.
5511
c772f8e7
HZ
55122012-05-14 Hui Zhu <hui_zhu@mentor.com>
5513
5514 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5515 * gdb.trace/disconnected-tracing.c: New file.
5516 * gdb.trace/disconnected-tracing.exp: New file.
5517
7efc75aa
SCR
55182012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5519
5520 * gdb.python/python.c: Add a new breakpoint comment.
5521 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5522
85d4a676
SS
55232011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5524
5525 * gdb.base/info-os.exp: New file.
5526 * gdb.base/info-os.c: New file.
5527
64ea88dc
JB
55282012-05-10 Joel Brobecker <brobecker@adacore.com>
5529
4647ab1b
JB
5530 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5531 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5532 New files.
64ea88dc 5533
afba63f1
JB
55342012-05-10 Joel Brobecker <brobecker@adacore.com>
5535
5536 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5537 gdb.base/ctxobj.exp: New files.
5538
9d198b1e
TT
55392012-05-09 Tom Tromey <tromey@redhat.com>
5540
5541 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5542
9bfee719
MR
55432012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5544
5545 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5546
3a7341d8
MR
55472012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5548
5549 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5550 before using it.
5551
52b3699b
TG
55522012-05-04 Tristan Gingold <gingold@adacore.com>
5553
5554 * gdb.base/set-noassign.exp: New test.
5555
a20ee7a4
SCR
55562012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5557
5558 * gdb.python/py-symbol.exp: Add tests to test the new methods
5559 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5560 * gdb.python/py-symbol.c: Add new struct to help test
5561 gdb.Symtab.static_block().
5562
bf2f0858
DE
55632012-05-03 Doug Evans <dje@google.com>
5564
5565 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5566 commented out.
5567
2d4e0376
YQ
55682012-05-03 Yao Qi <yao@codesourcery.com>
5569
5570 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5571 doesn't support.
5572 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5573 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5574
6d0bb9f3
YQ
55752012-05-03 Yao Qi <yao@codesourcery.com>
5576
5577 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5578
fd820528
DE
55792012-04-30 Doug Evans <dje@google.com>
5580
5581 PR testsuite/13961
5582 * gdb.dwarf2/pr13961.S: New file.
5583 * gdb.dwarf2/pr13961.exp: New file.
5584
b9e219b9
YQ
55852012-04-29 Yao Qi <yao@codesourcery.com>
5586
5587 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5588
3019eac3
DE
55892012-04-28 Doug Evans <dje@google.com>
5590
5591 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5592 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5593 All uses updated.
5594 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5595 "ptype func_cu1" to expand cu2 before cu1.
5596
62e5f89c
SDJ
55972012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5598 Tom Tromey <tromey@redhat.com>
5599
5600 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5601 variables.
5602 * gdb.base/stap-probe.c: New file.
5603 * gdb.base/stap-probe.exp: New file.
5604 * gdb.trace/stap-trace.c: New file.
5605 * gdb.trace/stap-trace.exp: New file.
5606 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5607 libgcc's unwinder.
5608
14132e89
MR
56092012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5610
5611 * gdb.arch/mips16-thunks-inmain.c: New file.
5612 * gdb.arch/mips16-thunks-main.c: New file.
5613 * gdb.arch/mips16-thunks-sin.c: New file.
5614 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5615 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5616 * gdb.arch/mips16-thunks-sinmain.c: New file.
5617 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5618 * gdb.arch/mips16-thunks.exp: New file.
5619
a766d390
DE
56202012-04-25 Doug Evans <dje@google.com>
5621
5622 * configure.ac: Create gdb.go/Makefile.
5623 * configure: Regenerate.
5624 * gdb.base/default.exp: Add "go" to "set language" testing.
5625 * gdb.go/Makefile.in: New file.
5626 * gdb.go/basic-types.exp: New file.
5627 * gdb.go/chan.exp: New file.
5628 * gdb.go/chan.go: New file.
5629 * gdb.go/handcall.exp: New file.
5630 * gdb.go/handcall.go: New file.
5631 * gdb.go/hello.exp: New file.
5632 * gdb.go/hello.go: New file.
5633 * gdb.go/integers.exp: New file.
5634 * gdb.go/integers.go: New file.
5635 * gdb.go/methods.exp: New file.
5636 * gdb.go/methods.go: New file.
5637 * gdb.go/package.exp: New file.
5638 * gdb.go/package1.go: New file.
5639 * gdb.go/package2.go: New file.
5640 * gdb.go/print.exp: New file.
5641 * gdb.go/strings.exp: New file.
5642 * gdb.go/strings.go: New file.
5643 * gdb.go/types.exp: New file.
5644 * gdb.go/types.go: New file.
5645 * gdb.go/unsafe.exp: New file.
5646 * gdb.go/unsafe.go: New file.
5647 * lib/future.exp: Add Go support.
5648 (gdb_find_go, gdb_find_go_linker): New procs.
5649 (gdb_default_target_compile): Add Go support.
5650 * lib/gdb.exp (skip_go_tests): New proc.
5651 * lib/go.exp: New file.
5652
e65f9ffb
TT
56532012-04-25 Tom Tromey <tromey@redhat.com>
5654
5655 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5656
14e75d8e
JK
56572012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5658 Jan Kratochvil <jan.kratochvil@redhat.com>
5659
5660 PR symtab/7259:
5661 * gdb.base/enumval.c: New test case.
5662 * gdb.base/enumval.exp: New test case.
5663 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5664 field.bitpos.
5665
f3525b70
PA
56662012-04-17 Pedro Alves <palves@redhat.com>
5667
5668 * Makefile.in (site.exp): Make site.exp source
5669 $srcdir/lib/append_gdb_boards_dir.exp.
5670 * lib/append_gdb_boards_dir.exp: New file.
5671
bccbefd2
JK
56722012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5673
5674 New option "set auto-load safe-path".
5675 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5676 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5677
bf88dd68
JK
56782012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 auto-load: Implementation.
5681 * gdb.base/help.exp (test set height): Increase the height.
5682 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5683 to ...
5684 (info auto-load python-scripts): ... here.
5685 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5686 to ...
5687 (info auto-load python-scripts *): ... here.
5688
c0d4d1c0
YQ
56892012-04-16 Yao Qi <yao@codesourcery.com>
5690
5691 * lib/trace-support.exp (get_in_proc_agent): New.
5692 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5693 of in process trace agent.
5694 * gdb.trace/ftrace.exp: Likewise.
5695 * gdb.trace/pending.exp: Likewise.
5696 * gdb.trace/trace-break.exp: Likewise.
5697 * gdb.trace/trace-mt.exp
5698 * gdb.trace/tspeed.exp: Likewise.
5699 * gdb.trace/tstatus.exp
5700 * gdb.trace/strace.exp: Likewise.
5701
cbf68a60
TS
57022012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5703
dd6d3b70
TS
5704 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5705 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5706
cbf68a60
TS
5707 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5708
8264ba82
AG
57092012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5710
5711 PR mi/13393
5712 * gdb.mi/mi-var-rtti.cc: New file.
5713 * gdb.mi/mi-var-rtti.exp: New file.
5714 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5715 function.
5716 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5717
de0919f8 57182012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
5719
5720 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5721 EXECUTABLES.
5722 * gdb.python/py-explore.c: C program used for testing the new
5723 'explore' command on C constructs.
5724 * gdb.python/py-explore.cc: C++ program used for testing the new
5725 'explore' command on C++ constructs.
5726 * gdb-python/py-explore.exp: Tests for the new 'explore'
5727 command on C constructs.
5728 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5729 command on C++ constructs.
5730
a82da7dd
MK
57312012-04-07 Mark Kettenis <kettenis@gnu.org>
5732
5733 * gdb.base/funcargs.exp (complex_args): Fix typo.
5734
e127cba8
JK
57352012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5736
5737 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5738 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5739
40e084e1
KS
57402012-04-05 Keith Seitz <keiths@redhat.com>
5741
5742 * gdb.base/advance.exp: Update error message for
5743 "advance malformed" test.
5744 * gdb.base/break.exp: Likewise for "breakpoint with
5745 trailing garbage" test.
5746 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5747 with trailing garbage" test.
5748 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5749 trailng garbage" test.
5750 * gdb.base/until.exp: Likewise for "malformed until" test.
5751 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5752 for "breakpoint info (after setting on all)".
5753 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5754 tests.
5755 * gdb.cp/cplabel.cc: New file.
5756 * gdb.cp/cplabel.exp: New test.
5757 * gdb.linespec/ls-errs.c: New file.
5758 * gdb.linespec/ls-errs.exp: New test.
5759
a72c8f6a
JK
57602012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5761
5762 * gdb.trace/unavailable.exp
5763 (collect globals: print object on: print derived_partial)
5764 (collect globals: print object on: print derived_whole)
5765 (collect globals: print object off: print derived_partial)
5766 (collect globals: print object off: print derived_whole): Update
5767 expected output.
5768
f87a3023
KS
57692012-03-30 Keith Seitz <keiths@redhat.com>
5770
5771 * gdb.python: Add test for linespecs with commas.
5772
e2171b3c
KS
57732012-03-28 Keith Seitz <keiths@redhat.com>
5774
5775 * gdb.linespec/ls-dollar.cc: New file.
5776 * gdb.linespec/ls-dollar.exp: New test.
5777
57782012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
5779
5780 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5781 starting with the global namespace.
5782
2f4e0a80
DE
57832012-03-23 Doug Evans <dje@google.com>
5784
5785 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5786
7b282c5a
SCR
57872012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5788
5789 * gdb.python/py-value.cc: Add test case for testing the
5790 methodology exposing C++ values to Python.
5791 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5792 exposing C++ values to Python.
5793 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5794
2e98ca53
JK
57952012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5796 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
5798 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5799 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5800 (generate native core dump): Make the test unsupported if core cannot
5801 be generated.
5802
8320cc4f
JK
58032012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5804
5805 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5806 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5807 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5808
3a69ffb2
JK
58092012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5810
5811 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5812
8fabffee
DE
58132012-03-17 Doug Evans <dje@google.com>
5814
5815 * dg-extract-results.sh: Handle KFAILs.
5816
ab260dad
JK
58172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5818
5819 PR symtab/13777
5820 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5821
53ba8333
JB
58222012-03-16 Joel Brobecker <brobecker@adacore.com>
5823
5824 * gdb.ada/set_pckd_arr_elt: New testcase.
5825
481860b3
GB
58262012-03-16 Gary Benson <gbenson@redhat.com>
5827
5828 PR breakpoints/10738
5829 * gdb.opt/inline-break.exp: New file.
5830 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5831 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5832 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5833 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5834 * gdb.base/async-shell.exp: Likewise.
5835 * lib/mi-support.exp (library_loaded_re): Likewise.
5836
410528f0
TT
58372012-03-15 Tom Tromey <tromey@redhat.com>
5838
5839 * gdb.cp/virtfunc2.exp: Update expected output.
5840 * gdb.cp/pr9631.exp: Update expected output.
5841 * gdb.cp/member-ptr.exp: Update expected output.
5842 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5843 output.
5844 * gdb.cp/casts.exp: Update expected output.
5845
c4aeac85
TT
58462012-03-15 Tom Tromey <tromey@redhat.com>
5847
5848 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5849 (test_info_vtbl): Likewise.
5850 (do_tests): Call test_info_vtbl.
5851 * gdb.cp/virtfunc.cc (va): New global.
5852
856d06f9
TS
58532012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5854
5855 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5856 describing DWARF data structures.
5857 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5858 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5859 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5860 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5861 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5862 * gdb.dwarf2/dw2-param-error.S: Likewise.
5863 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5864 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5865 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5866 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5867 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5868 * gdb.dwarf2/pr11465.S: Likewise.
5869
e837f12a
JK
58702012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5871
5872 * gdb.mi/mi2-prompt.exp: New file.
5873
ccbb4f28
JB
58742012-03-13 Joel Brobecker <brobecker@adacore.com>
5875
5876 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5877
32039130
JB
58782012-03-13 Joel Brobecker <brobecker@adacore.com>
5879
5880 * gdb.ada/bp_range_type: New testcase.
5881
16899756
DE
58822012-03-13 Doug Evans <dje@google.com>
5883
5884 * gdb.base/default.exp: Delete tests for symbol-reloading.
5885 * gdb.base/help.exp: Ditto.
5886 * gdb.base/setshow.exp: Ditto.
5887 * gdb.base/gdb_history: Delete references to symbol-reloading.
5888
87b0bb13
JK
58892012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5890
5891 * gdb.base/attach-twice.c: New files.
5892 * gdb.base/attach-twice.exp: New files.
5893
0d7941a9
KS
58942012-03-08 Keith Seitz <keiths@redhat.com>
5895
5896 * lib/gdb.exp (gdb_get_line_number): Throw an
5897 error instead of returning -1.
5898 * gdb.base/break.exp: Remove unused variable
5899 bp_location5.
5900 * gdb.base/hbreak2.exp: Likewise.
5901 * gdb.base/sepdebug.exp: Likewise.
5902
f4647387
YQ
59032012-03-08 Yao Qi <yao@codesourcery.com>
5904 Pedro Alves <palves@redhat.com>
5905
5906 Fix PR server/13392.
5907 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5908 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5909 download tracepoints.
5910 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5911 (pending_tracepoint_resolved_during_trace): Likewise.
5912 (pending_tracepoint_installed_during_trace): Likewise.
5913 (pending_tracepoint_with_action_resolved): Likewise.
5914
83c532cb
KS
59152012-03-08 Keith Seitz <keiths@redhat.com>
5916
5917 * gdb.ada/array_bounds.exp: Get breakpoint for line
5918 with "START", not "STOP".
5919 * gdb.python/py-infthread.exp: Do not continue to
5920 line marked "Break here.", which is undefined.
5921
d6b6bbb7
LM
59222012-03-08 Luis Machado <lgustavo@codesourcery.com>
5923
5924 Revert:
5925
5926 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5927
5928 Implement testsuite workaround for PR breakpoints/13781.
5929 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5930 (set breakpoint condition-evaluation host): New conditional command.
5931
7fe25d9b
JK
59322012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5933
5934 Fix CU relative vs. absolute DIE offsets.
5935 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5936 one.
5937
51898c15
JK
59382012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5939
5940 Fix false FAIL on distros with relro linkage as default.
5941 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5942 -Wl,-z,norelro first.
5943
8131799e
JB
59442012-03-06 Joel Brobecker <brobecker@adacore.com>
5945
5946 * gdb.ada/bp_on_var: New testcase.
5947
ba241969
JB
59482012-03-06 Joel Brobecker <brobecker@adacore.com>
5949
5950 * gdb.ada/bp_enum_homonym: New testcase.
5951
abe49676
YQ
59522012-03-06 Yao Qi <yao@codesourcery.com>
5953
5954 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5955 x86_64-*-* and i?86-*-*.
5956 Set up KFAIL for gdb/13808.
5957
d8df103b
TT
59582012-03-05 Tom Tromey <tromey@redhat.com>
5959
5960 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5961 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5962
b7b189f3
TT
59632012-03-05 Tom Tromey <tromey@redhat.com>
5964
5965 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5966
69dc1c4d
YQ
59672012-03-04 Yao Qi <yao@codesourcery.com>
5968
5969 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5970 messages for KFAIL.
5971
3f20c47f
JK
59722012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5973
5974 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5975 (print one_two_three, indexes off, print few_reps, indexes off)
5976 (print many_reps, indexes off, print empty, indexes off)
5977 (print one_two_three, print few_reps, print many_reps, print empty):
5978 Call setup_xfail if $gcc_old.
5979
abf1152a
JK
59802012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 Implement testsuite workaround for PR breakpoints/13781.
5983 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5984 (set breakpoint condition-evaluation host): New conditional command.
5985
a06715f8
JK
59862012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5987
5988 Code cleanup.
5989 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5990 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5991 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5992 number 1 by $bpnum. Four times.
5993
5808517f
YQ
59942012-03-03 Yao Qi <yao@codesourcery.com>
5995
5996 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5997
dfe2ac14
JK
59982012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5999
6000 Setup KFAIL for PR server/13796.
6001 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6002
8bbc467a
JB
60032012-03-02 Joel Brobecker <brobecker@adacore.com>
6004
6005 * gdb.ada/operator_bp: New testcase.
6006
c0eac87f
JB
60072012-03-02 Joel Brobecker <brobecker@adacore.com>
6008
6009 * gdb.ada/info_locals_renaming: New testcase.
6010
4f42c881
TT
60112012-03-02 Tom Tromey <tromey@redhat.com>
6012
6013 * gdb.base/nextoverexit.c: New file.
6014 * gdb.base/nextoverexit.exp: New file.
6015
7380c0c9
EBM
60162012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6017
6018 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6019 parameter.
6020
1faeff08
MR
60212012-03-01 Maciej W. Rozycki <macro@mips.com>
6022
6023 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6024 core registers.
6025
320b6f49 60262012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
6027 Maciej W. Rozycki <macro@codesourcery.com>
6028 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
6029
6030 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6031
ad5f7d6e
PA
60322012-03-01 Pedro Alves <palves@redhat.com>
6033
6034 PR gdb/13767
6035
6036 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6037 (gdb_collect_globals_test): Call it.
6038
d3dc44a6
KS
60392012-03-01 Keith Seitz <keiths@redhat.com>
6040
6041 * gdb.cp/method2.exp: Output of overload menu is now
6042 alphabetized. Update tests for "break A::method".
6043 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6044 of hard-coding them.
6045 Overload menu is alphabetized: rewrite to accommodate.
6046 Unset variables LINE and TYPES which are used in other tests.
6047 Compute the output of "info break".
6048 Update the breakpoint table after all breakpoints are deleted.
6049 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6050 compute ACTUALS and the method body based on parameters.
6051 Update expected output accordingly.
6052 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6053 unique comments to allow the use of gdb_get_line_number.
6054
60552012-03-01 Keith Seitz <keiths@redhat.com>
6056
6057 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6058 some Tcl syntax.
6059 * gdb.cp/ovldbreak.exp: Likewise.
6060
7949c2a0
KS
60612012-03-01 Keith Seitz <keiths@redhat.com>
6062
6063 * gdb.base/help.exp (help show user): Update expected result
6064 for new doc string changes (add "non-python").
6065
7d74f244
DE
60662012-03-01 Scott J. Goldman <scottjg@vmware.com>
6067
6068 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6069 be put in the user-defined category and that the commands appear in
6070 "help user-defined".
6071
1b611343
JB
60722012-02-29 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.ada/tagged_not_init: New testcase.
6075
99b1c762
JB
60762012-02-29 Joel Brobecker <brobecker@adacore.com>
6077
6078 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6079 * gdb.ada/enum_idx_packed: New testcase.
6080
2d4a02ee
JB
60812012-02-29 Joel Brobecker <brobecker@adacore.com>
6082
6083 * gdb.ada/aliased_array: New testcase.
6084
2e6fda7d
JB
60852012-02-29 Joel Brobecker <brobecker@adacore.com>
6086
6087 * gdb.ada/whatis_array_val: New testcase.
6088
9a7f938f
JK
60892012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6090
6091 Fix disp-step-syscall.exp: fork: single step over fork.
6092 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6093 whitespaces.
6094 (single step over $syscall): Remove its check.
6095 (single step over $syscall final pc): New check.
6096
8703a944
JK
60972012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6098
6099 Support processors without SSSE3.
6100 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6101 pabsd into ...
6102 (ssse3_test): ... a new function.
6103 (main): Call ssse3_test.
6104 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6105 Update expected values everywhere.
6106 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6107 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6108 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6109 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6110 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6111 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6112 Move these tests lower.
6113 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6114 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6115 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6116 New tests.
6117
c03e6ccc
YQ
61182012-02-29 Yao Qi <yao@codesourcery.com>
6119 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.trace/trace-mt.c: New.
6122 * gdb.trace/trace-mt.exp: New.
6123
7964b62a
TS
61242012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6125
2c8910ba
TS
6126 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6127 numbers instead of hardcoding them.
6128 * gdb.base/annota1.c: Provide suitable markers.
6129 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6130 numbers instead of hardcoding them.
6131 * gdb.base/annota3.c: Provide suitable markers.
6132
6133 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6134 * gdb.base/annota3.c: Likewise.
6135 * gdb.base/sigall.c: Likewise.
6136 * gdb.base/signals.c: Likewise.
6137 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 6138
5a41c0b7
MR
61392012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6140
6141 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6142 failure return path.
6143
ebbbe5c5
LM
61442012-02-27 Luis Machado <lgustavo@codesourcery.com>
6145
6146 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6147
8d126d8a
LM
61482012-02-24 Luis Machado <lgustavo@codesourcery.com>
6149
6150 * gdb.base/cond-eval-mode.exp: New file.
6151
11337c2f
PA
61522012-02-24 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6155 (top level): Use with_test_prefix.
6156
13fc3e3c
PA
61572012-02-24 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.threads/attach-into-signal.exp (corefunc): Use
6160 with_test_prefix.
6161
07c1b626
JK
61622012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6163
6164 Fix false FAILs on old CPUs without SSE.
6165 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6166 Return untested for Illegal instruction.
6167
596ba138
JK
61682012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Fix false FAILs with glibc debug infos installed.
6171 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6172 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6173
aeaa2474
SA
61742012-02-22 Sterling Augustine <saugustine@google.com>
6175
6176 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6177 constant with cast.
6178
aed555c9
PA
61792012-02-21 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6182
78afebb4
PA
61832012-02-21 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6186
fdcfef12
PA
61872012-02-21 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6190 with_test_prefix.
6191
0f4d39d5
PA
61922012-02-21 Pedro Alves <palves@redhat.com>
6193
6194 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6195 with_test_prefix here.
6196 (top level): Do it here instead. Remove `:' from the
6197 with_test_prefix string.
6198 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6199 the suffix `:' from the with_test_prefix prefix string.
6200 * gdb.base/break-interp.exp: Ditto.
6201 * gdb.base/catch-load.exp: Ditto.
6202 * gdb.base/disp-step-syscall.exp: Ditto.
6203 * gdb.base/jit-so.exp: Ditto.
6204 * gdb.base/jit.exp: Ditto.
6205 * gdb.base/sepdebug.exp: Ditto.
6206 * gdb.base/solib-display.exp: Ditto.
6207 * gdb.base/solib-overlap.exp: Ditto.
6208 * gdb.base/watch-cond-infcall.exp: Ditto.
6209 * gdb.base/watchpoint.exp: Ditto.
6210 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6211 * gdb.mi/mi-watch.exp: Ditto.
6212 * gdb.mi/mi2-watch.exp: Ditto.
6213 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6214 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6215 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6216 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6217 * gdb.threads/watchpoint-fork.exp: Ditto.
6218 * gdb.threads/watchthreads-reorder.exp: Ditto.
6219 * gdb.trace/change-loc.exp: Ditto.
6220 * gdb.trace/pending.exp: Ditto.
6221 * gdb.trace/status-stop.exp: Ditto.
6222 * gdb.trace/strace.exp: Ditto.
6223 * gdb.trace/trace-break.exp: Ditto.
6224 * gdb.trace/unavailable.exp: Ditto.
6225 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6226 suffix with colon. Adjust leading comments.
6227
6a5870ce
PA
62282012-02-21 Pedro Alves <palves@redhat.com>
6229 Tom Tromey <tromey@redhat.com>
6230
6231 * lib/gdb.exp: Add description of test prefixes.
6232 (with_test_prefix): New procedure.
6233 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6234 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6235 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6236 instead of lappend to append to pf_prefix.
6237 * gdb.base/catch-load.exp: Use with_test_prefix.
6238 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6239 * gdb.base/jit-so.exp: Use with_test_prefix.
6240 * gdb.base/jit.exp: Use with_test_prefix.
6241 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6242 lappend to append to pf_prefix.
6243 * gdb.base/sepdebug.exp: Use with_test_prefix.
6244 * gdb.base/solib-display.exp: Use with_test_prefix.
6245 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6246 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6247 * gdb.base/watchpoint.exp: Use with_test_prefix.
6248 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6249 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6250 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6251 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6252 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6253 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6254 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6255 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6256 append instead of lappend to append to pf_prefix.
6257 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6258 * gdb.trace/change-loc.exp: Use with_test_prefix.
6259 * gdb.trace/pending.exp: Use with_test_prefix.
6260 * gdb.trace/status-stop.exp: Use with_test_prefix.
6261 * gdb.trace/strace.exp: Use with_test_prefix.
6262 * gdb.trace/trace-break.exp: Use with_test_prefix.
6263 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6264 instead of lappend to append to pf_prefix.
6265
35dc4a6b
JK
62662012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6267
6268 Fix racy FAILs.
6269 * gdb.base/inferior-died.c (main): Add return of 0.
6270 * gdb.base/inferior-died.exp (continue): Fix expectation of
6271 asynchronous events.
6272 (p 1): New test.
6273
c5a006e6
PA
62742012-02-20 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6277 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6278 gdb's internal debug output. For the non-threaded case, look for
6279 "Program received signal SIGLARM", for the threaded case, peek at
6280 the thread's siginfo.
6281
cc51a170
PA
62822012-02-20 Pedro Alves <palves@redhat.com>
6283
6284 General cleanup, make output test messages unique, and build
6285 different executable files for the non-threaded and threaded
6286 cases.
6287
6288 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6289 Delete.
6290 (executable_nothr, executable_thr): New globals.
6291 (top level): Adjust to delete both executables.
6292 (corefunc): New parameter $executable. Set $pf_prefix instead of
6293 hand writing a prefix in tests. Issue a clean_restart and enable
6294 lin-lwp debug output here.
6295 (top level): Adjust. Use build_executable. Don't start gdb here,
6296 and don't enable lin-lwp debug output here.
6297 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6298
c755f03d
JK
62992012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 Fix racy FAILs.
6302 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6303 "continue" command.
6304
6bec5e0a
JK
63052012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 Fix for gdbserver non-extended mode.
6308 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6309 and gdb_run_cmd.
6310
2e8265fd
TT
63112012-02-17 Tom Tromey <tromey@redhat.com>
6312
6313 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6314 * gdb.python/py-events.exp: Check 'dir' output.
6315 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6316
9e507076
YQ
63172012-02-17 Yao Qi <yao@codesourcery.com>
6318
6319 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6320
32d22ab1
TT
63212012-02-16 Tom Tromey <tromey@redhat.com>
6322
6323 * gdb.base/inferior-died.c: Don't include stdio.h.
6324
9addecb9
TT
63252012-02-16 Tom Tromey <tromey@redhat.com>
6326
6327 * gdb.base/inferior-died.c: New file.
6328 * gdb.base/inferior-died.exp: New file.
6329
4cb6da1c
AR
63302012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6331
6332 * gdb.base/break-inline.exp: New file.
6333 * gdb.base/break-inline.c: New file.
6334
3af2590d
TT
63352012-02-15 Tom Tromey <tromey@redhat.com>
6336
6337 * gdb.base/pc-fp.exp: Add "info register" tests.
6338
29988831
TT
63392012-02-15 Tom Tromey <tromey@redhat.com>
6340
6341 * gdb.base/regs.exp: Remove.
6342
10010058
PA
63432012-02-15 Pedro Alves <palves@redhat.com>
6344
6345 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6346 the target doesn't support tracepoints.
6347 * gdb.trace/circ.exp: Ditto.
6348 * gdb.trace/collection.exp: Ditto.
6349 * gdb.trace/packetlen.exp: Ditto.
6350 * gdb.trace/passc-dyn.exp: Ditto.
6351 * gdb.trace/report.exp: Ditto.
6352 * gdb.trace/tfind.exp: Ditto.
6353 * gdb.trace/tspeed.exp: Ditto.
6354 * gdb.trace/tsv.exp: Ditto.
6355 * gdb.trace/unavailable.exp: Ditto.
6356 * gdb.trace/while-dyn.exp: Ditto.
6357
a2e0062d
PA
63582012-02-15 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6361 gdb_test_multiple, and call unsupported instead of fail, if the
6362 remote side does not support the request.
6363
a1999d40
PA
63642012-02-15 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6367 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6368 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6369 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6370 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6371 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6372 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6373 doesn't start with "extended-" already.
6374
7cee1e54
PA
63752012-02-15 Pedro Alves <palves@redhat.com>
6376
6377 Support extended-remote. Avoid cascading timeouts.
6378
6379 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6380 the extended-remote target. If attaching with no file fails, load
6381 the file manually.
6382 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6383
816338b5
SS
63842012-02-14 Stan Shebs <stan@codesourcery.com>
6385
6386 * gdb.base/ena-dis-br.exp: Add enable count test.
6387
cc30c4bd
PA
63882012-02-13 Pedro Alves <palves@redhat.com>
6389
6390 * config/mips-idt.exp: Delete.
6391 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6392 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6393 * gdb.base/break.exp: Remove mips-idt references.
6394 * gdb.base/chng-syms.exp: Ditto.
6395 * gdb.base/default.exp: Ditto.
6396 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6397 (top level): Don't call it.
6398 * gdb.base/opaque.exp: Remove mips-idt restarts.
6399 * gdb.base/ptype.exp: Remove mips-idt xfails.
6400 * gdb.base/scope.exp: Remove mips-idt restarts.
6401 * gdb.base/sepdebug.exp: Remove mips-idt references.
6402 * gdb.base/watchpoint.exp (maybe_clean_restart)
6403 (maybe_reinitialize): Delete.
6404 (test_disabling_watchpoints, test_disabling_watchpoints)
6405 (test_watchpoint_triggered_in_syscall)
6406 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6407 Don't call them.
6408
57008375
JK
64092012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.server/server-exec-info.exp: New file.
6412
4a2d9c08
PA
64132012-02-10 Pedro Alves <palves@redhat.com>
6414
6415 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6416 always non-empty.
6417 (test_attach): Always pass $exec to test_attach_gdb.
6418
09fa21bd
TT
64192012-02-08 Tom Tromey <tromey@redhat.com>
6420
6421 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6422 before inferior is started.
6423
f0823d2c
TT
64242012-02-07 Tom Tromey <tromey@redhat.com>
6425
6426 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6427 Symbol.value.
6428 * gdb.python/py-symbol.c (qq): Set default value.
6429
64302012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
6431
6432 * gdb.python/py-symbol.c (qq): New global.
6433 * gdb.python/py-symbol.exp: Add test for frame-less
6434 lookup_symbol.
6435 * gdb.python/py-symtab.exp: Fix line number.
6436
f7e44f65
JB
64372012-02-03 Joel Brobecker <brobecker@adacore.com>
6438
6439 * gdb.ada/mi_task_arg: New testcase.
6440
4c9ed63c
PA
64412012-02-02 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6444 extended timeout.
6445
c0b9f2c6
PA
64462012-02-02 Pedro Alves <palves@redhat.com>
6447
6448 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6449 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6450
5f8cefd7
PA
64512012-02-02 Pedro Alves <palves@redhat.com>
6452
6453 * gdb.base/term.exp: Rewrite.
6454 * gdb.base/term.c: New.
6455
2f3a2569
PA
64562012-02-02 Pedro Alves <palves@redhat.com>
6457
6458 * gdb.base/default.exp (run "r" abbreviation, run): Add
6459 extended-remote expected output.
6460
f149aabd
TT
64612012-02-02 Tom Tromey <tromey@redhat.com>
6462
6463 * gdb.cp/dispcxx.exp: New file.
6464 * gdb.cp/dispcxx.cc: New file.
6465
03bef283
TT
64662012-02-01 Tom Tromey <tromey@redhat.com>
6467
6468 * gdb.base/jit-simple.exp: New file.
6469 * gdb.base/jit-simple.c: New file.
6470
a79b18b5
YQ
64712012-01-30 Yao Qi <yao@codesourcery.com>
6472
6473 * gdb.base/skip.exp: Make test result unique.
6474
f0d1a53e
JK
64752012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6476
6477 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6478 compatibility with valgrind-3.7.0.
6479
4b3c9f41
PA
64802012-01-27 Pedro Alves <palves@redhat.com>
6481
6482 * gdb.base/watchpoint.exp (no_hw): New global.
6483 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6484 disable hw watchpoints.
6485 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6486 don't expect hw watchpoints.
6487 (no_hw_watchpoints): Always clean restart.
6488 (do_tests): New procedure, factored out from the top level.
6489 (top level): Run tests twice. Once with hw watchpoints enabled,
6490 another time with hw watchpoints disabled.
6491
a13491c8
PA
64922012-01-27 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6495 out from the top level.
6496 (top level): Call it instead.
6497
f2c8a051
PA
64982012-01-27 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6501 watchpoints sooner.
6502
654d7a9e
PA
65032012-01-27 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6506
274f47f3
PA
65072012-01-27 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6510 "You may have requested too many hardware
6511 breakpoints/watchpoints".
6512
e4d63ba2
PA
65132012-01-27 Pedro Alves <palves@redhat.com>
6514
6515 * gdb.base/watchpoint.exp (maybe_clean_restart)
6516 (maybe_reinitialize): New.
6517 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6518 expect "hit N times".
6519 (test_disabling_watchpoints, test_complex_watchpoint)
6520 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6521 Call maybe_clean_restart.
6522 (top level): Use clean_restart. Remove "mips-idt-*"
6523 reinitialization.
6524
dbd95daf
PA
65252012-01-27 Pedro Alves <palves@redhat.com>
6526
6527 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6528
f3ad2025
PA
65292012-01-27 Pedro Alves <palves@redhat.com>
6530
6531 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6532 require `initialize' anymore. Remove unnecessary `initialize'
6533 calls.
6534
100aa3ae
PA
65352012-01-27 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.base/watchpoint.exp (wp_set): Delete.
6538 (initialize, test_simple_watchpoint, top level): Remove dead code.
6539
c79a8e11
PA
65402012-01-27 Pedro Alves <palves@redhat.com>
6541
6542 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6543 typo.
6544
048fe15a
PA
65452012-01-27 Pedro Alves <palves@redhat.com>
6546
6547 * config/extended-gdbserver.exp: New file.
6548 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6549 comment.
6550 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6551 * boards/native-extended-gdbserver.exp: New file.
6552
4033a6bf
PA
65532012-01-26 Pedro Alves <palves@redhat.com>
6554
6555 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6556 and gdb_test_multiple.
6557
3d7f4b81
PA
65582012-01-26 Pedro Alves <palves@redhat.com>
6559
6560 Make test messages unique, and more identifiable.
6561 * gdb.multi/watchpoint-multi.exp: Change test messages.
6562
484abf42
TT
65632012-01-25 Tom Tromey <tromey@redhat.com>
6564
6565 * gdb.base/solib-disc.exp: Fix regexps.
6566
edcc5120
TT
65672012-01-24 Tom Tromey <tromey@redhat.com>
6568
6569 * lib/mi-support.exp (mi_expect_stop): Add special case for
6570 solib-event.
6571 * gdb.base/catch-load-so.c: New file.
6572 * gdb.base/catch-load.exp: New file.
6573 * gdb.base/catch-load.c: New file.
6574 * gdb.base/break-interp.exp (reach_1): Update regexp.
6575
30b91c90
JK
65762012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6577
6578 Fix fuzzy results.
6579 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6580 lpsimple and func.
6581
53fe1783
GB
65822012-01-24 Gary Benson <gbenson@redhat.com>
6583
6584 Delete #if 0'd out code.
6585 * gdb.base/default.exp (info catch): Remove.
6586 * gdb.base/gdb_history (info catch): Likewise.
6587 * gdb.base/help.exp (info catch): Likewise.
6588
d0d8b0c6
JK
65892012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6590
6591 Fix watchpoints to be specific for each inferior.
6592 * gdb.multi/watchpoint-multi.c: New file.
6593 * gdb.multi/watchpoint-multi.exp: New file.
6594
4403d8e9
JK
65952012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 Fix watchpoints across inferior fork.
6598 * gdb.threads/watchpoint-fork-child.c: New file.
6599 * gdb.threads/watchpoint-fork-mt.c: New file.
6600 * gdb.threads/watchpoint-fork-parent.c: New file.
6601 * gdb.threads/watchpoint-fork-st.c: New file.
6602 * gdb.threads/watchpoint-fork.exp: New file.
6603 * gdb.threads/watchpoint-fork.h: New file.
6604
050a2e1d
PA
66052012-01-23 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/call-signal-resume.exp: Allow output after "return".
6608
6a52fb62
PA
66092012-01-20 Pedro Alves <palves@redhat.com>
6610
6611 * gdb.python/py-finish-breakpoint.py: Fix typo.
6612
145b16a9
UW
66132012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6614
6615 * gdb.base/info-proc.exp: Also run on remote targets. Main
6616 "info proc" command is now always present; whether target supports
6617 actual info proc operation is detected when attempting to issue
6618 the command.
6619
26f6125e
JK
66202012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 * .gdbinit: Remove.
6623
eb5227ce
PA
66242012-01-19 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6627 look at the funtions' returns.
6628 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6629 (jprint.print(int, int)): Change return type to int. Adjust.
6630
1db33378
PP
66312012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6632
6633 PR gdb/9538
6634 * gdb.base/sepdebug.exp: New test.
6635
b9736cf8
PA
66362012-01-18 Pedro Alves <palves@redhat.com>
6637
6638 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6639 Allow output before ^done.
6640
4aac40c8
TT
66412012-01-16 Tom Tromey <tromey@redhat.com>
6642
6643 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6644 Add tests for relative directory.
6645
cafec441
TT
66462012-01-16 Tom Tromey <tromey@redhat.com>
6647
6648 * gdb.base/printcmds.c (enum flag_enum): New.
6649 (three): New global.
6650 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6651 enum printing.
6652 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6653 FlagEnumerationPrinter.
6654 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6655 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6656 (fval): New global.
6657
abcc4978
PA
66582012-01-16 Pedro Alves <palves@redhat.com>
6659
6660 * lib/gdb.exp (banned_procedures): New variable.
6661 (banned_variables_traced): Rename to ...
6662 (banned_traced): ... this.
6663 (gdb_init): Also trace banned procedures.
6664 (gdb_finish): Also untrace banned procedures.
6665
97ccebe8
PA
66662012-01-16 Pedro Alves <palves@redhat.com>
6667
6668 Remove all calls to strace.
6669
2af7517b
JK
66702012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6671
6672 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6673 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6674
9241a8bc
PP
66752012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6676
6677 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6678 * gdb.base/pie-execl.exp: Likewise.
6679
3848a17f
KS
66802012-01-12 Keith Seitz <keiths@redhat.com>
6681
6682 PR mi/10586
6683 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6684 (do_anonymous_type_tests): New function.
6685 (main): Call do_anonymous_type_tests.
6686 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6687 (verify_everything): New procedure.
6688 * gdb.mi/mi-var-cp.cc (class A): New class.
6689 (anonymous_structs_and_unions): New function.
6690 (main): Call anonymous_structs_and_unions.
6691 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6692 (verify_everything): New procedure.
6693
440e2fca
KS
66942012-01-12 Keith Seitz <keiths@redhat.com>
6695
6696 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6697 (varobj_tree::get_path_expr): Assume that all varobjs are
6698 compound unless they are known simple types.
6699 Adjust path expressions based on parent type, path parent type,
6700 and tree language.
6701 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6702 the root varobj.
6703 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6704
675399c9
PA
67052012-01-11 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6708 core files on this machine" anymore.
6709
97ddaa9b
PH
67102012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6711
6712 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6713 (main): Repeat recurser call.
6714 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6715 equivalent to 'local_x'.
6716
ea733575 67172012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 6718 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
6719
6720 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6721
2ca0b532
PA
67222012-01-05 Pedro Alves <alves.ped@gmail.com>
6723
6724 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6725 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6726 * gdb.python/py-events.exp: Test that "step N" tripping on a
6727 breakpoint emits a breakpoint event.
6728
6e681866
JB
67292012-01-03 Joel Brobecker <brobecker@adacore.com>
6730
6731 * gdb.base/auxv.exp: Reformat the copyright notice.
6732
3c2d6aff
YQ
67332012-01-03 Yao Qi <yao@codesourcery.com>
6734
6735 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6736 (strace_trace_on_diff_addr): New.
6737 * gdb.trace/strace.c: (main): Add two local variables.
6738
0852fee3
UW
67392011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6740
6741 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6742 * gdb.cell/gcore.exp: Likewise.
6743 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6744 to verify the correct instance of main is selected.
6745
12c3e59c
JB
67462012-01-02 Joel Brobecker <brobecker@adacore.com>
6747
6748 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6749 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6750 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6751 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6752 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6753 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6754 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6755 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6756 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6757 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6758 gdb.threads/thread_check.c: Reformat copyright header.
6759
c0f378ec
EBM
67602011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6761
e4a7ca93 6762 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
6763 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6764 is not enabled.
6765
3bc96cfb
JK
67662011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6767
6768 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6769 parameter to self_exec, adjust the function.
6770 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6771 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6772 (set var do_exit = 0): Remove test.
6773 (newline at end of file): Add one.
6774
095bcf5e
JB
67752011-12-27 Joel Brobecker <brobecker@adacore.com>
6776
6777 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6778 New files.
6779
18d19bd1
JK
67802011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6781
6782 Fix racy FAILs.
6783 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6784 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6785 (main): Call pthread_barrier_init for it.
6786
e809353a
JK
67872011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6788
6789 Fix double send_gdb leading to racy FAILs.
6790 * gdb.base/break.exp (set silent break bp_location1): Replace
6791 3x send_gdb and gdb_expect by gdb_test.
6792 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6793 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6794 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6795 instead of send_gdb. Twice.
6796 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6797 3x send_gdb and gdb_expect by gdb_test.
6798 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6799
da8cb7ec
JK
68002011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6801
6802 * gdb.linespec/linespec.exp: Compile using {c++}.
6803
ae1a303e
JK
68042011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6805
6806 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6807 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6808 (verify GCC PR debug/51668): New test.
6809
cc72b2a2
KP
68102011-12-23 Kevin Pouget <kevin.pouget@st.com>
6811
6812 Introduce gdb.FinishBreakpoint in Python.
6813 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6814 py-finish-breakpoint2
6815 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6816 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6817 instead of line number.
6818 * gdb.python/py-finish-breakpoint.c: New file.
6819 * gdb.python/py-finish-breakpoint.exp: New file.
6820 * gdb.python/py-finish-breakpoint.py: New file.
6821 * gdb.python/py-finish-breakpoint2.cc: New file.
6822 * gdb.python/py-finish-breakpoint2.exp: New file.
6823 * gdb.python/py-finish-breakpoint2.py: New file.
6824
3b7962f9
JK
68252011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6826
6827 Partial fix of compatibility with gcc-4.7.
6828 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6829 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6830 Add comment to add a PASS case in the future.
6831
6538471c
JK
6832 Fix compatibility with gcc-4.7.
6833 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6834
7052e42c
UW
68352011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6836
6837 PR tdep/12797
6838 * gdb.base/callfuncs.exp: Remove KFAIL.
6839
9ac7f98e
JB
68402011-12-21 Joel Brobecker <brobecker@adacore.com>
6841
6842 * gdb.ada/task_bp: New testcase.
6843
f6eeced0
JK
68442011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6845
6846 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6847 -DNO_SECTIONS.
6848 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6849
72225e17
JK
68502011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6853 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6854 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6855 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6856 conditional for gcc <= 4.5.
6857
13ac8d2c
JK
68582011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6859
6860 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6861 by XFAIL.
6862 * gdb.cp/static-method.exp (info addr A::func())
6863 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6864 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6865 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6866 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6867 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6868 (test value of F in k3_m): Likewise.
6869 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6870 Likewise.
6871
049682ba
JK
68722011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6873
6874 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6875 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6876 Remove.
6877 * gdb.threads/attachstop-mt.c: Remove.
6878 * gdb.threads/attachstop-mt.exp: Remove.
6879
2c9d8796
MK
68802011-12-17 Mark Kettenis <kettenis@gnu.org>
6881
6882 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6883
e0f9f062
DE
68842011-12-16 Doug Evans <dje@google.com>
6885
f4aa2101 6886 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6887 * boards/native-gdbserver.exp: New file.
6888
e0f9f062
DE
6889 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6890 gdbserver output.
6891 (gdbserver_default_get_remote_address): New function.
6892 (gdbserver_start): Call gdb,get_remote_address to compute argument
6893 to "target remote" command.
6894
80b6e756
PM
68952011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6896
1c3ad6ab 6897 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6898 python print-stack. Add set/show python print-stack
6899 off|full|message tests.
6900
1576bd00
YQ
69012011-12-15 Yao Qi <yao@codesourcery.com>
6902
6903 * gdb.trace/strace.c: New
6904 * gdb.trace/strace.exp: New.
6905
d6a0f6e0
TT
69062011-12-14 Tom Tromey <tromey@redhat.com>
6907
6908 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6909
31015e1d
DE
69102011-12-14 Doug Evans <dje@google.com>
6911
6912 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6913
7b50312a
PA
69142011-12-14 Pedro Alves <pedro@codesourcery.com>
6915
6916 PR threads/10729
6917
6918 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6919 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6920
924437bc
PA
69212011-12-13 Pedro Alves <pedro@codesourcery.com>
6922 Doug Evans <dje@google.com>
6923
6924 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6925 (clean_restart): Remove references to the gdb_stub target board
6926 variable.
6927 (gdb_step_for_stub): Delete.
6928
6929 * gdb.base/annota1.exp: Remove all references to [target_info
6930 exists gdb_stub], gdb_step_for_stub and usestubs.
6931 * gdb.base/annota3.exp: Ditto.
6932 * gdb.base/async.exp: Ditto.
6933 * gdb.base/break.exp: Ditto.
6934 * gdb.base/code-expr.exp: Ditto.
6935 * gdb.base/commands.exp: Ditto.
6936 * gdb.base/completion.exp: Ditto.
6937 * gdb.base/condbreak.exp: Ditto.
6938 * gdb.base/consecutive.exp: Ditto.
6939 * gdb.base/cvexpr.exp: Ditto.
6940 * gdb.base/define.exp: Ditto.
6941 * gdb.base/display.exp: Ditto.
6942 * gdb.base/ena-dis-br.exp: Ditto.
6943 * gdb.base/environ.exp: Ditto.
6944 * gdb.base/gnu-ifunc.exp: Ditto.
6945 * gdb.base/maint.exp: Ditto.
6946 * gdb.base/pending.exp: Ditto.
6947 * gdb.base/sect-cmd.exp: Ditto.
6948 * gdb.base/sepdebug.exp: Ditto.
6949 * gdb.base/unload.exp: Ditto.
6950 * gdb.base/watchpoint-solib.exp: Ditto.
6951 * gdb.cp/annota2.exp: Ditto.
6952 * gdb.cp/annota3.exp: Ditto.
6953 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6954 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6955 * gdb.mi/mi-pending.exp: Ditto.
6956 * gdb.trace/circ.exp: Ditto.
6957 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6958 * gdb.base/list.exp: Ditto.
6959
6960 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6961 breakpoint function and all references to the usestubs macro.
6962 * gdb.base/exprs.c: Ditto.
6963 * gdb.base/freebpcmd.c: Ditto.
6964 * gdb.base/bitfields.c: Ditto.
6965 * gdb.base/bitfields2.c: Ditto.
6966 * gdb.base/break.c: Ditto.
6967 * gdb.base/call-sc.c: Ditto.
6968 * gdb.base/call-signals.c: Ditto.
6969 * gdb.base/callfuncs.c: Ditto.
6970 * gdb.base/charset.c: Ditto.
6971 * gdb.base/consecutive.c: Ditto.
6972 * gdb.base/constvars.c: Ditto.
6973 * gdb.base/funcargs.c: Ditto.
6974 * gdb.base/int-type.c: Ditto.
6975 * gdb.base/interrupt.c: Ditto.
6976 * gdb.base/langs0.c: Ditto.
6977 * gdb.base/list0.c: Ditto.
6978 * gdb.base/mips_pro.c: Ditto.
6979 * gdb.base/miscexprs.c: Ditto.
6980 * gdb.base/nodebug.c: Ditto.
6981 * gdb.base/opaque0.c: Ditto.
6982 * gdb.base/pointers.c: Ditto.
6983 * gdb.base/printcmds.c: Ditto.
6984 * gdb.base/ptype.c: Ditto.
6985 * gdb.base/recurse.c: Ditto.
6986 * gdb.base/reread1.c: Ditto.
6987 * gdb.base/reread2.c: Ditto.
6988 * gdb.base/restore.c: Ditto.
6989 * gdb.base/return.c: Ditto.
6990 * gdb.base/run.c: Ditto.
6991 * gdb.base/scope0.c: Ditto.
6992 * gdb.base/sepdebug.c: Ditto.
6993 * gdb.base/setshow.c: Ditto.
6994 * gdb.base/setvar.c: Ditto.
6995 * gdb.base/sigall.c: Ditto.
6996 * gdb.base/signals.c: Ditto.
6997 * gdb.base/structs.c: Ditto.
6998 * gdb.base/structs2.c: Ditto.
6999 * gdb.base/testenv.c: Ditto.
7000 * gdb.base/twice.c: Ditto.
7001 * gdb.base/unwindonsignal.c: Ditto.
7002 * gdb.base/watchpoint.c: Ditto.
7003 * gdb.base/watchpoints.c: Ditto.
7004 * gdb.base/whatis.c: Ditto.
7005 * gdb.cp/classes.cc: Ditto.
7006 * gdb.cp/cplusfuncs.cc: Ditto.
7007 * gdb.cp/derivation.cc: Ditto.
7008 * gdb.cp/formatted-ref.cc: Ditto.
7009 * gdb.cp/misc.cc: Ditto.
7010 * gdb.cp/overload.cc: Ditto.
7011 * gdb.cp/ovldbreak.cc: Ditto.
7012 * gdb.cp/ref-params.cc: Ditto.
7013 * gdb.cp/ref-types.cc: Ditto.
7014 * gdb.cp/templates.cc: Ditto.
7015 * gdb.cp/virtfunc.cc: Ditto.
7016 * gdb.hp/gdb.aCC/run.c: Ditto.
7017 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7018 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7019 * gdb.reverse/consecutive-reverse.c: Ditto.
7020 * gdb.reverse/sigall-reverse.c: Ditto.
7021 * gdb.reverse/until-reverse.c: Ditto.
7022 * gdb.reverse/watch-reverse.c: Ditto.
7023 * gdb.trace/actions.c: Ditto.
7024 * gdb.trace/circ.c: Ditto.
7025 * gdb.trace/collection.c: Ditto.
7026
fabde485
PA
70272011-12-13 Pedro Alves <pedro@codesourcery.com>
7028
7029 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7030 (func6, func7): New.
7031 (main): Call func6 and func7.
7032 * gdb.base/watchpoint.exp (test_wide_location_1)
7033 (test_wide_location_2): New.
7034 (top level): Re-enable hardware watchpoints if necessary. Call
7035 test_wide_location_1 and test_wide_location_2.
7036
ff7d1690
YQ
70372011-12-11 Yao Qi <yao@codesourcery.com>
7038
7039 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7040
a6af7abe
JB
70412011-12-11 Joel Brobecker <brobecker@adacore.com>
7042
7043 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7044 expected output for unsupported case.
7045
61638e15
JK
70462011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7047
7048 PR testsuite/12649
7049 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7050 Protect gdb_test_multiple by final $gdb_prompt match.
7051
0a00efc3
JK
70522011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7053
7054 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7055 New variable, new test.
7056 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7057 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7058 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7059 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7060 them if HAVE_GCC_45682_FIXED is not set.
7061
4511b1ba
YQ
70622011-12-10 Yao Qi <yao@codesourcery.com>
7063
7064 * gdb.trace/status-stop.exp: New.
7065 * gdb.trace/status-stop.c: New.
7066
27949e73
JK
70672011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7070 timeout.
7071
d8ea7931
TT
70722011-12-08 Tom Tromey <tromey@redhat.com>
7073
7074 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7075 condition.
7076
1cc310d2
SS
70772011-12-07 Stan Shebs <stan@codesourcery.com>
7078
7079 * gdb.trace/tfind.exp: Update for output changes.
7080
d482a875
PA
70812011-12-07 Pedro Alves <pedro@codesourcery.com>
7082
7083 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7084 throws "Cannot insert catchpoints in this configuration".
7085 * gdb.ada/mi_catch_ex.exp: Likewise.
7086
f0ba3972
PA
70872011-12-06 Pedro Alves <pedro@codesourcery.com>
7088
7089 * gdb.base/break-always.exp: Test changing memory at addresses
7090 with breakpoints inserted.
7091
f8eba3c6
TT
70922011-12-06 Joel Brobecker <brobecker@acacore.com>
7093
6fdff2c5
PA
7094 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7095 involving a fully qualified function name.
f8eba3c6
TT
7096
70972011-12-06 Tom Tromey <tromey@redhat.com>
7098
7099 * gdb.ada/homonym.exp: Add three breakpoint tests.
7100
71012011-12-06 Tom Tromey <tromey@redhat.com>
7102
7103 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7104 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7105 * gdb.objc/objcdecode.exp: Update for output changes.
7106 * gdb.linespec/linespec.exp: New file.
7107 * gdb.linespec/lspec.cc: New file.
7108 * gdb.linespec/lspec.h: New file.
7109 * gdb.linespec/body.h: New file.
7110 * gdb.linespec/base/two/thefile.cc: New file.
7111 * gdb.linespec/base/one/thefile.cc: New file.
7112 * gdb.linespec/Makefile.in: New file.
7113 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7114 output changes.
7115 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7116 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7117 makes one breakpoint.
7118 * gdb.cp/method2.exp (test_break): Update for output changes.
7119 * gdb.cp/mb-templates.exp: Update for output changes.
7120 * gdb.cp/mb-inline.exp: Update for output changes.
7121 * gdb.cp/mb-ctor.exp: Update for output changes.
7122 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7123 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7124 has multiple matches.
7125 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7126 error message change.
7127 * gdb.base/list.exp (test_list_filename_and_number): Update for
7128 error message change.
7129 * gdb.base/break.exp: Disable pending breakpoints. Update for
7130 output changes.
7131 * configure.ac: Add gdb.linespec.
7132 * configure: Rebuild.
7133 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7134
c642a434
UW
71352011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7136
7137 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7138 last_break register on s390*-*-* targets.
7139
b18003d1
JB
71402011-12-06 Joel Brobecker <brobecker@adacore.com>
7141
7142 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7143 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7144 of parameter X in procedure Foo.
7145
fe96589c
SS
71462011-12-05 Stan Shebs <stan@codesourcery.com>
7147
7148 * gdb.trace/tfind.exp: Update help string matches.
7149
1820ab47
JK
71502011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7151
7152 * gdb.server/ext-run.exp (get process list): Accept also systemd
7153 as PID 1.
7154
e11ac3a3
JK
71552011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7156 Pedro Alves <pedro@codesourcery.com>
7157
7158 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7159 starting GDB.
7160 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7161 $use_gdb_stub.
7162 * gdb.base/display.exp: Likewise.
7163 * gdb.base/ending-run.exp: Likewise.
7164 * gdb.base/list.exp (test_listsize): Likewise.
7165 * gdb.base/setshow.exp: Likewise.
7166 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7167 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7168 check by global $use_gdb_stub.
7169 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7170 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7171 (default_gdb_init): Unset global $use_gdb_stub.
7172 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7173 by global $use_gdb_stub.
7174 * lib/gdbserver-support.exp: Extend comments for set_board_info
7175 gdb_protocol and gdb,socketport.
7176 (gdbserver_start_extended): Set global gdbserver_protocol and
7177 gdbserver_gdbport. Clear global use_gdb_stub.
7178 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7179 from target use_gdb_stub.
7180 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7181
1d41d75c
DE
71822011-12-03 Doug Evans <dje@google.com>
7183
7184 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7185 (gdb_step_for_stub): Add comments.
7186
d6d7a51a
MR
71872011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7188
7189 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7190 to the caller.
7191 (gdb_test_multiple): Likewise.
7192
05acf274
JK
71932011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 Fix gdb.mi/mi-solib.exp without system debug info installed.
7196 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7197 expect attribute, return 0 for it. Update comments.
7198
2268b414
JK
71992011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7200
7201 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7202 (corrupted list): Adjust the expectation.
7203
585861ea
JK
72042011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 PR threads/13448
7207 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7208 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7209 * gdb.threads/tls-var-main.c: New file.
7210 * gdb.threads/tls-var.c: New file.
7211 * gdb.threads/tls-var.exp: New file.
7212
968643aa
JK
72132011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7214
7215 PR testsuite/12649
7216 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7217 Protect gdb_test_multiple by final $gdb_prompt match.
7218 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7219 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7220 (test_tracepoints): Likewise.
7221
9750bca9
JK
72222011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7223
7224 PR breakpoints/13346
7225 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7226 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7227 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7228
ac1349b7
JB
72292011-12-01 Joel Brobecker <brobecker@adacore.com>
7230
7231 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7232 * gdb.ada/homonym/homonym.adb: For use of all types defined
7233 locally inside both Get_Value subprograms.
7234
26d44faf
JK
72352011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 Fix racy FAILs.
7238 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7239 of send_gdb.
7240
514f6425
UW
72412011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7242
7243 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7244 environment variable after test completed.
7245
4255c8d2
UW
72462011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7247
7248 * gdb.base/solib-nodir.exp: Skip if remote target.
7249 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7250 application. Call gdb_load_shlibs.
7251 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7252
a35ad96a
JB
72532011-11-29 Joel Brobecker <brobecker@adacore.com>
7254
7255 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7256
1a1d5513
JB
72572011-11-28 Joel Brobecker <brobecker@adacore.com>
7258
7259 * gdb.ada/fullname_bp: New testcase.
7260
50b4ddf8
JK
72612011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7262
7263 PR testsuite/12649
7264 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7265 Wrap send_gdb into a new gdb_test.
7266
fb0aec57
JK
7267 Code cleanup.
7268 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7269 Convert send_gdb and gdb_expect to gdb_test_multiple.
7270
2376d946
JK
72712011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7274
1eec78bd
KS
72752011-11-23 Keith Seitz <keiths@redhat.com>
7276
7277 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7278 (mi_varobj_tree_test_children_callback): New proc.
7279 (mi_walk_varobj_tree): New proc.
7280
36dfb11c
TT
72812011-11-22 Tom Tromey <tromey@redhat.com>
7282
7283 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7284 Add "use_mi_command" argument.
7285 (mi_run_cmd, mi_run_with_cli): New procs.
7286 * gdb.mi/solib-lib.c: New file.
7287 * gdb.mi/solib-main.c: New file.
7288 * gdb.mi/mi-solib.exp: New file.
7289
0e965dd0
DE
72902011-11-21 Doug Evans <dje@google.com>
7291
7292 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7293 _Unwind_DebugHook is missing.
7294
f196051f
SS
72952011-11-20 Stan Shebs <stan@codesourcery.com>
7296
7297 * gdb.trace/tstatus.exp: New.
7298 * gdb.trace/actions.c: Include string.h.
7299
bfccc43c
YQ
73002011-11-18 Yao Qi <yao@codesourcery.com>
7301
7302 * gdb.trace/pending.exp: New.
7303 * gdb.trace/pending.c: New.
7304 * gdb.trace/pendshr1.c: New.
7305 * gdb.trace/pendshr2.c: New.
7306 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7307 tracepoint location becomes pending.
7308 (tracepoint_change_loc_2): New.
7309
73cd8ab1
DM
73102011-11-16 David S. Miller <davem@davemloft.net>
7311
7312 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7313 target is sparc*-*-linux*
7314
77426730
PK
73152011-11-15 Paul Koning <paul_koning@dell.com>
7316
7317 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7318 types.
7319
ed59ded5
DE
73202011-11-14 Doug Evans <dje@google.com>
7321
7322 * gdb.base/shell.exp: New file.
7323
405f8e94
SS
73242011-11-14 Stan Shebs <stan@codesourcery.com>
7325
7326 * gdb.trace/ftrace.c: New.
7327 * gdb.trace/ftrace.exp: New.
7328
1e4d1764
YQ
73292011-11-14 Yao Qi <yao@codesourcery.com>
7330
7331 * gdb.trace/change-loc-1.c: New.
7332 * gdb.trace/change-loc-2.c: New.
7333 * gdb.trace/change-loc.c: New.
7334 * gdb.trace/change-loc.exp: New.
7335 * gdb.trace/change-loc.h: New.
7336 * gdb.trace/trace-break.c (marker): Define new symbol.
7337 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 7338 New.
1e4d1764
YQ
7339 (break_trace_same_addr_6): New.
7340
71eba9c2 73412011-11-12 Matt Rice <ratmice@gmail.com>
7342
7343 * gdb.base/info-macros.exp: Make tests for info definitions
7344 test info macro. Add tests for info macro argument processing.
7345 Rename a few tests.
7346
1d93e29a
KS
73472011-11-11 Keith Seitz <keiths@redhat.com>
7348
7349 PR gdb/12843
7350 * gdb.base/linespecs.exp: New file.
7351
a4b5b48a
DE
73522011-11-11 Doug Evans <dje@google.com>
7353
7354 * gdb.threads/print-threads.exp: Extend timeout for slower
7355 tests.
7356
f6b47be4
DE
73572011-11-10 Doug Evans <dje@google.com>
7358
792a0230
DE
7359 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7360 "record to end of main" test.
7361
f6b47be4
DE
7362 * gdb.python/py-type.c (TS): New typedef.
7363 (ts): New global.
7364 * gdb.python/py-type.exp: Test field list of typedef.
7365
22355c90
JB
73662011-11-10 Joel Brobecker <brobecker@adacore.com>
7367
7368 * gdb.ada/small_reg_param: New testcase.
7369
a7860e76
TT
73702011-11-09 Tom Tromey <tromey@redhat.com>
7371
7372 * gdb.cp/destrprint.exp: New file.
7373 * gdb.cp/destrprint.cc: New file.
7374
72a2e3dc
MI
73752011-11-08 Meador Inge <meadori@codesourcery.com>
7376
7377 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7378 (switch_stack_to_other): New test function.
7379 * gdb.arch/thumb-prologue.exp: New test cases.
7380
c7195df2 73812011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
7382
7383 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7384
d3895d7d
YQ
73852011-11-08 Yao Qi <yao@codesourcery.com>
7386
7387 * gdb.exp (supports_process_record): New.
7388 (supports_reverse): New.
7389 * gdb.reverse/break-precsave.exp: Call support_process_record
7390 to run test conditionally.
7391 * gdb.reverse/consecutive-precsave.exp: Likewise.
7392 * gdb.reverse/i386-precsave.exp: Likewise.
7393 * gdb.reverse/machinestate-precsave.exp: Likewise.
7394 * gdb.reverse/solib-precsave.exp: Likewise.
7395 * gdb.reverse/step-precsave.exp: Likewise.
7396 * gdb.reverse/until-precsave.exp: Likewise.
7397 * gdb.reverse/watch-precsave.exp: Likewise.
7398 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7399 test conditionally.
7400 * gdb.reverse/consecutive-reverse.exp: Likewise.
7401 * gdb.reverse/finish-precsave.exp: Likewise.
7402 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7403 * gdb.reverse/finish-reverse.exp: Likewise.
7404 * gdb.reverse/i386-reverse.exp: Likewise.
7405 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7406 * gdb.reverse/machinestate.exp: Likewise.
7407 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7408 * gdb.reverse/sigall-precsave.exp: Likewise.
7409 * gdb.reverse/sigall-reverse.exp: Likewise.
7410 * gdb.reverse/solib-reverse.exp: Likewise.
7411 * gdb.reverse/step-reverse.exp: Likewise.
7412 * gdb.reverse/until-reverse.exp: Likewise.
7413 * gdb.reverse/watch-reverse.exp: Likewise.
7414
a59306a3
YQ
74152011-11-05 Yao Qi <yao@codesourcery.com>
7416
7417 * gdb.trace/trace-break.exp: Add test on setting two
7418 fast tracepoints at the same address.
7419
87769f59
JK
74202011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7423
3065dfb6
SS
74242011-11-02 Stan Shebs <stan@codesourcery.com>
7425
7426 * gdb.trace/collection.c: Add code using strings.
7427 * gdb.trace/collection.exp: Add tests of string collection.
7428
89e208db
JK
74292011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7430
7431 * gdb.base/skip-solib.exp (executable_main): New variable.
7432 (binfile_main): Base it on that.
7433 Use $executable_main in clean_restart calls. Drop gdb_exit and
7434 gdb_start calls.
7435
405e54e9
JK
74362011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7437
7438 Fix racy FAILs.
7439 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7440 breakpoint_re globals import by async. Set string_regex to .* for
7441 async. Remove the optional thread_selected_re and breakpoint_re
7442 globals expectations.
7443
58e8570a
JM
74442011-11-01 Joseph Myers <joseph@codesourcery.com>
7445
7446 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7447 well as Cygwin.
7448
7b35ec7f 74492011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
7450
7451 Add tests for skip command.
89e208db
JK
7452 * gdb.base/skip-solib-lib.c: New
7453 * gdb.base/skip-solib-main.c: New
7454 * gdb.base/skip-solib.exp: New
7455 * gdb.base/skip.c: New
7456 * gdb.base/skip.exp: New
7457 * gdb.base/skip1.c: New
7458 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 7459
b9fd1791
PA
74602011-10-31 Yao Qi <yao@codesourcery.com>
7461 Pedro Alves <pedro@codesourcery.com>
7462
6fdff2c5
PA
7463 * gdb.trace/trace-break.c: New.
7464 * gdb.trace/trace-break.exp: New.
b9fd1791 7465
4323fecc
JK
74662011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7469 break-here-2.
7470
0e5bf2a8
PA
74712011-10-28 Pedro Alves <pedro@codesourcery.com>
7472
7473 * gdb.threads/no-unwaited-for-left.c: New.
7474 * gdb.threads/no-unwaited-for-left.exp: New.
7475 * gdb.threads/non-ldr-exc-1.c: New.
7476 * gdb.threads/non-ldr-exc-1.exp: New.
7477 * gdb.threads/non-ldr-exc-2.c: New.
7478 * gdb.threads/non-ldr-exc-2.exp: New.
7479 * gdb.threads/non-ldr-exc-3.c: New.
7480 * gdb.threads/non-ldr-exc-3.exp: New.
7481 * gdb.threads/non-ldr-exc-4.c: New.
7482 * gdb.threads/non-ldr-exc-4.exp: New.
7483
3a3dad98
JK
74842011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7487 * gdb.base/attach-pie-misread.exp: Likewise.
7488 * gdb.base/break-interp.exp: Likewise.
7489 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7490 testcases for use_gdb_stub.
7491 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7492 (continue): New testcase.
7493 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7494 * gdb.threads/attach-into-signal.exp: Likewise.
7495 * gdb.threads/attach-stopped.exp: Likewise.
7496 * gdb.threads/attachstop-mt.exp: Likewise.
7497
d6a5d40c
PK
74982011-10-28 Paul Koning <paul_koning@dell.com>
7499
7500 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7501
ca539be8
JK
75022011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7503
7504 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7505 (mi_gdb_test): Import globals thread_selected_re
7506 and breakpoint_re. Expect them optionally at the regex start.
7507
d234ef5c
DE
75082011-10-27 Doug Evans <dje@google.com>
7509
7510 * gdb.python/python.exp: Test source -s.
7511
ab964825
PK
75122011-10-26 Paul Koning <paul_koning@dell.com>
7513
7514 * gdb.python/lib-types.cc (struct A): New structure.
7515 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 7516
54d8a644
PK
75172011-10-25 Paul Koning <paul_koning@dell.com>
7518
7519 PR python/13327
d234ef5c 7520
54d8a644
PK
7521 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7522 fetch_lazy method.
7523
b0221781
YQ
75242011-10-24 Yao Qi <yao@codesourcery.com>
7525
7526 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7527 target is tic6x-*-*.
7528
6cda5a20
JB
75292011-10-21 Joel Brobecker <brobecker@adacore.com>
7530
7531 * gdb.ada/mi_task_info/task_switch.adb: New file.
7532 * gdb.ada/mi_task_info.exp: New file.
7533
5ed9db04
JK
75342011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7535
7536 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7537 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7538
9df2fbc4
PM
75392011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7540
7541 PR python/12656
7542
7543 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7544 global_block tests.
7545
736086ba
TT
75462011-10-18 Tom Tromey <tromey@redhat.com>
7547
7548 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7549
4af31552
TT
75502011-10-18 Tom Tromey <tromey@redhat.com>
7551
7552 * gdb.base/source.exp: Don't include full file name in test name.
7553 * gdb.python/python.exp: Don't include full file name in test
7554 name.
7555
43136979
AR
75562011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7557
7558 * gdb.base/attach-pie-noexec.c: New files.
7559 * gdb.base/attach-pie-noexec.exp: New files.
7560
543a9323
JM
75612011-10-17 Joseph Myers <joseph@codesourcery.com>
7562
7563 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7564 prompt for each extra line in command.
7565
21ae7a4d
JK
75662011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7569 Revert the part of:
7570 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7571 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7572 Change the expected string.
7573
20ec36d9
JK
75742011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7575
7576 Fix results with system glibc debug info installed.
7577 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7578 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7579 Accept also __libc_ symbol prefix and no prefix.
7580
6501c2fc
KS
75812011-10-14 Keith Seitz <keiths@redhat.com>
7582
7583 PR c++/13225
7584 * gdb.cp/converts.cc (foo3_1): New function.
7585 (foo3_2): New functions.
7586 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7587 and null pointer conversions of integer constant zero.
7588 Add test to check if all arguments are checked for incompatible
7589 conversion BADNESS.
7590
55b1fd0c
TT
75912011-10-14 Tom Tromey <tromey@redhat.com>
7592
7593 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7594 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7595 linespec.
7596
22c05d8a
JK
75972011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7598
7599 Fix internal error regression.
7600 * gdb.dwarf2/implptr-optimized-out.S: New file.
7601 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7602
1d6edc3c
JK
76032011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7606 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7607 (loclist): New.
7608 (4): New abbrev.
7609 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7610 Use prepare_for_testing, remove clean_restart.
7611 (p arraynoloc, p arraycallnoloc): New tests.
7612
9ec72168
JK
76132011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 * gdb.cp/namespace-enum.exp (executable): New variable.
7616 (binfile): Use ${objdir}/${subdir}/ prefix.
7617 Use ${executable} for clean_restart.
7618
9c6c53f7
SA
76192011-10-11 Sterling Augustine <saugustine@google.com>
7620
7621 * gdb.cp/Makefile.in: Add namespace-enum test.
7622 * gdb.cp/namespace-enum.exp: New file.
7623 * gdb.cp/namespace-enum.c: New file.
7624 * gdb.cp/namespace-enum-main.c: New file.
7625
fac7ceb3
UW
76262011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7627
7628 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7629 sysroot.
7630
941b2081
JK
76312011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7632
7633 Reimplement @entry in input expressions.
7634 * gdb.base/exprs.c (v_int_array_init): New variable.
7635 * gdb.base/exprs.exp (print v_int_array_init)
7636 (print *v_int_array_init@1, print *v_int_array_init@2)
7637 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7638 (print v_int_array_init[1]@1): New tests.
7639
0344e878
JM
76402011-10-10 Joseph Myers <joseph@codesourcery.com>
7641
7642 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7643 expected message.
7644
5a56e9c5
DE
76452011-10-09 Doug Evans <dje@google.com>
7646
7647 * gdb.base/alias.exp: Add tests for alias command.
7648
2bda9cc5
JK
76492011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7650
7651 * gdb.arch/amd64-entry-value.s: New file.
7652 * gdb.mi/mi2-amd64-entry-value.s: New file.
7653
a471c594
JK
76542011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 Display @entry parameter values even for references.
7657 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7658 functions.
7659 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7660 reference and datap_input.
7661 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7662 breakpoints.
7663 (continue to breakpoint: entry_reference: reference)
7664 (entry_reference: bt at entry)
7665 (continue to breakpoint: entry_reference: breakhere_reference)
7666 (entry_reference: bt, entry_reference: ptype regparam)
7667 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7668 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7669 (entry_reference: p regcopy, entry_reference: p nodataparam)
7670 (entry_reference: p nodataparam@entry): New tests.
7671
36b11add
JK
76722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 Support @entry in input expressions.
7675 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7676 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7677 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7678 (tailcall: p j@entry): New tests.
7679 * gdb.cp/koenig.cc (A::entry): New function.
7680 (main): Call it.
7681 * gdb.cp/koenig.exp (p entry (c)): New test.
7682
e18b2753
JK
76832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 Display @entry parameter values (without references).
7686 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7687 (different, validity, invalid): New functions.
7688 (main): Call them.
7689 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7690 stacktest, breakhere_stacktest, different, breakhere_different,
7691 breakhere_validity and breakhere_invalid.
7692 (entry: bt): Update for @entry.
7693 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7694 (entry_validity: *, entry_invalid: *): Many new tests.
7695 * gdb.base/break.exp
7696 (run until breakpoint set at small function, optimized file): Accept
7697 also the @entry suffix.
7698 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7699 * gdb.mi/mi2-amd64-entry-value.c: New files.
7700 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7701
2d6c5dc2
JK
77022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7703
7704 Protect entry values against self tail calls.
7705 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7706 (main): Call self.
7707 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7708 (set debug entry-values 1, self: bt debug entry-values): New tests.
7709
111c6489
JK
77102011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 Recognize virtual tail call frames.
7713 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7714 (amb_b, amb_a): New.
7715 (main): Call a and b.
7716 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7717 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7718 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7719 New tests.
7720
8e3b41a9
JK
77212011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7722
7723 Implement basic support for DW_TAG_GNU_call_site.
7724 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7725 * gdb.arch/amd64-entry-value.cc: New file.
7726 * gdb.arch/amd64-entry-value.exp: New file.
7727
181cebd4
JK
77282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7729
7730 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7731 * gdb.dwarf2/implptr-64bit.S: New file.
7732 * gdb.dwarf2/implptr-64bit.exp: New file.
7733
741f5e3c
JK
77342011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7735
7736 Fix initial language detection with -readnow.
7737 * gdb.cp/readnow-language.cc: New file.
7738 * gdb.cp/readnow-language.exp: New file.
7739
a73d2258
JK
77402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 Fix printed anonymous struct name.
7743 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7744
af369495
JM
77452011-10-09 Joseph Myers <joseph@codesourcery.com>
7746
7747 * gdb.base/solib-symbol.exp: Do not include directories in
7748 filenames in expected messages.
7749
1fa57852
DE
77502011-10-07 Doug Evans <dje@google.com>
7751
7752 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7753
bd054e06
KP
77542011-10-07 Kevin Pouget <kevin.pouget@st.com>
7755
7756 Allow Python notification of new object-file loadings.
7757 * gdb.python/py-events.exp: Test newobjfile event.
7758 * gdb.python/py-events.py: Register newobjfile callback.
7759 * gdb.python/py-events.c: Add call to shared library
7760 * gdb.python/py-events-shlib.c: New file.
7761
8031b6f8
JM
77622011-10-06 Joseph Myers <joseph@codesourcery.com>
7763
7764 * gdb.base/fixsection.exp: Do not include directories in filename
7765 in expected message.
7766
7fea6923
PM
77672011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7768
7769 Add tests for passing of environment variables to inferior.
7770 * gdb.base/testenv.c: New test source.
7771 * gdb.base/testenv.exp: New expect test.
7772
687f2a88
PK
77732011-10-04 Paul Koning <paul_koning@dell.com>
7774
7775 * gdb.python/py-value.c (main): Break before return.
7776
cb6be26b
KP
77772011-10-04 Kevin Pouget <kevin.pouget@st.com>
7778
7779 PR python/12691: Add the inferior to Python exited event
7780 * gdb.python/py-events.exp: Test the inferior attribute of exited
7781 event with a fork.
7782 * gdb.python/py-events.py: Print inferior number on exit.
7783 * gdb.python/py-events.c: Fork the inferior.
7784
fb213700
EBM
77852011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7786
7787 * gdb.base/jit.exp: Add testcase name to log message
7788
aa2071bd
PK
77892011-10-03 Paul Koning <paul_koning@dell.com>
7790 Jan Kratochvil <jan.kratochvil@redhat.com>
7791
7792 * gdb.python/py-value.exp
7793 (python inval = gdb.parse_and_eval('*(int*)0'))
7794 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7795 (set argc=2, python print argc_lazy): New tests.
7796
dd11a36c
JB
77972011-10-02 Joel Brobecker <brobecker@adacore.com>
7798
7799 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7800
46f886f1
JK
78012011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7802 Pedro Alves <pedro@codesourcery.com>
7803
7804 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7805 can_read_0, test for it.
7806 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7807 (parse_and_eval with memory error): ... here, make it untested if
7808 can_read_0.
7809
c5cb204f
MP
78102011-09-30 Marek Polacek <mpolacek@redhat.com>
7811
7812 * gdb.python/python.exp (verify pagination beforehand)
7813 (verify pagination afterwards): Fix race by splitting the line.
7814
68fb0ec0
JM
78152011-09-29 Joseph Myers <joseph@codesourcery.com>
7816
7817 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7818 for 64-bit multilibs from i?86-* targets.
7819
6aee0d90
MP
78202011-09-29 Marek Polacek <mpolacek@redhat.com>
7821
7822 * lib/gdb.exp: Fix a typo in one of the comments.
7823
e9101ff5
MP
78242011-09-29 Marek Polacek <mpolacek@redhat.com>
7825
7826 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7827 matching pattern.
7828
7a81bdbf
PK
78292011-09-28 Paul Koning <paul_koning@dell.com>
7830
7831 * gdb.python/py-type.c (enum E): New.
7832 * gdb.python/py-type.exp (test_fields): Add tests for Python
7833 mapping access to fields.
7834 (test_enums): New test for field access on enums.
7835
6710bf39
SS
78362011-09-27 Stan Shebs <stan@codesourcery.com>
7837
7838 * gdb.trace/collection.exp: Test collection of $_ret.
7839
b2a6bdeb
AT
78402011-09-22 Andreas Tobler <andreast@fgznet.ch>
7841
7842 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7843 list of compilation switches for <*-*-freebsd*>.
7844
3c9057f3
SS
78452011-09-19 Stan Shebs <stan@codesourcery.com>
7846
7847 * gdb.trace/tspeed.exp: New file.
7848 * gdb.trace/tspeed.c: New file.
7849
34518530
YQ
78502011-09-18 Yao Qi <yao@codesourcery.com>
7851
7852 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7853 instructions.
7854 (test_adr_32bit, test_pop_pc): Likewise.
7855 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7856 Thumb instructions.
7857 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7858 in gdb_test_multiple.
7859 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7860
ab254057
YQ
78612011-09-17 Yao Qi <yao@codesourcery.com>
7862
7863 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7864 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7865 support single step to signal handler.
7866
9c317b71
YQ
78672011-09-17 Yao Qi <yao@codesourcery.com>
7868
7869 * gdb.base/disp-step-fork.c: New.
7870 * gdb.base/disp-step-syscall.exp: New.
7871 * gdb.base/disp-step-vfork.c: New.
7872
a8123151
JB
78732011-09-16 Joel Brobecker <brobecker@adacore.com>
7874
7875 * gdb.ada/tasks.exp: Make the expected output for
7876 the `info tasks' tests more resilient to spacing
7877 changes.
7878
63a9aad8
JK
78792011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7880
7881 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7882 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7883
2aa48337
KP
78842011-09-15 Kevin Pouget <kevin.pouget@st.com>
7885
7886 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7887 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7888
6839b47f
KP
78892011-04-30 Kevin Pouget <kevin.pouget@st.com>
7890
7891 Handle multiple breakpoint hits in Python interface:
7892 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7893 presence.
7894 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7895 breakpoint hits.
7896
0935723e
JK
78972011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7898 Jan Kratochvil <jan.kratochvil@redhat.com>
7899
7900 * gdb.python/py-events.exp: Remove pretty printing comment.
7901 * gdb.python/py-evsignal.exp: New file.
7902 * gdb.python/py-evthreads.c: Include signal.h.
7903 (thread3): Remove variable count3. Remove variable bad and use raise
7904 instead.
7905 (thread2): Remove variable count2. Move thread3 pthread_create here,
7906 merge pthread_join to a single line.
7907 (main): Remove variable count1. Merge pthread_join with pthread_create
7908 to a single line.
7909 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7910 KFAIL python/12966 for gdbserver. Test return value of
7911 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7912 gdb_expect by gdb_test and gdb_test_multiple.
7913 (thread 2, thread 3): New tests.
7914
4801a9a3
PA
79152011-09-12 Matt Rice <ratmice@gmail.com>
7916 Pedro Alves <pedro@codesourcery.com>
7917
7918 PR gdb/13175
7919
7920 * gdb.base/interp.exp: New tests.
7921 * gdb.base/interp.c: New file.
7922
24ece742
DE
79232011-09-12 Doug Evans <dje@google.com>
7924
7925 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7926 * gdb.dwarf2/typeddwarf.exp: Ditto.
7927
7f062217
JK
79282011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7929
7930 Fix compatibility with x32 arch.
7931 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7932 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7933 is_x86_like_target.
7934 * testsuite/gdb.trace/collection.exp: Likewise.
7935 * testsuite/gdb.trace/report.exp: Likewise.
7936 * testsuite/gdb.trace/unavailable.exp: Likewise.
7937 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7938 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7939 (is_x86_like_target): Check also is_amd64_regs_target.
7940
08711b9a
JK
79412011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7942
7943 PR breakpoints/12435
7944 * gdb.arch/amd64-prologue-xmm.c: New file.
7945 * gdb.arch/amd64-prologue-xmm.exp: New file.
7946 * gdb.arch/amd64-prologue-xmm.s: New file.
7947
b99b5f66
JK
79482011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7949
7950 * gdb.dwarf2/dw2-param-error-main.c: New file.
7951 * gdb.dwarf2/dw2-param-error.S: New file.
7952 * gdb.dwarf2/dw2-param-error.exp: New file.
7953
a391a2f6
PA
79542011-09-08 Pedro Alves <pedro@codesourcery.com>
7955
7956 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7957 inferior's pid and look for a core dump named core.$pid. Use
7958 `remote_file' commands on the host instead of hand coding shell
7959 commands on the build.
7960 * gdb.base/valgrind-db-attach.exp: Kill the program before
7961 finishing the test.
7962
7d8e6458 79632011-09-02 Matt Rice <ratmice@gmail.com>
7964
7965 * lib/prompt.exp: New file for testing the first prompt.
7966 * gdb.python/py-prompt.exp: Ditto.
7967 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7968
68e77c9e
PA
79692011-09-02 Pedro Alves <pedro@codesourcery.com>
7970
7971 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7972 0, before testing gcore.
7973
9655e943
JK
79742011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7975
df6dc84d
JK
7976 * dw2-ifort-parameter-debug.S: Update copyright year.
7977 * dw2-ifort-parameter.c: Update copyright year.
7978 * dw2-ifort-parameter.exp: Update copyright year.
7979
9655e943
JK
7980 * dw2-ifort-parameter-debug.S: New file.
7981 * dw2-ifort-parameter.c: New file.
7982 * dw2-ifort-parameter.exp: New file.
7983
353d1d73
JK
79842011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7985
7986 * gdb.base/commands.exp (error_clears_commands_left): New function.
7987 (): Call it.
7988
5c07461a
JK
79892011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7990
7991 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7992 (C): Initialize `a'.
7993 * gdb.mi/mi-inheritance-syntax-error.exp
7994 (-data-evaluate-expression $path): Expect `a' as 5.
7995
0d932b2f
MK
79962011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7997
7998 PR mi/11912
7999 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8000 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8001 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8002 keyword in output of -var-info-path-expression.
8003
bdb54049
JK
80042011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8005
8006 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8007 * gdb.trace/collection.exp: Likewise.
8008 * gdb.trace/report.exp: Likewise.
8009 * gdb.trace/unavailable.exp: Likewise.
8010 * gdb.trace/while-dyn.exp: Likewise.
8011
59cde39c
KS
80122011-08-18 Keith Seitz <keiths@redhat.com>
8013
8014 PR c++/12266
8015 * gdb.cp/meth-typedefs.cc: New file.
8016 * gdb.cp/meth-typedefs.exp: New file.
8017
fa3a4f15
PM
80182011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8019
6fdff2c5 8020 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 8021
c1049fca
JK
80222011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8023
8024 * gdb.arch/i386-dr3-watch.exp
8025 (watchpoint on gap1 does not fit debug registers)
8026 (delete all watchpoints): Fix racy expect strings.
8027
d93f7b5c
YQ
80282011-08-14 Yao Qi <yao@codesourcery.com>
8029
8030 * gdb.base/maint.exp: set data_section to ".neardata".
8031 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8032 * gdb.base/savedregs.exp: Handle SIGILL.
8033 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8034 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8035
457e09f0
DE
80362011-08-12 Doug Evans <dje@google.com>
8037
8038 * gdb.python/py-symbol.exp: Add test for symbol.type.
8039
5d0bb2fb
UW
80402011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8041
8042 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8043 * gdb.mi/mi-pthreads.exp: Likewise.
8044 * gdb.mi/mi2-pthreads.exp: Likewise.
8045 * gdb.mi/gdb669.exp.exp: Likewise.
8046
fcdfa280
PA
80472011-08-09 Pedro Alves <pedro@codesourcery.com>
8048
8049 * lib/mi-support.exp (detect_async): Rename to...
8050 (mi_detect_async): ... this.
8051 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8052 * gdb.mi/mi-nonstop.exp: Adjust.
8053 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8054 * gdb.mi/mi-nsintrall.exp: Adjust.
8055 * gdb.mi/mi-nsmoribund.exp: Adjust.
8056 * gdb.mi/mi-nsthrexec.exp: Adjust.
8057
9d8fa392
PA
80582011-08-09 Pedro Alves <pedro@codesourcery.com>
8059
8060 * gdb.base/display.c (do_loops): New `p_i' local.
8061 * gdb.base/display.exp: Test displaying a variable that is
8062 temporarily at a bad address.
8063
b6cede78
JK
80642011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8065
8066 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8067 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8068
67bedb8c
JK
80692011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8070
8071 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
8072 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8073 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 8074
af6e93b2
PA
80752011-08-05 Pedro Alves <pedro@codesourcery.com>
8076
8077 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8078 procedure.
8079 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8080
1cf0e11f
YQ
80812011-08-05 Yao Qi <yao@codesourcery.com>
8082
8083 * gdb.base/callfuncs.exp: Set language after main.
8084 * gdb.cp/cplusfuncs.exp: Likewise.
8085 * gdb.cp/inherit.exp: Likewise.
8086
a1e28cb2
UW
80872011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8088
8089 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8090 * gdb.base/watch-vfork.exp: Skip on remote targets.
8091
d4f5bbb9
UW
80922011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8093
8094 * gdb.threads/thread-find.exp: Support remote targets.
8095
724f4f80
UW
80962011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8097
8098 * gdb.base/jit.exp: Download solib_binfile to target.
8099 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8100 and call dlopen without full path name.
8101 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8102 dlopen without full path name.
8103
934709f0
PW
81042011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8105
8106 * gdb.base/break-always.exp: Complete the test
8107 with duplicated breakpoints and enabling/disabling them.
8108
c26106c4
TT
81092011-08-02 Tom Tromey <tromey@redhat.com>
8110
8111 PR gdb/11289:
8112 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8113
9300444e 81142011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
8115
8116 PR gdb/13045
8117 * gdb.base/float.exp: Add new test case for PR gdb/13045
8118 * gdb.base/float.c: New file.
8119
00bd41d6
PM
81202011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8121
8122 * gdb.python/py-mi.exp: Test printers returning string hint, and
8123 also not returning a value.
8124 * gdb.python/py-prettyprint.c: Add testcase for above.
8125 * gdb.python/py-prettyprint.py: Add test printer for above.
8126
d24f74ce
JK
81272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8128
8129 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8130 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8131 (.Ldie30) Add as field "data4".
8132 (.Ldie32) Rename field "b" to "shl".
8133 (abbrev4) Change for the "data4" field.
8134 (abbrev5, abbrev6) Remove.
8135 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8136 (p &s.shl): ... here. Add comment.
8137 (p &s.data4): New.
8138
bb7da2bf
JK
81392011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8140
8141 Fix crash on lval_computed values.
8142 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8143
11081198
JK
81442011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8145
8146 * gdb.base/help.exp (help whatis): Update the expected string.
8147
3c6e0cb3
JK
81482011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8151 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8152 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8153 Change the expected string.
8154
efa80663
PA
81552011-07-26 Pedro Alves <pedro@codesourcery.com>
8156
8157 * gdb.base/watchpoint.exp
8158 (test_disable_enable_software_watchpoint): New procedure.
8159 (top level): Run it.
8160
db8e4570
UW
81612011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8162
8163 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8164 executable file "${binfile}", C++ version "${binfile}-cxx".
8165 * gdb.python/py-prettyprint.exp: Likewise.
8166 * gdb.python/py-symbol.exp: Likewise.
8167 * gdb.python/py-type.exp: Likewise.
8168 * gdb.python/py-value.exp: Likewise.
8169 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8170 file name instead of just suffix.
8171
543305c9
JK
81722011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8173
8174 Fix implicit pointer offsets.
8175 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8176 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8177 (continue to breakpoint: continue to baz breakpoint for implptr)
8178 (sanity check element 0, sanity check element 1)
8179 (enter the inlined function, check element 0 for the offset)
8180 (check element 1 for the offset)
8181 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8182 (set foo breakpoint for implptr): Update the breakpoint number.
8183
b3215adc
UW
81842011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8185
8186 * gdb.python/py-mi.exp: Use different file names for different
8187 versions of the executable under test.
8188 * gdb.python/py-prettyprint.exp: Likewise.
8189 * gdb.python/py-symbol.exp: Likewise.
8190 * gdb.python/py-template.exp: Likewise.
8191 * gdb.python/py-type.exp: Likewise.
8192 * gdb.python/py-value.exp: Likewise.
8193
182b9acc
UW
81942011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8195
8196 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8197 flag after restarting GDB if necessary.
8198
e6052b5d
UW
81992011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8200
8201 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8202
1ced966e
PA
82032011-07-22 Pedro Alves <pedro@codesourcery.com>
8204
8205 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8206 backend doesn't leave used debug registers behind.
8207
3543a589
TT
82082011-07-22 Tom Tromey <tromey@redhat.com>
8209
8210 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8211 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8212 argument.
8213 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8214
14d15303 82152011-07-21 Matt Rice <ratmice@gmail.com>
8216
8217 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8218 in mostlyclean rule. Add files ending in .core.
8219
9b158ba0 82202011-07-21 Matt Rice <ratmice@gmail.com>
8221
8222 PR macros/12999
8223 * gdb.base/info-macros.c: New test sources.
8224 * gdb.base/info-macros.exp: New tests.
8225
d17b6f81
PM
82262011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8227
8228 * gdb.python/python.exp: Add prompt substitution tests.
8229
918dd910
JK
82302011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8231
8232 Fix crash if referenced CU is aged out.
8233 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8234 New.
8235 * gdb.dwarf2/implptr.exp: Likewise.
8236
0e37a63c
JK
82372011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 * gdb.dwarf2/implptr.S: Rebuilt.
8240 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8241 (bar): Use them for j, k, l.
8242 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8243 COMPILE.
8244 (print j in implptr:bar): Update for the intp typedef.
8245 (print p[0].x in implptr:foo): Use more exact regex.
8246
f65cf84c
TT
82472011-07-18 Tom Tromey <tromey@redhat.com>
8248
8249 * gdb.cp/static-method.exp: Add missing single quote.
8250
d5b4a7be
YQ
82512011-07-18 Yao Qi <yao@codesourcery.com>
8252
8253 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8254 supported.
8255 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8256 * gdb.mi/mi-nonstop.exp: Likewise.
8257 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8258 * gdb.mi/mi-nsintrall.exp: Likewise.
8259 * gdb.mi/mi-nsmoribund.exp: Likewise.
8260 * gdb.mi/mi-nsthrexec.exp: Likewise.
8261 * gdb.python/py-evthreads.exp: Likewise.
8262
e9ea2662
JK
82632011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8264
8265 Code cleanup.
8266 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8267 it. Substitute it instead of test_compiler_info everywhere.
8268
ce451573
UW
82692011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8270
8271 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8272 remote targets as well.
8273
756d88a7
UW
82742011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8275
8276 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8277 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8278
31f83dc5
UW
82792011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8280
8281 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8282 a remote machine, not the host.
8283 (gdb_compile_shlib): Set soname if target is remote.
8284
059241a0
PP
82852011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8286
8287 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8288
28a0b48c 82892011-07-13 Matt Rice <ratmice@gmail.com>
8290
8291 * gdb.python/py-objfile-script-gdb.py: Renamed to
8292 py-objfile-script-gdb.py.in.
8293 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8294 py-objfile-script-gdb.py.
8295 * gdb.python/py-objfile-script.exp: Update reference to
8296 py-objfile-script-gdb.py.
8297
9a771b67
JK
82982011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8299
8300 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8301 reference undefined label.
8302
04ad99e6
JK
83032011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8304
8305 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8306 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8307 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8308 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8309
713389e0
PM
83102011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8311
6fdff2c5 8312 PR python/12438
713389e0 8313 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 8314 deprecated tests. Add set/show python print-backtrace tests.
713389e0 8315
97d146f8
JK
83162011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8317
8318 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8319 debug info.
8320
facde0e5 83212011-07-06 Matt Rice <ratmice@gmail.com>
8322
8323 * gdb.python/python.exp: Update filename paths.
8324 * gdb.python/py-symtab.exp: Ditto.
8325
438640d1
MP
83262011-07-06 Marek Polacek <mpolacek@redhat.com>
8327
8328 * gdb.python/py-evthreads.exp: Add missing `$'.
8329
33a365df
MF
83302011-07-06 Jie Zhang <jie.zhang@analog.com>
8331
8332 * config/bfin.exp: New file.
8333 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8334 * gdb.asm/bfin.inc: New file.
8335
8f7ae686
MP
83362011-07-06 Marek Polacek <mpolacek@redhat.com>
8337
df46027d 8338 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
8339 the whole output.
8340
eb2a6f42
TT
83412011-07-05 Tom Tromey <tromey@redhat.com>
8342
8343 * gdb.java/jprint.java (jprint.hi): New field.
8344 * gdb.java/jprint.exp: Print string.
8345
177b42fe
TJB
83462011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8347
8348 * gdb.base/call-sc.c: Fix typos.
8349 * gdb.base/ifelse.exp: Likewise.
8350 * gdb.base/structs.c: Likewise.
8351
3b2a0cf2
JB
83522011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8353
8354 * gdb.base/jit-so.exp: New test.
8355 * gdb.base/jit-dlmain.c: New file.
8356 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8357
46fc714c
JK
83582011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8359
8360 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
8361 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8362 * gdb.cp/pr9167.exp (p b): Likewise.
8363 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8364 (test value of P in inner_m, test type of Z in inner_m): Call
8365 setup_xfail for gcc <= 4.5.
46fc714c 8366
418c7cf7
JK
83672011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8368
8369 * gdb.cp/paren-type.cc: New files.
8370 * gdb.cp/paren-type.exp: New files.
8371
3d50dd94
JK
83722011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8373
8374 Stop on first linespec terminator instead of eating what we can.
8375 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8376 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8377 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8378 (break C::f()): ... this one.
8379 (break C::operator()()): New test.
8380 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8381 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8382 test.
8383
dcf9f4ab
JK
83842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8385
8386 Fall back linespec to minimal symbols.
8387 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8388 error message.
8389 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8390 * gdb.cp/minsym-fallback-main.cc: New file.
8391 * gdb.cp/minsym-fallback.cc: New file.
8392 * gdb.cp/minsym-fallback.exp: New file.
8393 * gdb.cp/minsym-fallback.h: New file.
8394
3f542ed1
JK
83952011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8396
8397 * gdb.cp/no-dmgl-verbose.cc: New file.
8398 * gdb.cp/no-dmgl-verbose.exp: New file.
8399
84002011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
8401
8402 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8403 __GI_.
8404 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8405 (f): New function.
8406 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8407 (complete p 'func<short>(): ... here.
8408 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8409 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8410 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8411 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8412 Make them KFAIL gcc/49546.
8413
00eb2c4a
JB
84142011-07-01 Joel Brobecker <brobecker@adacore.com>
8415
8416 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8417
85a20c42
JK
84182011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 Test GCC PR debug/49546.
8421 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8422 (test type of F in k3_m, test value of F in k3_m): New.
8423 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8424 (main): New variable k3. Call k3.k3_m.
8425
d2d43431
JB
84262011-07-01 Jean-Charles Delay <delay@adacore.com>
8427
8428 * gdb.ada/packed_array.exp: Fix expected outout.
8429
54ae186f
JB
84302011-07-01 Jean-Charles Delay <delay@adacore.com>
8431
8432 * gdb.ada/packed_array.exp: fixed expected output.
8433
8f17729f
JB
84342011-07-01 Joel Brobecker <brobecker@adacore.com>
8435
8436 * gdb.ada/same_enum: New testcase.
8437
f5aa6869
JB
84382011-07-01 Joel Brobecker <brobecker@adacore.com>
8439
8440 * gdb.ada/ptr_typedef: New testcase.
8441
828292f2
JB
84422011-07-01 Joel Brobecker <brobecker@adacore.com>
8443
8444 * gdb.ada/arrayptr.exp: Add ptype test.
8445
18920c42
JB
84462011-07-01 Joel Brobecker <brobecker@adacore.com>
8447
8448 * gdb.ada/char_enum: New testcase.
8449
3536d9e3 84502011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
8451
8452 * gdb.base/dump.exp (capture_pointer_with_type): New.
8453 Get value from address instead of name.
8454 Start GDB once, and do `dump' and `restore'
8455 tests together.
8456
db863c42
MF
84572011-06-30 Jie Zhang <jie.zhang@analog.com>
8458 Mike Frysinger <vapier@gentoo.org>
8459
8460 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8461 helper functions for getting/setting remotetimeout variable.
8462 * lib/gdb.exp (gdb_load): If the target is remote, set
8463 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8464 with $loadtimeout. Set $load_ok to 0 before doing the load.
8465 Instead of returning, immediately, set $load_ok to 0. Call
8466 set_remotetimeout with $oldremotetimeout, and then return if
8467 $load_ok is 1.
8468
e9e642a8
AB
84692011-06-30 Andrew Burgess <aburgess@broadcom.com>
8470
8471 * gdb.python/py-template.exp: Don't run this test if the target
8472 does not support c++ tests.
8473
32019081
JK
84742011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8475
8476 Fix non-only rename list for Fortran modules import.
8477 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8478 tests.
8479 * gdb.fortran/module.f90 (module moduse): New.
8480 (program module): use moduse, test var_x, var_y and var_z.
8481
0ecee54c
TT
84822011-06-29 Tom Tromey <tromey@redhat.com>
8483
8484 PR testsuite/12040:
8485 * gdb.fortran/array-element.exp: Use f90, not f77.
8486 * gdb.fortran/complex.exp: Use f90, not f77.
8487 * gdb.fortran/derived-type.exp: Use f90, not f77.
8488 * gdb.fortran/library-module.exp: Use f90, not f77.
8489 * gdb.fortran/logical.exp: Use f90, not f77.
8490 * gdb.fortran/module.exp: Use f90, not f77.
8491 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8492 * gdb.fortran/subarray.exp: Use f90, not f77.
8493
3b2b8fea
TT
84942011-06-29 Tom Tromey <tromey@redhat.com>
8495
8496 * gdb.fortran/charset.exp: New file.
8497 * gdb.fortran/charset.f90: New file.
8498
42159ca5
TT
84992011-06-29 Tom Tromey <tromey@redhat.com>
8500
8501 PR testsuite/12040:
8502 * lib/future.exp: New file, mostly extracted from ada.exp.
8503 Rewrote compatibility code to use rename.
8504 (gdb_find_gfortran): New proc.
8505 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8506 gfortran patch.
8507 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8508 Move to future.exp.
8509 * lib/gdb.exp: Always load future.exp.
8510
af69a5ce
YQ
85112011-06-28 Yao Qi <yao@codesourcery.com>
8512
8513 * gdb.cp/exception.cc: Don't include iostream.
8514 (bar): Remove print statement.
8515 (catcher): New.
8516 (main): Remove print statements. Call function catcher.
8517 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8518 Set breakpoint on catcher, and check the value of parameter.
8519
ab5c6a72
YQ
85202011-06-23 Yao Qi <yao@codesourcery.com>
8521
6fdff2c5
PA
8522 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8523 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 8524
9497469f
MP
85252011-06-23 Marek Polacek <mpolacek@redhat.com>
8526
8527 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8528 mi_gdb_test.
8529
b9132588
MP
85302011-06-23 Marek Polacek <mpolacek@redhat.com>
8531
5d197ed0 8532 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 8533
e55595ca
MP
85342011-06-23 Marek Polacek <mpolacek@redhat.com>
8535
5d197ed0
MP
8536 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8537
85382011-06-23 Marek Polacek <mpolacek@redhat.com>
8539
8540 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8541 `test_exec_and_symbol_mi_operatons' return value.
8542 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8543 gdb_test_multiple.
8544 (test_exec_and_symbol_mi_operatons): Likewise.
8545 (test_path_specification): Likewise.
e55595ca 8546
be777e08
YQ
85472011-06-23 Yao Qi <yao@codesourcery.com>
8548
8549 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8550 supported.
8551 * lib/gdb.exp (support_displaced_stepping): New.
8552
615556d6
YQ
85532011-06-23 Yao Qi <yao@codesourcery.com>
8554
8555 * gdb.threads/execl.exp: Skip on remote target.
8556
833b0ca7
MP
85572011-06-21 Marek Polacek <mpolacek@redhat.com>
8558
5d197ed0 8559 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
8560 mi_gdb_test.
8561
1ee4023a
MP
85622011-06-20 Marek Polacek <mpolacek@redhat.com>
8563
5d197ed0 8564 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 8565
d0b1d624
MP
85662011-06-20 Marek Polacek <mpolacek@redhat.com>
8567
5d197ed0 8568 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
8569 mi_gdb_test.
8570
79aa92c1
MP
85712011-06-20 Marek Polacek <mpolacek@redhat.com>
8572
5d197ed0 8573 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 8574
5ce5db06
YQ
85752011-06-14 Yao Qi <yao@codesourcery.com>
8576
8577 gdb/testsuite/
8578 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8579
533a737e
JK
85802011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8581
8582 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8583
d0e53741
TT
85842011-06-10 Tom Tromey <tromey@redhat.com>
8585
8586 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8587 Add tests for pointer-to-member-function.
8588 * gdb.cp/temargs.cc (S::somefunc): New function.
8589 (K2): New class.
8590 (main): Instantiate K2; call method.
8591
b5916bbd
JB
85922011-06-08 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.python/py-inferior.c (f2): Make str an array rather
8595 than a pointer.
8596 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8597
5be4dfca
JK
85982011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8599
8600 * gdb.base/async-shell.c: New file.
8601 * gdb.base/async-shell.exp: New file.
8602
9f47e254
PA
86032011-06-06 Pedro Alves <pedro@codesourcery.com>
8604
8605 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8606
64b9b334
JB
86072011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8608
8609 From Stephen Kitt <steve@sk2.org>
8610 * gdb.base/help.exp: Adjust following some spelling corrections
8611 in GDB.
8612
dbc0f131
YQ
86132011-06-01 Yao Qi <yao@codesourcery.com>
8614
8615 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8616
fd336a18
KS
86172010-05-31 Keith Seitz <keiths@redhat.com>
8618
8619 PR c++/12750
8620 * gdb.cp/static-method.cc: New file.
8621 * gdb.cp/static-method.exp: New file.
8622
fa8b9902
KS
86232010-05-31 Keith Seitz <keiths@redhat.com>
8624
8625 PR symtab/12704
8626 * gdb.cp/anon-ns.cc: New file.
8627 * gdb.cp/anon-ns.exp: New file.
8628
0a5b1e09
PA
86292011-05-31 Pedro Alves <pedro@codesourcery.com>
8630
8631 * gdb.arch/i386-dr3-watch.c: New file.
8632 * gdb.arch/i386-dr3-watch.exp: New file.
8633
0578b8d1
YQ
86342011-05-30 Yao Qi <yao@codesourcery.com>
8635
8636 * gdb.base/callfuncs.c (t_structs_fc): New.
8637 (t_structs_dc, t_structs_ldc): New.
8638 (t_double_many_args):
8639 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8640 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8641 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8642 * gdb.base/callfuncs.exp: Call new functions.
8643
6680506e
YQ
86442011-05-30 Yao Qi <yao@codesourcery.com>
8645
ff4d2c60
YQ
8646 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8647 Call rerun_and_prepare for each test to isolate effects.
8648
86492011-05-30 Yao Qi <yao@codesourcery.com>
8650
8651 * gdb.base/varargs.c (find_max_float_real): New.
8652 (find_max_double_real, find_max_long_double_real): New.
8653 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
8654 * lib/gdb.exp (setup_kfail_for_target): New.
8655
e43ec454
YQ
86562011-05-30 Yao Qi <yao@codesourcery.com>
8657
8658 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8659 (callcd, callce, callcf, callc1a, callc1b): New.
8660 (callc2a, callc2b): New.
8661 * gdb.base/funcargs.exp (complex_args): New.
8662 (complex_integral_args, complex_float_integral_args): New.
8663 * lib/gdb.exp (support_complex_tests): New. Determine
8664 whether to run test cases on _Complex types.
8665
432b4d03
JK
86662011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8667
8668 * gdb.threads/leader-exit.c: New file.
8669 * gdb.threads/leader-exit.exp: New file.
8670
6caf069d
MP
86712011-05-27 Marek Polacek <mpolacek@redhat.com>
8672
9497469f 8673 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 8674
97fce28b
MP
86752011-05-27 Marek Polacek <mpolacek@redhat.com>
8676
8677 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8678 remove the `supported' variable.
8679 * gdb.mi/mi-nonstop.exp: Likewise.
8680 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8681 * gdb.mi/mi-nsintrall.exp: Likewise.
8682 * gdb.mi/mi-nsmoribund.exp: Likewise.
8683 * gdb.mi/mi-nsthrexec.exp: Likewise.
8684
9da8c2a0
PA
86852011-05-26 Pedro Alves <pedro@codesourcery.com>
8686
8687 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8688
2c03e5be
PA
86892011-05-26 Pedro Alves <pedro@codesourcery.com>
8690
8691 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8692
2e21250d
KS
86932011-05-24 Keith Seitz <keiths@redhat.com>
8694
8695 PR breakpoint/12803
8696 * gdb.cp/cmpd-minsyms.cc (a): New method.
8697 (b): New method.
8698 (c): New method.
8699 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8700
cdac0397
PA
87012011-05-24 Pedro Alves <pedro@codesourcery.com>
8702
8703 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8704 watchpoint's command list didn't execute when the watchpoint went
8705 out of scope.
8706
ee5683ab
PM
87072011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8708
8709 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8710 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8711 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8712 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8713 * gdb.arch/i386-permbkpt.exp: Likewise.
8714 * gdb.arch/i386-prologue.exp: Likewise.
8715 * gdb.arch/i386-size-overlap.exp: Likewise.
8716 * gdb.arch/i386-size.exp: Likewise.
8717 * gdb.arch/i386-unwind.exp: Likewise.
8718 * gdb.reverse/i386-precsave.exp: Likewise.
8719 * gdb.reverse/i386-reverse.exp: Likewise.
8720 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8721 * gdb.reverse/i387-env-reverse.exp: Likewise.
8722 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8723
c91c8c16
PA
87242011-05-24 Pedro Alves <pedro@codesourcery.com>
8725
8726 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8727 file doesn't error, using MI.
8728
c50491a7
TT
87292011-05-23 Tom Tromey <tromey@redhat.com>
8730
8731 * gdb.base/charset.exp (string_display): Add tests to assign to
8732 arrays.
8733 * gdb.base/charset.c (short_array, int_array, long_array): New.
8734
4a07b7da
PA
87352011-05-20 Pedro Alves <pedro@codesourcery.com>
8736
8737 Cope with async mode.
8738
4a07b7da
PA
8739 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8740 into gdb_test + mi_expect_stop.
8741
b275f2d2
PA
87422011-05-20 Pedro Alves <pedro@codesourcery.com>
8743
8744 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8745 (callme): Remove printf call.
8746
eec52c44
PM
87472011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8748
8749 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8750 quote pattern to avoid problems with Cygwin/mingw expect versions.
8751 * gdb.base/default.exp (show convenience): Use double
8752 quote pattern for regular expressions.
8753
b3c8eb43
JK
87542011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8755
8756 Fix -readnow for -gdwarf-4 unused type units.
8757 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8758 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8759
ed731959
JK
87602011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8761
8762 * gdb.base/kill-after-signal.c: New file.
8763 * gdb.base/kill-after-signal.exp: New file.
8764
3b48433d
PA
87652011-05-16 Pedro Alves <pedro@codesourcery.com>
8766
8767 * gdb.ada/start.exp: Call untested with the correct test filename.
8768 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8769 test filename. Make the test's binary unique.
8770 * gdb.arch/i386-signal.exp: Call untested with the correct test
8771 filename.
8772 * gdb.arch/i386-size-overlap.exp: Ditto.
8773 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8774 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8775 * gdb.cp/call-c.exp: Ditto.
8776 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8777 filename. Make the test's binary unique.
8778 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8779 * gdb.python/py-mi.exp: Ditto.
8780 * gdb.python/Makefile.in (EXECUTABLES): Update.
8781 * gdb.reverse/i386-precsave.exp: Ditto.
8782 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8783 test filename.
8784 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8785 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8786 unique.
8787 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8788 test filename.
8789 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8790 * gdb.trace/tfile.exp: Ditto.
8791
ba4a8bdd
YQ
87922011-05-14 Yao Qi <yao@codesourcery.com>
8793
8794 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8795 type.
8796
dbaefcf7
DE
87972011-05-13 Doug Evans <dje@google.com>
8798
8799 * gdb.python/py-objfile-script.exp: New file.
8800 * gdb.python/py-objfile-script.c: New file.
8801 * gdb.python/py-objfile-script-gdb.py: New file.
8802 * testsuite/gdb.python/py-section-script.exp: Test
8803 "info auto-load-scripts".
8804
9930639c
TT
88052011-05-13 Tom Tromey <tromey@redhat.com>
8806
8807 * gdb.dwarf2/clztest.exp: New file.
8808 * gdb.dwarf2/clztest.c: New file.
8809 * gdb.dwarf2/clztest.S: New file.
8810
05272e11
DE
88112011-05-13 Doug Evans <dje@google.com>
8812
cc63ef9b
DE
8813 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8814 String16 tests.
05272e11 8815
6edba76f
TT
88162011-05-13 Tom Tromey <tromey@redhat.com>
8817
8818 * lib/gdb.exp (is_x86_like_target): New proc.
8819 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8820 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8821 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8822 -nostdlib to compiler.
8823 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8824 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8825 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8826 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8827 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8828
028d0ed5
TJB
88292011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8830
8831 * gdb.python/py-function.exp: Test setting a value from a function
8832 which executes a command.
8833
8a9b8146
TT
88342011-05-12 Tom Tromey <tromey@redhat.com>
8835
8836 * gdb.dwarf2/typeddwarf.S: New file.
8837 * gdb.dwarf2/typeddwarf.c: New file.
8838 * gdb.dwarf2/typeddwarf.exp: New file.
8839
10483e8e
MP
88402011-05-12 Marek Polacek <mpolacek@redhat.com>
8841
8842 * gdb.mi/mi-basics.exp: Fix races. Honour the
8843 `test_exec_and_symbol_mi_operatons' return value.
8844 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8845 gdb_test_multiple.
8846 (test_exec_and_symbol_mi_operatons): Likewise.
8847 (test_path_specification): Likewise.
8848
faf067f1
JK
88492011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8850
8851 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8852 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8853 Replace `file copy' and `file rename' by `file mtime'. Twice.
8854
7ff911a3
JK
88552011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 * gdb.base/readline-ask.c: New file.
8858 * gdb.base/readline-ask.exp: New file.
8859 * gdb.base/readline-ask.inputrc: New file.
8860
a536c6d7
UW
88612011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8862
8863 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8864 to avoid race condition.
8865 * gdb.cell/coremaker.c: Use small stack size.
8866 * gdb.cell/ea-standalone.exp: Use file name without path as
8867 argument to c_to.
8868 * gdb.cell/fork.exp: Allow other output when continuing to end.
8869
d472a426
JK
88702011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8871
8872 * gdb.threads/corethreads.c: New file.
8873 * gdb.threads/corethreads.exp: New file.
8874
88752011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8876
8877 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8878 Try to compile the test using -Wl,-z,norelro first.
8879 (load_core): New variable libthread_db_seen, initialize it.
8880 (zeroed-threads cannot be listed): Protect it by XFAIL on
8881 !$libthread_db_seen.
8882
8be455d7
JK
88832011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8884
8885 PR 12573
8886 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8887 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8888 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8889
1976171a
JK
88902011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8891
8892 * gdb.cp/psymtab-parameter.cc: New file.
8893 * gdb.cp/psymtab-parameter.exp: New file.
8894
7db6f30f
JK
88952011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8896
8897 Fix a race.
8898 * gdb.cp/static-print-quit.exp (print c): Split to ...
8899 (print c - <return>, print c - q <return>, print c - to quit):
8900 ... these. Make the testfile untested on gdb-7.1.
8901
85161e9e 89022011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8903
8904 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8905 gdb_rename_execfile, gdb_touch_execfile): New.
8906 * gdb.base/reread.exp: Use new procs to handle multiple
8907 exec files.
8908
0c51be18
YQ
89092011-05-05 Yao Qi <yao@codesourcery.com>
8910
8911 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8912 (test_adr_32bit, test_pop_pc): New.
8913 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8914 (test_adr_32bit, test_pop_pc): New.
8915
4d393d60
JM
89162011-05-04 Joseph Myers <joseph@codesourcery.com>
8917
8918 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8919 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8920 targets.
8921 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8922 handle targets.
8923
8ffd0459
JK
89242011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8925
8926 * gdb.base/completion.exp (complete help info wat): Rename to ...
8927 (complete 'help info wat'): ... here.
8928 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8929 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8930
8e28d804
PA
89312011-05-04 Pedro Alves <pedro@codesourcery.com>
8932
8933 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8934 gdb_test and explicit $gdb_prompt/timeout matches.
8935
3eb2ef34
YQ
89362011-05-04 Yao Qi <yao@codesourcery.com>
8937
8938 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8939 and __thumb2__.
8940
aaaf81a3
MP
89412011-05-03 Marek Polacek <mpolacek@redhat.com>
8942
8943 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8944 in place of `gdb_test "delete breakpoints"'. This eliminates two
8945 testcases.
8946
c4cbc0df
PA
89472011-05-02 Pedro Alves <pedro@codesourcery.com>
8948
8949 PR testsuite/12649
8950 Fix races.
8951
8952 * gdb.base/completion.exp: Remove all sleep calls. Remove
8953 unnecessary regexs. Don't explicitly expect anything after the
8954 prompt. Eat the prompt if necessary.
8955
b4cbb4a3
EBM
89562011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8957
8958 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8959 accept to show the caller line again as well as the line after.
8960
d65aec65
PM
89612011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8962
8963 PR mi/12531
8964
8965 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8966 compile target.
8967 * gdb.python/py-prettyprint.exp: Add C++ object for
8968 CPLUS_FAKE_CHILD test.
8969
30852783
UW
89702011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8971
8972 * gdb.base/signest.exp: New file.
8973 * gdb.base/signest.c: Likewise.
8974
c7b1f0d9
JK
89752011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8976
8977 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8978 thread and breakpoint notifications.
8979
559a7a62
JK
89802011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8981
8982 * gdb.base/fortran-sym-case.c: New file.
8983 * gdb.base/fortran-sym-case.exp: New file.
8984 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8985 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8986 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8987
8344e389
JK
89882011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8989
8990 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8991 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8992 false #1', `if true else false #2' and `if true else false #3'.
8993
2484c66b
UW
89942011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8995
8996 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8997 while delivering signal.
8998
8d3788bd
VP
89992011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9000
9001 MI breakpoint notifications.
9002
9003 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
9004 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9005 * testsuite/gdb.mi/mi-watch.exp: Adust.
9006 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9007 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9008 notifications.
8d3788bd 9009
3e03848b
JK
90102011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9011
9012 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9013 * gdb.base/gdbindex-stabs.c: New file.
9014 * gdb.base/gdbindex-stabs.exp: New file.
9015
918c9108
YQ
90162011-04-25 Yao Qi <yao@codesourcery.com>
9017
9018 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9019 with /*...*/.
9020 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9021
90556b8c
JK
90222011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9023
9024 * gdb.python/py-value.exp (test_objfiles): Name the first test
9025 `py-value in file.filename'.
9026
03f2bd59
JK
90272011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9028
9029 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9030 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9031 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9032 !gdbserver_reconnect_p..
9033 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9034
7b08b9eb
JK
90352011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9036
9037 * gdb.cp/cpcompletion.exp (complete class methods)
9038 (complete class methods beginning with F): Move them above runto. New
9039 comment about the runto delimiter.
9040
b78974c3
PA
90412011-04-20 Pedro Alves <pedro@codesourcery.com>
9042
9043 * gdb.base/maint.exp: Test that "maint print registers" works
9044 without a running program.
9045
20429c40 90462011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 9047
20429c40
MP
9048 * gdb.base/setshow.exp: Fix racy tests.
9049 ($old_gdb_prompt): New variable.
9050
7a9dd1b2
TT
90512011-04-19 Tom Tromey <tromey@redhat.com>
9052
9053 * gdb.mi/mi-nsmoribund.exp:
9054 * gdb.hp/gdb.objdbg/objdbg01.exp:
9055 * gdb.base/structs.exp (test_struct_returns):
9056 * gdb.base/call-sc.exp (test_scalar_returns):
9057 * gdb.base/bigcore.exp: Remove duplicate words.
9058
02835898
JK
90592011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9060
9061 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9062 * gdb.base/break-interp.exp (test_attach): New comment.
9063
254f582e
JK
90642011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9065
9066 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9067 (clear __stack_user.next, clear stack_used.next)
9068 (save a zeroed-threads corefile): New test.
9069 Call core_load for $core0file.
9070 (zeroed-threads cannot be listed): New test.
9071
4fe85f5c
JK
90722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9073
9074 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9075 filename.
9076 ($srcfile): Preserve the original value.
9077 ($testfile): Match it the .exp filename.
9078 ($corefile): New variable. Substitute it around.
9079 Use clean_restart.
9080 ($prev_timeout): Remove.
9081 (load_core): Move core loading into this proc.
9082 Fix restore of $timeout if load_core fails.
9083
63524580
JK
90842011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9085
9086 * gdb.base/eu-strip-infcall.c: New file.
9087 * gdb.base/eu-strip-infcall.exp: New file.
9088
90359a16
JK
90892011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9090
9091 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9092 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9093
626e7282
JK
90942011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9095
9096 Fix Python access to inlined frames.
9097 * gdb.python/py-frame-inline.c: New file.
9098 * gdb.python/py-frame-inline.exp: New file.
9099
3363d018
EBM
91002011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9101
9102 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9103 content of 's24' correctly (avoiding "optimized out").
9104 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9105
28781456
JK
91062011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9107
9108 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9109
4a4106ca
TJB
91102011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9111
9112 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9113 expect a colon in watch -location output.
9114
d26ccb4f
JK
91152011-04-13 Marek Polacek <mpolacek@redhat.com>
9116
df46027d 9117 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
9118 New testcase `expect response to define backtrace'. Also remove
9119 redundant `default' block.
9120
e1ab1f9c
JK
91212011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9122
9123 * gdb.python/py-prettyprint.c (struct hint_error): New.
9124 (main): New variable hint_error.
9125 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9126 "print hint_error".
9127 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9128 (register_pretty_printers): Register it.
9129
0c2e6019
TT
91302011-04-04 Tom Tromey <tromey@redhat.com>
9131
9132 * gdb.cp/maint.exp (test_help): Update.
9133 (test_namespace): Likewise.
9134
af57139d
JB
91352011-04-01 Joel Brobecker <brobecker@adacore.com>
9136
9137 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9138 * gdb.ada/arrayptr.exp: Add new tests.
9139
956a9fb9
JB
91402011-04-01 Joel Brobecker <brobecker@adacore.com>
9141
9142 * gdb.ada/mi_catch_ex: New testcase.
9143
d0c4d642
PA
91442011-04-01 Pedro Alves <pedro@codesourcery.com>
9145
9146 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9147 base::overload(void) method without specifying "const".
9148
18819fa6
UW
91492011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9150
9151 * gdb.arch/thumb-singlestep.S: New file.
9152 * gdb.arch/thumb-singlestep.exp: Likewise.
9153
a4c8e806
TT
91542011-03-31 Tom Tromey <tromey@redhat.com>
9155
9156 * gdb.python/py-prettyprint.py (exception_flag): New global.
9157 (NoStringContainerPrinter._iterator.next): Check it.
9158 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9159 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9160
53832f31
TT
91612011-03-29 Tom Tromey <tromey@redhat.com>
9162
9163 * gdb.cp/anon-struct.cc: New file.
9164 * gdb.cp/anon-struct.exp: New file.
9165
e4620230
JK
91662011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9167
9168 Test STT_GNU_IFUNC support.
9169 * gdb.base/gnu-ifunc-lib.c: New file.
9170 * gdb.base/gnu-ifunc.c: New file.
9171 * gdb.base/gnu-ifunc.exp: New file.
9172
d0fb5eae
JK
91732011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9174
9175 Support a ring of related breakpoints.
9176 * gdb.base/watchpoint-delete.c: New file.
9177 * gdb.base/watchpoint-delete.exp: New file.
9178
20106cfb
JK
91792011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9180
9181 * gdb.ada/arrayparam.exp (print first after function call): Use
9182 explicit package name. Add a comment
9183 (print lasta after function call): Rename ...
9184 (print last after function call): ... it and use explicit package
9185 name.
9186 (print length after function call): Use explicit package name.
9187 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9188 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9189 (multiple matches for symbol i): Rename ...
9190 (multiple matches for symbol integervar): ... it.
9191 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9192 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9193
e7ab5e63
AB
91942011-03-25 Andrew Burgess <aburgess@broadcom.com>
9195
9196 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9197 environment variable to make grep output more predictable. Move
9198 all the environment setup into gdb_init so it's done once per test
9199 case rather than each time we start gdb.
9200
9ef07c8c
TT
92012011-03-24 Tom Tromey <tromey@redhat.com>
9202
9203 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9204 test.
9205
dd90784c
JK
92062011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9207
9208 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9209 * gdb.dwarf2/dw2-entry-value.S: New file.
9210 * gdb.dwarf2/dw2-entry-value.exp: New file.
9211
05775840
PM
92122011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9213
6fdff2c5 9214 PR python/12183
05775840
PM
9215
9216 * gdb.python/py-function.exp: Add GdbError tests.
9217
8661b11b
PA
92182011-03-18 Pedro Alves <pedro@codesourcery.com>
9219
9220 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9221 (reglocal_test_func, statlocal_test_func): New functions.
9222 (globals_test_func): Call new functions.
9223 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9224 (gdb_collect_locals_test): New procedure.
9225 (gdb_trace_collection_test): Call new procedures.
9226
0fdb4f18
PA
92272011-03-18 Pedro Alves <pedro@codesourcery.com>
9228
9229 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9230 (test_register, test_register_unavailable): New procedures.
9231 (gdb_unavailable_registers_test): New procedure.
9232 (gdb_trace_collection_test): Call it.
9233
99c3dc11
PM
92342011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9235
6fdff2c5 9236 PR python/12149
99c3dc11
PM
9237
9238 * gdb.python/python.exp: Add gdb.write tests.
9239
29703da4
PM
92402010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9241
9242 * gdb.python/Makefile.in: Add py-objfile.
9243 * gdb.python/py-objfile.exp: New file.
9244 * gdb.python/py-objfile.c: New file.
9245 * gdb.python/py-block.exp: Add is_valid tests.
9246 * gdb.python/py-inferior.exp: Ditto.
9247 * gdb.python/py-infthread.exp: Ditto.
9248 * gdb.python/py-symbol.exp: Ditto.
9249 * gdb.python/py-symtab.exp: Ditto.
9250
598997c8
KS
92512011-03-16 Keith Seitz <keiths@redhat.com>
9252
9253 PR c++/12273
9254 * gdb.cp/cmpd-minsyms.exp: New test.
9255 * gdb.cp/cmpd-minsyms.cc: New file.
9256
9257 PR c++/11734
9258 * gdb.cp/ovsrch.exp: New test.
9259 * gdb.cp/ovsrch.h: New file.
9260 * gdb.cp/ovsrch1.cc: New file.
9261 * gdb.cp/ovsrch2.cc: New file.
9262 * gdb.cp/ovsrch3.cc: New file.
9263 * gdb.cp/ovsrch4.cc: New file.
9264
c91513d8
PP
92652011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9266
9267 PR gdb/12528
9268 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9269 * gdb.base/break-on-linker-gcd-function.exp: New test.
9270 * gdb.base/break-on-linker-gcd-function.cc: New file.
9271
7470fc63
AT
92722011-03-15 Andreas Tobler <andreast@fgznet.ch>
9273
9274 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9275
959e7469
PM
92762011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9277
9278 * lib/gdb.exp (gdb_unload): Add another termination case.
9279
9373cf26
JK
92802011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9281
9282 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9283 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9284 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9285 Provide a stub byte there.
9286 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9287 DW_AT_entry_pc.
9288 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9289
24e9cda0
UW
92902011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9291
9292 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9293 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9294 "generic ABI, auto".
9295 (altivec_abi_tests): Accept vectors returned by reference.
9296
7371cf6d
PM
92972010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9298
9299 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9300
ce77046a
UW
93012011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9302
9303 * gdb.python/py-section-script.exp: Skip test if no Python support.
9304
176400c3
UW
93052011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9306
9307 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9308
ecec24e6
PM
93092011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9310
9311 * gdb.python/py-parameter.exp: Update tests to the new Python
9312 parameter API. Add "no documentation" test. Add deprecated API
9313 backward compatibility test.
9314
5dbdd470
TT
93152011-03-09 Tom Tromey <tromey@redhat.com>
9316
9317 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9318 gdb_continue_to_end.
9319
b66e66ee
MK
93202011-03-09 Mark Kettenis <kettenis@gnu.org>
9321
9322 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9323 tabs.
9324
eceb0c5f
TT
93252011-03-09 Tom Tromey <tromey@redhat.com>
9326
9327 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9328 parentheses.
9329 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9330 $command.
9331 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9332 argument to gdb_continue_to_end.
9333 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9334 argument to gdb_continue_to_end.
9335 * gdb.cp/annota3.exp: Fix regex.
9336 * gdb.cp/annota2.exp: Fix regex.
9337 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9338 gdb_continue_to_end.
9339 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9340 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9341 gdb_continue_to_end.
9342
63154eca
PA
93432011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 * gdb.server/ext-run.exp
9346 (load new file without any gdbserver inferior): New test.
9347
967d1f9b
TT
93482011-03-07 Tom Tromey <tromey@redhat.com>
9349
9350 * Makefile.in (TAGS): Rewrite.
9351
d68dcbb9
JK
93522011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9353
9354 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9355 initial commands echo. New match for `Found trace'. Anchor all the
9356 other matches. Anchor and match for `No trace frame found' the final
9357 match.
9358
6bf58e63
TT
93592011-03-07 Tom Tromey <tromey@redhat.com>
9360
9361 * Makefile.in (TAGS): New target.
9362
fda326dd
TT
93632011-03-07 Tom Tromey <tromey@redhat.com>
9364
9365 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9366 change.
9367 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9368 change.
9369 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9370 exit message change.
9371 (skip_altivec_tests): Update for exit message change.
9372 (skip_vsx_tests): Likewise.
9373 (gdb_continue_to_end): Likewise. Add 'command' argument.
9374 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9375 * gdb.threads/tls.exp: Update for exit message change.
9376 * gdb.threads/thread-unwindonsignal.exp: Use
9377 gdb_continue_to_end.
9378 * gdb.threads/step.exp (step_it): Update for exit message change.
9379 (continue_all): Likewise.
9380 * gdb.threads/print-threads.exp (test_all_threads): Update for
9381 exit message change.
9382 * gdb.threads/interrupted-hand-call.exp: Use
9383 gdb_continue_to_end.
9384 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9385 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9386 gdb_continue_to_end.
9387 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9388 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9389 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9390 * gdb.cp/method.exp: Update for exit message change.
9391 * gdb.cp/mb-templates.exp: Update for exit message change.
9392 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9393 * gdb.cp/annota3.exp: Update for exit message change.
9394 * gdb.cp/annota2.exp: Update for exit message change.
9395 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9396 * gdb.base/term.exp: Update for exit message change.
9397 * gdb.base/step-test.exp (test_i): Update for exit message change.
9398 * gdb.base/sigstep.exp (advance): Update for exit message change.
9399 (advancei): Likewise.
9400 * gdb.base/siginfo.exp: Update for exit message change.
9401 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9402 * gdb.base/reread.exp: Use gdb_continue_to_end.
9403 * gdb.base/langs.exp: Use gdb_continue_to_end.
9404 * gdb.base/interrupt.exp: Update for exit message change.
9405 * gdb.base/gdb1555.exp: Update for exit message change.
9406 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9407 * gdb.base/ending-run.exp: Update for exit message change.
9408 * gdb.base/chng-syms.exp: Update for exit message change.
9409 * gdb.base/checkpoint.exp: Update for exit message change.
9410 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9411 gdb_continue_to_end.
9412 (test_catch_syscall_with_wrong_args): Likewise.
9413 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9414 * gdb.base/break-interp.exp (test_ld): Update for exit message
9415 change.
9416 * gdb.base/bang.exp: Update for exit message change.
9417 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9418 (do_call_attach_tests): Likewise.
9419 * gdb.base/a2-run.exp: Update for exit message change.
9420 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9421 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9422 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9423
dd19bd70
JK
94242011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9425
9426 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9427
30e62689
TT
94282011-03-03 Tom Tromey <tromey@redhat.com>
9429
9430 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9431 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9432 * gdb.hp/gdb.aCC/configure.ac: Remove.
9433 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9434 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9435 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9436 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9437 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9438 * gdb.hp/gdb.compat/configure.ac: Remove.
9439 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9440 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9441 * gdb.hp/gdb.defects/configure.ac: Remove.
9442 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9443 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9444 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9445 * gdb.hp/configure.ac: Remove.
9446 * gdb.hp/configure: Remove.
9447 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9448 substitution.
9449 (Makefile): Remove rule.
9450 * gdb.cell/configure.ac: Remove.
9451 * gdb.cell/configure: Remove.
9452 * gdb.stabs/Makefile.in (Makefile): Remove.
9453 (distclean): Don't remove config.status or config.log.
9454 * gdb.stabs/configure (Makefile): Remove.
9455 * gdb.stabs/configure.ac: Remove.
9456 * configure: Rebuild.
9457 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9458 Remove stabs- and cell-specific logic. Test for existence of
9459 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9460 subdirectories, gdb.cell, and and gdb.stabs.
9461 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9462
c171f854
JB
94632011-03-03 Joel Brobecker <brobecker@adacore.com>
9464
9465 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9466 end of buffer.
9467
9a5193cb
JB
94682011-03-02 Joel Brobecker <brobecker@adacore.com>
9469
9470 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9471 gdb_test when running a test where we expected no output back.
9472
9bb4c1bb
MS
94732011-02-28 Michael Snyder <msnyder@vmware.com>
9474
9475 * gdb.cp/overload.cc: Change initializer value to integer.
9476
3bd0f5ef
MS
94772011-02-27 Michael Snyder <msnyder@vmware.com>
9478
9479 * gdb.multi/base.exp: Add test for remove-inferiors.
9480
2279eaad
JB
94812011-02-26 Joel Brobecker <brobecker@adacore.com>
9482
9483 * gdb.python/py-frame.exp: Simplify the initialization phase
9484 using prepare_for_testing.
9485
c82c0b55
MS
94862011-02-25 Michael Snyder <msnyder@vmware.com>
9487
9488 * gdb.multi/base.exp: Add tests for info inferiors with args.
9489
1d94651b
JK
94902011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9491
9492 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9493 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9494 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9495 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9496 asmfile3. Comment the STABS (#3) file compilation. Compile
9497 everything through assembler. Provide KFAIL for symtab/12497.
9498 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9499 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9500 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9501 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9502
3bd0f5ef
MS
95032011-02-24 Michael Snyder <msnyder@vmware.com>
9504
9505 * gdb.base/break.exp: Add tests for delete breakpoints using
9506 convenience variables and value history references.
9507
12c1418e
MS
95082011-02-24 Michael Snyder <msnyder@vmware.com>
9509
9510 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9511 left behind in previous check-in.
9512
e5a67952
MS
95132011-02-23 Michael Snyder <msnyder@vmware.com>
9514
9515 * gdb.base/break.exp: Add tests for "info break" with arguments.
9516 * gdb.trace/infotrace.exp: Update patterns for error and help.
9517 * gdb.base/completion.exp: Update pattern.
9518 * gdb.base/ena-dis-br.exp: Update pattern.
9519 * gdb.base/help.exp: Update patterns.
9520
95212011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
9522
9523 * gdb.base/memattr.exp: New test.
9524 * gdb.base/memattr.c: Test load for memattr.exp.
9525
6e6fbe60
DE
95262011-02-22 Doug Evans <dje@google.com>
9527
9528 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9529
1d41d745
MS
95302011-02-22 Michael Snyder <msnyder@vmware.com>
9531
9532 * Makefile.in: Make more clean.
9533 * gdb.ada/Makefile.in: Ditto.
9534 * gdb.arch/Makefile.in: Ditto.
9535 * gdb.asm/Makefile.in: Ditto.
9536 * gdb.base/Makefile.in: Ditto.
9537 * gdb.cp/Makefile.in: Ditto.
9538 * gdb.dwarf2/Makefile.in: Ditto.
9539 * gdb.java/Makefile.in: Ditto.
9540 * gdb.mi/Makefile.in: Ditto.
9541 * gdb.modula2/Makefile.in: Ditto.
9542 * gdb.python/Makefile.in: Ditto.
9543 * gdb.server/Makefile.in: Ditto.
9544 * gdb.stabs/Makefile.in: Ditto.
9545 * gdb.threads/Makefile.in: Ditto.
9546 * gdb.trace/Makefile.in: Ditto.
9547
79ba84ca
MS
95482011-02-22 Michael Snyder <msnyder@vmware.com>
9549
df46027d 9550 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
9551 info threads.
9552
b9b35694
JB
95532011-02-22 Joel Brobecker <brobecker@adacore.com>
9554
9555 * gdb.python/py-breakpoint.exp: Fix the expected output of
9556 one of the "maint info breakpoints" tests to accept the output
9557 generated on platforms that do not have hardware watchpoints.
9558
8bfb830f
JB
95592011-02-22 Joel Brobecker <brobecker@adacore.com>
9560
9561 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9562 clean_restart. Be a little stricter in the expected output
9563 for one of the tests. Fix a typo in one of the comments.
9564
c45f3c54
JB
95652011-02-22 Joel Brobecker <brobecker@adacore.com>
9566
9567 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9568 Delete variable binfile, no longer use. Add or modify test
9569 comments to make them unique.
9570
b97c863c
MS
95712011-02-21 Michael Snyder <msnyder@vmware.com>
9572
9573 * Makefile.in: Update for make clean.
9574 * gdb.ada/Makefile.in: Ditto.
9575 * gdb.arch/Makefile.in: Ditto.
9576 * gdb.asm/Makefile.in: Ditto.
9577 * gdb.base/Makefile.in: Ditto.
9578 * gdb.cp/Makefile.in: Ditto.
9579 * gdb.dwarf2/Makefile.in: Ditto.
9580 * gdb.java/Makefile.in: Ditto.
9581 * gdb.mi/Makefile.in: Ditto.
9582 * gdb.modula2/Makefile.in: Ditto.
9583 * gdb.python/Makefile.in: Ditto.
9584 * gdb.server/Makefile.in: Ditto.
9585 * gdb.stabs/Makefile.in: Ditto.
9586 * gdb.threads/Makefile.in: Ditto.
9587 * gdb.trace/Makefile.in: Ditto.
9588
aea5b279
MS
95892011-02-21 Michael Snyder <msnyder@vmware.com>
9590
9591 * gdb.threads/thread-find.exp: Update patterns for changes in
9592 output of "info threads" command.
9593
e3039479
UW
95942011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9595 Ulrich Weigand <uweigand@de.ibm.com>
9596
9597 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9598 (skip_hw_watchpoint_tests): Likewise.
9599 (skip_hw_watchpoint_multi_tests): Likewise.
9600
b800ec70
UW
96012011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9602
9603 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9604 (skip_hw_watchpoint_tests): Likewise.
9605 (skip_hw_watchpoint_multi_tests): Likewise.
9606 (skip_hw_watchpoint_access_tests): Likewise.
9607
9608 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9609 * gdb.base/pr11022.exp: Likewise.
9610 * gdb.base/watch-read.exp: Likewise.
9611 * gdb.base/watch_thread_num.exp: Likewise.
9612 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9613 * gdb.base/watchpoint-hw.exp: Likewise.
9614 * gdb.base/watchpoint.exp: Likewise.
9615 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9616 * gdb.threads/watchthreads-reorder.exp: Likewise.
9617 * gdb.threads/watchthreads.exp: Likewise.
9618 * gdb.threads/watchthreads2.exp: Likewise.
9619
91033e37
JB
96202011-02-21 Joel Brobecker <brobecker@adacore.com>
9621
9622 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9623 the debugger is unable to find the array bounds.
9624
eeaafae2
JK
96252011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9626
9627 * gdb.cp/typedef-operator.exp: New file.
9628 * gdb.cp/typedef-operator.cc: New file.
9629
e338d953
MS
96302011-02-17 Michael Snyder <msnyder@vmware.com>
9631
9632 * gdb.threads/thread-find.exp: Fix regular expressions.
9633
e67ad678
JB
96342011-02-17 Joel Brobecker <brobecker@adacore.com>
9635
9636 * gdb.ada/packed_array: Expand testcase to test printing of
9637 unconstrained packed array.
9638
93084bca
JB
96392011-02-17 Joel Brobecker <brobecker@adacore.com>
9640
9641 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9642
a0c78a73
PA
96432011-02-16 Pedro Alves <pedro@codesourcery.com>
9644
f65d5553 9645 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
9646 (main): Initialize it before collecting, and and clear it
9647 afterwards.
f65d5553
PA
9648 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9649 collecting with '{type} addr', where the addr expression is not an
9650 rvalue.
a0c78a73 9651
3dfcbbd2
KW
96522011-02-16 Ken Werner <ken.werner@de.ibm.com>
9653
9654 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9655 a bool variable. Expect correct OpenCL names for vector types. Use the
9656 uc3 variable name instead of referring to the uchar3 built-in type.
9657 Escape the asterisk at the half pointer test.
9658
08807d5a
PA
96592011-02-16 Pedro Alves <pedro@codesourcery.com>
9660
f65d5553 9661 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
9662 (main): Initialize it before collecting, and and clear it
9663 afterwards.
f65d5553
PA
9664 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9665 collecting overlapping memory ranges.
08807d5a 9666
60f98dde
MS
96672011-02-15 Michael Snyder <msnyder@vmware.com>
9668
9669 * gdb.base/default.exp: Add tests for thread commands.
9670 * gdb.base/help.exp: Add tests for thread commands.
9671 * gdb.threads/thread-find.exp: New test for thread find command.
9672
648cd113
KW
96732011-02-15 Ken Werner <ken.werner@de.ibm.com>
9674
9675 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9676
494e194e
YQ
96772011-02-15 Yao Qi <yao@codesourcery.com>
9678
9679 PR tdep/12352
9680 * gdb.arch/arm-disp-step.S : New test for str instruction.
9681 * gdb.arch/arm-disp-step.exp : Likewise.
9682
d9492458
TJB
96832011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9684
9685 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9686 "vector_register2_vr" test strings. Test the extended floating
9687 point registers (F32~F63).
9688 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9689 IBM XL C compiler. Make the test program use a register provided
9690 by the compiler for the lxvd2x instruction.
9691
8af8e3bc
PA
96922011-02-14 Pedro Alves <pedro@codesourcery.com>
9693
9694 * gdb.trace/unavailable.cc (class Base, class Middle, class
9695 Derived): New types.
9696 (derived_unavail, derived_partial, derived_whole): New globals.
9697 (virtual_partial): New global.
9698 (virtualp): Point at virtual_partial.
9699 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9700 related to unavailable vptr.
9701
1b28d0b3
PA
97022011-02-14 Pedro Alves <pedro@codesourcery.com>
9703
9704 * gdb.trace/unavailable.cc (a, b, c): New globals.
9705 (main): Set and clear them.
9706 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9707 `a' and `c', and check that `b' isn't collected, although `a' and
9708 `c' are.
9709
ec0a52e1
PA
97102011-02-14 Pedro Alves <pedro@codesourcery.com>
9711
9712 * gdb.trace/unavailable.cc (struct Virtual): New.
9713 (virtualp): New global pointer.
9714 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9715 printing a pointer to an object whose type has a vtable, with
9716 print object on.
9717
24e6bcee
PA
97182011-02-14 Pedro Alves <pedro@codesourcery.com>
9719
9720 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9721 value repeat handles unavailableness.
9722
39d37385
PA
97232011-02-14 Pedro Alves <pedro@codesourcery.com>
9724
9725 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9726 tests for building arrays from unavailable values, subscripting
9727 non-memory rvalue unvailable arrays, and accessing fields or
9728 baseclasses of non-lazy unavailable values,
9729 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9730 struct types.
9731 (g_smallstruct, g_smallstruct_b): New globals.
9732
06d72e16
PA
97332011-02-14 Pedro Alves <pedro@codesourcery.com>
9734
9735 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9736
bc9a5551
JK
97372011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9738
9739 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9740 * gdb.cp/overload-const.exp: New file.
9741 * gdb.cp/overload-const.cc: New file.
9742
54fcddd0
UW
97432011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9744
9745 * gdb.opencl/callfuncs.cl: New file.
9746 * gdb.opencl/callfuncs.exp: New test.
9747 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9748
d6dafb7c
UW
97492011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9750
9751 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9752 when computing result.
9753 * gdb.arch/altivec-abi.exp: Update expected results.
9754
a449c2d8
TJB
97552011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9756
9757 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9758 * gdb.base/jit.exp: Likewise.
9759 * gdb.base/pie-execl.exp: Likewise.
9760 * gdb.base/solib-nodir.exp: Likewise.
9761 * gdb.base/solib-overlap.exp: Likewise.
9762
764880b7
PA
97632011-02-07 Pedro Alves <pedro@codesourcery.com>
9764
9765 * gdb.trace/collection.c (global_pieces): New.
9766 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9767 New procedure.
9768 (gdb_trace_collection_test): Call it.
9769
505500db
SW
97702011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9771
9772 * gdb.python/py-evthreads.c: New file.
9773 * gdb.python/py-evthreads.exp: New file.
9774 * gdb.python/py-events.py: New file.
9775 * gdb.python/py-events.exp: New file.
9776 * gdb.python/py-events.c: New file.
9777
385203ed
DD
97782011-02-04 David Daney <ddaney@caviumnetworks.com>
9779
9780 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9781
9011945e
AB
97822011-02-03 Andrew Burgess <aburgess@broadcom.com>
9783
9784 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9785 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9786 boundary between two compilation units.
9787
580688f3
PA
97882011-02-02 Pedro Alves <pedro@codesourcery.com>
9789
9790 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9791 (Virtual): New structs.
9792 (virtual_o, virtual_middle_b): New globals.
9793 * gdb.cp/virtbase.exp: New tests.
9794
d3f0f853
PP
97952011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9796
9797 * gdb.base/jit.exp: New file.
9798 * gdb.base/jit-main.c: New file.
9799 * gdb.base/jit-solib.c: New file.
9800
b2030fb5
UW
98012011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9802
9803 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9804 proceed to initial kernel entry point.
9805 * gdb.opencl/datatypes.exp: Likewise.
9806 * gdb.opencl/operators.exp: Likewise.
9807 * gdb.opencl/vec_comps.exp: Likewise.
9808
2db19d1e
SW
98092011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9810
9811 * gdb.cp/nsnested.cc: New.
9812 * gdb.cp/nsnested.exp: New.
9813 * gdb.cp/nsnoimports.exp: New.
9814 * gdb.cp/nsnoimports.cc: New.
9815
6b0c4c1f
JB
98162011-01-31 Joel Brobecker <brobecker@adacore.com>
9817
9818 * gdb.base/interact.exp: Add extra tests that verify that
9819 the value of the interactive-mode setting does not change
9820 after the script is sourced.
9821
80b23b6a
JK
98222011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9823
9824 * gdb.cp/noparam.exp: New file.
9825 * gdb.cp/noparam.cc: New file.
9826
ffd5ec24
PA
98272011-01-28 Pedro Alves <pedro@codesourcery.com>
9828
9829 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9830 there's no stack or registers.
9831
a81766d8
TT
98322011-01-26 Tom Tromey <tromey@redhat.com>
9833
9834 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9835 space before string output. Add test for "set print pretty off"
9836 case.
9837
585fdaa1
PA
98382011-01-25 Pedro Alves <pedro@codesourcery.com>
9839
9840 * gdb.base/frame-args.exp: Adjust.
9841 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9842 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9843 * gdb.dwarf2/pieces.exp: Adjust.
9844 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9845 * gdb.opt/inline-locals.exp: Adjust.
9846 * gdb.threads/fork-child-threads.exp: Adjust.
9847
d468832a
KW
98482011-01-25 Ken Werner <ken.werner@de.ibm.com>
9849
9850 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9851 OpenCL kernel function. Add a comment as marker. Add address space
9852 qualifiers for the remaining program scope variables.
9853 * gdb.opencl/datatypes.cl: Likewise.
9854 * gdb.opencl/operators.cl: Likewise.
9855 * gdb.opencl/vec_comps.cl: Likewise.
9856 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9857 Add breakpoint at the marker comment.
9858 * gdb.opencl/datatypes.exp: Likewise.
9859 * gdb.opencl/operators.exp: Likewise.
9860 * gdb.opencl/vec_comps.exp: Likewise.
9861
490f124f
PA
98622011-01-24 Pedro Alves <pedro@codesourcery.com>
9863
9864 * gdb.base/printcmds.c (some_struct): New struct and instance.
9865 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9866 procedure.
9867 <global scope>: Call it.
9868
6da78614
KW
98692011-01-21 Ken Werner <ken.werner@de.ibm.com>
9870
9871 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9872 argument to the gdb_compile_opencl_hostapp call.
9873
ec64c9aa
YQ
98742011-01-19 Yao Qi <yao@codesourcery.com>
9875
9876 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9877 positve list.
9878
810cfdbb
YQ
98792011-01-19 Yao Qi <yao@codesourcery.com>
9880
9881 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9882 canonical form.
9883 Remove "xscale-*-*"
9884 * gdb.xml/tdesc-regs.exp: Likewise.
9885 * gdb.python/py-section-script.exp: Replace ARM target triplet
9886 with canonical form.
9887 Match arm*-*-symbianelf*.
9888 * gdb.base/dup-sect.exp: Likewise.
9889 * lib/dwarf.exp: New.
9890 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9891 dwarf2_support.
9892 * gdb.dwarf2/dup-psym.exp: Likewise.
9893 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9894 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9895 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9896 * gdb.dwarf2/dw2-basic.exp: Likewise.
9897 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9898 * gdb.dwarf2/dw2-const.exp: Likewise.
9899 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9900 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9901 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9902 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9903 * gdb.dwarf2/dw2-filename.exp: Likewise.
9904 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9905 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9906 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9907 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9908 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9909 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9910 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9911 * gdb.dwarf2/dw2-producer.exp: Likewise.
9912 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9913 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9914 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9915 * gdb.dwarf2/dw2-strp.exp: Likewise.
9916 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9917 * gdb.dwarf2/implptr.exp: Likewise.
9918 * gdb.dwarf2/mac-fileno.exp: Likewise.
9919 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9920 * gdb.dwarf2/pieces.exp: Likewise.
9921 * gdb.dwarf2/pr11465.exp: Likewise.
9922 * gdb.dwarf2/valop.exp: Likewise.
9923 * gdb.dwarf2/watch-notconst.exp: Likewise.
9924 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9925
4694da01
TT
99262011-01-19 Tom Tromey <tromey@redhat.com>
9927
9928 * gdb.python/py-infthread.exp: Add thread tests.
9929
b075872c
JB
99302011-01-14 Joel Brobecker <brobecker@adacore.com>
9931
9932 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9933
2c3e6e24
JB
99342011-01-14 Joel Brobecker <brobecker@adacore.com>
9935
9936 * gdb.ada/widewide: New testcase.
9937
de8fa76c
JB
99382011-01-13 Joel Brobecker <brobecker@adacore.com>
9939
9940 * gdb.base/interact.exp: New testcase.
9941
1b05df00
TT
99422011-01-12 Tom Tromey <tromey@redhat.com>
9943
9944 * gdb.mi/gdb2549.exp: Update for error message changes.
9945 * gdb.mi/mi-cli.exp: Likewise.
9946 * gdb.mi/mi-disassemble.exp: Likewise.
9947 * gdb.mi/mi-pthreads.exp: Likewise.
9948 * gdb.mi/mi-regs.exp: Likewise.
9949 * gdb.mi/mi-stack.exp: Likewise.
9950 * gdb.mi/mi-var-block.exp: Likewise.
9951 * gdb.mi/mi-var-cmd.exp: Likewise.
9952 * gdb.mi/mi2-cli.exp: Likewise.
9953 * gdb.mi/mi2-disassemble.exp: Likewise.
9954 * gdb.mi/mi2-pthreads.exp: Likewise.
9955 * gdb.mi/mi2-regs.exp: Likewise.
9956 * gdb.mi/mi2-stack.exp: Likewise.
9957 * gdb.mi/mi2-var-block.exp: Likewise.
9958 * gdb.mi/mi2-var-cmd.exp: Likewise.
9959
c2ff108b
JK
99602011-01-12 Andrew Burgess <aburgess@broadcom.com>
9961 Jan Kratochvil <jan.kratochvil@redhat.com>
9962
9963 PR fortran/11104 and DWARF unbound arrays detection.
9964 * gdb.fortran/multi-dim.exp: New file.
9965 * gdb.fortran/multi-dim.f90: New file.
9966
b716877b
AB
99672011-01-12 Andrew Burgess <aburgess@broadcom.com>
9968
9969 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9970 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9971 add new tests for opcode dumping.
9972
6c162d5e
TT
99732011-01-11 Tom Tromey <tromey@redhat.com>
9974
9975 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9976
77b06cd7
TJB
99772010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9978
9979 Convert hardware watchpoints to use breakpoint_ops.
9980 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9981 type is not supported.
9982 * gdb.base/foll-fork.exp: Likewise.
9983 * gdb.base/foll-vfork.exp: Likewise.
9984
f39a75d0
PM
99852011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9986
9987 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9988 Use load_lib gdb-python.exp.
9989 * gdb.python/python.exp: Ditto.
9990 * gdb.python/py-function.exp: Ditto.
9991
fc529d80
AS
99922011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9993
9994 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9995
fb03cb59
JK
99962011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9997
9998 * configure: Regenerate.
9999
d8e22779
TT
100002011-01-06 Tom Tromey <tromey@redhat.com>
10001
10002 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10003
09050809
JB
100042011-01-06 Joel Brobecker <brobecker@adacore.com>
10005
fc529d80
AS
10006 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10007 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10008 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10009 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10010 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10011 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10012 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10013 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10014 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10015 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10016 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10017 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10018 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10019 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10020 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10021 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10022 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10023 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10024 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10025 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10026 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10027 gdb.ada/uninitialized_vars.exp,
10028 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10029 Simplify by using clean_restart.
09050809 10030
8ed5dd9e
JB
100312011-01-06 Joel Brobecker <brobecker@adacore.com>
10032
10033 Add marker to be used as anchor for inserting breakpoints.
10034 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10035 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10036 Likewise.
10037
10038 Remove uses of gdb_start_cmd.
10039 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10040 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10041
10042 Do not run testcase if testing with GDBserver.
10043 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10044 if testing with GDBserver.
10045
368a124f
JB
100462011-01-06 Joel Brobecker <brobecker@adacore.com>
10047
10048 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10049 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10050 copyright header.
10051
44944448
JB
100522011-01-05 Joel Brobecker <brobecker@adacore.com>
10053
10054 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10055 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10056 testsuite/gdb.fortran/complex.f,
10057 testsuite/gdb.fortran/derived-type.f90,
10058 testsuite/gdb.fortran/library-module-lib.f90,
10059 testsuite/gdb.fortran/library-module-main.f90,
10060 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10061 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10062 Copyright year update.
10063
31886ea6
JB
100642011-01-05 Joel Brobecker <brobecker@adacore.com>
10065
10066 * gdb.base/langs1.f: Add copyright header.
10067
ebedcab5
JK
100682011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10069
10070 * gdb.base/morestack.exp: New file.
10071 * gdb.base/morestack.c: New file.
10072
de1eb2f9
JK
100732011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10074
10075 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10076
9e87a409
JB
100772010-12-29 Joel Brobecker <brobecker@adacore.com>
10078
10079 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10080 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10081
720d1a40
JB
100822010-12-29 Joel Brobecker <brobecker@adacore.com>
10083
10084 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10085
a283af87
AS
100862010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10087
5d3d9cba
AS
10088 * gdb.threads/tls.exp: Fix typo.
10089
a283af87
AS
10090 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10091 * gdb.threads/execl.exp: Update.
10092
2a20745c
YQ
100932010-12-23 Yao Qi <yao@codesourcery.com>
10094
10095 * gdb.arch/arm-disp-step.exp: New.
10096 * gdb.arch/arm-disp-step.S: New.
10097
a7658b96
TT
100982010-12-21 Tom Tromey <tromey@redhat.com>
10099
10100 * gdb.threads/execl.exp: Update.
10101 * gdb.threads/linux-dp.exp: Update.
10102 * gdb.threads/manythreads.exp: Update.
10103 * gdb.threads/tls.exp: Update.
10104
5b79abe7
TT
101052010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10106
10107 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10108 (NextOverThrowDerivates) <resumebpt>: New.
10109 (resumebpt_test): New.
10110 (main): Call resumebpt_test.
10111 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10112
0914bcdb
SS
101132010-12-12 Stan Shebs <stan@codesourcery.com>
10114
10115 * gdb.trace/tsv.exp: Test print command on trace state variables.
10116
305aeedc
TT
101172010-12-09 Tom Tromey <tromey@redhat.com>
10118
10119 * gdb.base/interp.exp: Add regression test.
10120
186c406b
TT
101212010-12-09 Tom Tromey <tromey@redhat.com>
10122
10123 * gdb.java/jnpe.java: New file.
10124 * gdb.java/jnpe.exp: New file.
10125 * gdb.cp/nextoverthrow.exp: New file.
10126 * gdb.cp/nextoverthrow.cc: New file.
10127
aae1c79a
DE
101282010-12-07 Doug Evans <dje@google.com>
10129
10130 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10131 of data-directory.
10132 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10133 updated.
10134 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10135
60f98dde 101362010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
10137
10138 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10139 * gdb.base/call-sc.exp: Ditto.
10140 * gdb.base/finish.exp: Ditto.
10141 * gdb.base/return.exp: Ditto.
10142 * gdb.base/return2.exp: Ditto.
10143
5fa290c1
DE
101442010-11-30 Doug Evans <dje@google.com>
10145
10146 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10147 (gdb_expect_list): Fix spelling errors in comments.
10148 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10149 send_gdb/gdb_expect_list where applicable.
10150 * gdb.base/call-ar-st.exp: Ditto.
10151 * gdb.base/funcargs.exp: Ditto.
10152 * gdb.base/gcore.exp: Ditto.
10153 * gdb.base/page.exp: Ditto.
10154 * gdb.base/sigaltstack.exp: Ditto.
10155 * gdb.base/siginfo.exp: Ditto.
10156 * gdb.base/sigstep.exp: Ditto.
10157 * gdb.base/trace-commands.exp: Ditto.
10158
4e04c971
DE
101592010-11-29 Doug Evans <dje@google.com>
10160
10161 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10162 printer-name;subprinter-name.
10163
8cf6f0b1
TT
101642010-11-29 Tom Tromey <tromey@redhat.com>
10165
10166 * gdb.dwarf2/implptr.exp: New file.
10167 * gdb.dwarf2/implptr.c: New file.
10168 * gdb.dwarf2/implptr.S: New file.
10169
94b6973e
PM
101702010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10171
fc529d80 10172 PR python/12199
94b6973e
PM
10173
10174 * gdb.python/py-breakpoint.exp: Test the delete method.
10175
8358c15c
JK
101762010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10177
10178 Fix step_resume_breakpoint unsaved during an infcall.
10179 * gdb.base/step-resume-infcall.exp: New file.
10180 * gdb.base/step-resume-infcall.c: New file.
10181
f6df29bc
TJB
101822010-11-24 Edjunior Machado <emachado@br.ibm.com>
10183
10184 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10185
f2b5a5cf
TJB
101862010-11-24 Edjunior Machado <emachado@br.ibm.com>
10187
10188 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10189 on ppc64's symbols; "finish" and "return" commands must accept to
10190 show the caller line again as well as the line after.
10191 * gdb.asm/powerpc64.inc: New file.
10192
6b0ecdc2
DE
101932010-11-23 Doug Evans <dje@google.com>
10194
10195 * lib/gdb.exp (gdb_test_sequence): New function.
10196 (gdb_expect_list): Add verbose -log call for each pattern.
10197 * gdb.base/signals.exp (test_handle_all_print): Call it.
10198 Reduce timeout increment from 6 minutes to 1 minute.
10199 * gdb.server/ext-run.exp: Call it.
10200
ea976c60
PM
102012010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10202
f2b5a5cf 10203 PR python/12212
ea976c60
PM
10204
10205 * gdb.python/python.exp: Check that selected_thread raises an
10206 error when no inferior is loaded.
10207
c0efa795
JK
102082010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10209
10210 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10211 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10212
ec3aa567
JK
102132010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10214
10215 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10216 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10217
d8249011
DE
102182010-11-18 Doug Evans <dje@google.com>
10219
10220 * gdb.server/ext-run.exp: Fix intermittent failures.
10221
d4eba7d1
NF
102222010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10223
10224 * gdb.stabs/gdb11479.exp: Use runto_main.
10225
b04c2f88
NF
102262010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10227
10228 * gdb.base/break-entry.exp: Skip if using a stub.
10229
ae9d7ce4
NF
102302010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10231
10232 * gdb.python/py-inferior.exp: Pack values in target endianness.
10233
621c8364
TT
102342010-11-12 Tom Tromey <tromey@redhat.com>
10235
10236 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10237 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10238 MemoryError.
10239 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10240 type.
10241 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10242 MemoryError.
10243 (test_subscript_regression): Update exception type.
10244
84f4c1fe
PM
102452010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10246
10247 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10248 breakpoint tests.
10249
a1442452
PA
102502010-11-09 Pedro Alves <pedro@codesourcery.com>
10251
10252 * gdb.base/watchpoint.exp: Test "watch -location" with an
10253 innacessible location.
10254
efd11a33
JK
102552010-11-09 Edjunior Machado <emachado@br.ibm.com>
10256 Luis Machado <luisgpm@br.ibm.com>
10257
10258 * gdb.base/maint.exp: Expect "." prefix.
10259 * gdb.base/nodebug.exp: Expect "." Likewise.
10260 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10261 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10262 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10263 POWER server processors.
10264
aa00efb5
JK
102652010-11-08 Edjunior Machado <emachado@br.ibm.com>
10266 Luis Machado <luisgpm@br.ibm.com>
10267
10268 * gdb.base/break-entry.exp: convert entry point for
10269 ppc64 and expect leading `.' on ppc64's symbols
10270
99e7ae30
DE
102712010-11-05 Doug Evans <dje@google.com>
10272
10273 * gdb.base/help.exp: Update expected output.
b521dba8
DE
10274 * gdb.python/py-param.exp: Delete, contents moved to ...
10275 * gdb.python/py-parameter.exp: ... here. New file.
10276 Add test for gdb.parameter ("directories").
99e7ae30 10277
f4b8a18d
KW
102782010-11-05 Ken Werner <ken.werner@de.ibm.com>
10279
10280 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10281 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10282 * configure: Regenerate.
10283 * gdb.opencl/Makefile.in: New File.
10284 * gdb.opencl/datatypes.exp: Likewise.
10285 * gdb.opencl/datatypes.cl: Likewise.
10286 * gdb.opencl/operators.exp: Likewise.
10287 * gdb.opencl/operators.cl: Likewise.
10288 * gdb.opencl/vec_comps.exp: Likewise.
10289 * gdb.opencl/vec_comps.cl: Likewise.
10290 * gdb.opencl/convs_casts.exp: Likewise.
10291 * gdb.opencl/convs_casts.cl: Likewise.
10292 * lib/opencl.exp: Likewise.
10293 * lib/opencl_hostapp.c: Likewise.
10294 * lib/opencl_kernel.cl: Likewise.
10295 * lib/cl_util.c: Likewise.
10296 * lib/cl_util.c: Likewise.
10297 * gdb.base/default.exp (set language): Add "opencl" to the list of
10298 languages.
10299
a9d5ef47
SW
103002010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10301
10302 * gdb.cp/overload.exp: Added test for inheritance overload.
10303 * gdb.cp/overload.cc: Ditto.
10304 * gdb.cp/oranking.exp: Removed releveant kfails.
10305
03eb1c79
JK
103062010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10307 Joel Brobecker <brobecker@adacore.com>
10308
10309 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10310 check test_compiler_info.
10311
dbc98a8b
KW
103122010-11-03 Ken Werner <ken.werner@de.ibm.com>
10313
10314 * gdb.base/gnu_vector.exp: Adjust expect messages.
10315
120bd360
KW
103162010-11-03 Ken Werner <ken.werner@de.ibm.com>
10317
10318 * gdb.base/gnu_vector.exp: Add unary operator tests.
10319
c37f7098
KW
103202010-11-03 Ken Werner <ken.werner@de.ibm.com>
10321
10322 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10323
7b51bc51
DE
103242010-11-02 Doug Evans <dje@google.com>
10325
10326 * gdb.python/py-pp-maint.c: New file.
10327 * gdb.python/py-pp-maint.exp: New file.
10328 * gdb.python/py-pp-maint.py: New file.
10329
50c97f38
TT
103302010-11-02 Tom Tromey <tromey@redhat.com>
10331
10332 * gdb.base/default.exp: Remove "scheme" from language list.
10333
a289b8f6
JK
103342010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10335
10336 Revert:
10337 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10338 * gdb.threads/sigstep-threads.exp: New file.
10339 * gdb.threads/sigstep-threads.c: New file.
10340
cd017491
MS
103412010-10-20 Michael Snyder <msnyder@vmware.com>
10342
10343 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10344
8e6a5956
UW
103452010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10346
10347 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10348 Skip test completely if gdb,no_hardware_watchpoints.
10349
2c04da0d
UW
103502010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10351
10352 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10353 strict, but do not check for any particular function name within libc.
10354
79afc5ef
SW
103552010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10356
10357 * gdb.cp/smartp.exp: New test.
10358 * gdb.cp/smartp.cc : New test.
10359
026ffab7
SW
103602010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10361
10362 * gdb.cp/converts.exp: Test pointer to bool conversion.
10363 Test pointer to long conversion.
10364 * gdb.cp/oranking.exp: Removed relevant kfail.
10365
3a772aa4
TT
103662010-10-18 Tom Tromey <tromey@redhat.com>
10367
10368 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10369 argument to lazy_string.
10370 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10371 (pp_ls.to_string): Use it.
10372 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10373 Add "estring2" local.
10374
5fc3827b
JK
103752010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10376
10377 Fix s390x compatibility.
10378 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10379 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10380
8aeb23f3
JK
103812010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10382
10383 * gdb.threads/sigstep-threads.exp: New file.
10384 * gdb.threads/sigstep-threads.c: New file.
10385
c1e56572
JK
103862010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10387
10388 * gdb.base/pie-execl.exp: New file.
10389 * gdb.base/pie-execl.c: New file.
10390
92163a10
JK
103912010-10-13 Doug Evans <dje@google.com>
10392 Jan Kratochvil <jan.kratochvil@redhat.com>
10393
10394 PR exp/12117
10395 * gdb.cp/ptype-cv-cp.cc: New file.
10396 * gdb.cp/ptype-cv-cp.exp: New file.
10397
7062b0a0
SW
103982010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10399
10400 * gdb.cp/converts.cc: New test program.
10401 * gdb.cp/converts.exp: New test.
10402 * gdb.cp/overload.exp: Added test for void* vs int*.
10403 * gdb.cp/overload.exp: Ditto.
10404 * gdb.cp/oranking.exp: Removed related kfail.
10405
0e3509db
DE
104062010-10-13 Doug Evans <dje@google.com>
10407
10408 * lib/gdb-python.exp (gdb_check_python_config): New function.
10409 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10410 * gdb.python/lib-types.cc: New file.
10411 * gdb.python/lib-types.exp: New file.
10412
8dc78533
JK
104132010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10414
10415 * gdb.python/py-error.exp: New file.
10416 * gdb.python/py-error.py: New file.
10417
93c17e06
JK
104182010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10419
10420 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10421 gdb_test_multiple.
10422
d8b34041
JK
104232010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10424
10425 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10426 * gdb.base/prelink.exp: Likewise.
10427 * gdb.base/solib-nodir.exp: Likewise.
10428 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10429 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10430 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10431
e0cc584e
UW
104322010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10433
10434 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10435 for the "info files" test to avoid timeouts on slow machines.
10436
cfc353b1
JK
104372010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10438
10439 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10440 (main): Make openlib dummy call.
10441
d3d7896d
JK
104422010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10443
10444 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10445 * break-interp.exp (reach): Move the core body ...
10446 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10447 (test_ld): Provide always real argument, even to the linker. Replace
10448 dl_main by _dl_debug_state.
10449
5e533c94
JK
104502010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 Fix results of prelinked PIEs on ppc*.
10453 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10454 Accept also DISPLACEMENT "PRESENT".
10455 (main): Replace "ZERO" displacements by "PRESENT".
10456
33540610
SW
104572010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10458
10459 * gdb.cp/oranking.exp: New test.
10460 * gdb.cp/oranking.cc: New test program.
10461
3bdf2bbd
KW
104622010-10-08 Ken Werner <ken.werner@de.ibm.com>
10463
10464 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10465 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10466
2f608a3a
KW
104672010-10-06 Ken Werner <ken.werner@de.ibm.com>
10468
10469 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10470 lush, lynx) New constant.
10471 * gdb.base/constvars.exp: Test const array types.
10472 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10473
aa2e2d8d
DE
104742010-10-06 Doug Evans <dje@google.com>
10475
10476 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10477 of syscall staging area.
10478
2844d6b5
KW
104792010-10-06 Ken Werner <ken.werner@de.ibm.com>
10480
10481 * gdb.base/gnu_vector.c: Add variable c4.
10482 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10483 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10484
7d8ac8bb
MR
104852010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10486
10487 * gdb.arch/altivec-abi.exp: Fix a typo.
10488
84a02e58
MR
104892010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10490
10491 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10492 to match a thread ID.
10493
b18e6318
JK
104942010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10495
10496 Fix s390x testcase compatibility.
10497 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10498
a2c09bd0
DE
104992010-10-01 Doug Evans <dje@google.com>
10500
10501 * lib/gdb-python.exp: New file.
10502 * gdb.python/py-block.exp: Use it.
10503 * gdb.python/py-breakpoint.exp: Ditto.
10504 * gdb.python/py-frame.exp: Ditto.
10505 * gdb.python/py-inferior.exp: Ditto.
10506 * gdb.python/py-param.exp: Ditto.
10507 * gdb.python/py-prettyprint.exp: Ditto.
10508 * gdb.python/py-shared.exp: Ditto.
10509 * gdb.python/py-symbol.exp: Ditto.
10510 * gdb.python/py-symtab.exp: Ditto.
10511 * gdb.python/py-type.exp: Ditto.
10512 * gdb.python/py-value.exp: Ditto.
10513 * gdb.python/python.exp: Ditto.
10514
38f12cfc
TT
105152010-09-30 Tom Tromey <tromey@redhat.com>
10516
10517 * gdb.base/anon.exp: New file.
10518 * gdb.base/anon.c: New file.
10519
9ae8282d
TT
105202010-09-30 Tom Tromey <tromey@redhat.com>
10521
10522 * gdb.base/completion.exp: Test completion through anonymous
10523 union.
10524 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10525
e9e07ba6
JK
105262010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10527
10528 Fix printing parameters of inlined functions.
10529 * gdb.dwarf2/dw2-inline-param.exp: New file.
10530 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10531 * gdb.dwarf2/dw2-inline-param.S: New file.
10532
cd2effb2
JK
105332010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10534
10535 PR corefiles/12071.
10536 * gdb.base/corefile.exp (quit with a process, no question: load core)
10537 (quit with a core file): New tests.
10538
bceffbf3
JK
105392010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10540
10541 Fix GDB crash on inferior calls with self-referencing classes.
10542 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10543 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10544 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10545
1736ad11
JK
105462010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10547
10548 Fix lost siginfo_t for inferior calls.
10549 * gdb.base/siginfo-infcall.exp: New file.
10550 * gdb.base/siginfo-infcall.c: New file.
10551
a176ad92
JB
105522010-09-22 Joel Brobecker <brobecker@adacore.com>
10553
10554 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10555
c2b0a229
JK
105562010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10557
10558 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10559 New test.
10560 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10561
e8ae22d1
JB
105622010-09-22 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10565 type of our const type.
10566
ec322823
SW
105672010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10568
10569 * gdb.cp/pr12028.cc: New.
10570 * gdb.cp/pr12028.exp: New.
10571
72929c62
JB
105722010-09-22 Joel Brobecker <brobecker@adacore.com>
10573
10574 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10575
875b4ff5 105762010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 10577 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
10578
10579 PR mi/11407
10580 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10581 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10582 * gdb.mi/dw2-ref-missing-frame.S New File.
10583 * gdb.mi/dw2-ref-missing-frame.exp New File.
10584
7155d578
TT
105852010-09-14 Tom Tromey <tromey@redhat.com>
10586
10587 PR symtab/8399:
10588 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10589
515ed532
TT
105902010-09-14 Tom Tromey <tromey@redhat.com>
10591
10592 PR exp/11803:
10593 * gdb.threads/tls.exp: Use C++.
10594 (check_thread_local): Use K::another_thread_local.
10595 * gdb.threads/tls.c (class K): New.
10596 (another_thread_local): Now a member of K.
10597 (spin): Update. No longer K&R C.
10598
450ca57c
SW
105992010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10600
10601 * gdb.cp/koenig.cc: created class for testing member lookup.
10602 * gdb.cp/koenig.exp: Added test for member lookup.
10603
dbd492a3
JK
106042010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10605
10606 Fix false FAILs on sourcetree topdir directory containing "kill".
10607 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10608 source line matching regexp.
10609
8d4d924b
JK
106102010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10611
10612 * gdb.python/python.exp (set height 0, collect help from uiout)
10613 (verify help to uiout): New tests.
10614
8e64f2a0
JK
106152010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10616
10617 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10618 is_lp64_target to check 64bit target.
10619
4569eed2
JK
106202010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10621
10622 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10623 (test_ld) <powerpc64-*>: New.
10624
5e1617b1
DJ
106252010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10626
10627 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10628
c767944b
DJ
106292010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10630
10631 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10632 (FunctionArg::method): New function.
10633 (empty, arg): New variables.
10634 (main): Call arg.method.
10635 * gdb.cp/templates.exp (test_template_args): New function.
10636 (do_tests): Call it.
10637
27d3a3fc
UW
106382010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10639
10640 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10641 of "next" to proceed over pthread_exit call.
10642
55b7ce7f
UW
106432010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10644
10645 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10646 "maint print statistics" output to prevent expect timeouts.
10647
809df446
JK
106482010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10649
10650 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10651 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10652 (test_float_rejected): ... here.
10653 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10654 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10655 (test_float_rejected): ... here.
10656 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10657 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10658 (test_float_rejected): ... here.
10659 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10660 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10661 (test_float_rejected): ... here.
10662
8464be76
DJ
106632010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10664
10665 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10666 before disabling hardware watchpoints.
10667 (test_inaccessible_watchpoint): Check that hardware watchpoints
10668 are used. Test for watchpoints on a constant address.
10669
14dba4b4
JK
106702010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10671
10672 * gdb.base/ui-redirect.exp: New file.
10673
3f3540e1 106742010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 10675 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
10676
10677 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10678
0f254bb7
DE
106792010-08-31 Doug Evans <dje@google.com>
10680
10681 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10682
03f17ccf
TT
106832010-08-30 Tom Tromey <tromey@redhat.com>
10684
10685 PR python/11792:
10686 * gdb.python/py-value.exp (test_subscript_regression): Add
10687 dynamic_type test.
10688
640617ad
DJ
106892010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10690
10691 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10692 instead of running to main. Do not test the main function.
10693 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10694 Add new main.
10695
2ed91d1b
PA
106962010-08-26 Pedro Alves <pedro@codesourcery.com>
10697
10698 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10699 one test.
10700
673bfd45
DE
107012010-08-24 Doug Evans <dje@google.com>
10702
10703 PR symtab/11942
10704 * gdb.dwarf2/dw4-sig-types.cc: New file.
10705 * gdb.dwarf2/dw4-sig-types.h: New file.
10706 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10707 * gdb.dwarf2/dw4-sig-types.exp: New file.
10708
f9ffd4bb
TT
107092010-08-23 Tom Tromey <tromey@redhat.com>
10710
10711 PR python/11145:
10712 * gdb.python/py-value.c (Base, Derived): New types.
10713 (base): New global.
10714 * gdb.python/py-value.exp (test_subscript_regression): Add
10715 dynamic_cast test.
10716
d839c8a4
TT
107172010-08-23 Tom Tromey <tromey@redhat.com>
10718
10719 PR python/10676:
10720 * gdb.python/py-type.exp (test_fields): Add tests for type
10721 equality.
10722
702c2711
TT
107232010-08-23 Tom Tromey <tromey@redhat.com>
10724
10725 PR python/11915:
10726 * gdb.python/py-type.exp (test_fields): Add tests for array.
10727
832bafd3
KS
107282010-08-23 Keith Seitz <keiths@redhat.com>
10729
10730 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10731 have any children. Create a new abbrev for it.
10732 Add missing terminal sequence to .debug_abbrev.
10733
c37bf528
KS
107342010-08-20 Keith Seitz <keiths@redhat.com>
10735
10736 PR symtab/11465:
10737 * gdb.dwarf2/pr11465.exp: New test.
10738 * gdb.dwarf2/pr11465.S: New file.
10739 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10740 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10741
4572cbac
TJB
107422010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10743
10744 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10745 registers. Update data sets with the new v2_double element in the
10746 VSX register union. Add vector_register3_vr data set for the AltiVec
10747 registers. Use gdb_test_no_output instead of send_gdb.
10748
e7fbb131
PA
107492010-08-19 Pedro Alves <pedro@codesourcery.com>
10750
10751 * gdb.python/py-shared.exp: New file, factored out from
10752 python.exp.
10753 * gdb.python/py-shared.c: New file.
10754 * gdb.python/py-shared-sl.c: New file.
10755 * gdb.python/python-1.c: New file.
10756 * gdb.python/python-sl.c: Delete.
10757 * gdb.python/python.c: Mention python-1.c.
10758 * gdb.python/python.exp: Move shared library tests to
10759 py-shared.exp.
10760 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10761 (MISCELLANEOUS): New.
10762 (clean mostlyclean): Also remove $MISCELLANEOUS.
10763
d30f5e1f
DE
107642010-08-19 Doug Evans <dje@google.com>
10765
10766 PR exp/11926
10767 * gdb.base/printcmds.exp (test_float_accepted): New function.
10768 Move existing float tests there. Add tests for floats with suffixes.
10769 (test_float_rejected): New function.
10770 * gdb.java/jv-print.exp (test_float_accepted): New function.
10771 (test_float_rejected): New function.
10772 * gdb.objc/print.exp: New file.
10773 * gdb.pascal/print.exp: New file.
10774 * lib/objc.exp: New file.
10775
7b3fd859
PM
107762010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10777
10778 * gdb.base/default.exp (info set): Avoid full buffer error and force
10779 reading up to final gdb prompt.
10780 (show): Likewise.
10781
c92817ce
TT
107822010-08-18 Tom Tromey <tromey@redhat.com>
10783
10784 PR symtab/11919:
10785 * gdb.base/completion.exp: Add test.
10786
f1208f9e
DE
107872010-08-18 Doug Evans <dje@google.com>
10788
10789 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10790 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10791 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10792 Simplify, early exit if runto_main fails.
10793 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10794 (set_lang_fortran): Moved to lib/fortran.exp.
10795 * gdb.fortran/types.exp: load_lib fortran.exp.
10796 (set_lang_fortran): Moved to lib/fortran.exp.
10797 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10798 * gdb.java/jprint.exp (set_lang_java): Ditto.
10799 * gdb.java/jv-exp.exp: load_lib java.exp.
10800 If set_lang_java fails, issue a warning instead of failure to be
10801 consistent with other set_lang_foo uses.
10802 (set_lang_java): Moved to lib/java.exp.
10803 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10804 If set_lang_java fails, issue a warning instead of failure to be
10805 consistent with other set_lang_foo uses.
10806 * gdb.pascal/types.exp: load_lib pascal.exp.
10807 (set_lang_pascal): Moved to lib/pascal.exp.
10808 * lib/fortran.exp: New file.
10809 * lib/java.exp (set_lang_java): New function.
10810 * lib/pascal.exp (set_lang_pascal): New function.
10811
2f06b485
YQ
108122010-08-18 Yao Qi <yao@codesourcery.com
10813
10814 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10815 func_nofb_start and func_loopfb_start, so that address of functions
10816 is equal to these labels on Thumb.
10817
96e25403
YQ
108182010-08-18 Yao Qi <yao@codesourcery.com>
10819
10820 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10821 to reflect latest c source file.
10822
36e6adc4
JK
108232010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10824
10825 * gdb.cp/infcall-dlopen.exp: New file.
10826 * gdb.cp/infcall-dlopen.cc: New file.
10827 * gdb.cp/infcall-dlopen-lib.cc: New file.
10828
f431efe5
PA
108292010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10830 Pedro Alves <pedro@codesourcery.com>
10831
10832 PR breakpoints/11371
10833
10834 * gdb.base/watch-cond-infcall.exp: New file.
10835 * gdb.base/watch-cond-infcall.c: New file.
10836
06a64a0b
TT
108372010-08-16 Tom Tromey <tromey@redhat.com>
10838
10839 * gdb.base/help.exp: Update.
10840 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10841 watchpoint.
10842 (test_watch_location): New proc.
10843 (test_watchpoint_in_big_blob): Delete watchpoint.
10844 * gdb.base/watchpoint.c (func5): New function.
10845 (main): Call it.
10846
70ebf4ed
DE
108472010-08-16 Doug Evans <dje@google.com>
10848
10849 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10850
ca5c20b6
PM
108512010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10852
10853 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10854 tests.
10855
7346b668
KW
108562010-08-11 Ken Werner <ken.werner@de.ibm.com>
10857
10858 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10859 * gdb.base/gnu_vector.c: New File.
10860 * gdb.base/gnu_vector.exp: Likewise.
10861
cb2e07a6
PM
108622010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10863
10864 * gdb.python/python.c: New File.
10865 * gdb.python/python-sl.c: New File.
10866 * gdb.python/python.exp: Test solib_address and decode_line
10867 * functions.
10868
5da1313b
JK
108692010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10870
10871 * gdb.python/python.exp (show height, set height 10)
10872 (verify pagination beforehand, verify pagination beforehand: q)
10873 (gdb.execute does not page, verify pagination afterwards)
10874 (verify pagination afterwards: q): New.
10875
49c3ccf7
DE
108762010-08-02 Doug Evans <dje@google.com>
10877
10878 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10879 because of an older gcc, change test2
10880 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10881 to unsupported.
10882
42c0c4f1
KH
108832010-07-30 Kazu Hirata <kazu@codesourcery.com>
10884
10885 * gdb.base/break-always.exp: Do not expect full paths to file
10886 names.
10887 * gdb.base/commands.exp: Likewise.
10888
d3765805
DE
108892010-07-30 Doug Evans <dje@google.com>
10890
c98ee71b
DE
10891 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10892 xfail them when run with older gccs.
10893
fd961404
DE
10894 * lib/gdb.exp (build_executable): Forward "c++" option to
10895 get_compiler_info.
10896
999adef4
DE
10897 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10898 "python print ttype.template_argument(1)" and
10899 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10900 if using gcc 4.4 or earlier.
10901
d3765805
DE
10902 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10903 attach-to-debugger handling.
10904
1276c759
JK
109052010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10908 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10909 (main): Use copyreloc.
10910 * gdb.base/prelink.exp (split debug of executable)
10911 (.dynbss vs. .bss address shift): New tests.
10912
88caa9b9
PA
109132010-07-29 Pedro Alves <pedro@codesourcery.com>
10914
10915 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10916 in gdb_test_multiple.
10917
c6f2ac43
PA
109182010-07-29 Pedro Alves <pedro@codesourcery.com>
10919
10920 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10921 environment.
10922
326fd672
TT
109232010-07-28 Tom Tromey <tromey@redhat.com>
10924
10925 PR python/11060:
10926 * gdb.python/py-type.c (Temargs): New template.
10927 (temvar): New variable.
10928 * gdb.python/py-type.exp (test_template): New proc.
10929
3ce3b1ba
PA
109302010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10931
10932 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10933 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10934
34eaf542
TT
109352010-07-28 Tom Tromey <tromey@redhat.com>
10936
10937 PR c++/9946:
10938 * gdb.cp/temargs.exp: New file.
10939 * gdb.cp/temargs.cc: New file.
10940
d41b819e
JK
109412010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10942
10943 * gdb.base/help.exp (help disassemble): Update the content.
10944
26ab7092
JK
109452010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10946
10947 * gdb.threads/ia64-sigill.exp: New file.
10948 * gdb.threads/ia64-sigill.c: New file.
10949
5283e9e1
TT
109502010-07-27 Tom Tromey <tromey@redhat.com>
10951
10952 * gdb.opt/inline-cmds.c (ATTR): New define.
10953 (func1): Use it.
10954 (func2): Likewise.
10955 (func3): Likewise.
10956 (outer_inline1): Likewise.
10957 (outer_inline2): Likewise.
10958 * gdb.opt/inline-bt.c (ATTR): New define.
10959 (func1): Use it.
10960 (func2): Likewise.
10961 * gdb.opt/inline-locals.c (ATTR): New define.
10962 (func1): Use it.
10963 (func2): Likewise.
10964
e992ef73
TT
109652010-07-27 Tom Tromey <tromey@redhat.com>
10966
10967 * gdb.stabs/gdb11479.c (hack): New function.
10968 (test): Use it.
10969 (test2): Use it.
10970 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10971 (int32_search_buf, int64_search_buf): No longer static.
10972 (x): Remove.
10973 * gdb.base/relocate.c (hack): New function.
10974
5374244e
PM
109752010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10976
10977 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10978 * gdb.python/py-value.c (func1): New function.
10979 (func2): Likewise.
10980
a99aee83
CV
109812010-07-26 Corinna Vinschen <vinschen@redhat.com>
10982
10983 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10984 as not to clash with .data section.
10985
a04ba985
JG
109862010-07-26 Jerome Guitton <guitton@adacore.com>
10987
10988 * gdb.base/code_elim.exp: New file.
10989 * gdb.base/code_elim1.c: New file.
10990 * gdb.base/code_elim2.c: New file.
10991
23bd0f7c
PA
109922010-07-21 Pedro Alves <pedro@codesourcery.com>
10993
10994 PR symtab/11827
10995
10996 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10997 (some_volatile_enum): New variable.
10998 * gdb.base/printcmds.exp (test_print_enums): New.
10999 <top level>: Call it.
11000
883df6dd
SW
110012010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11002
11003 * gdb.cp/fpointer.cc: New test.
11004 * gdb.cp/fpointer.exp: New test.
11005
569b05a5
JK
110062010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11007
11008 * gdb.base/solib-nodir.exp: New file.
11009 * lib/gdb.exp (runto): New case for a GDB internal error.
11010
51d7d803
JK
110112010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11012 Ulrich Weigand <uweigand@de.ibm.com>
11013 Tom Tromey <tromey@redhat.com>
11014
11015 * gdb.base/charset-malloc.c: New file.
11016 * gdb.base/charset.c (malloc_stub): New prototype.
11017 (main): Call it instead of malloc itself.
11018 * gdb.base/charset.exp: Use only prepare_for_testing.
11019 (binfile): Remove the variable.
11020
c0edd9ed
JK
110212010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11022
11023 Make core files the process_stratum.
11024 * gdb.base/corefile.exp (run: load core again)
11025 (run: sanity check we see the core file, run: with core)
11026 (run: core file is cleared, attach: load core again)
11027 (attach: sanity check we see the core file, attach: with core)
11028 (attach: core file is cleared): New tests.
11029 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11030
3cbaedff
KW
110312010-07-14 Ken Werner <ken.werner@de.ibm.com>
11032
11033 * gdb.arch/altivec-abi.exp: New tests.
11034
91158a56
TT
110352010-07-13 Tom Tromey <tromey@redhat.com>
11036
11037 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11038 (main): Use it.
11039 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11040
0f5238ed
TT
110412010-07-13 Tom Tromey <tromey@redhat.com>
11042
11043 * gdb.base/label.exp: New file.
11044 * gdb.base/label.c: New file.
11045
add265ae
L
110462010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11047 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * lib/gdb.exp (is_ilp32_target): New.
11050 (is_lp64_target): Likewise.
11051
11052 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11053 target.
11054 * gdb.arch/amd64-disp-step.exp: Likewise.
11055 * gdb.arch/amd64-dword.exp: Likewise.
11056 * gdb.arch/amd64-i386-address.exp: Likewise.
11057 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 11058
add265ae
L
11059 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11060 target.
11061 * gdb.arch/i386-bp_permanent.exp: Likewise.
11062 * gdb.arch/i386-byte.exp: Likewise.
11063 * gdb.arch/i386-disp-step.exp: Likewise.
11064 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11065 * gdb.arch/i386-prologue.exp: Likewise.
11066 * gdb.arch/i386-size-overlap.exp: Likewise.
11067 * gdb.arch/i386-size.exp: Likewise.
11068 * gdb.arch/i386-sse.exp: Likewise.
11069 * gdb.arch/i386-unwind.exp: Likewise.
11070 * gdb.arch/i386-word.exp: Likewise.
11071
11072 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11073 test only when building 64-bit executables. Do not hard-code
11074 -m64 option.
11075
2dfb8c17
DE
110762010-07-07 Doug Evans <dje@google.com>
11077
11078 * lib/gdb.exp (gdb_test_list_exact): New function.
11079 * gdb.base/default.exp (show convenience): Call it, add tests for
11080 $_sdata = void, $_thread = 0.
11081
4e5799b6
JK
110822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11083 Joel Brobecker <brobecker@adacore.com>
11084
11085 Fix re-run of PIE executable, PR shlibs/11776.
11086 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11087 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11088 and re-"run" of the inferior.
11089
1a219cc7
JK
110902010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11091 Joel Brobecker <brobecker@adacore.com>
11092
11093 Cope with missing /usr/sbin/prelink.
11094 * lib/prelink-support.exp (prelink_no):
11095 <result == 1 && $output is "no such file or directory">: New.
11096 (prelink_yes): Likewise. Return on failed prelink_no.
11097
5e3b36f8
JK
110982010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11099 Joel Brobecker <brobecker@adacore.com>
11100
11101 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11102 build_executable by build_executable_own_libs. Replace "prelink -R"
11103 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11104 change.
11105 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11106 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11107 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11108 Replace build_executable by build_executable_own_libs's function
11109 build_executable_own_libs.
11110 (prelinkNO): Create new stub to call prelink_no.
11111 (prelinkYES): Create new stub to call prelink_yes.
11112 (test_attach): Rename calls of copy to file_copy.
11113 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11114 (copy): Move to ...
11115 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11116 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11117 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11118 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11119 special flags by gdb_compile_shlib. Replace second gdb_compile by
11120 build_executable_own_libs. Replace "prelink -R" execution by a call of
11121 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11122 a second call of prelink_yes. Replace restart commands by
11123 clean_restart.
11124 (prelink): Rename to ...
11125 (seen displacement message): ... this test. Extend its expectation
11126 strictness.
11127
86e4bafc
JK
111282010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11129
11130 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11131 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11132 displacement message exactly once.
11133
3cd07d20
JK
111342010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11135 Joel Brobecker <brobecker@adacore.com>
11136
11137 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11138 its restore after the <$relink_args != ""> loop. new comment.
11139
0a1e94c7
JK
111402010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11141 Joel Brobecker <brobecker@adacore.com>
11142
11143 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11144 code for it. New variable relink_args.
11145 (prelinkYES): Call prelinkNO.
11146 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11147 in such case. Move the core code to ...
11148 (test_attach_gdb): ... a new function. Send GDB command "file".
11149 Extend expected "Attaching to " string.
11150
2f70bcfb
TT
111512010-07-02 Tom Tromey <tromey@redhat.com>
11152
11153 * gdb.base/bitops.exp: Remove extraneous "pass".
11154
a17ac5b0
TT
111552010-07-02 Ken Werner <ken.werner@de.ibm.com>
11156
11157 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11158
dc10affe
PA
111592010-07-01 Pedro Alves <pedro@codesourcery.com>
11160
d41c0fc8
PA
11161 * gdb.base/help.exp: Adjust expected output.
11162
111632010-07-01 Pedro Alves <pedro@codesourcery.com>
11164
11165 * gdb.base/help.exp: Adjust expected output.
dc10affe 11166
0a600c36
JK
111672010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11168
11169 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11170 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11171 c++/11702.
11172
37cc8bfe
JK
111732010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11174 Doug Evans <dje@google.com>
11175
11176 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11177 add .dynamic entry'.
11178
254e6b9e
DE
111792010-06-29 Doug Evans <dje@google.com>
11180
11181 Test PR c++/11702.
11182 * gdb.cp/m-static.exp: Add testcase.
11183 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11184
595939de 111852010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
11186 Tom Tromey <tromey@redhat.com>
11187 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
11188
11189 * gdb.python/py-inferior.c: New File.
11190 * gdb.python/py-infthread.c: New File.
11191 * gdb.python/py-inferior.exp: New File.
11192 * gdb.python/py-infthread.exp: New File.
11193
98751a41
JK
111942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11195
11196 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11197 (ptype ::C::OtherFileClass typedefs): New.
11198 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11199 (C::OtherFileClass::cOtherFileClassVar2): New.
11200 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11201 cOtherFileClassVar2.
11202 (C::cOtherFileType2, C::cOtherFileVar2): New.
11203 (C::cOtherFileVar_use): use also cOtherFileVar2.
11204 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11205
41f62f39
JK
112062010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11207
11208 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11209 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11210 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11211 (print ::C::cOtherFileVar)
11212 (whatis C::OtherFileClass::cOtherFileClassType)
11213 (whatis ::C::OtherFileClass::cOtherFileClassType)
11214 (print C::OtherFileClass::cOtherFileClassVar)
11215 (print ::cOtherFileClassVar)
11216 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11217 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11218 trailing content.
11219 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11220 (C::OtherFileClass::cOtherFileClassVar)
11221 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11222 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11223
af53d231
JK
112242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11225
11226 Test PR c++/11703 and PR gdb/1448.
11227 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11228 gdb/1448.
11229
9655fd1a
JK
112302010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11231
11232 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11233 (main) <rtti_data>: New.
11234 * gdb.cp/virtbase.exp (print rtti_data): New.
11235
824cc8dd
JK
112362010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11237 Joel Brobecker <brobecker@adacore.com>
11238
11239 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11240
6036c742
JK
112412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11242
11243 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11244
de6a0421
DE
112452010-06-28 Doug Evans <dje@google.com>
11246
11247 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11248
b2dae948
DE
112492010-06-27 Doug Evans <dje@google.com>
11250
11251 * gdb.cp/m-static.exp: Update expected test output.
11252
0f3bb72e
PH
112532010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11254
889bf7c5
PA
11255 * gdb.gdb/selftest.exp: Adjust expected message for
11256 capturing start-up runtime.
0f3bb72e 11257
bc9f0842
TT
112582010-06-25 Tom Tromey <tromey@redhat.com>
11259
11260 PR python/10808:
11261 * gdb.python/python.exp: Add new tests.
11262
099ef718
SW
112632010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11264
11265 * gdb.cp/operator.cc: Created an import loop.
11266 * gdb.cp/operator.exp: Added testcase for import loop.
11267
5868a632
JK
112682010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11269
11270 Test PR python/11407.
11271 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11272 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11273 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11274 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11275 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11276 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11277 binfile. Call gdb_compile with clean_restart twice.
11278 (func_nofb print, func_nofb backtrace, func_loopfb print)
11279 (func_loopfb backtrace): New.
11280
af76db58
JK
112812010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11282
11283 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11284 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11285 by a hand made one.
11286 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11287 i?86 requirement. Remove variables srcfile and binfile. New variable
11288 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11289
f2c7657e
UW
112902010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11291
11292 * gdb.cell/dwarfaddr.exp: New file.
11293 * gdb.cell/dwarfaddr.S: New file.
11294
628fe4e4
JK
112952010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11296
11297 Test PR 9436.
11298 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11299
f1421989
HZ
113002010-06-24 Hui Zhu <teawater@gmail.com>
11301
11302 * gdb.base/eval.exp: New file.
11303
d03285ec
UW
113042010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11305
11306 * gdb.cell/fork.exp: New file.
11307 * gdb.cell/fork.c: Likewise.
11308 * gdb.cell/fork-spu.c: Likewise.
11309
41b2c92d
PM
113102010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11311
11312 * lib/gdb.exp (banned_variables_traced): New global variable.
11313 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11314 (gdb_init): Use `trace add variable' instead of obsolete
11315 `trace variable'.
11316
d5bc977f
DE
113172010-06-21 Doug Evans <dje@google.com>
11318
11319 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11320
d2ed6730
UW
113212010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11322
11323 * gdb.arch/spu-ls.exp: New file.
11324 * gdb.arch/spu-ls.c: Likewise.
11325
6aed2dbc
SS
113262010-06-18 Stan Shebs <stan@codesourcery.com>
11327
11328 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11329
e0756905
UW
113302010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11331
11332 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11333 * gdb.base/watch-cond.exp: Likewise.
11334 * gdb.python/py-breakpoint.exp: Likewise.
11335
d8053d4d
PA
113362010-06-18 Pedro Alves <pedro@codesourcery.com>
11337
11338 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11339 clean_restart, make sure every test has a distinct message, and
11340 that messages don't include the executable' full path.
11341
81ce510c
DE
113422010-06-17 Doug Evans <dje@google.com>
11343
11344 * gdb.arch/i386-size.exp: Updated expected output for
11345 DISASSEMBLY_OMIT_FNAME.
11346
65d79d4b
SDJ
113472010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11348 Sergio Durigan Junior <sergiodj@redhat.com>
11349
11350 * gdb.base/watch-notconst.c: New file.
11351 * gdb.base/watch-notconst.S: New file.
11352 * gdb.base/watch-notconst2.c: New file.
11353 * gdb.base/watch-notconst2.S: New file.
11354 * gdb.base/watch-notconst.exp: New file.
11355 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11356 (func4): Add operations on `global_ptr_ptr'.
11357 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11358 routine to test watchpoints created with a constant expression.
11359 (test_inaccessible_watchpoint): Include tests for watchpoints
11360 created with a constant expression.
11361
df0f4836
KB
113622010-06-14 Kevin Buettner <kevinb@redhat.com>
11363
11364 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11365 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11366 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11367 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11368 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11369 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11370 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11371 of `_start'.
11372
b769def5
UW
113732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11374
11375 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11376 not supported on the target.
11377 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11378 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11379 * gdb.mi/mi-nsintrall.exp: Likewise.
11380 * gdb.mi/mi-nsmoribund.exp: Likewise.
11381 * gdb.mi/mi-nsthrexec.exp: Likewise.
11382
d914c394
SS
113832010-06-11 Stan Shebs <stan@codesourcery.com>
11384
11385 * gdb.base/permissions.exp: New file.
11386
113872010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
11388
11389 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11390 does not support ELF executable class.
11391
f3ce5b9c
UW
113922010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11393
11394 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11395
8e46892c
JK
113962010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11397
11398 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11399 (runto): Catch "The target does not support running in non-stop mode.".
11400
6cc55c64
MS
114012010-06-11 Michael Snyder <msnyder@vmware.com>
11402
11403 * gdb.base/setshow.exp (set language asm): Don't use
11404 gdb_test_no_output, fails on some targets.
11405
caddefa4
UW
114062010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11407
11408 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11409 * gdb.cp/pr9167.exp: Likewise.
11410
468b1aa7
UW
114112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11412
11413 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11414
5c3552dc
UW
114152010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11416
11417 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11418
02e6fe6a
UW
114192010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11420
11421 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11422
0e03807e
TT
114232010-06-11 Tom Tromey <tromey@redhat.com>
11424
11425 PR gdb/9977, PR exp/11636::
11426 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11427 (pieces_test_f6): Update expected output.
11428
2bdf28a0
JK
114292010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11430
11431 * gdb.base/moribund-step.exp: New.
11432
f6978de9
MS
114332010-06-08 Michael Snyder <msnyder@vmware.com>
11434
11435 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 11436 * gdb.ada/boolean_expr.exp:
f6978de9
MS
11437 * gdb.ada/frame_args.exp: Ditto.
11438 * gdb.ada/lang_switch.exp: Ditto.
11439 * gdb.ada/ptype_arith_binop.exp: Ditto.
11440 * gdb.ada/ref_param.exp: Ditto.
11441 * gdb.ada/type_coercion.exp:Ditto.
11442
11443 * gdb.asm/asm-source.exp: Ditto.
11444
11445 * gdb.base/attach.exp: Ditto.
11446 * gdb.base/bitfields2.exp: Ditto.
11447 * gdb.base/call-signal-resume.exp: Ditto.
11448 * gdb.base/callfuncs.exp: Ditto.
11449 * gdb.base/commands.exp: Ditto.
11450 * gdb.base/dbx.exp: Ditto.
11451 * gdb.base/default.exp: Ditto.
11452 * gdb.base/dump.exp: Ditto.
11453 * gdb.base/exprs.exp: Ditto.
11454 * gdb.base/freebpcmd.exp: Ditto.
11455 * gdb.base/interrupt.exp: Ditto.
11456 * gdb.base/list.exp: Ditto.
11457 * gdb.base/long_long.exp: Ditto.
11458 * gdb.base/maint.exp: Ditto.
11459 * gdb.base/ptype.exp: Ditto.
11460 * gdb.base/return.exp: Ditto.
11461 * gdb.base/setshow.exp: Ditto.
11462 * gdb.base/sigbpt.exp: Ditto.
11463 * gdb.base/sigrepeat.exp: Ditto.
11464
11465 * gdb.cp/classes.exp: Ditto.
11466
11467 * gdb.dwarf2/dw2-restore.exp: Ditto.
11468
11469 * gdb.gdb/selftest.exp: Ditto.
11470
11471 * gdb.multi/base.exp: Ditto.
11472 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11473
11474 * gdb.python/py-block.exp: Ditto.
11475 * gdb.python/py-prettyprint.exp: Ditto.
11476 * gdb.python/py-template.exp: Ditto.
11477
11478 * gdb.server/ext-attach.exp: Ditto.
11479 * gdb.server/ext-run.exp: Ditto.
11480 * gdb.server/server-mon.exp: Ditto.
11481
11482 * gdb.threads/fork-thread-pending.exp: Ditto.
11483 * gdb.threads/hand-call-in-threads.exp: Ditto.
11484 * gdb.threads/interrupted-hand-call.exp: Ditto.
11485 * gdb.threads/linux-dp.exp: Ditto.
11486 * gdb.threads/manythreads.exp: Ditto.
11487 * gdb.threads/print-threads.exp: Ditto.
11488 * gdb.threads/pthreads.exp: Ditto.
11489 * gdb.threads/schedlock.exp: Ditto.
11490 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11491 * gdb.threads/threadapply.exp: Ditto.
11492
de7ff789
MS
114932010-06-08 Michael Snyder <msnyder@vmware.com>
11494
889bf7c5 11495 * gdb.ada/exec_changed.exp:
de7ff789
MS
11496 Use ".*" instead of "" as wildcard regexp.
11497
11498 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11499 * gdb.base/call-ar-st.exp: Ditto.
11500 * gdb.base/checkpoint.exp: Ditto.
11501 * gdb.base/default.exp: Ditto.
11502 * gdb.base/dump.exp: Ditto.
11503 * gdb.base/ending-run.exp: Ditto.
11504 * gdb.base/fileio.exp: Ditto.
11505 * gdb.base/miscexprs.exp: Ditto.
11506 * gdb.base/pointers.exp: Ditto.
11507 * gdb.base/readline.exp: Ditto.
11508 * gdb.base/reread.exp: Ditto.
11509 * gdb.base/restore.exp: Ditto.
11510 * gdb.base/shlib-call.exp: Ditto.
11511 * gdb.base/valgrind-db-attach.exp: Ditto.
11512 * gdb.base/volatile.exp: Ditto.
11513 * gdb.base/watchpoints.exp: Ditto.
11514
11515 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11516
11517 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11518 * gdb.python/py-value.exp: Ditto.
11519
11520 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11521 * gdb.trace/circ.exp: Ditto.
11522 * gdb.trace/collection.exp: Ditto.
11523 * gdb.trace/packetlen.exp: Ditto.
11524 * gdb.trace/passc-dyn.exp: Ditto.
11525 * gdb.trace/report.exp: Ditto.
11526 * gdb.trace/tfile.exp: Ditto.
11527 * gdb.trace/tfind.exp: Ditto.
11528 * gdb.trace/while-dyn.exp: Ditto.
11529
3bebe2f2
JK
115302010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11531
11532 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11533
5c631832
JK
115342010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11535
11536 Test PR 10640.
11537 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11538
4c3376c8
SW
115392010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11540
11541 * gdb.cp/koenig.exp: Test for ADL operators.
11542 * gdb.cp/koenig.cc: Added ADL operators.
11543 * gdb.cp/operator.exp: New test.
11544 * gdb.cp/operator.cc: New test.
11545
dc226d5a
MS
115462010-06-04 Michael Snyder <msnyder@vmware.com>
11547
dfb88a23
MS
11548 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11549 * gdb.base/pending.exp: Ditto.
f7ae76b3 11550
dc226d5a
MS
11551 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11552
967cf477
DE
115532010-06-04 Doug Evans <dje@google.com>
11554
11555 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11556 disabled printers.
11557 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11558 (enable_lookup_function): New function.
11559
eb801841
TT
115602010-06-04 Tom Tromey <tromey@redhat.com>
11561
11562 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11563 of hash and id.
11564
38979823
JK
115652010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11566
11567 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11568 newline.
11569 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11570 (empty verbose non-noisy clear, empty verbose noisy clear)
11571 (empty non-verbose noisy clear): Likewise.
11572
35ec993f
MS
115732010-06-03 Michael Snyder <msnyder@vmware.com>
11574
11575 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11576 * gdb.base/display.exp: Ditto.
11577 * gdb.base/find.exp: Ditto.
11578 * gdb.base/ifelse.exp: Ditto.
11579 * gdb.base/multi-forks.exp: Ditto.
11580 * gdb.base/recurse.exp: Ditto.
11581 * gdb.base/setshow.exp: Ditto.
11582 * gdb.base/value-double-free.exp: Ditto.
11583 * gdb.base/watch-vfork.exp: Ditto.
11584 * gdb.base/watch_thread_num.exp: Ditto.
11585 * gdb.base/watchpoint-solib.exp: Ditto.
11586 * gdb.base/watchpoint.exp: Ditto.
11587 * gdb.base/watchpoints.exp: Ditto.
11588
11589 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11590 * gdb.cp/overload.exp: Ditto.
11591 * gdb.cp/virtfunc.exp: Ditto.
11592
11593 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11594
889bf7c5 11595 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
11596 Replace gdb_test with gdb_test_no_output.
11597
889bf7c5 11598 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
11599 Replace gdb_test with gdb_test_no_output.
11600 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11601 * gdb.threads/watchthreads.exp: Ditto.
11602 * gdb.threads/watchthreads2.exp: Ditto.
11603
11604 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11605 * gdb.trace/tfind.exp: Ditto.
11606
c22decce
JB
116072010-06-03 Joel Brobecker <brobecker@adacore.com>
11608
11609 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11610 successful test if message is the empty string.
11611
fd5700c7
JK
116122010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11613
11614 * gdb.fortran/module.exp (stopped language detection): New test.
11615
f55ee35c
JK
116162010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11617
11618 Support DW_TAG_module as separate namespaces.
11619 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11620 gdb.fortran/library-module-lib.f90: New.
11621 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11622 (print i): Remove.
11623 (continue to breakpoint: i-is-1, print var_i value 1)
11624 (continue to breakpoint: i-is-2, print var_i value 2)
11625 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11626 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11627 (complete `modmany, complete `modmany`, complete `modmany`var)
11628 (show language, setting breakpoint at module): New tests.
11629 * gdb.fortran/module.f90 (module mod): Remove.
11630 (module mod1, module mod2, module modmany, subroutine sub1)
11631 (subroutine sub2, program module): New.
11632
b8e8282f
JK
116332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11634
11635 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11636 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
11637 * gdb.cp/anon-union.exp (pass): Rename to ...
11638 (print z 2): ... here.
b8e8282f 11639
019ebafc
MS
116402010-06-02 Michael Snyder <msnyder@vmware.com>
11641
e68d8fd4
MS
11642 * gdb.trace/actions.exp: Use gdb_test_no_output.
11643 * gdb.trace/circ.exp: Ditto.
11644 * gdb.trace/packetlen.exp: Ditto.
11645 * gdb.trace/save-trace.exp: Ditto.
11646 * gdb.trace/tracecmd.exp: Ditto.
11647 * gdb.trace/tsv.exp: Ditto.
11648
12b5d08a
MS
11649 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11650 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11651 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11652 * gdb.threads/manythreads.exp: Ditto.
11653 * gdb.threads/print-threads.exp: Ditto.
11654 * gdb.threads/pthreads.exp: Ditto.
11655 * gdb.threads/schedlock.exp: Ditto.
11656 * gdb.threads/staticthreads.exp: Ditto.
11657 * gdb.threads/thread-specific.exp: Ditto.
11658 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11659 * gdb.threads/threadapply.exp: Ditto.
11660 * gdb.threads/watchthreads.exp: Ditto.
11661 * gdb.threads/watchthreads2.exp: Ditto.
11662
89493308
MS
11663 * gdb.python/py-block.exp: Use gdb_test_no_output.
11664 * gdb.python/py-prettyprint.exp: Ditto.
11665 * gdb.python/py-template.exp: Ditto.
11666 * gdb.python/py-value.exp: Ditto.
11667
11668 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11669 * gdb.reverse/watch-reverse.exp: Ditto.
11670
11671 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11672 * gdb.server/ext-run.exp: Ditto.
11673
019ebafc
MS
11674 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11675 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11676 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11677 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11678 * gdb.dwarf2/dw2-producer.exp: Ditto.
11679 * gdb.dwarf2/mac-fileno.exp: Ditto.
11680
11681 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11682 * gdb.gdb/selftest.exp: Ditto.
11683
11684 * gdb.multi/base.exp: Use gdb_test_no_output.
11685
11686 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11687
3e0ca3a5
JK
116882010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11689
11690 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11691
9db70545
MS
116922010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11693
a8d52276
MS
11694 * gdb.cp/class2.exp: Use gdb_test_no_output.
11695 * gdb.cp/classes.exp: Ditto.
11696 * gdb.cp/extern-c.exp: Ditto.
11697 * gdb.cp/inherit.exp: Ditto.
11698 * gdb.cp/maint.exp: Ditto.
11699 * gdb.cp/mb-inline.exp: Ditto.
11700 * gdb.cp/mb-templates.exp: Ditto.
11701 * gdb.cp/method2.exp: Ditto.
11702 * gdb.cp/misc.exp: Ditto.
11703 * gdb.cp/ovldbreak.exp: Ditto.
11704 * gdb.cp/punctuator.exp: Ditto.
11705 * gdb.cp/templates.exp: Ditto.
11706 * gdb.cp/virtbase.exp: Ditto.
11707
889bf7c5 11708 * gdb.threads/attach-stopped.exp:
9db70545 11709 Replace uses of send_gdb / gdb_expect.
889bf7c5 11710 * gdb.threads/attachstop-mt.exp:
9db70545 11711 Replace uses of send_gdb / gdb_expect.
889bf7c5 11712 * gdb.threads/gcore-thread.exp:
9db70545 11713 Replace uses of send_gdb / gdb_expect.
889bf7c5 11714 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
11715 Replace uses of send_gdb / gdb_expect.
11716 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11717 * gdb.threads/print-threads.exp:
9db70545
MS
11718 Replace uses of send_gdb / gdb_expect.
11719 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11720 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11721 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11722
11723 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11724 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11725 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11726 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11727 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11728 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11729 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11730 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11731 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11732 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11733 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11734
359cc68c
JK
117352010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11736
11737 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11738
7d3fe98e
SW
117392010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11740
11741 * gdb.cp/koenig.exp: Added new test case.
11742 * gdb.cp/koenig.cc: Ditto.
11743
27d3a1a2
MS
117442010-06-01 Michael Snyder <msnyder@vmware.com>
11745
11746 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11747 * gdb.base/arrayidx.exp: Ditto.
11748 * gdb.base/attach.exp: Ditto.
11749 * gdb.base/auxv.exp: Ditto.
11750 * gdb.base/bigcre.exp: Ditto.
11751 * gdb.base/break-always.exp: Ditto.
11752 * gdb.base/break-interp.exp: Ditto.
11753 * gdb.base/break.exp: Ditto.
11754 * gdb.base/breakpoint-shadow.exp: Ditto.
11755 * gdb.base/call-ar-st.exp: Ditto.
11756 * gdb.base/call-sc.exp: Ditto.
11757 * gdb.base/call-signal-resume.exp: Ditto.
11758 * gdb.base/callfuncs.exp: Ditto.
11759 * gdb.base/catch-syscall.exp: Ditto.
11760 * gdb.base/charset.exp: Ditto.
11761 * gdb.base/code-expr.exp: Ditto.
11762 * gdb.base/commands.exp: Ditto.
11763 * gdb.base/cond-expr.exp: Ditto.
11764 * gdb.base/condbreak.exp: Ditto.
11765 * gdb.base/cursal.exp: Ditto.
11766 * gdb.base/cvexpr.exp: Ditto.
11767 * gdb.base/default.exp: Ditto.
11768 * gdb.base/del.exp: Ditto.
11769 * gdb.base/detach.exp: Ditto.
11770 * gdb.base/display.exp: Ditto.
11771 * gdb.base/ena-dis-br.exp: Ditto.
11772 * gdb.base/eval-skip.exp: Ditto.
11773 * gdb.base/foll-fork.exp: Ditto.
11774 * gdb.base/foll-vfork.exp: Ditto.
11775 * gdb.base/frame-args.exp: Ditto.
11776 * gdb.base/funcargs.exp: Ditto.
11777 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11778 * gdb.base/gdbvars.exp: Ditto.
11779 * gdb.base/help.exp: Ditto.
11780 * gdb.base/ifelse.exp: Ditto.
11781 * gdb.base/included.exp: Ditto.
11782 * gdb.base/list.exp: Ditto.
11783 * gdb.base/macscp.exp: Ditto.
11784 * gdb.base/maint.exp: Ditto.
11785 * gdb.base/multi-fork.exp: Ditto.
11786 * gdb.base/overlays.exp: Ditto.
11787 * gdb.base/page.exp: Ditto.
11788 * gdb.base/pending.exp: Ditto.
11789 * gdb.base/pointers.exp: Ditto.
11790 * gdb.base/pr11022.exp: Ditto.
11791 * gdb.base/prelink.exp: Ditto.
11792 * gdb.base/printcmds.exp: Ditto.
11793 * gdb.base/psymtab.exp: Ditto.
11794 * gdb.base/randomize.exp: Ditto.
11795 * gdb.base/relational.exp: Ditto.
11796 * gdb.base/relocate.exp: Ditto.
11797 * gdb.base/remote.exp: Ditto.
11798 * gdb.base/sepdebug.exp: Ditto.
11799 * gdb.base/set-lang-auto.exp: Ditto.
11800 * gdb.base/setshow.exp: Ditto.
11801 * gdb.base/setvar.exp: Ditto.
11802 * gdb.base/signals.exp: Ditto.
11803 * gdb.base/signull.exp: Ditto.
11804 * gdb.base/sigstep.exp: Ditto.
11805 * gdb.base/sizeof.exp: Ditto.
11806 * gdb.base/solib-disc.exp: Ditto.
11807 * gdb.base/store.exp: Ditto.
11808 * gdb.base/structs.exp: Ditto.
11809 * gdb.base/structs2.exp: Ditto.
11810 * gdb.base/subst.exp: Ditto.
11811 * gdb.base/term.exp: Ditto.
11812 * gdb.base/trace-commands.exp: Ditto.
11813 * gdb.base/unwindonsignal.exp: Ditto.
11814 * gdb.base/valgrind-db-attach.exp: Ditto.
11815 * gdb.base/varargs.exp: Ditto.
11816 * gdb.base/watch-cond.exp: Ditto.
11817 * gdb.base/watch_thread_num.exp: Ditto.
11818 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11819 * gdb.base/watchpoint.exp: Ditto.
11820 * gdb.base/whatis-exp.exp: Ditto.
11821
f8d3bf8f
MS
118222010-06-01 Michael Snyder <msnyder@vmware.com>
11823
11824 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11825 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11826 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11827 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11828 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11829 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11830 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11831 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11832 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11833 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11834 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11835 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11836 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11837 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11838 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11839
3f9e0d32
JK
118402010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11841
11842 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11843 trailing newline.
11844 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11845 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11846 (p *args): ... here and remove excessive trailing newline.
11847
f629457d
JB
118482010-05-31 Joel Brobecker <brobecker@adacore.com>
11849
11850 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11851
09eef106
JK
118522010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11853
11854 Accept the new Linux kernel "t (tracing stop)" string.
11855 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11856 Update comment.
11857 (state_wait) <T (tracing stop)>: New.
11858 (main): Update the state_wait expect string.
11859
94f31136
PA
118602010-05-28 Pedro Alves <pedro@codesourcery.com>
11861
11862 * limits.c, limits.exp: Delete files.
11863 * Makefile.in (clean mostlyclean): Adjust.
11864 * tracecmd.exp: Adjust.
11865
096554ab
JK
118662010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11867
11868 * gdb.base/tui-layout.exp: New.
11869
27d3a1a2 118702010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11871
889bf7c5 11872 * gdb.reverse/break-precsave.exp:
bcd2dc50 11873 Replace uses of send_gdb / gdb_expect.
889bf7c5 11874 * gdb.reverse/break-reverse.exp:
bcd2dc50 11875 Replace uses of send_gdb / gdb_expect.
889bf7c5 11876 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11877 Replace uses of send_gdb / gdb_expect.
889bf7c5 11878 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11879 Replace uses of send_gdb / gdb_expect.
889bf7c5 11880 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11881 Replace uses of send_gdb / gdb_expect.
889bf7c5 11882 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11883 Replace uses of send_gdb / gdb_expect.
889bf7c5 11884 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11885 Replace uses of send_gdb / gdb_expect.
889bf7c5 11886 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11887 Replace uses of send_gdb / gdb_expect.
889bf7c5 11888 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11889 Replace uses of send_gdb / gdb_expect.
889bf7c5 11890 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11891 Replace uses of send_gdb / gdb_expect.
889bf7c5 11892 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11893 Replace uses of send_gdb / gdb_expect.
889bf7c5 11894 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11895 Replace uses of send_gdb / gdb_expect.
889bf7c5 11896 * gdb.reverse/machinestate.exp:
bcd2dc50 11897 Replace uses of send_gdb / gdb_expect.
889bf7c5 11898 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11899 Replace uses of send_gdb / gdb_expect.
889bf7c5 11900 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11901 Replace uses of send_gdb / gdb_expect.
889bf7c5 11902 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11903 Replace uses of send_gdb / gdb_expect.
889bf7c5 11904 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11905 Replace uses of send_gdb / gdb_expect.
889bf7c5 11906 * gdb.reverse/step-precsave.exp:
bcd2dc50 11907 Replace uses of send_gdb / gdb_expect.
889bf7c5 11908 * gdb.reverse/step-reverse.exp:
bcd2dc50 11909 Replace uses of send_gdb / gdb_expect.
889bf7c5 11910 * gdb.reverse/until-precsave.exp:
bcd2dc50 11911 Replace uses of send_gdb / gdb_expect.
889bf7c5 11912 * gdb.reverse/until-reverse.exp:
bcd2dc50 11913 Replace uses of send_gdb / gdb_expect.
889bf7c5 11914 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11915 Replace uses of send_gdb / gdb_expect.
889bf7c5 11916 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11917 Replace uses of send_gdb / gdb_expect.
11918
3def43e0
JK
119192010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11920
11921 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11922 excessive newline.
11923
27d3a1a2 119242010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11925
11926 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11927 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11928 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11929 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11930 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11931 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11932 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11933 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11934 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11935 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11936 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11937 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11938 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11939 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11940 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11941 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11942 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11943 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11944 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11945
27d3a1a2 119462010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11947
22454424
MS
11948 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11949 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11950
11951 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11952 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11953 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11954
889bf7c5 11955 * gdb.reverse/consecutive-reverse.exp:
22454424 11956 Replace uses of send_gdb / gdb_expect.
889bf7c5 11957 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11958 Replace uses of send_gdb / gdb_expect.
11959
11960 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11961 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11962 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11963 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11964 Replace uses of send_gdb / gdb_expect.
11965 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11966 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11967 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11968 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11969 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11970 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11971 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11972 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11973 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11974
119752010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11976
22454424 11977 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11978
22454424 11979 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11980
22454424
MS
11981 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11982 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11983 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11984 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11985 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11986 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11987 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11988 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11989 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11990
6e5f2c59
TT
119912010-05-25 Tom Tromey <tromey@redhat.com>
11992
11993 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11994
bbc8b958
TT
119952010-05-25 Tom Tromey <tromey@redhat.com>
11996
11997 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11998 argument order.
11999 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12000 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12001 order.
12002 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12003 order.
12004 * gdb.base/call-sc.exp (setup_kfails): Remove.
12005 (setup_compiler_kfails): Remove.
12006 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12007 argument order.
12008 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12009 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12010 (advancei): Fix setup_kfail argument order.
12011 * gdb.base/radix.exp: Fix setup_kfail argument order.
12012 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12013 order.
12014 * gdb.base/structs.exp (setup_kfails): Remove.
12015 (setup_compiler_kfails): Fix setup_kfail argument order.
12016 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12017 order.
12018 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12019 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12020 setup_kfail argument order.
12021 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12022
83d1babf
TT
120232010-05-25 Tom Tromey <tromey@redhat.com>
12024
12025 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12026
6acb16a2
MS
120272010-05-25 Michael Snyder <msnyder@vmware.com>
12028
12029 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12030 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12031 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12032 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12033 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12034 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12035 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12036 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12037 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
12038 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12039 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12040 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12041 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12042 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12043 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12044 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12045 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12046 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12047 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12048 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12049 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12050 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12051 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
12052 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12053 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12054 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12055 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12056 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12057 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12058 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12059 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12060 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12061 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12062 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12063 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12064 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12065 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12066 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12067 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12068 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12069 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12070 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12071 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12072 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12073 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12074 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12075 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 12076 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12077
120782010-05-25 Doug Evans <dje@google.com>
12079
12080 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12081 gdb.string_to_argv.
ad3986f0 12082
d3b1e874
TT
120832010-05-21 Tom Tromey <tromey@redhat.com>
12084
12085 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12086 Call it.
12087 * gdb.dwarf2/pieces.S: Update.
12088 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12089
cb826367
TT
120902010-05-21 Tom Tromey <tromey@redhat.com>
12091
12092 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12093 Call it.
12094 * gdb.dwarf2/pieces.c (struct C): New.
12095 (f6): New function.
12096 * gdb.dwarf2/pieces.S: Replace.
12097
74de6778
TT
120982010-05-21 Tom Tromey <tromey@redhat.com>
12099
12100 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12101 Call it.
12102
afd74c5f
TT
121032010-05-21 Tom Tromey <tromey@redhat.com>
12104
12105 * gdb.dwarf2.pieces.exp: New file.
12106 * gdb.dwarf2.pieces.S: New file.
12107 * gdb.dwarf2.pieces.c: New file.
12108
a7b75dfd 121092010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12110 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
12111
12112 * lib/gdb.exp (gdb_test_no_output): New function.
12113 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12114 when testing commands that should produce no output.
12115
c81c812a
JB
121162010-05-17 Joel Brobecker <brobecker@adacore.com>
12117
12118 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12119 parameter that we want to watch being a constant.
12120
0cce5bd9
JB
121212010-05-17 Joel Brobecker <brobecker@adacore.com>
12122
12123 * gdb.ada/cond_lang: New testcase.
12124
47050449
JB
121252010-05-17 Joel Brobecker <brobecker@adacore.com>
12126
12127 * lib/gdb.exp (banned_variables): New variable/constant.
12128 (gdb_init): Add write trace on variables listed in banned_variables.
12129 (gdb_finish): Remove write traces on variables listed in
12130 banned_variables.
12131
77c01586
JB
121322010-05-17 Joel Brobecker <brobecker@adacore.com>
12133
12134 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12135 * gdb.cp/koenig.exp: Likewise.
12136
88d4aea7
PM
121372010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12138
889bf7c5 12139 PR python/11482
88d4aea7
PM
12140
12141 * gdb.python/py-value.exp (test_value_hash): New function.
12142
f5a010c0
PM
121432010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12144
12145 PR exp/11530.
12146 * gdb.base/gdb11530.c: New file.
12147 * gdb.base/gdb11530.exp: New file.
12148
8ef4892f
JK
121492010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12150
12151 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12152 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12153
7322dca9
SW
121542010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12155
12156 * gdb.cp/koenig.exp: New test.
12157 * gdb.cp/koenig.cc: New test program.
12158
02e7ea18
JB
121592010-05-05 Joel Brobecker <brobecker@adacore.com>
12160
12161 Remove the use of prms_id and bug_id throughout the testsuite.
12162
e1c34c5d
PM
121632010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12164
12165 PR exp/11349.
12166 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12167 use a reference local variable.
12168
8e1d0c49
JK
121692010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12170
12171 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12172 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12173 variable different_dir. Move debugfile into a full directory pathname
12174 under DIFFERENT_DIR.
12175 * lib/gdb.exp (separate_debug_filename): Remove.
12176 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12177 variable debug_dir and mkdir of it. Update function comments.
12178
e66408ed
PA
121792010-04-29 Pedro Alves <pedro@codesourcery.com>
12180
12181 PR gdb/11557
12182
12183 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12184 files.
12185
d7b32ed3
PM
121862010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12187
889bf7c5 12188 * gdb.python/py-param.exp: New File.
d7b32ed3 12189
6aecb9c2
JB
121902010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12191
12192 * gdb.base/default.exp: Fix "set language" test.
12193
bdf92a1c
PM
121942010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12195
12196 PR breakpoints/11531.
12197 * gdb.base/gdb11531.c: New file.
12198 * gdb.base/gdb11531.exp: New file.
12199
3f172e24
TT
122002010-04-26 Tom Tromey <tromey@redhat.com>
12201
12202 * gdb.base/completion.exp: Add tests for completion and deprecated
12203 commands.
12204
64af4c92
JK
122052010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12206
12207 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12208 (print /x char_array): Escape curly brackets.
12209
492928e4
JK
122102010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12211
12212 Fix deadlock on looped list of loaded shared objects.
12213 * gdb.base/solib-corrupted.exp: New.
12214
66d09542
DE
122152010-04-23 Doug Evans <dje@google.com>
12216
12217 * gdb.python/py-section-script.c: New file.
12218 * gdb.python/py-section-script.exp: New file.
12219 * gdb.python/py-section-script.py: New file.
12220
8bd10a10
CM
122212010-04-20 Chris Moller <cmoller@redhat.com>
12222
12223 PR 10179
12224
12225 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12226 * gdb.base/pr10179-a.c:
12227 * gdb.base/pr10179-b.c:
12228 * gdb.base/pr10179.exp: New files.
12229
c0201579
JK
122302010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12231
12232 Fix crashes on dangling display expressions.
12233 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12234 is SEP.
12235 (lib_flags): Remove the "debug" keyword.
12236 (libsepdebug): New variable for iterating new loop.
12237 (save_pf_prefix): New variable wrapping the loop.
12238 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12239 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12240
793b0ff8
PM
122412010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12242
12243 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12244
097f51f7
PM
122452010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12246
12247 PR stabs/11479.
12248 * gdb.stabs/gdb11479.exp: New file.
12249 * gdb.stabs/gdb11479.c: New file.
12250
9a22f0d0
PM
122512010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12252
12253 * gdb.base/charset.c (Strin16, String32): New variables.
12254 * gdb.base/charset.exp (gdb_test): Test correct display
12255 of 16 or 32 bit strings.
12256
122572010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
12258
12259 PR 9167
12260 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12261 * gdb.cp/pr9167.cc: New file.
12262 * gdb.cp/pr9167.exp: New file.
12263
12264
6e354e5e
PM
122652010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12266
12267 PR pascal/11492.
12268 * gdb.pascal/gdb11492.pas: New file.
12269 * gdb.pascal/gdb11492.exp: New file.
12270
be942545
JB
122712010-04-20 Joel Brobecker <brobecker@adacore.com>
12272
1667e6e3 12273 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 12274
0c3acc09
JB
122752010-04-20 Joel Brobecker <brobecker@adacore.com>
12276
12277 * gdb.ada/dyn_loc: New testcase.
12278
ec31cde5
CM
122792010-04-20 Chris Moller <cmoller@redhat.com>
12280
12281 PR 10867
889bf7c5 12282
ec31cde5
CM
12283 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12284 * gdb.cp/pr10687.cc: New file.
12285 * gdb.cp/pr10687.exp: New file.
12286
12287
ce4b0682
SDJ
122882010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12289 Sergio Durigan Junior <sergiodj@redhat.com>
12290
12291 * gdb.fortran/logical.exp: New testcase.
12292 * gdb.fortran/logical.f90: New file.
12293
3436961f
DE
122942010-04-19 Doug Evans <dje@google.com>
12295
12296 * gdb.base/help.exp (help source): Update expected output.
12297
4d836c09
JK
122982010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12299
12300 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12301 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12302 gdb_exit and return.
12303 (executable): New variable.
12304 (binfile): Use it.
12305
6149aea9
PA
123062010-04-19 Pedro Alves <pedro@codesourcery.com>
12307
12308 PR breakpoints/8554.
12309
12310 * gdb.trace/save-trace.exp: Adjust.
12311
ed41462c
L
123122010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 PR corefiles/11511
12315 * gdb.arch/system-gcore.exp: New.
12316 * gdb.arch/gcore.c: Likewise.
12317
3f7b2faa
DE
123182010-04-15 Doug Evans <dje@google.com>
12319
fa33c3cd
DE
12320 * gdb.python/py-progspace.c: New file.
12321 * gdb.python/py-progspace.exp: New file.
12322
3f7b2faa
DE
12323 * gdb.base/source.exp: Add tests for "source -s".
12324
79f283fe
PM
123252010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12326
12327 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12328 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12329 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12330 * gdb.python/py-mi.exp: New test for to_string returning None.
12331
fc8eb08a
PM
123322010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12333
12334 * gdb.python/py-breakpoint.c: Make result global.
12335
26e197f6
JK
123362010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12337
12338 Fix non-GNU make compatibility.
12339 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12340
adc36818
PM
123412010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12342
12343 * gdb.python/py-breakpoint.exp: New File.
12344 * gdb.python/py-breakpoint.C: Ditto.
12345
64e17368
SS
123462010-04-08 Stan Shebs <stan@codesourcery.com>
12347
12348 * gdb.trace/actions.exp: Clear default-collect.
12349 * gdb.trace/save-trace.exp: Clear default-collect.
12350
fff5cc64
PM
123512010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12352
12353 * gdb.python/py-value: Add null string variable.
12354 (test_lazy_string): Test zero length, NULL address lazy
12355 strings.
12356
a055a187
L
123572010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 * gdb.arch/i386-avx.c: New.
12360 * gdb.arch/i386-avx.exp: Likewise.
12361
12362 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12363
96e39866
DE
123642010-04-06 Doug Evans <dje@google.com>
12365
12366 * gdb.base/source-test.gdb: New file.
12367 * gdb.base/source.exp: Test source -v.
12368
5984a431
UW
123692010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12370
12371 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12372
ec8a089a
PM
123732010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12374
12375 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12376 within one line, unless it is followed by a double quote.
12377 * gdb.stabs/hppa.sed: Idem.
12378 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
12379 * gdb.stabs/weird.exp: Check for correct parsing of
12380 char and string constants.
ec8a089a
PM
12381 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12382 in .stabs to .stabx substitution.
12383
fce3c1f0
SS
123842010-04-05 Stan Shebs <stan@codesourcery.com>
12385
12386 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12387 constant global.
12388 * gdb.trace/tfile.exp: Try to print them.
12389
d77f58be
SS
123902010-04-04 Stan Shebs <stan@codesourcery.com>
12391
12392 * gdb.base/completion.exp: Update for new "info watchpoints".
12393 * gdb.base/default.exp: Ditto.
12394 * gdb.base/help.exp: Ditto.
12395 * gdb.base/watchpoint.exp: Ditto.
12396 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 12397
af54718e
SS
123982010-04-04 Stan Shebs <stan@codesourcery.com>
12399
12400 * gdb.trace/tfile.exp: Sharpen tfind test.
12401
74d1f91e
JK
124022010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12403
12404 * gdb.base/break-entry.exp: New.
12405
eb8e76db 124062010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 12407 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
12408
12409 * gdb.reverse/i386-sse-reverse.exp: New file.
12410 * gdb.reverse/i386-sse-reverse.c: New file.
12411
bf65cad8
PA
124122010-04-02 Pedro Alves <pedro@codesourcery.com>
12413
12414 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12415
fff87407
SS
124162010-04-01 Stan Shebs <stan@codesourcery.com>
12417
12418 * gdb.trace/actions.exp: Tweak expected output.
12419 * gdb.trace/while-stepping.exp: Tweak expected output.
12420
fe01d668
L
124212010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12422
12423 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12424
86b17b60
PA
124252010-04-01 Pedro Alves <pedro@codesourcery.com>
12426
12427 * gdb.base/commands.exp: Adjust.
12428 * gdb.cp/extern-c.exp: Adjust.
12429
2c58c0a9
PA
124302010-04-01 Pedro Alves <pedro@codesourcery.com>
12431
12432 * gdb.trace/collection.c (local_test_func): Define a local struct,
12433 and instanciate it.
12434
0db9b91c
PA
124352010-04-01 Pedro Alves <pedro@codesourcery.com>
12436
12437 * gdb.trace/collection.exp (gdb_collect_args_test)
12438 (gdb_collect_argarray_test): XFAIL the tests that assume the
12439 argarray argument's elements are collected.
12440
8072405b
JK
124412010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12442
12443 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12444 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12445
8bf6485c
SS
124462010-03-31 Stan Shebs <stan@codesourcery.com>
12447
12448 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12449 and tracepoint conditionals.
12450 (gdb_verify_tracepoints): Delete unused return.
12451
fd7f724a
KS
124522010-03-26 Keith Seitz <keiths@redhat.com>
12453
12454 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12455 appear in the output before main.
12456 Remove KFAIL for gdb/2215 aka bz 9320.
12457
8d9e7719
DE
124582010-03-30 Doug Evans <dje@google.com>
12459
0906dd0b
DE
12460 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12461 by dejagnu.
12462 * gdb.arch/amd64-dword.exp: Ditto.
12463
8d9e7719
DE
12464 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12465 match.
12466 (break printf): Ditto.
12467
1da644f0
SW
124682010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12469
12470 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12471 gcc < 4.4.
12472 * gdb.cp/shadow.exp: Ditto.
12473
a8121990
PA
124742010-03-29 Pedro Alves <pedro@codesourcery.com>
12475
12476 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12477 "tstart" is silent.
12478
6e79d367
PA
124792010-03-29 Pedro Alves <pedro@codesourcery.com>
12480
12481 * gdb.trace/collection.exp (executable): New.
12482 (binfile): Use it.
12483 (fpreg, spreg, pcreg): New.
12484 (test_register): Use gdb_test_multiple. Pass /x to print.
12485 (prepare_for_trace_test): New.
12486 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12487 (gdb_collect_args_test, gdb_collect_argstruct_test)
12488 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12489 prepare_for_trace_test.
12490 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12491 fpreg, spreg and pcreg.
12492 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12493 prepare_for_trace_test.
12494 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12495 try to detect tracing support here. Don't set breakpoints at
12496 `begin' or `end' here.
12497 <global scope>: Use clean_restart. Run to main before checking
12498 for tracing support. Check for for tracing support here.
12499
09248348
JK
125002010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12501
12502 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12503 " as $displacement" to "seen displacement message".
12504
d350db38
PA
125052010-03-28 Pedro Alves <pedro@codesourcery.com>
12506
12507 * gdb.trace/while-dyn.exp (executable): New variable.
12508 (binfile): Use it.
12509 (test_while_stepping): New function. Move most tests here. Call
12510 it once for each of the while-stepping, stepping and ws aliases.
12511
907af001
UW
125122010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12513
12514 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12515 that do not provide the tagless_struct type name at all.
12516 (test_print_anon_union): Do not check value of uninitialized
12517 union member. Do not use cp_test_ptype_class, so we can accept
12518 "long" as well as "long int".
12519
610197fd
PA
125202010-03-26 Pedro Alves <pedro@codesourcery.com>
12521
12522 * gdb.trace/tfile.c (tohex, bin2hex): New.
12523 (write_error_trace_file): Hexify error description.
12524
6c28cbf2
SS
125252010-03-25 Stan Shebs <stan@codesourcery.com>
12526
12527 * gdb.trace/tfile.c: Generate an additional trace file, improve
12528 portability.
12529 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12530 files in a better way.
12531
e62b8c7e
KS
125322010-03-25 Keith Seitz <keiths@redhat.com>
12533
12534 * gdb.java/jprint.exp: XFAIL printing of static class members
12535 because of GCC debuginfo problem.
12536
82ccf5a5
JK
125372010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12538
12539 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12540
293e2f9e
DJ
125412010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12542
12543 * gdb.base/completion.exp: Allow long instead of long int.
12544 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12545 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12546 variable p.
12547 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12548 * gdb.base/pointers.exp: Allow long instead of long int.
12549 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12550 * gdb.base/step-line.exp: Allow a directory before the source file name.
12551
95a42b64
TT
125522010-03-24 Tom Tromey <tromey@redhat.com>
12553
12554 PR breakpoints/9352:
12555 * gdb.base/default.exp: Update.
12556 * gdb.base/commands.exp: Update.
12557 * gdb.cp/extern-c.exp: Test setting commands on multiple
12558 breakpoints at once.
12559
2390201f
DJ
125602010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12561
12562 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12563 if gdb,nosignals.
12564 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12565 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12566 exited".
12567
8c9a6790
SS
125682010-03-24 Stan Shebs <stan@codesourcery.com>
12569
12570 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12571
a6c727b2
DJ
125722010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12573
12574 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12575 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12576 argument. Handle "short" and "long".
12577 (Top level): Pass overprototyped output for old_fptr and xptr.
12578
4dfd5423
PA
125792010-03-23 Pedro Alves <pedro@codesourcery.com>
12580
12581 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12582 format strings and add casts to avoid compiler warnings.
12583
125842010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
12585
12586 * lib/trace-support.exp (gdb_trace_setactions):
12587 Don't expect whitespace after ">" prompt.
12588 * gdb.trace/actions.exp: Adjust for output changes.
12589 * gdb.trace/while-stepping.exp: Likewise.
12590
c847d045
JK
125912010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12592
12593 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12594 and r157645).
12595
5f717f1d
JK
125962010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12597
12598 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12599 New.
12600
7d6d51d5
DJ
126012010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12602
12603 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12604 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12605
3b11a015
SS
126062010-03-19 Stan Shebs <stan@codesourcery.com>
12607
12608 * gdb.trace/ax.exp: New file.
12609
d7d158ed
DE
126102010-03-19 Doug Evans <dje@google.com>
12611
6bb85cd1
DE
12612 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12613 output from gcc.
12614
d7d158ed
DE
12615 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12616 named /usr/sbin/prelink<foo>.
12617
4daf5ac0
SS
126182010-03-18 Stan Shebs <stan@codesourcery.com>
12619
12620 * gdb.trace/circ.exp: Test circular-trace-buffer.
12621 * gdb.trace/tfile.exp: Update tstatus test.
12622
e8d05480
JB
126232010-03-18 Joel Brobecker <brobecker@adacore.com>
12624
12625 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12626 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12627
441b986a
UW
126282010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12629
12630 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12631
4247603b
PA
126322010-03-18 Pedro Alves <pedro@codesourcery.com>
12633
12634 * gdb.base/default.exp: Adjust the expected output of the finish
12635 and until commands when the inferior is not being run.
12636
13387711
SW
126372010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12638
12639 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12640 * gdb.cp/nsusing.exp: Ditto.
12641
6e31430b
TT
126422010-03-15 Tom Tromey <tromey@redhat.com>
12643
12644 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12645 * gdb.cp/userdef.cc (operator==): New function.
12646 (main): New locals mem1, mem2.
12647
e2d69cb5
JZ
126482010-03-15 Jie Zhang <jie@codesourcery.com>
12649
12650 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12651 Declare and use new loadtimeout variable.
12652
f572f0a9
DJ
126532010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12654
12655 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12656 Use gdb_load later.
12657
51f4c0b0
PA
126582010-03-14 Pedro Alves <pedro@codesourcery.com>
12659
12660 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12661 literal. Add missing endlines to prints to stderr.
12662
1c809c68
TT
126632010-03-12 Tom Tromey <tromey@redhat.com>
12664
12665 PR c++/9708:
12666 * gdb.cp/m-static.exp: Add regression test.
12667 * gdb.cp/m-static.cc (method): New method.
12668 (main): Call it.
12669
00ae8fef
SW
126702010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12671
12672 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12673 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12674
759f0f0b
PA
126752010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12676
21e24d21
PA
12677 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12678
126792010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12680
759f0f0b
PA
12681 * lib/gdb.exp (skip_stl_tests): New.
12682 (gdb_compile): Symbian needs -ldl.
12683 (shlib_target_file): New.
12684 (shlib_symbol_file): New.
12685 (gdb_load_shlibs): Use shlib_target_file.
12686 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12687 * gdb.cp/exception.exp: Use skip_stl_tests.
12688 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12689 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12690 * gdb.cp/mb-templates.exp: Ditto.
12691 * gdb.base/commands.exp: Relax regexes.
12692 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12693 shlib_target_file and shlib_symbol_file.
12694 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12695 sections.
12696 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12697 * gdb.base/solib-disc.exp: Use
12698 shlib_target_file and shlib_symbol_file.
12699 * gdb.base/unload.exp: Don't skip on symbian. Use
12700 shlib_target_file and shlib_symbol_file.
12701 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12702
6a8f2671 127032010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12704
6a8f2671
PA
12705 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12706 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12707 Issue a tfind end before looking for a tracepoint frame.
12708 * gdb.trace/tfind.exp: Adjust tstatus output.
12709 Adjust disassembly output.
12710 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12711
ccf26247
JK
127122010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12713
12714 * gdb.base/break-interp.exp: Create new displacement parameter value
12715 for the test_ld calls.
12716 (reach): New parameter displacement, verify its content. New push of
12717 pf_prefix "reach-$func:". Import global expect_out.
12718 (test_core): New parameter displacement, verify its content. New push
12719 of pf_prefix "core:". New command "set verbose on". Import global
12720 expect_out.
12721 (test_attach): New parameter displacement, verify its content. New
12722 push of pf_prefix "attach:". New command "set verbose on". Import
12723 global expect_out.
12724 (test_ld): New parameter displacement, pass it to the reach, test_core
12725 and test_attach calls and verify its content in the "ld.so exit" test.
12726 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12727 (prelink): Update expected text, use gdb_test.
12728
e469c7fb
DE
127292010-03-10 Doug Evans <dje@google.com>
12730
12731 * gdb.base/checkpoint.exp: Fix comment.
12732 Lengthen timeout while doing >600 checkpoints test.
12733 Rename duplicate "kill all one" test to keep test names unique.
12734
60e1c644
PA
127352010-03-10 Pedro Alves <pedro@codesourcery.com>
12736
12737 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12738
cec808ec
KS
127392010-03-08 Keith Seitz <keiths@redhat.com>
12740
889bf7c5
PA
12741 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12742 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12743 (dm_type_long): New function.
12744 (dm_type_unsigned_short): New function.
12745 (dm_type_unsigned_long): New function.
12746 (myint): New typedef.
12747 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12748 long, unsigned shor and long, operator char*, and typedef.
12749 (test_lookup_operator_functions): Add operator char* test.
12750 (test_paddr_operator_functions): Likewise.
12751 (test_paddr_overloaded_functions): Use probe values for
12752 short, long, and unsigned short and long.
12753 (test_paddr_hairy_functions): If the demangler probe detected
12754 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12755 demangler.
12756 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12757 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12758 and "print null_pmf".
12759 Add test "ptype a.*pmf".
12760 * gdb.cp/overload.exp: Allow optional "int" to appear with
12761 "short" and "long".
12762 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12763 long expect value for men_overload1arg.
12764 Allow "int" to appear with "short" and "long".
12765 When testing "info break", add argument for main (void).
12766 Also allow "int" to appear with "short" and "long".
12767 Ditto with "unsigned" and "long long".
cec808ec
KS
12768 * gdb.java/jmain.exp: Do not enclose methods names in single
12769 quotes.
12770 * gdb.java/jmisc.exp: Likewise.
12771 * gdb.java/jprint.exp: Likewise.
12772 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12773
12774 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12775 * gdb.cp/exception.exp (backtrace after first throw)
12776 (backtrace after second throw): Allow a namespace before __cxa_throw.
12777 (backtrace after first catch, backtrace after second catch): Allow
12778 a namespace before __cxa_begin_catch.
12779
12780 * gdb.cp/cpexprs.exp: New file.
12781 * gdb.cp/cpexprs.cc: New file.
12782
12783 From Daniel Jacobowitz <dan@codesourcery.com>
12784 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12785 to use string_to_regexp.
12786 (ctor, dtor): New functions. Use them to match constructor
12787 and destructor function types.
12788 (Top level): Use runto_main.
12789
f870a310
TT
127902010-03-05 Tom Tromey <tromey@redhat.com>
12791
12792 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12793 gdb.target_charset.
12794 (pp_ns.to_string): Likewise.
12795
0c199f28
KS
127962010-03-04 Keith Seitz <keiths@redhat.com>
12797
12798 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12799 can be quoted. Test that both the filename and function/line
12800 portions can be quoted at the same time.
12801
c7437ca6
PA
128022010-03-04 Pedro Alves <pedro@codesourcery.com>
12803
12804 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12805
b111b805
DE
128062010-03-03 Doug Evans <dje@google.com>
12807
24486cb7
DE
12808 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12809 libc contains libpthread.
12810
b111b805
DE
12811 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12812 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12813 of gdb_compile. Add another pattern to match android backtrace.
12814
a0e0ef55
TT
128152010-03-03 Tom Tromey <tromey@redhat.com>
12816
12817 PR gdb/11345:
12818 * gdb.base/printcmds.exp (test_printf): Add test.
12819
1ba53b71
L
128202010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12821
12822 * gdb.arch/amd64-byte.exp: New.
12823 * gdb.arch/amd64-dword.exp: Likewise.
12824 * gdb.arch/amd64-pseudo.c: Likewise.
12825 * gdb.arch/amd64-word.exp: Likewise.
12826 * gdb.arch/i386-byte.exp: Likewise.
12827 * gdb.arch/i386-pseudo.c: Likewise.
12828 * gdb.arch/i386-word.exp: Likewise.
12829
f5dff777
DJ
128302010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12831
12832 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12833 types. Add structreg, bitfields, and flags registers.
12834 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12835 registers.
12836
90884b2b
L
128372010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12838
12839 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12840 (load_description): Set architecture if defined.
12841
dc00d89f
PM
128422010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12843
12844 * gdb.python/py-frame.exp: Add read_var block tests.
12845 * gdb.python/py-frame.c (block): New function.
12846
0e095b7e
JK
128472010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12848 Daniel Jacobowitz <dan@codesourcery.com>
12849
12850 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12851
624f1a65
DM
128522010-02-25 David S. Miller <davem@davemloft.net>
12853
12854 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12855 fix logic for setting all_syscalls_numbers.
12856
f3e9a817
PM
128572010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12858
12859 * Makefile.in: Add py-block and py-symbol.
12860 * gdb.python/py-symbol.exp: New File.
12861 * gdb.python/py-symtab.exp: New File.
12862 * gdb.python/py-block.exp: New File.
12863 * gdb.python/py-symbol.c: New File.
12864 * gdb.python/py-block.c: New File.
12865
f6bbabf0
PM
128662010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12867
12868 PR python/11314
12869 * lib/gdb.exp (skip_python_tests): New function.
12870 * gdb.python/py-cmd.exp: Use skip_python_tests.
12871 * gdb.python/py-frame.exp: Likewise.
12872 * gdb.python/py-function.exp: Likewise.
12873 * gdb.python/py-prettyprint.exp: Likewise.
12874 * gdb.python/py-template.exp: Likewise.
12875 * gdb.python/py-type.exp: Likewise.
12876 * gdb.python/py-value.exp: Likewise.
12877
85d721b8
PA
128782010-02-22 Pedro Alves <pedro@codesourcery.com>
12879
12880 PR9605
12881
12882 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12883
48e32051
TT
128842010-02-19 Tom Tromey <tromey@redhat.com>
12885
12886 PR c++/8693, PR c++/9496:
12887 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12888 regression tests.
12889
ac9c0048
JK
128902010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12891
12892 Fix compatibility with m68k as.
12893 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12894 Use only /* comments */.
12895
57bb97a4
UW
128962010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12897
12898 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12899 * configure: Regenerate.
12900
7d1bf85c
DJ
129012010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12902
12903 * gdb.python/py-type.exp: Check for Python support.
12904
061b5285
PA
129052010-02-17 Pedro Alves <pedro@codesourcery.com>
12906
12907 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12908 `regsub' syntax available.
12909
f8a8bc2c
PA
129102010-02-17 Pedro Alves <pedro@codesourcery.com>
12911
12912 * gdb.base/shmain.c (main): Remove printf call.
12913 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12914 * gdb.base/unload.c (main): Make format of fprintf a string
12915 literal. Add missing endlines to prints to stderr.
12916 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12917
6f451e5e
TT
129182010-02-17 Tom Tromey <tromey@redhat.com>
12919
12920 * gdb.java/jprint.java (jprint.props): New field.
12921 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12922
12d79008
PA
129232010-02-17 Pedro Alves <pedro@codesourcery.com>
12924
ef801a0e 12925 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12926 available.
12927
d252f7e5
DJ
129282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12929
12930 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12931 creation to support remote host testing.
12932
67bdab6c
DJ
129332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12934
12935 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12936 Recognize "command not found".
12937
bb391223
DJ
129382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12939
12940 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12941 single-stepping.
12942
70362913
DJ
129432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12944
12945 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12946 if arguments are not supported.
12947
493f3c00
DJ
129482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12949
12950 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12951 be const or non-const.
12952
8034c749
DJ
129532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12954
12955 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12956 mi_send_resuming_command to send -exec-continue.
12957
791dfb64
DJ
129582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12959
12960 * gdb.base/list.exp (test_list_filename_and_function): Add test
12961 with single quotes.
12962 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12963 matching.
12964 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12965 Add KFAIL'd tests for PR gdb/11289.
12966
7c5fe868
DJ
129672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12968
12969 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12970
fdc498b8
DJ
129712010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12972
12973 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12974 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12975 a temporary directory.
12976
b519e2a6
DJ
129772010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12978
12979 * gdb.base/charset.exp: Use a single regular expression to match
12980 show host-charset and show target-charset output.
12981
74164c56
JK
129822010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12983
12984 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12985 "Illegal process-id" expect string more exact.
12986 (attach to digits-starting nonsense is prohibited): New.
12987
701ed6dc
JK
129882010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12989
12990 * gdb.base/prelink.exp (set verbose on): New.
12991
889bf7c5 129922010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12993
12994 * mi-reverse.exp: New file. Test for reverse option to the
12995 following MI commands: exec-continue, exec-finish, exec-next,
12996 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12997
dadf0e9c
JB
129982010-02-09 Joel Brobecker <brobecker@adacore.com>
12999
13000 * gdb.ada/ptype_tagged_param: New testcase.
13001
714f19d5
TT
130022010-02-08 Tom Tromey <tromey@redhat.com>
13003
13004 PR c++/8017:
13005 * gdb.cp/overload.exp: Add tests.
13006 * gdb.cp/overload.cc (struct K): New.
13007 (namespace N): New.
13008 (main): Call new functions.
13009 (K::staticoverload): Define.
13010
889bf7c5 130112010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
13012
13013 PR gdb/10728
13014 * gdb.cp/pr10728-x.h: New file.
13015 * gdb.cp/pr10728-x.cc: New file.
13016 * gdb.cp/pr10728-y.cc: New file.
13017 * gdb.cp/pr10728.exp: New file.
13018 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13019
889bf7c5 130202010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
13021
13022 PR gdb/9067
13023 * gdb.cp/pr9067.exp: New
13024 * gdb.cp/pr9067.cc: New
13025 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13026
7b356089
JB
130272010-02-08 Joel Brobecker <brobecker@adacore.com>
13028
13029 * lib/gdb.exp (gdb_test_timeout): New global variable.
13030 Set it to timeout if not already set.
13031 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13032
1be00882
DE
130332010-02-05 Doug Evans <dje@google.com>
13034
13035 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13036 user.
13037
82856980
SW
130382010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13039
13040 PR c++/7935:
13041 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13042
1a334831
TT
130432010-02-04 Tom Tromey <tromey@redhat.com>
13044
13045 * gdb.cp/virtbase.exp: Make test case names unique.
13046
9c3c02fd
TT
130472010-02-02 Tom Tromey <tromey@redhat.com>
13048
13049 * gdb.cp/virtbase.exp: Add regression tests.
13050 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13051 (main): Instantiate RHC.
13052
0cc2414c
TT
130532010-02-02 Tom Tromey <tromey@redhat.com>
13054
13055 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13056 type-printing change.
13057
edf3d5f3
TT
130582010-02-02 Tom Tromey <tromey@redhat.com>
13059
13060 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13061 * gdb.cp/virtbase.cc: New file.
13062 * gdb.cp/virtbase.exp: New file.
13063 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13064
e4b7f41c
JK
130652010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13066
13067 PR libc/11214:
13068 * gdb.threads/current-lwp-dead.c: Include features.h.
13069 (HAS_NOMMU): New.
13070 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13071
b381ea14
JK
130722010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 * gdb.base/symbol-without-target_section.exp,
13075 gdb.base/symbol-without-target_section.c: New.
13076
c593ac0e
DJ
130772010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13078
13079 * gdb.base/bigcore.exp: Reset increased timeout.
13080 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13081
db25f29d
DJ
130822010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13083
13084 * gdb.base/gcore.exp (capture_command_output): Use
13085 gdb_test_multiple.
13086
f9d67f43
DJ
130872010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13088
13089 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13090 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13091 (Top level): Call it.
13092
177321bd
DJ
130932010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13094
13095 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13096
97f2ed50
DJ
130972010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13098
13099 * gdb.base/call-strs.exp, gdb.base/default.exp,
13100 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13101 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13102 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13103 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13104 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13105 * gdb.base/ending-run.exp: Correct restore of timeout.
13106 * gdb.base/page.exp: Remove unnecessary timeout setting.
13107
e4e2711a
JB
131082010-01-29 Joel Brobecker <brobecker@adacore.com>
13109
13110 * gdb.ada/rec_return: New testcase.
13111
ba581dc1
JB
131122010-01-29 Joel Brobecker <brobecker@adacore.com>
13113
13114 * gdb.ada/call_pn: New testcase.
13115
4ea95be9
DJ
131162010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13117
13118 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13119 (Top level): Use it to resume.
13120 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13121 the Thumb mode displaced stepping error as unsupported.
13122
df83a9bf
SW
131232010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13124
889bf7c5
PA
13125 * gdb.cp/nsusing.exp: Added more tests.
13126 * gdb.cp/nsrecurs.exp: Ditto.
13127 * gdb.cp/nsusing.cc: Added test functions.
13128 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 13129
40b27cdc
JK
131302010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13131
13132 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13133 absolute directory pathnames in gdb.sum file.
13134
de958931
SW
131352010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13136
13137 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13138 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13139
708ead4e
TT
131402010-01-26 Tom Tromey <tromey@redhat.com>
13141
13142 PR exp/7643:
13143 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13144 setup_kfail.
13145
b14e635e
SW
131462010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13147
13148 * gdb.cp/nsrecurs.exp: New test.
13149 * gdb.cp/nsrecurs.cc: New test program.
13150 * gdb.cp/nsstress.exp: New test.
13151 * gdb.cp/nsstress.cc: New test program.
13152 * gdb.cp/nsdecl.exp: New test.
13153 * gdb.cp/nsdecl.cc: New test program.
13154
8540c487
SW
131552010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13156
13157 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13158 imported into file scope.
13159 Marked test as xfail.
13160 * gdb.cp/namespace-using.cc (marker5): New function.
13161 * gdb.cp/shadow.exp: New test.
13162 * gdb.cp/shadow.cc: New test program.
13163 * gdb.cp/nsimport.exp: New test.
13164 * gdb.cp/nsimport.cc: New test program.
13165
421d5d99
TT
131662010-01-25 Tom Tromey <tromey@redhat.com>
13167
13168 PR gdb/11049:
13169 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13170 with "set print null-stop on".
13171
691f8dc1
JK
131722010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13173
13174 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13175 Adjust it for DISASSEMBLY_OMIT_FNAME.
13176
0b92b5bb
TT
131772010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13178
13179 PR symtab/11199:
13180 * gdb.dwarf2/member-ptr-forwardref.exp,
13181 gdb.dwarf2/member-ptr-forwardref.S: New.
13182
23787403
JK
131832010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13184
13185 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13186 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13187 thread1_tid_mutex. Remove gdbstop_mutex handling.
13188 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13189 thread2_tid_mutex. Remove gdbstop_mutex handling.
13190 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13191 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13192 pthread_cond_wait conditionalizations by while loops.
13193
b966cb8a
TT
131942010-01-20 Tom Tromey <tromey@redhat.com>
13195
13196 PR backtrace/10770:
13197 * gdb.dwarf2/pr10770.exp: New file.
13198 * gdb.dwarf2/pr10770.c: New file.
13199 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13200
fcae584b
VP
132012010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13202
13203 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13204 that target was removed, and the test always runs native anyway.
13205
a0f49112
JK
132062010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13207
13208 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13209 gdb.base/watchpoint-cond-gone-stripped.c: New.
13210
ceeb3d5a
TT
132112010-01-19 Tom Tromey <tromey@redhat.com>
13212
13213 PR c++/8000:
13214 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13215 existing tests.
13216 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13217 (main): Use AAA::SomeEnum.
13218
dd322c54
JK
132192010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13220
13221 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13222 (test_ignore_count): Declare line_callme_body global.
13223 (run to breakpoint with ignore count): Use line_callme_body.
13224 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13225 (set line_main_hello, set line_main_return): Reindent.
13226 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13227 New.
13228 (continue to callee4): Use line_callee4_body.
13229 (check *stopped from CLI command): Use line_callee4_next.
13230 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13231 (set line_main_hello, set line_main_return): Reindent.
13232 (set line_callee4_head, set line_callee4_body): New.
13233 (continue to callee4): Use line_callee4_body.
13234
4e8f195d
TT
132352010-01-18 Tom Tromey <tromey@redhat.com>
13236
13237 PR c++/9680:
13238 * gdb.cp/casts.cc: Add new classes and variables.
13239 * gdb.cp/casts.exp: Test new operators.
13240
9e14a9ba
JB
132412010-01-18 Tom Tromey <tromey@redhat.com>
13242 Thiago Jung Bauermann <bauerman@br.ibm.com>
13243
13244 * gdb.python/source2.py: New file.
13245 * gdb.python/source1: New file.
13246 * gdb.python/python.exp: Test "source" command.
13247
00bf0b85
SS
132482010-01-15 Stan Shebs <stan@codesourcery.com>
13249
13250 * gdb.trace/tfile.c: New file.
13251 * gdb.trace/tfile.exp: New file.
889bf7c5 13252
55235ad7
JK
132532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13254
13255 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13256
9f2982ff
JK
132572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13258
13259 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13260
bbfba9ed
JK
132612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13262
13263 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13264 (libfunc): New parameter action. Implement also selectable "sleep".
13265 * gdb.base/break-interp-main.c: Include assert.h.
13266 (libfunc): New parameter action.
13267 (main): New parameters argc and argv. Assert argc. Pass argv.
13268 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13269 (test_attach): New proc.
13270 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13271 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13272
61f0d762
JK
132732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13274
13275 * gdb.base/break-interp.exp (test_core): New proc.
13276 (test_ld): Call it.
13277
06a6f270
JK
132782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13279
13280 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13281 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13282 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13283 and gdb_compile_shlib. Use new -Wl compiler options.
13284 (dl bt, main bt): New tests.
13285
51bee8e9
JK
132862010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13287
13288 Support PIEs with no symfile_objfile.
13289 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13290 (test_ld): New parameter trynosym.
13291 (test_ld <$trynosym>): New block.
13292
b8040f19
JK
132932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13294
13295 * gdb.base/break-interp.exp: New file.
13296
be759fcf
PM
132972010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13298
13299 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13300 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13301 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13302 test.
13303 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13304 * gdb.python/py-mi.exp: Add lazy string test.
13305
dc146f7c
VP
133062010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13307
13308 * lib/mi-support.exp (mi_check_thread_states): Handle
13309 core number in thread listing.
13310
b4ba55a1
JB
133112010-01-12 Joel Brobecker <brobecker@adacore.com>
13312
13313 * gdb.base/maint.exp: Adjust the expected output for the
13314 "maint print type" test. Use gdb_test_multiple instead of
13315 gdb_sent/gdb_expect.
13316
08e24bd4
DE
133172010-01-11 Doug Evans <dje@google.com>
13318
6496a609
DE
13319 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13320 from gdbserver_download. All callers updated.
13321
08e24bd4
DE
13322 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13323
b5cfddf5
JK
133242010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13325
13326 Implement binary numbers parsing.
13327 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13328 (test_integer_literals_rejected): New binary tests.
13329
3725885a
RW
133302010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13331
13332 * gdb.cell/configure: Regenerate.
13333
37aeb5df
JK
133342010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13335
13336 * gdb.base/corefile.exp: Move the core finding block out and call it as
13337 core_find, new variable $corefile, replace corefile by $corefile and
13338 [file tail $corefile] for usage vs. test names resp.
13339 * lib/gdb.exp (core_find): Move it as a new function here. New
13340 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13341 $destcore. Return "" on error.
13342
d521f563
JK
133432010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13344
13345 Workaround PR binutils/10802.
13346 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13347 (twice).
13348
28f24826
DJ
133492010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13350
13351 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13352
2de75e71
JB
133532010-01-08 Joel Brobecker <brobecker@adacore.com>
13354
13355 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13356 call, to avoid interruption.
13357
fe00719b 133582010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
13359
13360 * gdb.stabs/weird.def (args93): New.
13361
d0ef5df8
DE
133622010-01-07 Doug Evans <dje@google.com>
13363
13364 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13365
3a08d52f
TT
133662010-01-07 Tom Tromey <tromey@redhat.com>
13367
13368 * gdb.base/source.exp: Use correct line number.
13369
7a697b8d
SS
133702010-01-05 Stan Shebs <stan@codesourcery.com>
13371
13372 * gdb.trace/tracecmd.exp: Test ftrace.
13373
7803799a
UW
133742010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13375
13376 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13377
c54eabfa
JK
133782010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13379
13380 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13381 "uint_for_mi_testing".
13382
02e7ef19
JB
133832010-01-01 Joel Brobecker <brobecker@adacore.com>
13384
13385 Test indented comment in file being sourced.
13386 * gdb.base/commands.exp: Test indented comment in file being sourced.
13387
abd775ce
JB
133882010-01-01 Joel Brobecker <brobecker@adacore.com>
13389
13390 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13391 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13392 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13393 notice.
13394
79b55b82
JB
133952010-01-01 Joel Brobecker <brobecker@adacore.com>
13396
13397 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13398 notice.
13399
8997583e
JK
134002010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13401
13402 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13403 missing $after_stopped and comma (,) expectation.
13404
6da95a67
SS
134052009-12-31 Stan Shebs <stan@codesourcery.com>
13406
13407 * gdb.trace/actions.exp: Test teval action.
889bf7c5 13408
218d2fc6
TJB
134092009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13410
13411 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13412 (top level): Call test_watchpoint_in_big_blob.
13413 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13414 watchpoints.
13415 (func3): Write to buf.
13416
236f1d4d
SS
134172009-12-29 Stan Shebs <stan@codesourcery.com>
13418
13419 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 13420
f61e138d
SS
134212009-12-28 Stan Shebs <stan@codesourcery.com>
13422
13423 * gdb.trace/tsv.exp: New file.
13424 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 13425
0219b378
DJ
134262009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13427
13428 * gdb.base/find.c (main): Reference search buffers.
13429 * gdb.base/included.c (main): Reference integer.
13430 * gdb.base/ptype.c (charfoo): Declare.
13431 (intfoo): Call charfoo.
13432 * gdb.base/scope0.c (useitp): New function.
13433 (usestatics): Use useitp.
13434 (useit): Add a type for val.
13435 * gdb.base/scope1.c (useit1): Take a pointer argument.
13436 (usestatics1): Update calls to useit1.
13437 * gdb.cp/call-c.cc: Declare foo.
13438 (main): Call foo.
13439 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13440 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13441 (main): Call C::ensureRefs and ensureOtherRefs.
13442 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13443 variables.
13444 (ensureOtherRefs): New function.
13445 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13446 * gdb.cp/templates.cc (main): Call t5i.value.
13447
3f78692f
JK
134482009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13449
13450 Fix compatibility with G++-4.5.
13451 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13452 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13453 (uncaught return): Remove.
13454
429374b8
JK
134552009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13456 Phil Muldoon <pmuldoon@redhat.com>
13457
13458 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13459 (bp_location13, bp_location14, bp_location17, bp_location18)
13460 (marker3_proto, marker4_proto): New variables.
13461 (breakpoint info): Update output.
13462 (run until breakpoint at marker3, run until breakpoint at marker4): New
13463 tests.
13464
859825b8
JK
134652009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13466
13467 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13468 Replace the printf call of Y by provided "y-set-1" label. New block
13469 for the second shared library.
13470 * gdb.base/unload.exp: Compile also the second library, call
13471 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13472 (single pending breakpoint info): Rename to ...
13473 (pending breakpoint info before run): ... this extended test.
13474 (libfile2, libname2, libsrcfile2, libsrc2)
13475 (lib_sl2): New variables.
13476 (exec_opts): Set also SHLIB_NAME2.
13477 (pending breakpoint info on first run at shrfunc1)
13478 (pending breakpoint info on second run at shrfunc1)
13479 (pending breakpoint info on second run at shrfunc2)
13480 (print y from libfile, print y from libfile2): New tests.
13481 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13482 * gdb.base/unloadshr2.c: New.
13483
e6a386cd
HZ
134842009-12-22 Hui Zhu <teawater@gmail.com>
13485
13486 * gdb.reverse/sigall-reverse.exp: Adjust.
13487
9e19b45e
VP
134882009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13489
13490 PR gdb/10884
13491
13492 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13493 (main): Call do_bitfield_tests.
aacf5b1e 13494 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 13495
d53a7b30
JB
134962009-12-20 Joel Brobecker <brobecker@adacore.com>
13497
13498 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13499 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13500 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13501 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13502 gdb.modula2/unbounded1.c: Update copyright header.
13503
191ca0a1
CM
135042009-12-10 Chris Moller <moller@mollerware.com>
13505
13506 PR gdb/9399
13507 * gdb.cp/virtfunc2.exp: New tests
13508 * gdb.cp/virtfunc2.cc: New tests
13509 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13510
0fa6cf1b
MS
135112009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13512
13513 * gdb.reverse/i387-env-reverse.c: New file.
13514 * gdb.reverse/i387-env-reverse.exp: New file.
13515 * gdb.reverse/i387-stack-reverse.c: New file.
13516 * gdb.reverse/i387-stack-reverse.exp: New file.
13517
361ae042
PM
135182009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13519
13520 * gdb.python/py-type.exp (test_range): New test.
13521
bfd31e71
PM
135222009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13523
13524 PR python/10805
13525
13526 * gdb.python/py-type.exp: New file.
13527 * gdb.python/py-type.c: New file.
13528 * Makefile.in: Add py-type.
13529
57a1d736
TT
135302009-12-03 Tom Tromey <tromey@redhat.com>
13531
13532 * gdb.python/py-value.exp (test_parse_and_eval): New
13533 function.
13534
1f3b5d1b
PP
135352009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13536
13537 PR gdb/11022
13538
13539 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
13540 * gdb.base/pr11022.c: New test.
13541
8b7dbdc9
JK
135422009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13543
13544 Fix spurious false FAILs.
13545 * gdb.base/structs.c (chartest): New.
13546 (main): Fill-in chartest.
13547 * gdb.base/structs.exp (anychar_re, first): New.
13548 (start_structs_test): Import global anychar_re and first.
13549 New gdb_test call "set print elements 300; ${testfile}"
13550 (start_structs_test <$first>): New block.
13551 (any): Import global anychar_re. New variable ac. Use ${ac}.
13552
6a53b2ec
JK
135532009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13554
13555 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13556
d7167b4c
JK
135572009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13558
13559 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13560 Force $srcfile file.
13561 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13562
b1798462
UW
135632009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13564
13565 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13566 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13567 * gdb.threads/watchthreads-reorder.exp: Likewise.
13568
b6199126
DJ
135692009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13570
13571 PR gdb/8704
13572
13573 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13574 "if", and "thread". Correct matching in the previous test.
13575
b22a0510
DJ
135762009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13577
13578 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13579
930636d2
MS
135802009-11-23 Michael Snyder <msnyder@vmware.com>
13581
13582 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13583 * gdb.reverse-watch-precsave.exp: Ditto.
13584
21a0512e
PP
135852009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13586
13587 * gdb.asm/asm-source.exp: Adjust.
13588 * gdb.base/help.exp: Adjust.
889bf7c5 13589
fc30d5e0
PA
135902009-11-22 Pedro Alves <pedro@codesourcery.com>
13591
13592 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13593 (do_syscall_tests_without_xml): Set data-directory to
13594 /the/path/to/nowhere.
13595
f6bc2008
PA
135962009-11-21 Pedro Alves <pedro@codesourcery.com>
13597
13598 * gdb.threads/local-watch-wrong-thread.c,
13599 gdb.threads/local-watch-wrong-thread.exp: New files.
13600
8c2fb5de
PA
136012009-11-21 Pedro Alves <pedro@codesourcery.com>
13602
13603 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13604 assume new `regsub' syntax available.
13605
ebec9a0f
PA
136062009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13607
a79d3c27
JK
13608 * gdb.base/watchpoint-hw-hit-once.exp,
13609 gdb.base/watchpoint-hw-hit-once.c: New.
13610
136112009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13612
13613 * gdb.threads/watchthreads-reorder.exp,
13614 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 13615
276a961b
MK
136162009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13617
13618 * gdb.xml/tdesc-regs.exp: Use for m68k.
13619
4867c1fb
PA
136202009-11-15 Pedro Alves <pedro@codesourcery.com>
13621
13622 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13623
f6838f81
DJ
136242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13625
13626 * lib/gdb.exp (current_target_name): New procedure.
13627 (gdb_wrapper_target): New variable.
13628 (gdb_wrapper_init): Set gdb_wrapper_target.
13629 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13630 wrapper.
13631
4ac4dd3f
DJ
136322009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13633
13634 * gdb.base/remote.exp: Delete the slowest load test.
13635 Do not load with fixed packet sizes.
13636
a7881759
DJ
136372009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13638
13639 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13640
97a5b505
DJ
136412009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13642
13643 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13644 srcfile when setting a breakpoint.
13645
d3e1fc54
DJ
136462009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13647
13648 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13649 macros.
13650
7cbcbded
DJ
136512009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13652
13653 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13654 to be in memory.
13655 * gdb.base/display.c (force_mem): New.
13656 (do_loops): Use it. Add breakpoint comments.
13657 (do_vars): Add a breakpoint comment.
13658 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13659 line numbers.
13660
bdea3a92
NF
136612009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13662
13663 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13664 instead of a bare "run".
13665
269f82e5
PP
136662009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13667
13668 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 13669
a69b7d9d
DJ
136702009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13671
13672 * lib/cell.exp (skip_cell_tests): Clean up test files before
13673 returning.
13674
b598bfda
DJ
136752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13676
13677 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13678 and the breakpoint menu. Do not call perror if a prompt is seen.
13679 Consume the following GDB prompt.
13680 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13681 * gdb.cp/namespace.exp: Use gdb_test.
13682 * gdb.cp/templates.exp: Use gdb_test.
13683 (test_template_breakpoints): Use gdb_test_multiple.
13684
87728fa0
DJ
136852009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13686
13687 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13688 (marker4): Reference values.
13689
b67c692f
DJ
136902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13691
13692 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13693 is missing.
13694
f0df251a
DJ
136952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13696
13697 * gdb.base/break.c (need_malloc): New.
13698 * gdb.base/constvars.c (main): Reference crass and crisp.
13699 * gdb.base/gdb1821.c (main): Reference bar.
13700 * gdb.cp/gdb1355.cc (main): Reference s1.
13701 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13702 (main): Call them.
13703 * gdb.cp/hang2.cc (dummy2): Define.
13704 * gdb.cp/hang3.cc (dummy3): Define.
13705 * gdb.cp/m-data.cc (main): Reference shadow.
13706
bdf7534a
NF
137072009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13708 Nathan Froyd <froydnj@codesourcery.com>
13709
13710 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13711 remote host.
13712
f24fce77
NF
137132009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13714
13715 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13716 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13717 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13718 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13719 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13720 * gdb.dwarf2/dw2-producer.exp: Likewise.
13721 * gdb.dwarf2/mac-fileno.exp: Likewise.
13722 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13723 py-prettyprint.py to the remote host.
13724 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13725
40f0318e
KS
137262009-11-11 Keith Seitz <keiths@redhat.com>
13727
13728 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13729 use it instead of "Foo".
13730 * gdb.cp/classes.exp (do_tests): Add a test to access
13731 a method through a typedef'd class name.
13732
f3d9f7fb
NF
137332009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13734
13735 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13736 exponents.
13737 * gdb.base/pointers.exp: Likewise.
13738 * gdb.cp/ref-types.exp: Likewise.
13739
a4216f37
KS
137402009-11-11 Keith Seitz <keiths@redhat.com>
13741
13742 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13743 new[] and delete[].
13744 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13745 "void".
13746 (probe_demangler): Remove all single-quoting of
13747 method and variable names.
13748 (info_func_regexp): Remove the word "void" from any
13749 occurrence of "(void)".
13750 (print_addr_2): Remove all single-quoting of
13751 method names.
13752 (print_addr_2_kfail): Likewise.
13753 (print_addr): Single-quote C function names before
13754 passing to print_addr_2.
13755 (test_paddr_operator_functions): Remove single-quoting
13756 for method names.
13757 Add tests for operator new[] and operator delete[].
13758
9b14d7aa
JK
137592009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13760
13761 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13762
85feb311
KS
137632009-11-09 Keith Seitz <keiths@redhat.com>
13764
13765 * gdb.cp/overload.exp: Add tests for resolving overloaded
13766 methods in expression parsing/evaluation.
13767
fa335448
DJ
137682009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13769
13770 * lib/gdb.exp (default_gdb_version): Use --version instead of
13771 --command.
13772
ec3c07fc
NS
137732009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13774
13775 * lib/gdb.exp (gdb_compile_test): New.
13776 (skip_ada_tests, skip_java_tests): New.
13777 (gdb_compile): Use gdb_compile_test for f77.
13778 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13779 * lib/java.exp (compile_java_from_source): Remove runtests check,
13780 use gdb_compile_test to record result.
13781 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13782 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13783 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13784 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13785 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13786 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13787 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13788 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13789 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13790 adjust gdb_compile invocations.
13791
b8b4e42b
JK
137922009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13793
13794 * Makefile.in (abs_builddir): New.
13795 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13796 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13797 `$(abs_builddir)/site.exp'.
13798
f8b7eaf3
DJ
137992009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13800
13801 * config/m68k-emc.exp, lib/emc-support.exp,
13802 gdb.trace/gdb_c_test.c: Delete.
13803 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13804 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13805 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13806 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13807 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13808 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13809 casing for m68k-*-elf.
13810
c4187697
NS
138112009-11-03 Pedro Alves <pedro@codesourcery.com>
13812
13813 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13814 * gdb.arch/i386-prologue.exp: Likewise.
13815 * gdb.arch/i386-unwind.exp: Likewise.
13816
db16b772
DJ
138172009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13818
13819 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13820
bcf71277
DJ
138212009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13822
13823 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13824
0105cee2
DJ
138252009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13826
13827 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13828
24ddea62
JK
138292009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13830
13831 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13832
287ccc17
JK
138332009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13834
13835 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13836 * gdb.base/sepdebug2.c: New file.
13837
08bca259 138382009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13839
13840 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13841 the modified warnings for catch syscall. Verify if GDB was compiled
13842 with support for lib expat, and choose which tests to run depending
13843 on this.
13844
5d4e2b76
VP
138452009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13846
13847 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13848 that composite commands are parsed OK. And also test
13849 that breakpoint commands do work.
13850
240e538a
MS
138512009-10-23 Michael Snyder <msnyder@vmware.com>
13852
13853 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13854 to allow for new disassembly style.
13855
9c419145
PP
138562009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13857
13858 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13859
02506ff1
MS
138602009-10-22 Michael Snyder <msnyder@vmware.com>
13861
13862 * gdb.reverse/break-precsave.exp: New test.
13863 * gdb.reverse/consecutive-precsave.exp: Ditto.
13864 * gdb.reverse/finish-precsave.exp: Ditto.
13865 * gdb.reverse/i386-precsave.exp: Ditto.
13866 * gdb.reverse/machinestate-precsave.exp: Ditto.
13867 * gdb.reverse/sigall-precsave.exp: Ditto.
13868 * gdb.reverse/solilb-precsave.exp: Ditto.
13869 * gdb.reverse/step-precsave.exp: Ditto.
13870 * gdb.reverse/until-precsave.exp: Ditto.
13871 * gdb.reverse/watch-precsave.exp: Ditto.
13872
4cf866a3
MS
138732009-10-22 Michael Snyder <msnyder@vmware.com>
13874
13875 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13876 for gdb_expect. Adjust one test's expect strings for the new
13877 format of disassemble.
13878 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13879 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13880 gdb_test_multiple.
13881 * gdb.reverse/step-reverse.exp: Delete 'return'.
13882 * gdb.reverse/until-reverse.exp: Delete blank lines.
13883 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13884
2b28d209
PP
138852009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13886
13887 * gdb.base/consecutive.exp: Adjust.
13888 * gdb.base/display.exp: Likewise.
13889 * gdb.base/pc-fp.exp: Likewise.
13890 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13891
33b9c32b
MS
138922009-10-19 Michael Snyder <msnyder@vmware.com>
13893
13894 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13895 * gdb.reverse/finish-reverse.c: Ditto.
13896 * gdb.reverse/sigall-reverse.c: Ditto.
13897 * gdb.reverse/solib-reverse.c: Ditto.
13898 * gdb.reverse/step-reverse.c: Ditto.
13899 * gdb.reverse/watch-reverse.c: Ditto.
13900
6c95b8df
PA
139012009-10-19 Pedro Alves <pedro@codesourcery.com>
13902 Stan Shebs <stan@codesourcery.com>
13903
13904 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13905 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13906 "Executing new program".
13907 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13908 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13909 left listed after having been killed.
13910 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13911 * gdb.base/maint.exp: Adjust test.
13912
13913 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13914 * gdb.multi/Makefile.in: New.
13915 * gdb.multi/base.exp: New.
13916 * gdb.multi/goodbye.c: New.
13917 * gdb.multi/hangout.c: New.
13918 * gdb.multi/hello.c: New.
13919 * gdb.multi/bkpt-multi-exec.c: New.
13920 * gdb.multi/bkpt-multi-exec.exp: New.
13921 * gdb.multi/crashme.c: New.
13922
279017b7
TG
139232009-10-13 Tristan Gingold <gingold@adacore.com>
13924
13925 * gdb.base/sepdebug.exp: Check debug info are found.
13926
0413d738
PA
139272009-10-08 Pedro Alves <pedro@codesourcery.com>
13928
13929 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13930 bits.
13931
c628eecc
JK
139322009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13933
13934 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13935
38af1bfe
JB
139362009-10-07 Joel Brobecker <brobecker@adacore.com>
13937
13938 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13939 of the comments.
13940
2b0adecd
PM
139412009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13942
13943 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13944 * gdb.base/annota3.exp: Idem.
13945 * gdb.base/maint.exp: Idem.
13946
8d417781
PM
139472009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13948
889bf7c5 13949 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13950 to default.
13951
bb61102d
PM
139522009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13953
889bf7c5 13954 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13955 mingw and cygwin targets.
13956
ace5c364
PM
139572009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13958 Pedro Alves <pedro@codesourcery.com>
13959
889bf7c5 13960 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13961 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13962
c2d494a0
PM
139632009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13964
e1b52ce2
PM
13965 * gdb.base/shr1.c: Use %p in format string.
13966 * gdb.base/unload.c: Avoid warning in fprintf.
13967 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13968
209f53f5
PM
139692009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13970
13971 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13972 long type.
13973 (test_unlink): Correct printf string.
13974 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13975 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13976
8172766a
JK
139772009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13980 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13981 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13982
0f73703c
UW
139832009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13984
13985 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13986 * gdb.objc/nondebug.exp: Likewise.
13987
b32306ca
UW
139882009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13989
13990 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13991 target_info setting.
13992
13993 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13994 that detect new threads during "info threads".
13995
0057022f
UW
139962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13997
13998 * gdb.threads/manythreads.c (main): Increase thread stack size
13999 to 2*PTHREAD_STACK_MIN.
14000 * gdb.threads/multi-create.c (main): Likewise.
14001 (create_function): Likewise.
14002
f29c0325
UW
140032009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14004
14005 * gdb.base/dump.exp: Pass difference of pointer types instead
14006 of integer types as offset to restore in intarr3.srec case.
14007
fcb34849
UW
140082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14009
14010 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14011
d5142e3b
UW
140122009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14013
14014 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14015
087b74b2 140162009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 14017
087b74b2
PM
14018 New test for two watchpoints, with disabling of
14019 the first inserted.
14020 * testsuite/gdb.base/watchpoints.c: New file.
14021 * testsuite/gdb.base/watchpoints.exp: New file.
14022
96c07c5b
TT
140232009-09-25 Tom Tromey <tromey@redhat.com>
14024
14025 * gdb.base/charset.exp: Test utf-16 strings with Python.
14026
b8899f2b
TT
140272009-09-25 Tom Tromey <tromey@redhat.com>
14028
14029 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14030 UCS-4.
14031 * gdb.base/charset.c (utf_32_string): Rename.
14032 (init_utf32): Rename.
14033 (main): Update.
14034
329719ec
TT
140352009-09-22 Tom Tromey <tromey@redhat.com>
14036
14037 * gdb.python/py-function.exp: Add regression tests.
14038
11ef0d76
KS
140392009-09-21 Keith Seitz <keiths@redhat.com>
14040
14041 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14042 with invalid operator.
14043
3fe8f3b3
KS
140442009-09-21 Keith Seitz <keiths@redhat.com>
14045
14046 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14047 and destructor using typedef name of class.
14048 * gdb.cp/classes.cc (class Base1): Add a destructor.
14049 (base1): New typedef.
14050 (use_methods): Instanitate an object of type base1.
14051 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14052 (do_tests): Call test_template_typedef.
14053 * gdb.cp/templates.cc (Baz::~Baz): New method.
14054 (intBazOne): New typedef.
14055 (main): Instantiate intBazOne.
14056
7a9fe101
PM
140572009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14058
14059 PR python/10633
14060
14061 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14062 Function.
14063 (run_lang_tests): Add print elements test.
14064
2e4d963f
PM
140652009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14066
14067 * gdb.python/py-value.exp (test_subscript_regression): New
14068 function. Test for invalid subscripts.
14069 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14070 (ptr_ref): New function.
14071
ec7e75e7
PP
140722009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14073
14074 * gdb.base/default.exp: Fix "show convenience".
14075
0cc7d26f
TT
140762009-09-15 Tom Tromey <tromey@redhat.com>
14077
14078 * lib/mi-support.exp (mi_create_varobj): Update.
14079 (mi_create_floating_varobj): Likewise.
14080 (mi_create_dynamic_varobj): New proc.
14081 (mi_varobj_update): Update.
14082 (mi_varobj_update_with_type_change): Likewise.
14083 (mi_varobj_update_kv_helper): New proc.
14084 (mi_varobj_update_dynamic_helper): Rewrite.
14085 (mi_varobj_update_dynamic): New proc.
14086 (mi_list_varobj_children): Update.
14087 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14088 * gdb.python/python-prettyprint.py (pp_outer): New class.
14089 (pp_nullstr): Likewise.
14090 (lookup_function): Register new printers.
14091 * gdb.python/python-prettyprint.c (struct substruct): New type.
14092 (struct outerstruct): Likewise.
14093 (substruct_test): New function.
14094 (struct nullstr): New type.
14095 (string_1, string_2): New globals.
14096 (main): Add new tests.
14097 * gdb.python/python-mi.exp: Added regression tests.
14098 * gdb.mi/mi2-var-display.exp: Update.
14099 * gdb.mi/mi2-var-cmd.exp: Update.
14100 * gdb.mi/mi2-var-child.exp: Update.
14101 * gdb.mi/mi2-var-block.exp: Update.
14102 * gdb.mi/mi-var-invalidate.exp: Update.
14103 * gdb.mi/mi-var-display.exp: Update.
14104 * gdb.mi/mi-var-cmd.exp: Update.
14105 * gdb.mi/mi-var-child.exp: Update.
14106 * gdb.mi/mi-var-block.exp: Update.
14107 * gdb.mi/mi-break.exp: Update.
14108 * gdb.mi/gdb701.exp: Update.
14109
a96d9b2e
SDJ
141102009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14111
14112 * Makefile.in: Inclusion of catch-syscall object.
14113 * gdb.base/catch-syscall.c: New file.
14114 * gdb.base/catch-syscall.exp: New file.
14115
b43b923a
MS
141162009-09-12 Michael Snyder <msnyder@vmware.com>
14117
14118 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14119 that can support reverse debuggnig.
14120
cec03d70
TT
141212009-09-11 Tom Tromey <tromey@redhat.com>
14122
14123 * gdb.dwarf2/valop.S: New file.
14124 * gdb.dwarf2/valop.exp: New file.
14125
e23bb3fc
MK
141262009-09-11 Mark Kettenis <kettenis@gnu.org>
14127
14128 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14129
37c3696d
DE
141302009-09-10 Doug Evans <dje@google.com>
14131
14132 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14133 Add $gdb_prompt to second breakpoint regexp.
14134
5172aecb
JB
141352009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14136
14137 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14138 names, add missing ones.
14139 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14140 * gdb.python/py-frame.c: Rename from python-frame.c.
14141 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14142 testfile name.
14143 * gdb.python/py-function.exp: Rename from python-function.exp.
14144 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14145 testfile name.
14146 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14147 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14148 Adjust testfile name.
14149 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14150 * gdb.python/py-template.cc: Rename from python-template.cc.
14151 * gdb.python/py-template.exp: Rename from python-template.exp.
14152 Adjust testfile name.
14153 * gdb.python/py-value.c: Rename from python-value.c.
14154 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14155 testfile name.
14156
b554e4bd
JK
141572009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14158
14159 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14160 $bpt2address.
14161 (Second breakpoint address is valid on ia64)
14162 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14163
9a68ae16
JM
141642009-09-03 Joseph Myers <joseph@codesourcery.com>
14165
14166 * gdb.base/ending-run.exp: Restrict regular expression matching
14167 line number to require closing brace following.
14168
146b9145
DE
141692009-09-03 Doug Evans <dje@google.com>
14170
14171 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14172
787d21e1
TT
141732009-09-02 Tom Tromey <tromey@redhat.com>
14174
14175 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14176
e7802207
TT
141772009-09-02 Tom Tromey <tromey@redhat.com>
14178
14179 * gdb.dwarf2/callframecfa.exp: New file.
14180 * gdb.dwarf2/callframecfa.S: New file.
14181
817aadd2
JK
141822009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14183
14184 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14185 gdb.base/solib-overlap-main.c: New.
14186
4a76eae5
DJ
141872009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14188
14189 PR gdb/10565
14190
14191 * gdb.base/bitfields.c (struct container, container): New.
14192 (main): Initialize it and call break5.
14193 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14194
d4b96c9a
JK
141952009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14196
14197 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14198 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14199
4e22772d
JK
142002009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14201
14202 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14203
2efab443
MS
142042009-08-26 Michael Snyder <msnyder@vmware.com>
14205
14206 * gdb.base/i386-reverse.c: New file.
14207 * gdb.base/i386-reverse.exp: New file.
14208 * gdb.base/Makefile.in: Add new files to be removed.
14209
07ab73a0
JM
142102009-08-26 Joseph Myers <joseph@codesourcery.com>
14211
14212 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14213 environment-pwd for remote host.
14214 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14215
676accff
KS
142162009-08-24 Keith Seitz <keiths@redhat.com>
14217
14218 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14219 Add two new C++ completer tests which limit the output to a
889bf7c5 14220 given class.
676accff 14221
f9f7ad22
MS
142222009-08-24 Michael Snyder <msnyder@vmware.com>
14223
14224 * gdb.base/del.exp: Fix typo in comment.
14225 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14226
81ecdfbb
RW
142272009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14228
14229 * configure: Regenerate.
14230 * gdb.hp/configure: Likewise.
14231 * gdb.hp/gdb.aCC/configure: Likewise.
14232 * gdb.hp/gdb.base-hp/configure: Likewise.
14233 * gdb.hp/gdb.compat/configure: Likewise.
14234 * gdb.hp/gdb.defects/configure: Likewise.
14235 * gdb.hp/gdb.objdbg/configure: Likewise.
14236 * gdb.stabs/configure: Likewise.
14237
cab0c772
UW
142382009-08-19 Doug Evans <dje@google.com>
14239
14240 * gdb.base/gdbvars.c: New file.
14241 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14242
b8fa0bfa
PA
142432009-08-14 Pedro Alves <pedro@codesourcery.com>
14244
14245 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14246 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14247
b84aa90a
PA
142482009-08-13 Pedro Alves <pedro@codesourcery.com>
14249
14250 * gdb.base/default.exp: Adjust "set language test": it's now an
14251 enum command. Larger help string moved to "help set language".
14252 * gdb.base/help.exp: Adjust "help set language" expected output,
14253 now lists all known languages.
14254
0d8f9b2c
NF
142552009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14256
14257 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14258 all frame arguments.
14259 * gdb.arch/altivec-regs.exp: Likewise.
14260
bda180e0
TT
142612009-08-07 Tom Tromey <tromey@redhat.com>
14262
14263 * gdb.base/setshow.exp: Add tests for changes to set language, set
14264 check range, and set check type.
14265
48cb2d85
VP
142662009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14267
14268 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14269 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 14270 Call it.
48cb2d85 14271
1ea34204
UW
142722009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14273
14274 * configure.ac: Run gdb.cell tests when appropriate.
14275 * configure: Regenerate.
14276 * lib/cell.exp: New file.
14277 * gdb.cell: New directory.
14278 * gdb.cell/configure.ac: New file.
14279 * gdb.cell/configure: New file.
14280 * gdb.cell/Makefile.in: New file.
14281 * gdb.cell/arch.exp: New file.
14282 * gdb.cell/break.c: New file.
14283 * gdb.cell/break.exp: New file.
14284 * gdb.cell/break-spu.c: New file.
14285 * gdb.cell/bt.c: New file.
14286 * gdb.cell/bt2-spu.c: New file.
14287 * gdb.cell/bt-spu.c: New file.
14288 * gdb.cell/bt.exp: New file.
14289 * gdb.cell/coremaker.c: New file.
14290 * gdb.cell/coremaker-spu.c: New file.
14291 * gdb.cell/core.exp: New file.
14292 * gdb.cell/gcore.exp: New file.
14293 * gdb.cell/data.c: New file.
14294 * gdb.cell/data.exp: New file.
14295 * gdb.cell/data-spu.c: New file.
14296 * gdb.cell/ea-cache.exp: New file.
14297 * gdb.cell/ea-cache.c: New file.
14298 * gdb.cell/ea-cache-spu.c: New file.
14299 * gdb.cell/ea-standalone.c: New file.
14300 * gdb.cell/ea-standalone.exp: New file.
14301 * gdb.cell/ea-test.c: New file.
14302 * gdb.cell/ea-test.exp: New file.
14303 * gdb.cell/f-regs.exp: New file.
14304 * gdb.cell/mem-access.c: New file.
14305 * gdb.cell/mem-access.exp: New file.
14306 * gdb.cell/mem-access-spu.c: New file.
14307 * gdb.cell/ptype.exp: New file.
14308 * gdb.cell/registers.exp: New file.
14309 * gdb.cell/size.c: New file.
14310 * gdb.cell/sizeof.exp: New file.
14311 * gdb.cell/size-spu.c: New file.
14312 * gdb.cell/solib.exp: New file.
14313 * gdb.cell/solib-symbol.exp: New file.
14314
85e747d2
UW
143152009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14316
14317 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14318
58d6951d
DJ
143192009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14320
14321 * gdb.base/float.exp: Handle VFP registers.
14322
6e0a4f15
MS
143232009-07-14 Michael Snyder <msnyder@vmware.com>
14324
dcd5da87
MS
14325 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14326 to bring gdb to the beginning of the calling line.
14327
6e0a4f15
MS
14328 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14329 confusing the i386 epilogue unwinder.
14330
782b2b07
SS
143312009-07-14 Stan Shebs <stan@codesourcery.com>
14332
14333 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14334
f662c3bc
MS
143352009-07-14 Michael Snyder <msnyder@vmware.com>
14336
14337 * gdb.reverse/step-reverse.exp (stepi into function call):
14338 Call instruction may not be first instruction in the line.
14339 (reverse stepi from a function call): Used wrong line number.
14340
8f313923
JK
143412009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14342
14343 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14344
4662c76e
JK
143452009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14346
14347 Fix gdb.base/macscp.exp when using custom inputrc.
14348 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14349 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14350 env(TERM) set.
14351 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14352 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14353
aa81e255
JK
143542009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14355
14356 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14357 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14358 Change the compilation target to match the testcase name.
14359 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14360 testcase name.
14361 * a2-run.exp: Use for setup prepare_for_testing. Change the
14362 compilation target to match the testcase name.
14363 * gdb.base/commands.exp: Likewise.
14364 * gdb.base/finish.exp: Likewise.
14365 * gdb.base/float.exp: Likewise.
14366 * gdb.base/info-target.exp: Likewise.
14367 * gdb.base/relational.exp: Likewise.
14368 * gdb.base/term.exp: Likewise.
14369 * gdb.base/until.exp: Likewise.
14370 * gdb.base/volatile.exp: Likewise.
14371 * gdb.base/whatis-exp.exp: Likewise.
14372
4c93b1d7
HZ
143732009-07-11 Hui Zhu <teawater@gmail.com>
14374
14375 * gdb.base/help.exp (disassemble): Update expected help text.
14376
812f7342
TT
143772009-07-09 Tom Tromey <tromey@redhat.com>
14378
14379 * lib/gdb.exp: Handle TRANSCRIPT.
14380 (remote_spawn, remote_close, send_gdb): New procs.
14381
fbb8f299
PM
143822009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14383
14384 * gdb.python/python-prettyprint.c: Add counted null string
14385 structure.
14386 * gdb.python/python-prettyprint.exp: Print null string. Test for
14387 embedded nulls.
14388 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14389 * gdb.python/python-value.exp (test_value_in_inferior): Add
14390 variable length string fetch tests.
14391 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14392
c0ac0ec7
JK
143932009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14394
14395 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14396
30b66ecc
TT
143972009-07-07 Tom Tromey <tromey@redhat.com>
14398
14399 * gdb.base/call-rt-st.exp: Update for change to escape output.
14400 * gdb.base/callfuncs.exp: Likewise.
14401 * gdb.base/charset.exp: Likewise.
14402 * gdb.base/constvars.exp: Likewise.
14403 * gdb.base/long_long.exp: Likewise.
14404 * gdb.base/pointers.exp: Likewise.
14405 * gdb.base/printcmds.exp: Likewise.
14406 * gdb.base/setvar.exp: Likewise.
14407 * gdb.base/store.exp: Likewise.
14408 * gdb.cp/ref-types.exp: Likewise.
14409 * gdb.mi/mi-var-child.exp: Likewise.
14410 * gdb.mi/mi-var-display.exp: Likewise.
14411 * gdb.mi/mi2-var-display.exp: Likewise.
14412 * gdb.base/charset.exp: Test octal escape sequence length.
14413 Update for change to escape output.
14414
187c4a2b
JK
144152009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14416
14417 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14418
d80a43f9
DJ
144192009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14420
14421 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14422
047427a8
JK
144232009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14424
14425 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14426 gdbserver increasing $portnum if "Can't bind address" has been seen.
14427
8b5a0f4f
PA
144282009-07-05 Pedro Alves <pedro@codesourcery.com>
14429
14430 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14431 mingw32ce.
14432
7d93ba58
PA
144332009-07-05 Pedro Alves <pedro@codesourcery.com>
14434
14435 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14436 VFP format.
14437
2277426b
PA
144382009-07-02 Pedro Alves <pedro@codesourcery.com>
14439
14440 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14441 linux. Adjust to use "inferior", "info inferiors", "detach
14442 inferior" and "kill inferior" instead of "restart", "info fork",
14443 "detach fork" and "delete fork".
14444 * gdb.base/ending-run.exp: Spell out "info".
14445 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14446 the "kill" command.
14447
5af949e3
UW
144482009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14449
14450 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14451 change to prefix TLS offset in hex with 0x.
14452
5d3729b5
UW
144532009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14454
14455 * gdb.base/default.exp: Update test case for "x" changes.
14456
af589bd0
TG
144572009-07-01 Tristan Gingold <gingold@adacore.com>
14458
14459 * gdb.base/bigcore.exp: Make darwin untested.
14460
40974f91
JK
144612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14462
14463 * gdb.base/completion.exp (directory completion): Create the directory.
14464 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14465 escapeuniquesub.
14466 (directory completion 2): Expect now ${escapeuniquesub}.
14467 (Glob remaining of directory test): Remove one excessive newline.
14468 Expect the real output.
14469
59dd3af6
JK
144702009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14471
14472 Fix `make check//%' target after `make check' has been ran.
14473 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14474 a mkdir call.
14475 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14476 (%/.dir): Remove.
14477
f4e164aa
JK
144782009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14479
14480 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14481 the expected result record.
14482
69af2122
JK
144832009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14484
14485 Remove racy FAILs relying just on the timeouts.
14486 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14487 (annotation_level 2): Remove racy FAILs.
14488
2fd481e1
PP
144892009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14490
14491 gdb/10275
889bf7c5
PA
14492 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14493
c38f313d
DJ
144942009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14495
14496 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14497
8b777f02
VP
144982009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14499
14500 * gdb.mi/mi-stack.exp: Testing symbolic options
14501 to -stack-list-locals and -stack-list-arguments.
14502
00c7eacf
JK
145032009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14504
14505 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14506
6bc80edc
TT
145072009-06-29 Tom Tromey <tromey@redhat.com>
14508
14509 * dg-extract-results.sh: New file.
14510 * Makefile.in (FORCE_PARALLEL): New variable.
14511 (CHECK_TARGET): New conditional variable.
14512 (check): Use CHECK_TARGET.
14513 (DO_RUNTEST): New variable.
14514 (check-single): New target.
14515 (TEST_DIRS): New variable.
14516 (TEST_TARGETS): Likewise.
14517 (check-parallel): New target.
14518 (check-gdb.%): New pattern.
14519 (BASE1_FILES): New variable.
14520 (BASE2_FILES): Likewise.
14521 (check-gdb.base%): New pattern.
14522 (%/.dir): New pattern.
14523 * configure: Rebuild.
14524 * aclocal.m4 (AM_CONDITIONAL): New defun.
14525 * configure.ac: Check whether user is using GNU make.
14526 (GMAKE): New conditional.
14527
794684b6
SW
145282009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14529
14530 * gdb.cp/namespace-nested-import.cc: New test.
14531 * gdb.cp/namespace-nested-import.exp: New test.
14532
edb3359d
DJ
145332009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14534
14535 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14536 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14537 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14538 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14539 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14540 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14541 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14542 gdb.opt/inline-markers.c: New files.
14543 * lib/gdb.exp (skip_inline_frame_tests): New function.
14544 (skip_inline_var_tests): New function.
14545
cf657a0c
AS
145462009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14547
14548 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14549 backtrace.
14550
28d41a99
MS
145512009-06-27 Michael Snyder <msnyder@vmware.com>
14552
14553 * gdb.reverse: New directory.
14554 * gdb.reverse/break-reverse.c: New test.
14555 * gdb.reverse/break-reverse.exp: New test.
14556 * gdb.reverse/consecutive-reverse.c: New test.
14557 * gdb.reverse/consecutive-reverse.exp: New test.
14558 * gdb.reverse/finish-reverse.c: New test.
14559 * gdb.reverse/finish-reverse.exp: New test.
14560 * gdb.reverse/machinestate.c: New test.
14561 * gdb.reverse/ms1.c: New test.
14562 * gdb.reverse/machinestate.exp: New test.
14563 * gdb.reverse/Makefile.in: New file.
14564 * gdb.reverse/shr2.c: New test.
14565 * gdb.reverse/solib-reverse.c: New test.
14566 * gdb.reverse/solib-reverse.exp: New test.
14567 * gdb.reverse/step-reverse.c: New test.
14568 * gdb.reverse/step-reverse.exp: New test.
14569 * gdb.reverse/until-reverse.c: New test.
14570 * gdb.reverse/ur1.c: New test.
14571 * gdb.reverse/until-reverse.exp: New test.
14572 * gdb.reverse/watch-reverse.c: New test.
14573 * gdb.reverse/watch-reverse.exp: New test.
14574 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14575 * configure: Regenerate.
14576
fe3c8b0d
DE
145772009-06-26 Doug Evans <dje@google.com>
14578
14579 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14580
3a72a602
PM
145812009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14582
14583 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14584 windows problem for 'file delete $binfile'.
14585
27aa8d6a
SW
145862009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14587
14588 * gdb.cp/namespace-using.exp: New test.
14589 * gdb.cp/namespace-using.cc: New test.
14590
8ac055f8
JB
145912009-05-20 Joel Brobecker <brobecker@adacore.com>
14592
14593 * gdb.ada/variant_record_packed_array: New testcase.
14594
85e306ed
TT
145952009-06-23 Tom Tromey <tromey@redhat.com>
14596
14597 * gdb.base/charset.exp (test_combination): Regression test.
14598 * gdb.base/charset.c (my_wchar_t): New typedef.
14599 (myvar): New global.
14600 (main): Set myvar.
14601
56643c5e
PM
146022009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14603
14604 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14605 target.
14606
1fac167a
UW
146072009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14608
14609 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14610
7ccb0be9
UW
146112009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14612
14613 * gdb.mi/gdb680.exp: Update test for error message.
14614
568d6575
UW
146152009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14616
14617 * gdb.base/annota1.exp: Allow multiple occurrences of the
14618 frames-invalid annotation.
14619 * gdb.cp/annota2.exp: Likewise.
14620
7cd1089b
PM
146212009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14622
14623 * gdb.cp/gdb2495.cc: New file.
14624 * gdb.cp/gdb2495.exp: New file.
14625
72c63395
JK
146262009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14627
14628 Report error on GDB crash during runto.
14629 * lib/gdb.exp (runto <eof>): New.
14630
3788363d
DJ
146312009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14632
14633 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14634 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14635 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14636 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14637 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14638 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14639 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14640 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14641 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14642 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14643 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14644 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14645 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14646 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14647 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14648 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14649 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14650 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14651 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14652 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14653 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14654 gdb.trace/passcount.exp, gdb.trace/report.exp,
14655 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14656 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14657 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14658 executable.
14659
17592de3
PA
146602009-06-07 Pedro Alves <pedro@codesourcery.com>
14661
14662 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14663 defined before referencing it.
14664
701e355d
DE
146652009-06-03 Doug Evans <dje@google.com>
14666
14667 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14668 * gdb.arch/i386-see.c: Ditto.
14669
f2292c65
PM
146702009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14671
14672 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14673 (check_macro): Return 1 if undefined.
14674 If first test fails, check if macro debug information is available,
14675 and report unsupported test if no macro information is found.
14676
5a437975
DE
146772009-05-29 Doug Evans <dje@google.com>
14678
14679 * gdb.threads/hand-call-in-threads.exp: New.
14680 * gdb.threads/hand-call-in-threads.c: New.
14681
c141c696
MS
146822009-05-29 Michael Snyder <msnyder@vmware.com>
14683
14684 * gdb.base/break-always.exp: Change "1" to "on".
14685 Add confirmation check.
14686
b3444185
PA
146872009-05-28 Pedro Alves <pedro@codesourcery.com>
14688
14689 * gdb.threads/threxit-hop-specific.c: New.
14690 * gdb.threads/threxit-hop-specific.exp: New.
14691 * gdb.threads/thread-execl.c: New.
14692 * gdb.threads/thread-execl.exp: New.
14693
b6313243
TT
146942009-05-27 Tom Tromey <tromey@redhat.com>
14695 Thiago Jung Bauermann <bauerman@br.ibm.com>
14696
14697 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14698 (mi_child_regexp): Likewise.
14699 (mi_list_varobj_children_range): Likewise.
14700 (mi_get_features): Likewise.
14701 (mi_list_varobj_children): Rewrite.
14702 * gdb.python/python-mi.exp: New file.
14703
a6bac58e
TT
147042009-05-27 Tom Tromey <tromey@redhat.com>
14705 Thiago Jung Bauermann <bauerman@br.ibm.com>
14706 Phil Muldoon <pmuldoon@redhat.com>
14707 Paul Pluzhnikov <ppluzhnikov@google.com>
14708
14709 * gdb.python/python-prettyprint.exp: New file.
14710 * gdb.python/python-prettyprint.c: New file.
14711 * gdb.python/python-prettyprint.py: New file.
14712 * gdb.base/display.exp: print/r is now valid.
14713
2c74e833
TT
147142009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14715 Tom Tromey <tromey@redhat.com>
14716 Pedro Alves <pedro@codesourcery.com>
14717 Paul Pluzhnikov <ppluzhnikov@google.com>
14718
14719 * gdb.python/python-template.exp: New file.
14720 * gdb.python/python-template.cc: New file.
14721 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14722 tests.
14723 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14724 Call it.
14725 (test_value_after_death): New proc.
14726 * gdb.python/python-value.c (PTR): New typedef.
14727 (main): New variable 'x'.
14728
89c73ade
TT
147292009-05-27 Tom Tromey <tromey@redhat.com>
14730
14731 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14732 tests.
14733 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14734 Call it.
14735
a75724bc
PA
147362009-05-27 Pedro Alves <pedro@codesourcery.com>
14737
14738 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14739
e58b0e63
PA
147402009-05-24 Pedro Alves <pedro@codesourcery.com>
14741
14742 * gdb.threads/fork-thread-pending.c: New.
14743 * gdb.threads/fork-thread-pending.exp: New.
14744
4ac36638
JK
147452009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14746
14747 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14748 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14749
889bf7c5 147502009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 14751
889bf7c5 14752 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 14753
b242c3c2
PA
147542009-05-17 Pedro Alves <pedro@codesourcery.com>
14755
14756 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14757 `gdb_get_line_number'. Call `callee' in both parent and child.
14758 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14759 `gdb_get_line_number' instead of hardcoding line numbers.
14760 (catch_fork_unpatch_child): New procedure to test detaching
14761 breakpoints from child fork.
14762 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14763 hardcoding line numbers.
14764 (do_fork_tests): Run `catch_fork_unpatch_child'.
14765
ee342b23
VP
147662009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14767
14768 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14769 of structure type enters or leaves the scope, it
14770 is reported by -var-update.
14771
e2009e98
DE
147722009-05-11 Doug Evans <dje@sebabeach.org>
14773
14774 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 14775 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
14776 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14777
00903456
JK
147782009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14779
14780 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14781
dc621c35
DE
147822009-04-30 Doug Evans <dje@google.com>
14783
14784 * gdb.threads/watchthreads2.exp: New testcase.
14785 * gdb.threads/watchthreads2.c: New testcase.
14786
9ab4e744
DE
147872009-04-29 Doug Evans <dje@google.com>
14788
14789 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14790 * gdb.cp/mb-ctor.cc: Ditto.
14791 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14792 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14793 * gdb.cp/mb-inline1.cc: Call it.
14794 * gdb.cp/mb-inline2.cc: Ditto.
14795 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14796 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14797
484086b7
JK
147982009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14799
14800 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14801 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14802 Replace all uses of `decimal' by `nonzero'.
14803 (info macro FROM_COMMANDLINE): New test.
14804
379a77b5
TT
148052009-04-27 Tom Tromey <tromey@redhat.com>
14806
14807 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14808
b92b73c2
DE
148092009-04-27 Doug Evans <dje@google.com>
14810
14811 * gdb.threads/watchthreads.c (main): Initialize args before starting
14812 the threads. Plus formatting cleanup.
14813 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14814 biased scheduling of one thread.
14815
945a118d
JG
148162009-04-27 Jerome Guitton <guitton@adacore.com>
14817
14818 * gdb.cp/templates.cc (GetMax): New template.
14819 (main): Declare two instances of GetMax.
14820 * gdb.cp/templates.exp: Add new test.
14821
d389af10
JK
148222009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14823
14824 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14825
e7f86de9
JM
148262009-04-22 Joseph Myers <joseph@codesourcery.com>
14827
14828 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14829
334cc82d
TT
148302009-04-15 Tom Tromey <tromey@redhat.com>
14831
14832 * gdb.base/charset.exp: Add regression test.
14833
d12672cc
JB
148342009-04-14 Joel Brobecker <brobecker@adacore.com>
14835
14836 * gdb.base/exe-lock.exp: New testcase.
14837
18e8c3bc
TT
148382009-04-13 Tom Tromey <tromey@redhat.com>
14839
14840 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14841 operator on Frame.
14842
5ecd5cbe
UW
148432009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14844
14845 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14846 * gdb.server/ext-attach.exp: Likewise.
14847
7309f756
VP
148482009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14849
14850 Eliminate some sleep usage.
14851
889bf7c5
PA
14852 * gdb.mi/basics.c (do_nothing): New.
14853 (main): Use do_nothing instead of printf, so that
14854 not to introduce race condition between output of
14855 inferiour and output of gdb. Do not use sleep as it
14856 is not generally available on embedded targets.
7309f756 14857
f4b95f6f
PA
148582009-04-02 Pedro Alves <pedro@codesourcery.com>
14859
14860 * gdb.server/ext-attach.exp: Expect an optional process id after
14861 "Detached from remote process".
14862
de40b933
JK
148632009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14864
14865 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14866 gdb.dwarf2/dw2-unresolved.exp: New.
14867
2ae101a4
PA
148682009-04-02 Pedro Alves <pedro@codesourcery.com>
14869
14870 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14871 mi_run_to_main.
14872
56a8e183
PA
148732009-04-02 Pedro Alves <pedro@codesourcery.com>
14874
14875 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14876 mi_run_to_main. Skip thread exit test on remote targets.
14877 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14878 mi_run_to_main.
14879 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14880 mi_run_to_main.
14881 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14882 when expecting ^connected. Detect when the target doesn't support
14883 non-stop mode.
14884 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14885 supported. Return -1 on error, 0 on success.
14886 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14887 (mi_runto): Return mi_runto_helper's result explicitly.
14888
c35fafde
PA
148892009-04-01 Pedro Alves <pedro@codesourcery.com>
14890
14891 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14892
f8a8dce6
JB
148932009-04-01 Tom Tromey <tromey@redhat.com>
14894
14895 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14896 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14897 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14898 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14899
71c25dea
TT
149002009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14901 Jan Kratochvil <jan.kratochvil@redhat.com>
14902
14903 PR gdb/931
14904 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14905 output.
14906 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14907 for gdb/931.
14908 * dw2-strp.S (DW_AT_language): Change to C++.
14909 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14910
02d9a9ce
JB
149112009-03-31 Joel Brobecker <brobecker@adacore.com>
14912
14913 * gdb.ada/tasks: New testcase.
14914
1042e4c0
SS
149152009-03-30 Stan Shebs <stan@codesourcery.com>
14916
14917 * gdb.trace/actions.exp: Update to match new info trace format.
14918 * gdb.trace/deltrace.exp: Ditto.
14919 * gdb.trace/infotrace.exp: Ditto.
14920 * gdb.trace/passcount.exp: Ditto.
14921 * gdb.trace/save-trace.exp: Ditto.
14922 * gdb.trace/while-stepping.exp: Ditto.
14923 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14924
f8f6f20b
TJB
149252009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14926
14927 * gdb.python/python-frame.c: New file.
14928 * gdb.python/python-frame.exp: New file.
14929
c0c6f777
TJB
149302009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14931
14932 * gdb.python/python-value.exp: Add tests for the address
14933 attribute.
14934
3cb51905
AS
149352009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14936
14937 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14938
88fc996f
DE
149392009-03-26 Doug Evans <dje@google.com>
14940
14941 * gdb.mi/mi-nonstop-exit.exp: New file.
14942 * gdb.mi/non-stop-exit.c: New file.
14943
56ef84b1
TT
149442009-03-26 Tom Tromey <tromey@redhat.com>
14945
14946 Update for change to prologue skipping:
14947 * gdb.mi/mi2-simplerun.exp: Update.
14948 * gdb.mi/mi2-break.exp: Update.
14949 * gdb.mi/mi-simplerun.exp: Update.
14950 * gdb.mi/mi-break.exp: Update.
14951 * gdb.base/ending-run.exp: Update.
14952
def2b000
TJB
149532009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14954
14955 * gdb.python/python-value.exp (test_value_in_inferior): Test
14956 gdb.Value.is_optimized_out attribute.
14957
442ddf59
JK
149582009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14959
14960 * gdb.dwarf2/dw2-noloc-main.c: New file.
14961 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14962 (.text): Remove.
14963 (.data): New.
14964 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14965 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14966 (DW_TAG_subprogram func_cu1, noloc): Remove.
14967 (main): New.
14968 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14969 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14970 (file_symbols): New procedure.
14971
a8df5de4
TT
149722009-03-25 Tom Tromey <tromey@redhat.com>
14973
14974 * gdb.base/charset.exp (valid_target_charset): New proc.
14975 Use it to skip tests on invalid charsets.
14976
cc1d7add
PM
149772009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14978
14979 * gdb.base/completion.exp: Add a test for directory completion.
14980
bcd5727b
JK
149812009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14982
14983 Fix a racy FAIL.
14984 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14985 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14986
cc924cad
TJB
149872009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14988
14989 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14990 * gdb.python/python-function.exp: Add test for function returning
14991 a GDB value.
14992
bc3b79fd
TJB
149932009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14994
14995 * gdb.python/python-function.exp: New file.
14996
6c7a06a3
TT
149972009-03-20 Tom Tromey <tromey@redhat.com>
14998
14999 * gdb.base/store.exp: Update for change to escape output.
15000 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15001 to escape output.
15002 * gdb.base/pointers.exp: Update for change to escape output.
15003 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15004 to escape output.
15005 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15006 escape output.
15007 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15008 to escape output.
15009 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15010 escape output.
15011 * gdb.base/setvar.exp: Update for change to escape output.
15012 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15013 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15014 to escape output.
15015 (test_print_string_constants): Likewise.
15016 * gdb.base/charset.exp (valid_host_charset): Check size of
15017 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15018 cases. Handle "auto"-related output.
15019 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15020 (uvar, Uvar): New globals.
15021
c31af87b
JG
150222009-03-19 Jerome Guitton <guitton@adacore.com>
15023
15024 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15025 deltas.
15026 * gdb.ada/fixed_points.exp: Ditto.
15027
51272cf2
PA
150282009-03-18 Pedro Alves <pedro@codesourcery.com>
15029
15030 * return-nodebug.c: Don't include stdio.h.
15031 (init): Delete.
15032 (func): Delete definition and provide extern declaration.
15033 (t): New.
15034 (main): Don't call printf. Call func and store its result in t.
15035 * return-nodebug1.c: New.
15036 * return-nodebug.exp: Don't expect stdio output. Instead, print
15037 the global variable t. Drop printf formatters and cast types from
15038 foreach loop. Don't use prepare_for_testing. Compile
15039 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15040 define FORMAT or CAST.
15041
d24948ac
PP
150422009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15043
15044 * gdb.base/solib-display.exp: Disable test for remote targers.
15045
61ff14c6
JK
150462009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15047
15048 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15049
cb4dce93
JK
150502009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15051
15052 Fix a racy FAIL.
15053 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15054 code from `follow parent, print pids'.
15055 (`follow child, print pids', `follow parent, print pids'): Call it.
15056 Replace `gdb_test "break..."' by gdb_breakpoint.
15057
f7c60c5e
VP
150582009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15059
15060 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 15061 sync and async modes.
f7c60c5e 15062
383ace49
JB
150632009-03-12 Joel Brobecker <brobecker@adacore.com>
15064
15065 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15066 that was checked in by mistake. Remove loading of ada.exp, since
15067 this is not necessary in this case.
15068
4ce102af
JB
150692009-03-12 Joel Brobecker <brobecker@adacore.com>
15070
15071 * gdb.ada/ptype_arith_binop.exp: New testcase.
15072
529a2aef
JB
150732009-03-12 Joel Brobecker <brobecker@adacore.com>
15074
15075 * gdb.ada/mod_from_name: New testcase.
15076
8a38181c
JB
150772009-03-12 Joel Brobecker <brobecker@adacore.com>
15078
15079 * gdb.ada/tick_last_segv: New testcase.
15080
11436dee
VP
150812009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15082
61ff14c6 15083 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 15084
1f31650a
VP
150852009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15086
61ff14c6
JK
15087 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15088 include the token in ^running and frame info in *stopped.
1f31650a 15089
a3247a22
PP
150902009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15091
15092 * solib-display.exp: New file.
15093 * solib-display-main.c: New file.
15094 * solib-display-lib.c: New file.
61ff14c6 15095
aae64587
PA
150962009-03-05 Pedro Alves <pedro@codesourcery.com>
15097
15098 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15099
44aabfbc
JK
151002009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15101
15102 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15103 (list_and_check_macro): Use more specific test name.
15104 (next to definition): Make the test names unique.
15105
c087fcd3
PM
151062009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15107
15108 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 15109
c86cf029
VP
151102009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15111
15112 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15113 notifications.
15114 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15115 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15116 * lib/mi-support.exp (library_loaded_re): New.
15117 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15118
3ea85240
VP
151192009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15120
15121 * gdb.gdb/observer.exp: Use test_notification observer, not
15122 normal_stop, everywhere.
15123 (test_normal_stop_notifications): Rename to...
15124 (test_notifications): ...this.
15125 (test_observer_normal_stop): Rename to...
15126 (test_observer): ...this.
15127
1903f0e6
DE
151282009-02-16 Doug Evans <dje@google.com>
15129
15130 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15131 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15132 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15133 (test_prefixed_syscall,test_int3): New tests.
15134 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15135 (test_prefixed_syscall,test_int3): New tests.
15136
1d33d6ba
VP
151372009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15138
3cb51905
AS
15139 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15140 (mi_expect_interrupt): Likewise.
15141 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15142 response.
1d33d6ba 15143
faafb047
PM
151442009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15145
15146 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15147 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15148 Replace calls to get_valueofx by get_hexadecimal_valueof.
15149
417e16e2
PM
151502009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15151
15152 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15153 (get_integer_valueof): New procedure.
15154 (get_sizeof): Use new get_integer_value_of.
15155 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15156 by get_integer_valueof.
15157
7065b901
TT
151582009-02-13 Tom Tromey <tromey@redhat.com>
15159
15160 * gdb.base/remote.exp (get_sizeof): Remove.
15161 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15162 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15163 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15164 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15165 (get_sizeof): Likewise.
15166
5d7cb8df
JK
151672009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15168
15169 PR fortran/9806
15170 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15171
b2febfff
PP
151722009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15173
15174 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15175
4aa995e1
PA
151762009-02-06 Pedro Alves <pedro@codesourcery.com>
15177
15178 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15179
d8906c6f
TJB
151802009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15181
15182 * gdb.python/python-cmd.exp: New file.
15183
ff4ab08d
TG
151842009-02-06 Tristan Gingold <gingold@adacore.com>
15185
15186 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15187
aacd552b
TG
151882009-02-05 Tristan Gingold <gingold@adacore.com>
15189
15190 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15191 pointer is dereferenced and use this signal name in regexp.
15192 * gdb.base/signull.exp: Ditto.
15193 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15194 * gdb.base/signull.c (main): Ditto.
15195
08c637de
TJB
151962009-02-04 Tom Tromey <tromey@redhat.com>
15197 Thiago Jung Bauermann <bauerman@br.ibm.com>
15198
15199 * gdb.python/python-value.exp: Use `gdb.history' instead of
15200 `gdb.value_from_history'.
15201 (test_value_numeric_ops): Add test for conversion of enum constant.
15202 * gdb.python/python-value.c (enum e): New type.
15203 (evalue): New global.
15204 (main): Use argv.
15205
20261af8
JG
152062009-02-04 Jerome Guitton <guitton@adacore.com>
15207
15208 * gdb.ada/uninitialized_vars: New test program.
15209 * gdb.ada/uninitialized_vars.exp: New testcase.
15210
52e44b43
TT
152112009-02-02 Tom Tromey <tromey@redhat.com>
15212
15213 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15214 * gdb.cp/pr2489.cc: Rename...
15215 * gdb.cp/pr9594.cc: ... to this.
15216
1c71341a
TT
152172009-02-02 Tom Tromey <tromey@redhat.com>
15218
15219 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15220 * gdb.cp/pr2489.cc: New file.
15221 * gdb.cp/cpcompletion.exp: New file.
15222
a4295225
TT
152232009-02-02 Tom Tromey <tromey@redhat.com>
15224
15225 PR exp/9059:
15226 * gdb.cp/call-c.exp: Add regression test.
15227 * gdb.cp/call-c.cc (FooHandle): New typedef.
15228 (main): New variable 'handle'.
15229
592375cd
VP
152302009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15231
15232 * lib/mi-support.exp (et_mi_thread_list)
15233 (check_mi_and_console_threads): Adjust for current thread in
15234 -thread-list-ids output.
15235
41447f92
VP
152362009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15237
889bf7c5
PA
15238 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15239 Call it.
41447f92 15240
35669430
DE
152412009-01-28 Doug Evans <dje@google.com>
15242
15243 * gdb.arch/amd64-disp-step.S: New file.
15244 * gdb.arch/amd64-disp-step.exp: New file.
15245 * gdb.arch/i386-disp-step.S: New file.
15246 * gdb.arch/i386-disp-step.exp: New file.
15247
09f00d9a
PM
152482009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15249
15250 * gdb.base/find.exp: Set newline variable
15251 using quotes instead of braces to fix cygwin failures.
15252
1e8fb976
PA
152532009-01-23 Pedro Alves <pedro@codesourcery.com>
15254
15255 * gdb.base/radix.exp: Add tests to ensure that that set
15256 input-radix 0 and set output-radix 0 are really rejected.
15257
da061712
PA
152582009-01-23 Pedro Alves <pedro@codesourcery.com>
15259
15260 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15261 copyright years.
15262
dd7e2d2b
PA
152632009-01-23 Pedro Alves <pedro@codesourcery.com>
15264
15265 PR gdb/9664:
15266 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15267
392452f6
PA
152682009-01-22 Pedro Alves <pedro@codesourcery.com>
15269
15270 PR c++/9631:
15271 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15272
8653e71c
PM
152732009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15274
15275 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15276 binfile definition to fix Windows OS failure.
15277
a12cc160
DJ
152782009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15279
15280 PR gdb/9346
15281 * gdb.base/interrupt.c (sigint_handler): New.
15282 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15283 on error.
15284 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15285 Test "signal SIGINT".
15286
b89667eb
DE
152872009-01-19 Doug Evans <dje@google.com>
15288
15289 * gdb.base/break.exp: Update expected gdb output.
15290 * gdb.base/sepdebug.exp: Ditto.
15291 * gdb.mi/mi-syn-frame.exp: Ditto.
15292 * gdb.mi/mi2-syn-frame.exp: Ditto.
15293 * gdb.base/call-signal-resume.exp: New file.
15294 * gdb.base/call-signals.c: New file.
15295 * gdb.base/unwindonsignal.exp: New file.
15296 * gdb.base/unwindonsignal.c: New file.
15297 * gdb.threads/interrupted-hand-call.exp: New file.
15298 * gdb.threads/interrupted-hand-call.c: New file.
15299 * gdb.threads/thread-unwindonsignal.exp: New file.
15300
adb483fe
DJ
153012009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15302
15303 * gdb.base/define.exp: Test defining and hooking prefix commands.
15304 * gdb.python/python.exp: Update test for "show user" output.
15305
60023297
JK
153062009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15307
15308 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15309 now the output exactly, using less wildcards. Expect also the output
15310 of gfortran-4.3. Update for the f-valprint.c modification from
15311 2008-04-22.
15312 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15313 Remove gdb_test test names where matching the command.
15314
ccc57cf9
PA
153152009-01-01 Pedro Alves <pedro@codesourcery.com>
15316
15317 PR breakpoints/9681:
15318 * gdb.base/watchpoint.exp: Add regression test.
15319
c7a6ca08
PA
153202008-12-31 Pedro Alves <pedro@codesourcery.com>
15321
15322 * gdb.threads/attach-into-signal.exp: Don't use
15323 gdb_suppress_entire_file.
15324 * gdb.threads/attach-stopped.exp: Ditto.
15325 * gdb.threads/attachstop-mt.exp: Ditto.
15326
3a031f65
PA
153272008-12-31 Pedro Alves <pedro@codesourcery.com>
15328
15329 PR gdb/8812:
15330 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15331
09e6485f
PA
153322008-12-29 Pedro Alves <pedro@codesourcery.com>
15333
15334 PR gdb/7536:
15335 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15336 and unsupported output radices are really rejected.
15337
0cd53049
JK
153382008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15339
15340 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15341
ba163c7e
TT
153422008-12-22 Tom Tromey <tromey@redhat.com>
15343
15344 * gdb.cp/punctuator.exp: New file.
15345
6f4de6c9
JK
153462008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15347
15348 * gdb.base/completion.exp (Completing non-existing component): New test.
15349
0f34d0b4
JK
153502008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15351
15352 Fix for PR gdb/8648.
15353 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15354 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15355 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15356 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15357
db2ad4c3
JK
153582008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15359
15360 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15361
bb5ef15e
DP
153622008-12-16 Christophe Lyon <christophe.lyon@st.com>
15363
15364 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15365 compiler actually generate code at the expected line number.
15366
90142adc
JZ
153672008-12-15 Jie Zhang <jie.zhang@analog.com>
15368
15369 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15370
fad6eecd
TT
153712008-12-12 Tom Tromey <tromey@redhat.com>
15372
15373 * gdb.base/commands.exp (redefine_hook_test): New proc.
15374 Call it.
15375
17c8aaf5
TT
153762008-12-11 Tom Tromey <tromey@redhat.com>
15377
15378 * gdb.base/macscp.exp: New regression test.
15379
7c8adf68
TT
153802008-12-11 Tom Tromey <tromey@redhat.com>
15381
15382 * gdb.base/macscp.exp: Print "address.addr".
15383 * gdb.base/macscp1.c (struct outer): New struct.
15384 (address): New global.
15385
b05dcbb7
TT
153862008-12-09 Tom Tromey <tromey@redhat.com>
15387
15388 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15389 Call it.
15390
2d476de1
DE
153912008-12-04 Doug Evans <dje@google.com>
15392
15393 * gdb.server/ext-run.exp: Relax regexp for init program.
15394
87bdc959
TG
153952008-12-03 Tristan Gingold <gingold@adacore.com>
15396
15397 * gdb.base/macscp.exp: Generate an object file during compilation
15398 to work around Darwin dsymutil limitations.
15399
e0740f77
JK
154002008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15401
15402 Test resolving external references to TLS variables.
15403 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15404 FILE2_THREAD_LOCAL.
15405 (testfile2, srcfile2): New variables.
15406 * gdb.threads/tls.c (file2_thread_local)
15407 (function_referencing_file2_thread_local): New.
15408 * gdb.threads/tls2.c: New file.
15409
67f0aac5
JB
154102008-11-28 Joel Brobecker <brobecker@adacore.com>
15411
15412 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
15413 rather than integer, as integer might not be big enough when
15414 on 64bit targets.
67f0aac5 15415
c332165e
JG
154162008-11-27 Jerome Guitton <guitton@adacore.com>
15417
15418 * gdb.cp/formatted-ref.exp: Add equality test.
15419 * gdb.ada/formatted_ref.exp: Ditto.
15420
fc9b693c
JK
154212008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15422
15423 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15424 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15425
a9c64011
AS
154262008-11-20 Andreas Schwab <schwab@suse.de>
15427
15428 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15429 matching syscall entry point.
15430 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15431 (tcatch_vfork_then_child_follow): Likewise. Finish through
15432 vfork even if we stopped at the syscall trampoline.
15433
e2fd701e
DE
154342008-11-20 Doug Evans <dje@google.com>
15435
15436 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15437
69abc51c
TJB
154382008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15439
15440 * gdb.arch/ppc-dfp.exp: New file.
15441 * gdb.arch/ppc-dfp.c: New file.
15442
c14c28ba
PP
154432008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15444
15445 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 15446
2e74121d
DE
154472008-11-17 Doug Evans <dje@google.com>
15448
15449 * gdb.mi/mi-syn-frame.exp: Update expected output.
15450 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15451
66bb093b
VP
154522008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15453
15454 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
15455 "thread N" results in =thread-selected.
15456 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15457 (mi_send_resuming_command_raw): Be prepared for
15458 =thread-selected.
15459
3d043ef6
VP
154602008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15461
a9c64011
AS
15462 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15463 * lib/mi-support.exp: Likewise.
3d043ef6 15464
808104c8
JB
154652008-11-16 Joel Brobecker <brobecker@adacore.com>
15466
15467 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15468 commands from the expected output for "help catch".
15469
00b22944
JB
154702008-11-15 Joel Brobecker <brobecker@adacore.com>
15471
15472 * gdb.ada/int_deref.exp: New testcase.
15473
59669435
TT
154742008-11-14 Nick Roberts <nickrob@snap.net.nz>
15475
15476 * gdb.mi/gdb2549.exp: New file.
15477
de04a248
DE
154782008-11-11 Doug Evans <dje@google.com>
15479
15480 * gdb.base/callexit.exp: New file.
15481 * gdb.base/callexit.c: New file.
15482
6b8ce727
DE
154832008-11-10 Doug Evans <dje@google.com>
15484
15485 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15486 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15487 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15488 (default_gdb_start,default_gdb_exit): Ditto.
15489 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15490 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15491 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15492 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15493 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15494 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15495
1b14b8aa
AS
154962008-11-03 Andreas Schwab <schwab@suse.de>
15497
15498 * gdb.base/hashline2.exp: Fix typo.
15499 * gdb.base/hashline3.exp: Likewise.
15500
f3134b88
TT
155012008-10-30 Tom Tromey <tromey@redhat.com>
15502
15503 * gdb.base/pointers.exp: Add test.
15504 * gdb.base/pointers.c (k, S): New typedefs.
15505 (instance): New global.
15506
c2226152
AS
155072008-10-30 Andreas Schwab <schwab@suse.de>
15508
15509 * gdb.base/args.exp: Add tests for newlines.
15510
462f405c
JB
155112008-10-30 Joel Brobecker <brobecker@adacore.com>
15512
15513 gdb.base/foll-exec.exp: Update the expected output of a couple
15514 of "info breakpoints" tests.
15515
79a45b7d
TT
155162008-10-28 Tom Tromey <tromey@redhat.com>
15517
15518 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15519
adc13a14
PA
155202008-10-24 Pedro Alves <pedro@codesourcery.com>
15521
15522 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15523 gdb_start_cmd.
15524 Use runto_main before any test that requires execution.
15525
252fbfc8
PA
155262008-10-23 Pedro Alves <pedro@codesourcery.com>
15527
15528 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15529 instead of SIGINT.
15530
28148e3d
JB
155312008-10-22 Joel Brobecker <brobecker@adacore.com>
15532
15533 * gdb.base/completion.exp: Update expected output following
15534 the addition of the "info tasks" command.
15535
c209f847
TT
155362008-10-22 Tom Tromey <tromey@redhat.com>
15537
15538 * gdb.base/exprs.exp (test_expr): Add test for string
15539 concatenation.
15540
f177e350
PA
155412008-10-19 Pedro Alves <pedro@codesourcery.com>
15542
15543 * configure.ac: Output gdb.python/Makefile.
15544 * configure: Regenerate.
15545 * gdb.python/Makefile.in: New.
15546
cce89356
JB
155472008-10-16 Joel Brobecker <brobecker@adacore.com>
15548
15549 * gdb.base/foll-fork.exp: Adjust the expected output to match
15550 the new description for fork/vfork catchpoints in the "info
15551 breakpoints" output.
15552
176d289d
TJB
155532008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15554
15555 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15556
a08702d6
TJB
155572008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15558
15559 * gdb.python/python-value.c: New file.
15560 * gdb.python/python-value.exp: New file.
15561
1c5cfe86
PA
155622008-10-15 Pedro Alves <pedro@codesourcery.com>
15563
15564 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15565
5a98ad69
DP
155662008-10-15 Denis Pilat <denis.pilat@st.com>
15567
41702f1b 15568 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 15569
dcb1a1e2
TT
155702008-10-09 Tom Tromey <tromey@redhat.com>
15571
15572 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15573 'fprintf' and 'stderr'.
15574
9124fe48
JB
155752008-10-07 Joel Brobecker <brobecker@adacore.com>
15576
15577 * gdb.ada/ref_tick_size.exp: New testcase.
15578
45452591
DE
155792008-10-06 Doug Evans <dje@google.com>
15580
15581 * gdb.dwarf2/dw2-cu-size.exp: New file.
15582 * gdb.dwarf2/dw2-cu-size.S: New file.
15583
15584 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15585 .Ltype_int for clarity.
15586
4fc5b208
PP
155872008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15588
15589 PR gdb/2384:
15590 * gdb.cp/gdb2384.exp: Extended to test more cases.
15591 * gdb.cp/gdb2384.cc: Likewise.
15592 * gdb.cp/gdb2384-base.h: Likewise.
15593 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 15594
d78df370
JK
155952008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15596
15597 * gdb.base/maint.exp (maint print type): Remove printing
15598 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15599
9a044a89
TT
156002008-09-30 Tom Tromey <tromey@redhat.com>
15601
15602 * gdb.base/macscp.exp: Add completion tests.
15603 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15604 (TWENTY_THREE): Likewise.
15605 (FORTY_EIGHT): Likewise.
15606
506800a9
TT
156072008-09-30 Tom Tromey <tromey@redhat.com>
15608
15609 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15610 everywhere.
15611 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15612
1a6f01b5
JK
156132008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15614
15615 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15616 testcase is derived from. Fix racy dependency on an expected PID
15617 number. No longer support the testcase on Linux kernel 2.4.x.
15618
2fae03e8
TT
156192008-09-27 Tom Tromey <tromey@redhat.com>
15620
15621 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15622 and varargs.
15623
1ad15515
PA
156242008-09-22 Pedro Alves <pedro@codesourcery.com>
15625
15626 * lib/mi-support.exp (mi_expect_interrupt): New.
15627 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15628 from gdb.mi/mi-nonstop.exp.
15629 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15630 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15631 lib/mi-support.exp.
15632 Use mi_check_thread_states throughout. Avoid ".*" and do not
15633 require an anchor after -exec-run.
15634
d0b76dc6
DJ
156352008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15636
15637 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15638 stop is pending. Avoid ".*" when two stops are pending.
15639 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15640 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15641 newlines in fullnames.
15642 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15643 (mi_expect_stop): Update comments. Only anchor in sync mode.
15644 Do not match newlines.
15645 (mi_send_resuming_command_raw): Always return status.
15646 (mi_get_stop_line): Do not match more than one line by accident.
15647 Only anchor in sync mode.
15648 (mi_run_inline_test): If -exec-next fails, give up.
15649
9990c830
UW
156502008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15651
15652 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15653 on SPU.
15654
ebcf6f00
JB
156552008-09-10 Joel Brobecker <brobecker@adacore.com>
15656
15657 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15658
b6db24e5
JB
156592008-09-10 Joel Brobecker <brobecker@adacore.com>
15660
15661 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15662 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15663 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15664 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15665 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15666 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15667 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15668 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15669 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15670 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15671 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15672 Include the "= " sequence in the expected output of print tests.
15673
2bf448e0
JB
156742008-09-10 Joel Brobecker <brobecker@adacore.com>
15675
15676 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15677 description for boolean types.
15678
d51fd4c8
PA
156792008-09-09 Pedro Alves <pedro@codesourcery.com>
15680
15681 * gdb.base/hook-stop-continue.c: New.
15682 * gdb.base/hook-stop-continue.exp: New.
15683
694182d2
DJ
156842008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15685
15686 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15687
3b8a7fc0
JG
156882008-09-08 Jerome Guitton <guitton@adacore.com>
15689
15690 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15691 (stack_check_probe_2, stack_check_probe_loop_1)
15692 (stack_check_probe_loop_2): New functions.
15693 (main): Add call to these new functions.
15694 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15695 functions, check that the breakpoint is inserted at the appropriate
15696 location.
15697 (insert_breakpoint): Slightly refine this procedure so that it can
15698 be called several times in the test.
15699
96cc0ae8
JG
157002008-09-08 Jerome Guitton <guitton@adacore.com>
15701
15702 * gdb.base/stack-checking.c: New file.
15703 * gdb.base/stack-checking.exp: New file.
15704
1f08b409
TJB
157052008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15706
15707 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15708 * gdb.arch/altivec-regs.exp: Likewise.
15709 * gdb.arch/vsx-regs.exp: Likewise.
15710
3099e1c4
TJB
157112008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15712
15713 * gdb.arch/ppc-fp.exp: New file.
15714 * gdb.arch/ppc-fp.c: New file.
15715
cc69bfc1
PP
157162008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15717
15718 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15719 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 15720
b02a33db
MS
157212008-09-04 Michael Snyder <msnyder@vmware.com>
15722
15723 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15724 as "at" (for non-debug functions such as _start).
15725
2992cbe0
UW
157262008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15727
15728 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15729 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15730 software watchpoints.
15731 * gdb.base/watch_thread_num.exp: Likewise.
15732
514f746b
AR
157332008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15734
15735 * gdb.arch/i386-bp_permanent.exp: New test.
15736
876cecd0
TT
157372008-08-24 Tom Tromey <tromey@redhat.com>
15738
15739 * gdb.base/maint.exp: Update "maint print type".
15740
80f73d71
VP
157412008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15742
15743 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15744 support. Adjust the order of "*running" notifications.
15745 * gdb.mi/non-stop.c: Don't cast from int to void* and
15746 back.
15747
d9c78d7d
MK
157482008-08-20 Mark Kettenis <kettenis@gnu.org>
15749
15750 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15751 expect to find it in the "info frame" output.
15752
97a2d1d3
DJ
157532008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15754
15755 * gdb.base/interp.exp: Always consume both prompts.
15756
b96e2927
PA
157572008-08-20 Pedro Alves <pedro@codesourcery.com>
15758
15759 * gdb.base/pending.exp: Test pending breakpoints without symbols
15760 loaded.
15761
8cf6e61a
VP
157622008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15763
15764 * lib/mi-support.exp (mi_expect_stop): Produce
15765 more details on failures.
15766 * gdb.mi/mi-nonstop.exp: New.
15767 * gdb.mi/non-stop.c: New.
15768
c6ebd6cf
VP
157692008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15770
a9c64011
AS
15771 * gdb.mi/mi-async.exp: Use 'set target-async'.
15772 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 15773
46a9b8ed
DJ
157742008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15777
44feb3ce
TT
157782008-08-17 Tom Tromey <tromey@redhat.com>
15779
15780 * gdb.base/help.exp (help catch): Rewrite.
15781
311a4e6b
TJB
157822008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15783
15784 * gdb.base/define.exp: Test indented command documentation.
15785 * gdb.python/python.exp: Test indented multi-line command.
15786
604c2f83
LM
157872008-08-15 Luis Machado <luisgpm@br.ibm.com>
15788
15789 * testsuite/gdb.arch/vsx-regs.c: New source file.
15790 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15791 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15792
886a217c
TT
157932008-08-14 Tom Tromey <tromey@redhat.com>
15794
15795 * gdb.base/macscp.exp: Add regression test for "macro define" or
15796 "macro undef" with no arguments.
15797
c814a4f3
PP
157982008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15799
15800 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15801
12ab8a60
UW
158022008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15803
15804 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15805
d57a3c85
TJB
158062008-08-06 Tom Tromey <tromey@redhat.com>
15807
15808 * gdb.python/python.exp: New file.
15809
c7b778ff
JK
158102008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15811
15812 Fix for PR gdb/1543.
15813 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15814 $LOCATION.
15815 (location): New variable.
15816 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15817 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15818 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15819 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15820 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15821 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15822 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15823 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15824 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15825 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15826 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15827 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15828 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15829 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15830 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15831 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15832 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15833 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15834 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15835 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15836 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15837 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15838 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15839 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15840 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15841 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15842 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15843 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15844 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15845 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15846 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15847 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15848 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15849 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15850 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15851 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15852 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15853 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15854 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15855 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15856 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15857 gdb.base/type-opaque.exp, gdb.base/until.exp,
15858 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15859 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15860 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15861 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15862 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15863 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15864 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15865 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15866 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15867 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15868 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15869 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15870 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15871 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15872 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15873 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15874 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15875 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15876 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15877 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15878 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15879 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15880 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15881 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15882 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15883 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15884 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15885 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15886 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15887 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15888 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15889 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15890 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15891 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15892 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15893 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15894 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15895 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15896 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15897 to bug-gdb@prep.ai.mit.edu .
15898
5e06a3d1
VP
158992008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15900
15901 * lib/mi-support.exp (mi_load_shlibs): New.
15902 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15903
9d81d21b
VP
159042008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15905
15906 * lib/mi-support.exp (get_mi_thread_list)
15907 (check_mi_and_console_threads): New, moved from ...
15908 * gdb.mi/mi-pthread.exp: ...here.
15909 * gdb.mi/gdb669.exp (get_mi_thread_list)
15910 (check_mi_and_console_threads): Delete.
15911 * gdb.mi/mi2-pthread.exp: Likewise.
15912
bae98fe0
TT
159132008-07-28 Tom Tromey <tromey@redhat.com>
15914
15915 * Makefile.in (just-check): Remove. Move body to...
15916 (check): ... here.
15917
57380f4e
DJ
159182008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15919
15920 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15921 Add a test for duplicated SIGINTs.
15922
e09490f1
DJ
159232008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15924
15925 * gdb.threads/schedlock.exp (get_args): Update to work for any
15926 value of NUM.
15927 (Top level): Report the number of threads that did not resume.
15928
6387b45f
DJ
159292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15932
62f64ff2
DJ
159332008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15934
15935 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15936 non-MI prompt.
15937
fa8de41e
TT
159382008-07-26 Tom Tromey <tromey@redhat.com>
15939
15940 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15941 (function_struct, function_struct_ptr): New globals.
15942 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15943 function pointer in a struct.
15944
ccb3ac8a
TT
159452008-07-26 Tom Tromey <tromey@redhat.com>
15946
15947 * gdb.base/macscp.exp: Add test for macro lexing bug.
15948
d7d9f01e
TT
159492008-07-18 Tom Tromey <tromey@redhat.com>
15950
15951 * gdb.base/macscp.exp: Add macro tests.
15952
9bf07184
PP
159532008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15954
15955 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15956
becf6477
PP
159572008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15958
15959 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15960
0709f7d3
PP
159612008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15962
15963 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15964
7093c834
PP
159652008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15966
15967 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15968
b432ffe3
JK
159692008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15970
15971 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15972
b1a268e5
VP
159732008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15974
15975 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15976
e2995f8e
KB
159772008-07-11 Kevin Buettner <kevinb@redhat.com>
15978
15979 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15980 of regexp to account for changes made to GDB in the printing of
15981 byte vectors.
15982
14032a66
TT
159832008-07-11 Tom Tromey <tromey@redhat.com>
15984
15985 * gdb.base/completion.exp: Add 'help' completion test.
15986
981505ef
JK
159872008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15988
15989 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15990
10568435
JK
159912008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15992
15993 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15994
4487aabf
PA
159952008-07-09 Pedro Alves <pedro@codesourcery.com>
15996
15997 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15998
a4a9b1c4
PA
159992008-07-09 Pedro Alves <pedro@codesourcery.com>
16000
16001 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16002
3c3185ac
JK
160032008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16004
16005 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16006
7ebd49dc
VP
160072008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16008
16009 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16010 previous commit. Add a comment.
16011
84e46146
PA
160122008-06-28 Pedro Alves <pedro@codesourcery.com>
16013
16014 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16015
0f8d4a2f
VP
160162008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16017
16018 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16019
f747e0ce
PA
160202008-06-27 Pedro Alves <pedro@codesourcery.com>
16021
16022 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16023 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16024 compiling an executable, link in an object that forces unbuffered
16025 output.
16026 * lib/set_unbuffered_mode.c: New file.
16027
734a5c36
JK
160282008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16029
16030 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16031
a2840c35
VP
160322008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16033
a9c64011
AS
16034 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16035 mi_expect_stop.
16036 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16037 Demand that *running is output.
16038 (detect_async): Perform checking every time.
16039 (mi_send_resuming_command): Extract everything into...
16040 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
16041 (mi_expect_stop): Don't accept any output before *stopped.
16042
6ae37fef
VP
160432008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16044
16045 Robustify mi-simplerun.
a9c64011
AS
16046 * gdb.mi/basics.c (main): Add a call to sleep.
16047 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16048 * gdb.mi/mi2-cli.exp: Likewise.
16049 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 16050
b4aa76f0 160512008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
16052
16053 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16054
e1ac3328
VP
160552008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16056
a9c64011
AS
16057 * gdb.mi/mi-console.exp: Adjust.
16058 * gdb.mi/mi-syn-frame.exp: Adjust.
16059 * gdb.mi/mi2-console.exp: Adjust.
16060 * gdb.mi/mi2-syn-frame.exp: Adjust.
16061 * lib/mi-support.exp (mi_run_cmd): Adjust.
16062 (mi_send_resuming_command): Adjust.
e1ac3328 16063
f7f9a841
VP
160642008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16065
16066 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
16067 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16068 testing of stopped.
16069 * gdb.mi/mi2-syn-frame.exp: Likewise.
16070 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16071 (async, detect_async): New.
16072 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16073 depending on if we're running in sync or async mode.
f7f9a841 16074
37cd5d19
TT
160752008-06-09 Tom Tromey <tromey@redhat.com>
16076
16077 * gdb.base/completion.exp: New tests for field name completion
16078 with spaces, and field name completion with '->'.
16079
65d12d83
TT
160802008-06-06 Tom Tromey <tromey@redhat.com>
16081
16082 * gdb.base/break1.c (struct some_struct): New struct.
16083 (values): New global.
16084 * gdb.base/completion.exp: Add field name completion test.
16085
ebfe2e3f
PP
160862008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16087
16088 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16089 to pointer.
16090 * gdb.cp/call-c.cc: Likewise.
16091
bcf6fc3a
NR
160922008-06-06 Nick Roberts <nickrob@snap.net.nz>
16093
16094 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16095 annotation.
16096
49fd4a42 160972008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 16098 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
16099
16100 * gdb.threads/execl.c, gdb.threads/execl1.c,
16101 gdb.threads/execl.exp: New tests.
a9c64011 16102
8a34ac3f
AR
161032008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16104 Daniel Jacobowitz <dan@codesourcery.com>
16105
16106 * gdb.cp/exception.exp: Activate test, make it work with pending
16107 catchpoints.
16108
86ae69ef
JK
161092008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16110
16111 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16112
f7f9ae2c
VP
161132008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16114
a9c64011
AS
16115 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16116 now printed.
16117 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 16118
2a2d4dc3
AS
161192008-05-27 Andreas Schwab <schwab@suse.de>
16120
16121 * gdb.base/frame-args.exp: Handle arguments that are optimized
16122 out.
16123
5099e4d9
LM
161242008-05-26 Luis Machado <luisgpm@br.ibm.com>
16125
16126 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16127 quiet for ppc32 and group options into a single variable.
16128
d9c36a91
JB
161292008-05-23 Joel Brobecker <brobecker@adacore.com>
16130
16131 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16132 of zero-size elements.
16133 * gdb.ada/null_array.exp: Test printing this new array.
16134
103a8671
JK
161352008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16136
16137 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16138
07a4cc1a 161392008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
16140
16141 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16142 of the "finish" command.
16143
55f996a7
NR
161442008-05-21 Nick Roberts <nickrob@snap.net.nz>
16145
16146 * gdb.base/annota1.exp: Test for new annotation.
16147
907fc202
UW
161482008-05-16 Pedro Alves <pedro@codesourcery.com>
16149
16150 * gdb.base/fixsection.exp: New file.
16151 * gdb.base/fixsection0.c: New file.
16152 * gdb.base/fixsection1.c: New file.
16153
e8f97270
UW
161542008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16155
16156 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16157 * gdb.base/annota3.exp: Likewise.
16158
ac0bb574
NF
161592008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16160
16161 * gdb.base/watch_thread_num.exp: Don't run tests that require
16162 watchpoints if the target doesn't support them.
16163
6fadd07a
DE
161642008-05-12 Doug Evans <dje@google.com>
16165
16166 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16167
6e9a4a30
JB
161682008-05-09 Joel Brobecker <brobecker@adacore.com>
16169
16170 * gdb.ada/assign_1.exp: New testcase.
16171
08388c79
DE
161722008-05-09 Doug Evans <dje@google.com>
16173
a3c83fae
DE
16174 * gdb.base/find.exp: New file.
16175 * gdb.base/find.c: New file.
08388c79 16176
bd5ddfe8
DJ
161772008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16178
16179 * gdb.base/commands.exp (watchpoint_command_test): Handle
16180 gdb,no_hardware_watchpoints.
16181 * gdb.base/float.exp: Allow ARM targets without floating point.
16182 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16183
b5dd68e2 161842008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 16185 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
16186
16187 * gdb.ada/lang_switch: New test program.
16188 * gdb.ada/lang_switch.exp: New testcase.
16189
382d13d1
DE
161902008-05-05 Doug Evans <dje@google.com>
16191
16192 * gdb.base/help.exp (disassemble): Update expected help text.
16193
9dd789d0
PA
161942008-05-04 Pedro Alves <pedro@codesourcery.com>
16195
16196 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16197
611c83ae
PA
161982008-05-04 Pedro Alves <pedro@codesourcery.com>
16199
16200 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16201 different times.
16202
ff013f42
JK
162032008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16204
16205 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16206 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16207 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16208 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16209
96dff6a2
VP
162102008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16211
16212 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16213 notification to appear.
16214
55cd6f92
DJ
162152008-05-04 Daniel Jacobowitz <dan@debian.org>
16216
16217 * gdb.base/fullname.c: New file.
16218 * gdb.base/fullname.exp: New file.
16219 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16220
d705c43c
PA
162212008-05-03 Pedro Alves <pedro@codesourcery.com>
16222
16223 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16224 expressions with macros.
16225
333222e1
JK
162262008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16227
16228 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16229
5ac01682
DJ
162302008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16231
16232 * gdb.base/completion.exp: Handle lack of other symbols beginning
16233 with "a".
16234
16235 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16236
237fc4c9
PA
162372008-05-02 Jim Blandy <jimb@codesourcery.com>
16238
16239 * gdb.asm/asmsrc1.s: Add scratch space.
16240
ed5e9466
DJ
162412008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16242 Daniel Jacobowitz <dan@codesourcery.com>
16243
16244 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16245 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16246 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16247
b39cc962
DJ
162482007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16249
16250 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16251
36d520f5
JB
162522008-05-01 Joel Brobecker <brobecker@adacore.com>
16253
16254 * gdb.base/info-target.exp: New testcase.
16255
8d4e3071
DJ
162562008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16257
16258 * gdb.cp/hang.exp: Use .cc instead of .C.
16259 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16260 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16261
6f3f3097
DJ
162622008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16263
16264 * gdb.base/gdb1250.exp: Remove perror.
16265 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16266
5550a914
PA
162672008-04-30 Pedro Alves <pedro@codesourcery.com>
16268
16269 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16270 .2byte.
16271
d848e687
DJ
162722008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16273
16274 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16275 (maybe_kfail): New.
16276
93b5768b
PA
162772008-04-25 Pedro Alves <pedro@codesourcery.com>
16278
16279 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16280
721c02de
VP
162812008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16282
a9c64011
AS
16283 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16284 * gdb.mi/mi2-syn-frame.exp: Likewise.
16285 * lib/mi-support.exp: Likewise.
721c02de 16286
74960c60
VP
162872008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16288
16289 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16290 to specify regexp for the location to stop at.
16291 * gdb.base/break-always.c: New.
16292 * gdb.base/break-always.exp: New.
16293
d24317b4
VP
162942008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16295
16296 * lib/mi-support.exp (mi_runto_helper): Adjust
16297 for the original-location field.
16298 (mi_create_breakpoint, mi_list_breakpoints): New.
16299 * gdb.mi/mi-break.exp: Adjust.
16300 * gdb.mi/mi2-break.exp: Adjust.
16301 * gdb.mi/mi-pending.exp: Adjust.
16302 * gdb.mi/mi-simplerun.exp: Adjust.
16303 * gdb.mi/mi2-simplerun.exp: Adjust.
16304 * gdb.mi/mi-syn-frame.exp: Adjust.
16305 * gdb.mi/mi2-syn-frame.exp: Adjust.
16306 * gdb.mi/mi-until.exp: Adjust.
16307 * gdb.mi/mi2-until.exp: Adjust.
16308 * gdb.mi/mi-var-display.exp: Adjust.
16309 * gdb.mi/mi2-var-display.exp: Adjust.
16310 * gdb.mi/mi-watch.exp: Adjust.
16311 * gdb.mi/mi2-watch.exp: Adjust.
16312
fdc59709 163132008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 16314
a9c64011
AS
16315 * aclocal.m4: Add override.m4.
16316 * configure: Regenerate.
fdc59709 16317
8e91f023
VP
163182008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16319
16320 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16321 '-var-update --all-values' reports new value even the type
16322 of a variable object has changed.
16323
233a11ab
CS
163242008-04-18 Craig Silverstein <csilvers@google.com>
16325
16326 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16327 files.
d24317b4 16328
9c1137ad
JB
163292008-04-18 Joel Brobecker <brobecker@adacore.com>
16330
16331 * gdb.ada/atomic_enum: New test program.
16332 * gdb.ada/atomic_enum.exp: New testcase.
16333
66d0bbc7
DE
163342008-04-17 Doug Evans <dje@google.com>
16335
16336 * gdb.opt/Makefile.in: Fix whitespace.
16337
100906b0
UW
163382008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16339
16340 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16341
4584e32e
DE
163422008-04-17 Doug Evans <dje@google.com>
16343
16344 * gdb.base/hashline1.exp: New testcase.
16345 * gdb.base/hashline2.exp: New testcase.
16346 * gdb.base/hashline2.exp: New testcase.
16347
0a320680
PA
163482008-04-17 Pedro Alves <pedro@codesourcery.com>
16349
16350 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16351
18ac113b
AR
163522008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16353
16354 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16355 temporary breakpoint to match "Temporary breakpoint".
16356 * gdb.base/break.exp (delete_breakpoints): Likewise.
16357 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16358 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16359 * gdb.base/display.exp: Likewise.
16360 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16361 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16362 * gdb.base/restore.exp (restore_tests): Likewise.
16363 * gdb.base/sepdebug.exp: Likewise.
16364 * gdb.base/watchpoint.exp: Likewise.
16365 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16366 * gdb.mi/mi-pending.exp: Likewise.
16367 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16368 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16369 * gdb.mi/mi-var-cmd.exp: Likewise.
16370 * gdb.mi/mi-var-display.exp: Likewise.
16371 * gdb.mi/mi2-cli.exp: Likewise.
16372 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16373 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16374 * gdb.mi/mi2-var-display.exp: Likewise.
16375 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16376 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16377 new "disp" field.
a9c64011 16378 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
16379 reason. This is to support fix for PR2424.
16380
add38693
JK
163812008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16382
16383 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16384
fcacd99f
VP
163852008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16386
16387 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 16388 field. Add more floating varobj tests.
fcacd99f 16389 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
16390 field.
16391 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16392 (main): Call do_at_tests.
16393 * lib/mi-support.exp (mi_create_floating_varobj)
16394 (mi_varobj_update_with_type_change): New.
fcacd99f 16395
de051565
MK
163962008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16397
16398 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16399 option of -var-evaluate-expression.
16400 * gdb.mi/mi2-var-display.exp: Likewise.
16401
dbc52822
VP
164022008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16403
16404 Introduce test setup helpers.
a9c64011
AS
16405 * lib/gdb.exp (build_executable, clean_restart)
16406 (prepare_for_testing): New.
16407 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16408 * gdb.base/return.exp: Likewise.
16409 * gdb.base/ending-run.exp: Likewise.
dbc52822 16410
473591da
NR
164112008-04-07 Nick Roberts <nickrob@snap.net.nz>
16412
16413 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16414 Interface (MI) responses.
16415
2b2d9e11
VP
164162008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16417
a9c64011
AS
16418 * gdb.cp/breakpoint.cc: New code to test conditions involving
16419 member variables.
16420 * gdb.cp/breakpoint.exp: Test condition involving member
16421 variables.
2b2d9e11 16422
bb378428
VP
164232008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16424
16425 * lib/mi-support.exp (mi_expect_stop): New.
16426 (mi_run_cmd): Change the
16427 token. Use mi_send_resuming_command, use
16428 mi_expect_stop.
16429 (mi_execute_to_helper): Rename to mi_execute_to.
16430 (mi_send_resuming_command): Add more error patterns.
16431 (mi_wait_for_stop): Renamed to...
16432 (mi_get_stop_line): ...this.
16433 (mi_run_inline_test): Adjust.
16434
16435 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16436 * gdb.mi/mi-console.exp: Likewise.
16437 * gdb.mi/mi-pending.exp: Likewise.
16438 * gdb.mi/mi-simplerun.exp: Likewise.
16439 * gdb.mi/mi-stack.exp: Likewise.
16440 * gdb.mi/mi-stepi.exp: Likewise.
16441 * gdb.mi/mi-syn-frame.exp: Add comment.
16442 * gdb.mi/mi-until.exp: Likewise.
16443 * gdb.mi/mi-var-display.exp: Likewise.
16444 * gdb.mi/mi-watch.exp: Likewise.
16445 * gdb.mi/mi2-cli.exp: Likewise.
16446 * gdb.mi/mi2-console.exp: Likewise.
16447 * gdb.mi/mi2-simplerun.exp: Likewise.
16448 * gdb.mi/mi2-stack.exp: Likewise.
16449 * gdb.mi/mi2-stepi.exp: Likewise.
16450 * gdb.mi/mi2-until.exp: Likewise.
16451 * gdb.mi/mi2-var-display.exp: Likewise.
16452 * gdb.mi/mi2-watch.exp: Likewise.
16453
62172bb9
UW
164542008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16455
16456 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16457
16458 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16459
a13e061a
PA
164602008-04-04 Pedro Alves <pedro@codesourcery.com>
16461
16462 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16463 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16464 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16465 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16466 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16467 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16468 expect an mi error duplicated in stderr.
16469
eae06beb
JB
164702008-04-03 Joel Brobecker <brobecker@adacore.com>
16471
16472 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16473 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16474 Add a couple of tests that verify the behavior when the new setting
16475 is set to "cancel" and "all".
16476 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16477 "ask" before we start the testing.
16478
79c6ced6
AR
164792008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16480
16481 * gdb.cp/casts.cc: Add class reference variables.
16482 * gdb.cp/casts.exp: New test cases for up/down casting references.
16483
6c2d1a6b
MK
164842008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16485
16486 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16487 instead of beginning to make an extra test pass.
16488 * gdb.mi/mi2-var-display.exp: Likewise.
16489
55b411d9
MR
164902008-03-31 Maciej W. Rozycki <macro@mips.com>
16491
16492 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16493
c6140da2
MD
164942008-03-31 Markus Deuling <deuling@de.ibm.com>
16495 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16496
16497 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16498 value. Add xfail for older kernels.
16499
79732189
AR
165002008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16501
16502 Bring mi-support in line with gdb.exp.
16503 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16504 (mi_gdb_start): New function.
16505
33c3676e
MR
165062008-03-28 Maciej W. Rozycki <macro@mips.com>
16507
16508 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16509
92e28119
VP
165102008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16511
16512 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16513 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 16514
9e8e3afe
VP
165152008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16516
16517 * lib/mi-support.exp (mi_create_varobj_checked): New.
16518 (mi_list_varobj_children): Allow to check for a
16519 value.
16520 (mi_list_array_varobj_children): New.
16521
16522 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16523 and mi_list_varobj_children, as opposed to hardcoding
16524 expected strings.
16525 * gdb.mi/gdb701.exp: Likewise.
16526 * gdb.mi/gdb792.exp: Likewise.
16527 * gdb.mi/mi-var-block.exp: Likewise.
16528 * gdb.mi/mi-var-cmd.exp: Likewise.
16529 * gdb.mi/mi-var-invalidate.exp: Likewise.
16530 * gdb.mi/mi2-var-block.exp: Likewise.
16531 * gdb.mi/mi2-var-child.exp: Likewise.
16532 * gdb.mi/mi2-var-cmd.exp: Likewise.
16533 * gdb.mi/mi2-var-display.exp: Likewise.
16534
9df50351
JK
165352008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16536
16537 Fix random false FAILs on i386.
16538 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16539
31e5d73a
DJ
165402008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16541
16542 PR gdb/544
16543 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16544
12f4afab
DJ
165452008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16546
16547 PR gdb/544
16548 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16549
b562a0cb
DJ
165502008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16551
16552 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16553 fixed PR gdb/544.
16554
17faa917
DJ
165552008-03-21 Pedro Alves <pedro@codesourcery.com>
16556
16557 * gdb.threads/fork-child-threads.exp: Test next over fork.
16558
6214f497
DJ
165592008-03-21 Chris Demetriou <cgd@google.com>
16560
16561 * gdb.base/break.exp (rbreak junk): New test for rbreak
16562 "Junk at end of arguments" issue.
16563
63092375
DJ
165642008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16565
16566 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16567 *& to work on created array elements.
16568 (Top level): Test print $pc with a file. Test string operations
16569 without a target.
16570 * gdb.base/ptype.exp: Do not expect *& to work on created array
16571 elements.
16572
b21991b0
DJ
165732008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16574
16575 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16576 gdb.threads/staticthreads.exp: Update exit query.
16577
c4b347c7
SL
165782008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16579
16580 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16581
fa4727a6
DJ
165822008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16583
16584 * gdb.base/watchpoint.c (global_ptr, func4): New.
16585 (main): Call func4.
16586 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16587 (test_inaccessible_watchpoint): New.
16588
2f34202f
MR
165892008-02-29 Maciej W. Rozycki <macro@mips.com>
16590
16591 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16592 select the largest.
16593
0d6ba1b1
DJ
165942008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16595
16596 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16597 frames-invalid annotations.
16598
e691325a
PM
165992008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16600
a9c64011 16601 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 16602
f85b5ecc
DE
166032008-02-27 Doug Evans <dje@google.com>
16604
16605 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16606 for bug 1738.
16607 (breakpoint_to_handler_entry): Ditto.
16608
b40e7bf3
JB
166092008-02-27 Joel Brobecker <brobecker@adacore.com>
16610
16611 * gdb.base/ending-run.exp: Use the first line of code inside
16612 function body to test breakpoints.
16613 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16614 location where the breakpoint is inserted when using the line
16615 where a function is declared. Fix typo in the description of
16616 one of the tests.
16617 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16618
2faca73a
PM
166192008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16620
16621 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 16622 tests.
2faca73a 16623
6f439c36
PM
166242008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16625
16626 * gdb.base/args.exp: avoid same output for tests
16627 with single quotes.
16628
54e52265
VP
166292008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16630
a9c64011
AS
16631 * gdb.base/annota1.exp: Adjust for 'info break'
16632 format changes.
16633 * gdb.base/annota3.exp: Likewise.
16634 * gdb.base/break.exp: Likewise.
16635 * gdb.base/condbreak.exp: Likewise.
16636 * gdb.base/pending.exp: Likewise.
16637 * gdb.base/sepdebug.exp: Likewise.
16638 * gdb.base/unload.exp: Likewise.
16639 * gdb.cp/ovldbreak.exp: Likewise.
16640 * gdb.mi/mi-pending.exp: Likewise.
54e52265 16641
897b09ca
DE
166422008-02-07 Doug Evans <dje@google.com>
16643
16644 * gdb.cp/mb-inline.exp: New.
16645 * gdb.cp/mb-inline.h: New.
16646 * gdb.cp/mb-inline1.cc: New.
16647 * gdb.cp/mb-inline2.cc: New.
16648
b1c32d35
PM
166492008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16650
16651 * gdb.pascal/floats.pas: New test program.
16652 * gdb.pascal/floats.exp: New testcase.
16653
1a4ca44a
TJB
166542008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16655
16656 * gdb.base/callfuncs.c (t_float_many_args): New function.
16657 (t_double_many_args): New function.
16658 * gdb.base/callfuncs.exp: Add tests for exceeding float
16659 and double parameters passed through the stack.
16660
439048e8
JB
166612008-02-05 Joel Brobecker <brobecker@adacore.com>
16662
16663 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16664 gdb.ada/complete/foo.adb: New files.
16665 * gdb.ada/complete.exp: New testcase.
16666
81fe8080
DE
166672008-02-03 Doug Evans <dje@google.com>
16668
301f0ecf
DE
16669 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16670
81fe8080
DE
16671 * gdb.cp/gdb2384.exp: New file.
16672 * gdb.cp/gdb2384.cc: New file.
16673 * gdb.cp/gdb2384-base.h: New file.
16674 * gdb.cp/gdb2384-base.cc: New file.
16675
4b071aec
DE
166762008-02-02 Doug Evans <dje@google.com>
16677
16678 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16679
61137ba6
JB
166802007-02-01 Joel Brobecker <brobecker@adacore.com>
16681
16682 * gdb.ada/sym_print_name: New test program.
16683 * gdb.ada/sym_print_name.exp: New testcase.
16684
166852007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
16686
16687 * gdb.ada/nested/hello.adb: New file.
16688 * gdb.ada/nested.exp: New testcase.
16689 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16690
98deb0da
VP
166912008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16692
16693 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
16694 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16695 don't cause future evaluations of function to report
16696 creation of internal breakpoints.
98deb0da 16697
723a2275
VP
166982008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16699
16700 * gdb.mi/mi-break.exp (test_error): New.
16701 Call it.
16702
fb546a2f
LM
167032008-01-31 Luis Machado <luisgpm@br.ibm.com>
16704
16705 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16706 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16707
2d8fd90a
PM
167082008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16709
16710 * gdb.pascal/integers.pas: New test program.
16711 * gdb.pascal/integers.exp: New testcase.
16712
a7fa0ded
PM
167132008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16714
16715 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16716
5e1a1926
TJB
167172008-01-30 Luis Machado <luisgpm@br.ibm.com>
16718
16719 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16720 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16721
8d04f9f0
JB
167222008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16723
16724 * gdb.ada/formatted_ref: New test program.
16725 * gdb.ada/formatted_ref.exp: New testcase.
16726
16727 * gdb.cp/formatted-ref.cc: New file.
16728 * gdb.cp/formatted-ref.exp: New testcase.
16729
ce75a98f
JB
167302008-01-30 Joel Brobecker <brobecker@adacore.com>
16731
16732 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16733
e835f6bf
NR
167342008-01-30 Nick Roberts <nickrob@snap.net.nz>
16735
16736 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16737 (test_file_list_exec_source_file): Update to new macro-info field.
16738
d118ef87
PH
167392008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16740
16741 * gdb.ada/exprs: New test program.
16742 * gdb.ada/exprs.exp: New testcase.
16743
7d35ab09
TJB
167442008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16745
16746 * dfp-test.c (DELTA, DELTA_B): New definitions.
16747 (double_val1, double_val2, double_val3, double_val4, double_val5,
16748 double_val6, double_val7, double_val8, double_val9, double_val10,
16749 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16750 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16751 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16752 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16753 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16754 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16755 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16756 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16757 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16758 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16759 dec128_val16): New global variables.
16760 (decimal_dec128_align): New function.
16761 (decimal_mixed): Likewise.
16762 (decimal_many_args_dec32): Likewise.
16763 (decimal_many_args_dec64): Likewise.
16764 (decimal_many_args_dec128): Likewise.
16765 (decimal_many_args_mixed): Likewise.
16766 * dfp-test.exp: Add tests calling new inferior functions.
16767
2d717e4f
DJ
167682008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16769
16770 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16771 gdb.server/ext-run.exp: New files.
16772 * lib/gdbserver-support.exp (gdbserver_download): New.
16773 (gdbserver_start): New. Update gdbserver expected
16774 output.
16775 (gdbserver_spawn): Use them.
16776 (gdbserver_start_extended): New.
16777
e85a822c
DJ
167782008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16779
16780 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16781 Run on GNU/Linux.
16782 (do_exec_tests): Check for systems which do not support catchpoints.
16783 Do not match START.
16784 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16785 Run on GNU/Linux. Enable verbose output.
16786 (check_fork_catchpoints): New.
16787 (explicit_fork_child_follow, catch_fork_child_follow)
16788 (tcatch_fork_parent_follow): Update expected messages.
16789 (do_fork_tests): Use check_fork_catchpoints.
16790 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16791 Run on GNU/Linux. Enable verbose output.
16792 (check_vfork_catchpoints): New.
16793 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16794 expected messages.
16795 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16796
401ea829
JB
167972008-01-29 Jim Blandy <jimb@red-bean.com>
16798
16799 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16800 host' errors.
16801 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16802
aceaf3ad
JB
168032008-01-29 Jim Blandy <jimb@red-bean.com>
16804
16805 * gdb.threads/sigthread.c: Use barriers to ensure that
16806 child_thread and child_thread_two are always initialized before we
16807 start to use them.
16808
a5606eee
VP
168092008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16810
16811 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16812 * gdb.base/watchpoint-solib.c: New.
16813 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16814
c55a82bb
PM
168152008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16816
16817 * gdb.base/gdb1056.exp: Add unsigned integer test.
16818
0993fe05
DE
168192008-01-28 Doug Evans <dje@google.com>
16820
16821 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16822
4fe42e7f
JB
168232008-01-27 Jim Blandy <jimb@codesourcery.com>
16824
c7a69933
JB
16825 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16826
4fe42e7f
JB
16827 * gdb.base/expand-psymtabs.exp: Doc fix.
16828
5def8285
MK
168292008-01-26 Mark Kettenis <kettenis@gnu.org>
16830
16831 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16832
5313c911
NR
168332008-01-24 Nick Roberts <nickrob@snap.net.nz>
16834
a9c64011 16835 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16836 -var-set-format.
16837
93815fbf
VP
168382008-01-23 Chris Demetriou <cgd@google.com>
16839
16840 * gdb.threads/thread_events.c: New testcase source file.
16841 * gdb.threads/thread_events.exp: New testcase expect file.
16842
467a88ee
NR
168432008-01-23 Nick Roberts <nickrob@snap.net.nz>
16844
16845 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16846
16847 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16848 -var-set-format.
16849
d8f82aba
DJ
168502008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16851 Vladimir Prus <vladimir@codesourcery.com>
16852
16853 * gdb.base/float.exp: Allow missing floating point for m68k and
16854 PowerPC.
16855
60c46647
VP
168562008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16857
16858 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16859 ignore count.
16860 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16861 * gdb.mi/mi-cli.exp: Adjust.
16862 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16863
c7dd36a1
PA
168642008-01-17 Pedro Alves <pedro@codesourcery.com>
16865
16866 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16867 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16868 with dummy_ptr's address.
16869 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16870 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16871 all targets.
16872 * gdb.mi/mi2-var-child.exp: Likewise.
16873
39d5313e
JB
168742008-01-09 Joel Brobecker <brobecker@adacore.com>
16875
16876 * gdb.ada/null_array: New test program.
16877 * gdb.ada/null_array.exp: New testcase.
16878
0aea4bf3
LM
168792008-01-09 Luis Machado <luisgpm@br.ibm.com>
16880
16881 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16882 with required float modifiers.
16883
0b354900
JB
168842008-01-08 Joel Brobecker <brobecker@adacore.com>
16885
16886 * gdb.ada/funcall_param: New test program.
16887 * gdb.ada/funcall_param.exp: New testcase.
16888
cdb7f5d4
JB
168892008-01-08 Joel Brobecker <brobecker@adacore.com>
16890
16891 * gdb.ada/arrayparam: New test program.
16892 * gdb.ada/arrayparam.exp: New testcase.
16893
88e2547f
JB
168942008-01-08 Joel Brobecker <brobecker@adacore.com>
16895
16896 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16897 landed. Should also fix random failures in the test following it.
16898
f6867ce0
TJB
168992008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16900
16901 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16902 for expressions with decimal float values.
16903 (test_dfp_conversions): New function to test casts to and from
16904 decimal float types.
16905 Call test_dfp_conversions.
16906 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16907 elements.
16908 (main): Initialize ds.float4 and ds.double8 elements.
16909 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16910 string to new error message.
16911 (d64_set_tests): Likewise.
16912 (d128_set_tests): Likewise.
16913 Add tests for expressions with decimal float variables. Add tests for
16914 conversions to and from decimal float types.
16915
f9c11282
JB
169162008-01-05 Joel Brobecker <brobecker@adacore.com>
16917
16918 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16919 * gdb.ada/packed_tagged.exp: New testcase.
16920
0ecbca72
JB
169212008-01-04 Joel Brobecker <brobecker@adacore.com>
16922
16923 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16924 gdb.ada/homonym/homonym_main.adb: New files.
16925 * gdb.ada/homonym.exp: New testcase.
16926
c18d3d89
JB
169272008-01-04 Joel Brobecker <brobecker@adacore.com>
16928
16929 * gdb.ada/packed_array.exp: Add testing of references to
16930 a packed array.
16931
ecc7085b
JB
169322008-01-04 Joel Brobecker <brobecker@adacore.com>
16933
16934 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16935 New files.
16936 * gdb.ada/type_coercion.exp: New testcase.
16937
c474c922
JB
169382008-01-04 Joel Brobecker <brobecker@adacore.com>
16939
16940 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16941 gdb.ada/tagged/foo.adb: New file.
16942 * gdb.ada/tagged.exp: New testcase.
16943
9005b927
JB
169442008-01-04 Joel Brobecker <brobecker@adacore.com>
16945
16946 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16947 gdb.ada/ptype_field/foo.adb: New files.
16948 * gdb.ada/ptype_field.exp: New testcase.
16949
1a6aaad8
JB
169502008-01-03 Joel Brobecker <brobecker@adacore.com>
16951
16952 * gdb.ada/print_pc.exp: New testcase.
16953
0ef22f53
JB
169542008-01-03 Joel Brobecker <brobecker@adacore.com>
16955
16956 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16957 gdb.ada/taft_type/p.adb: New files.
16958 * gdb.ada/taft_type.exp: New testcase.
16959
1689ecf8
JB
169602008-01-03 Joel Brobecker <brobecker@adacore.com>
16961
16962 * gdb.ada/array_bounds/bar.adb: New file.
16963 * gdb.ada/array_bounds.exp: New testcase.
16964
a4d0b9c3
JB
169652008-01-03 Joel Brobecker <brobecker@adacore.com>
16966
16967 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16968 gdb.ada/arrayptr/foo.adb: New files.
16969 * gdb.ada/arrayptr.exp: New testcase.
16970
a31ace00
JB
169712008-01-03 Joel Brobecker <brobecker@adacore.com>
16972
16973 * gdb.base/set-lang-auto.exp: New testcase.
16974
a97fced3
JB
169752008-01-03 Joel Brobecker <brobecker@adacore.com>
16976
16977 * gdb.ada/fun_addr/foo.adb: New file.
16978 * gdb.ada/fun_addr.exp: New testcase.
16979
ef29ce1a
JK
169802008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16981
16982 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16983 New files
16984
0fafefe3
JB
169852008-01-02 Joel Brobecker <brobecker@adacore.com>
16986
16987 * array_subscript_addr/p.adb: New file.
a9c64011 16988 * array_subscript_addr.exp: New testcase.
0fafefe3 16989
c4359f8d
JB
169902008-01-02 Joel Brobecker <brobecker@adacore.com>
16991
a9c64011 16992 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16993 New files.
16994 * gdb.ada/str_cmp_ref.exp: New testcase.
16995
1aa1b15b
JB
169962008-01-01 Joel Brobecker <brobecker@adacore.com>
16997
16998 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16999 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 17000 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 17001
81c9b2cf
JB
170022008-01-01 Joel Brobecker <brobecker@adacore.com>
17003
17004 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17005 gdb.ada/ref_param/pck.ads: New files.
17006 * gdb.ada/ref_param.exp: New testcase.
17007
319e4674
JB
170082008-01-01 Joel Brobecker <brobecker@adacore.com>
17009
17010 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17011 gdb.ada/interface/foo.adb: New files.
17012 * gdb.ada/interface.exp: New testcase.
17013
ef682c56
JB
170142007-12-31 Jim Blandy <jimb@codesourcery.com>
17015
17016 * gdb.base/multi-forks.exp: Consume all output from child
17017 processes before proceeding to next test.
17018
f6f3eb6c
JB
170192007-12-29 Jim Blandy <jimb@codesourcery.com>
17020
17021 * configure: Regenerated.
17022
f652e42f
JB
170232007-12-27 Joel Brobecker <brobecker@adacore.com>
17024
17025 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17026 gdb.ada/fixed_cmp/fixed.adb: New files.
17027 * gdb.ada/fixed_cmp.exp: New testcase.
17028
6943e596
JB
170292007-12-27 Joel Brobecker <brobecker@adacore.com>
17030
17031 * gdb.ada/boolean_expr.exp: New testcase.
17032
aad9a193
JB
170332007-12-26 Jim Blandy <jimb@codesourcery.com>
17034
17035 * gdb.base/multi-forks.exp: Doc fix.
17036
fb5f3683
JB
170372007-12-26 Joel Brobecker <brobecker@adacore.com>
17038
17039 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17040 * gdb.ada/char_param.exp: Do not compile our test program with
17041 -gnata, this is unnecessary.
17042 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17043
384e4a9c
JB
170442007-12-24 Joel Brobecker <brobecker@adacore.com>
17045
17046 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17047 gdb.ada/print_chars/foo.adb: New files.
17048 * gdb.ada/print_chars.exp: New testcase.
17049
01e044f7
JB
170502007-12-24 Joel Brobecker <brobecker@adacore.com>
17051
17052 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17053 gdb.ada/char_param/foo.adb: New files.
17054 * gdb.ada/char_param.exp: New testcase.
17055
0ce17860
JB
170562007-12-22 Jim Blandy <jimb@codesourcery.com>
17057
17058 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17059 hard-coding source line numbers into the test.
17060 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17061 gdb_get_line_number to find.
17062
919809b9
JB
170632007-12-22 Joel Brobecker <brobecker@adacore.com>
17064
17065 * gdb.base/ptype.c (highest): New struct type.
17066 (the_highest): New variable of that type.
17067 (main): Add dummy assignment to a field of variable the_highest.
17068 * gdb.base/ptype.exp: Test type printing of our new variable.
17069
abc8a88d
PM
170702007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17071
17072 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 17073 and record first explicitly generated thread number.
abc8a88d
PM
17074 Use that thread number for thread specific watchpoint test.
17075 Add iteration number to repetitive tests.
17076
5158f3e3
CES
170772007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17078 Jim Blandy <jimb@codesourcery.com>
17079
17080 * gdb.base/expand-psymtabs.c: New testcase
17081 source file.
17082 * gdb.base/expand-psymtabs.exp: New testcase
17083 expect file.
17084
37e4754d
LM
170852007-12-17 Luis Machado <luisgpm@br.ibm.com>
17086
17087 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17088 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17089
551e5d04
JB
170902007-12-17 Joel Brobecker <brobecker@adacore.com>
17091
17092 * gdb.ada/frame_args/foo.adb: New file.
17093 * gdb.ada/frame_args/pck.ads: New file.
17094 * gdb.ada/frame_args/pck.adb: New file.
17095 * gdb.ada/frame_args.exp: New testcase.
17096
a05ee097
JB
170972007-12-17 Joel Brobecker <brobecker@adacore.com>
17098
17099 * gdb.base/frame-args.c: New file.
17100 * gdb.base/frame-args.exp: New testcase.
17101
c162e8c9 171022007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 17103 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
17104
17105 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17106
afe8ab22 171072007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17108
afe8ab22
VP
17109 * gdb.mi/mi-pending.exp: New.
17110 * gdb.mi/mi-pending.c: New.
17111 * gdb.mi/mi-pendshr.c: New.
17112
dfdfb3ca
JB
171132007-12-06 Jim Blandy <jimb@codesourcery.com>
17114
17115 * gdb.base/default.exp: Update expected output for 'info catch'.
17116
b7fca990
JK
171172007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17118
17119 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17120 must be set to binary.
17121
6a1afc1e
PA
171222007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17123
17124 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17125
a6b151f1
DJ
171262007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17127
17128 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17129 gdb.mi/mi-file-transfer.exp: New.
17130
43039443
JK
171312007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17132
17133 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17134
0ef2251b
MR
171352007-11-22 Maciej W. Rozycki <macro@mips.com>
17136
17137 * gdb.trace/backtrace.exp: Fix a typo.
17138 * gdb.trace/circ.exp: Likewise.
17139 * gdb.trace/collection.exp: Likewise.
17140 * gdb.trace/limits.exp: Likewise.
17141 * gdb.trace/report.exp: Likewise.
17142 * gdb.trace/tfind.exp: Likewise.
17143 * gdb.trace/while-dyn.exp: Likewise.
17144
5443631e
NR
171452007-11-21 Nick Roberts <nickrob@snap.net.nz>
17146
17147 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17148 objects of pointers that can't be dereferenced are now
17149 "noneditable".
17150
a4ce5b0d
UW
171512007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17152
17153 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17154 (target_cpu): Remove.
17155
d6e956e5
VP
171562007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17157
17158 * gdb.base/ending-run.exp: Expect the list of cleared
17159 breakpoint to come in natural order, not the reversed one.
a9c64011 17160
214270ab
VP
171612007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17162
17163 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17164 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 17165
1a619819
LM
171662007-11-05 Luis Machado <luisgpm@br.ibm.com>
17167
17168 * gdb.base/printcmds.exp: New function
17169 test_printf_with_dfp.
17170
5b01a6fa
DE
171712007-11-02 Doug Evans <dje@google.com>
17172
17173 * gdb.disasm/t01_mov.s: Remove carriage returns.
17174 * gdb.disasm/t02_mova.s: Ditto.
17175 * gdb.disasm/t03_add.s: Ditto.
17176 * gdb.disasm/t04_sub.s: Ditto.
17177 * gdb.disasm/t05_cmp.s: Ditto.
17178 * gdb.disasm/t06_ari2.s: Ditto.
17179 * gdb.disasm/t07_ari3.s: Ditto.
17180 * gdb.disasm/t08_or.s: Ditto.
17181 * gdb.disasm/t09_xor.s: Ditto.
17182 * gdb.disasm/t10_and.s: Ditto.
17183 * gdb.disasm/t11_logs.s: Ditto.
17184 * gdb.disasm/t12_bit.s: Ditto.
17185 * gdb.disasm/t13_otr.s: Ditto.
17186
ec33ab7f
JK
171872007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17188
17189 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17190
ae0d01ff
UW
171912007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17192
17193 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17194 provide DFP support.
17195
55eddb0f
DJ
171962007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17197
17198 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17199 Test "set powerpc vector-abi". Skip auto-detection tests for old
17200 toolchains.
17201
7020f05c
PA
172022007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17203
17204 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17205 with [string compare].
17206
84bc3db9
PA
172072007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17208
17209 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17210 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17211
5876dc88
LM
172122007-10-25 Luis Machado <luisgpm@br.ibm.com>
17213
17214 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17215 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17216 * gdb.opt/Makefile.in: New makefile.
17217 * Makefile.in: Create new directory "gdb.opt".
17218 * configure.ac: Add "gdb.opt" directory.
17219 * configure: Regenerated.
a9c64011 17220
c3ea9a14
DE
172212007-10-25 Doug Evans <dje@google.com>
17222
17223 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17224 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17225
a9c64011 172262007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
17227 Thiago Jung Bauermann <bauerman@br.ibm.com>
17228
17229 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17230 Floating Point expressions.
17231 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17232 Floating Point variables.
17233 * gdb.base/dfp-test.c: new file containing program with Decimal
17234 Floating variables, used by gdb.base/dfp-test.exp.
17235
62a24a2b
DJ
172362007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17237
17238 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17239
e7b1eae6
UW
172402007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17241
17242 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17243 compiling test case with GCC.
17244 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17245
c641edcc
UW
172462007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17247
17248 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17249 format changes.
17250
5e5ebfe6
MS
172512007-10-18 Michael Snyder <msnyder@specifix.com>
17252
17253 * gdb.base/dbx.exp: Add missing "-re " operator.
17254
e831e7b6
GM
172552007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17256
17257 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17258 * configure.ac: Removed trailing spaces after backslash.
17259 * gdb.modula2: New directory.
17260 * gdb.modula2/Makefile.in: New file.
17261 * gdb.modula2/unbounded-array.exp: New file.
17262 * gdb.modula2/unbounded1.c: New file.
17263
7cc46491
DJ
172642007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17265
17266 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17267
172682007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
17269
17270 * gdb.base/sigstep.c (main): Add checks for
17271 return values for setitimer call.
17272 Call setitimer again with itimer = ITIMER_REAL
17273 if first call to setitimer fails.
17274
e91528f0
KH
172752007-10-11 Kazu Hirata <kazu@codesourcery.com>
17276
17277 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17278 of $timeout.
17279
2ec9a4f8
DJ
172802007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17281
17282 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17283
172842007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
17285
17286 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17287 of gdb_expect call, to avoid interruption.
17288
64b2fa04
PA
172892007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17290
17291 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17292 (v_unsigned_long_long, v_long_long_array)
17293 (v_signed_long_long_array, v_unsigned_long_long_array)
17294 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17295 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17296 [!NO_LONG_LONG]: New.
17297 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17298 v_long_long_member.
17299
17300 (v_long_long_func, v_signed_long_long_func)
17301 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17302 (main) [!NO_LONG_LONG]: Initialize long long variants.
17303
17304 * gdb.base/whatis.exp: If board file requests no_long_long, build
17305 test with NO_LONG_LONG defined. Test long long, signed long long,
17306 and unsigned long long variants but only if board file doesn't
17307 disable it.
17308
a912286e 173092007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 17310 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
17311
17312 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17313 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17314 * configure: Regenerated.
17315 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17316 gdb.pascal/types.exp, lib/pascal.exp: New files.
17317
471ba8c9
DJ
173182007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17319
17320 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17321 call.
17322 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17323 to return to the call.
17324 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17325 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17326 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17327 * gdb.mi/mi-until.exp (test_until): Likewise.
17328 * gdb.mi/mi2-until.exp (test_until): Likewise.
17329
fef8a650
DJ
173302007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17331
17332 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17333 two-char array.
17334 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17335
d983da9c
DJ
173362007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17337
17338 * gdb.threads/watchthreads.c (thread_function): Sleep between
17339 iterations.
17340 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17341 at once for S/390. Generate matching fails and passes.
17342
17f62551
VP
173432007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17344
17345 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17346 the 'struct_declarations' variable to zeros.
a9c64011 17347
ed0616c6
VP
173482007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17349
17350 * gdb.cp/mb-ctor.cc: New.
17351 * gdb.cp/mb-ctor.exp: New.
17352 * gdb.cp/mb-templates.cc: New.
17353 * gdb.cp/mb-templates.exp: New.
17354
41f1b697
DJ
173552007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17356
17357 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17358
3f213f78
PA
173592007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17360
17361 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17362 targets.
17363 * configure: Regenerate.
17364
0d381245 173652007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17366
0d381245
VP
17367 * gdb.base/annota1.exp: Adjust for 'info break'
17368 format changes.
17369 * gdb.base/annota3.exp: Likewise.
17370 * gdb.base/break.exp: Likewise.
17371 * gdb.base/condbreak.exp: Likewise.
17372 * gdb.base/pending.exp: Likewise.
17373 * gdb.base/sepdebug.exp: Likewise.
17374 * gdb.base/unload.exp: Likewise.
17375 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 17376
fe3f5fa8
VP
173772007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17378
17379 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17380 messages.
17381 * gdb.base/chng-syms.exp: Likewise.
17382 * gdb.base/unload.exp: Likewise.
a9c64011 17383
a75cf6c0
DJ
173842007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17385
17386 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17387
18ecae38
DJ
173882007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17389
17390 * schedlock.c (NUM): Change to 1.
17391 (main): Use args[0] for the main thread.
17392 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17393 regardless of the number of threads.
17394
5509918f
MR
173952007-09-14 Maciej W. Rozycki <macro@mips.com>
17396
4a543daf
MR
17397 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17398 type down.
17399 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17400 test.
17401 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17402 watchpoint type down.
17403 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17404 test.
17405
174062007-09-14 Maciej W. Rozycki <macro@mips.com>
17407
5509918f
MR
17408 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17409 Move all the tests here and run them twice, once using software
17410 watchpoints and once using hardware watchpoints.
17411 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17412
40b53987
DJ
174132007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17414
17415 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17416 test.
17417
695e2681
MK
174182007-09-10 Mark Kettenis <kettenis@gnu.org>
17419
8b3fc8d8
MK
17420 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17421 build-id.
17422
695e2681
MK
17423 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17424 know about $ORIGIN. Calculate output dir from $dest instead of
17425 using ${objdir}/{$subdir}.
17426
58d69f29
MK
174272007-09-09 Mark Kettenis <kettenis@gnu.org>
17428
17429 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17430 gcore, before continuing with the test.
17431
3e347599
DJ
174322007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17433
17434 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17435 * gdb.mi/mi-watch.exp: Likewise.
17436
ea37ba09
DJ
174372007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17438 Jim Blandy <jimb@codesourcery.com>
17439
17440 * gdb.arch/i386-sse.exp: Do not expect character constants.
17441 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17442 * gdb.base/display.exp: Allow print/s.
17443 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17444 and unsigned char array changes.
17445
2025a643
DJ
174462007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17447
17448 * gdb.base/display.exp: Add tests for printf %p.
17449
26669a27
PA
174502007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17451
17452 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17453 the dll name to unicode.
17454
c8f021f8
JK
174552007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17456
17457 * gdb.base/default.exp (show version): Update the version text.
17458 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17459
4cf31eea
JK
174602007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17461
17462 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17463 New files.
17464
4935890f
JK
174652007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17466
17467 * lib/gdb.exp (build_id_debug_filename_get): New function.
17468 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17469 Remove the generate DEBUG file for the future testcase runs.
17470 New testcase for the NT_GNU_BUILD_ID retrieval.
17471 Move the final testing step to ...
17472 (test_different_dir): ... a new function.
17473 New parameter XFAIL to XFAIL all the tests performed.
17474 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17475 New parameter TYPE to PF_PREFIX all the tests performed.
17476
02142340
VP
174772007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17478
17479 * gdb.mi/mi-var-cp.cc (path_expression): New
17480 function.
17481 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17482
36acd84e
UW
174832007-08-27 Markus Deuling <deuling@de.ibm.com>
17484
17485 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17486 to fit into SPU Local Store memory.
17487
a896d121
JB
174882007-08-23 Joel Brobecker <brobecker@adacore.com>
17489
17490 * gdb.base/default.exp: Adjust the expected output of "info
17491 warranty" after the switch to GPLv3.
17492
7b433602
JB
174932007-08-23 Joel Brobecker <brobecker@adacore.com>
17494
17495 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17496 to 30000 (from 20000).
17497
e22f8b7c
JB
174982007-08-23 Joel Brobecker <brobecker@adacore.com>
17499
17500 Switch the license of all .exp files to GPLv3.
17501 Switch the license of all .f and .f90 files to GPLv3.
17502 Switch the license of all .s and .S files to GPLv3.
17503
5a0e3bd0
JB
175042007-08-23 Joel Brobecker <brobecker@adacore.com>
17505
17506 * configure.ac: Switch license to GPLv3.
17507
cc00619d
JB
175082007-08-23 Joel Brobecker <brobecker@adacore.com>
17509
17510 Switch the licensing to GPLv3 for all .ads and .adb files.
17511
8d26208a
DJ
175122007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17513
17514 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17515 and t_int_double.
17516 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17517
4fcb9948
JB
175182007-08-17 Joel Brobecker <brobecker@adacore.com>
17519
17520 * gdb.base/step-line.c: Switch license to GPL version 3, and
17521 update copyright year.
17522 * gdb.base/step-line.inp: Likewise.
17523
b9c34f67
JB
175242007-08-17 Joel Brobecker <brobecker@adacore.com>
17525
17526 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17527 changes inside gdb1555.c.
17528 * gdb.base/pending.exp: Likewise.
17529
2cc17678
DJ
175302007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17531
17532 * config/default.exp: New file.
17533
e48883f7
DJ
175342007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17535
17536 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17537 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17538
1ab80e5b
MR
175392007-07-30 Maciej W. Rozycki <macro@mips.com>
17540
17541 * gdb.base/dump.exp: Force the correct endianness for binary
17542 formats not carrying this information.
17543
aba471f5
DJ
175442007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17545
17546 * gdb.threads/staticthreads.exp: Match .*sem_post.
17547
d4e07204
DJ
175482007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17549
17550 * gdb.base/readline.exp (operate_and_get_next): Match the final
17551 prompt.
17552
2b97317d
KB
175532007-07-23 Kevin Buettner <kevinb@redhat.com>
17554
17555 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17556 to restarting SID.
17557
44efa07a
KB
175582007-07-18 Kevin Buettner <kevinb@redhat.com>
17559
17560 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17561 prior to `gdb_start'.
17562
7b5ebade
KB
175632007-07-18 Kevin Buettner <kevinb@redhat.com>
17564
17565 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17566 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17567 Remove call to gdb_unload.
17568
255e7678
DJ
175692007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17570 Daniel Jacobowitz <dan@codesourcery.com>
17571
17572 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17573 for __WIN32__.
17574 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17575 * gdb.base/unload.exp: Use shared library test routines.
17576
3a40aaa0
UW
175772007-07-03 Markus Deuling <deuling@de.ibm.com>
17578
17579 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17580 * gdb.base/solib-symbol-lib.c: Likewise.
17581 * gdb.base/solib-symbol-main.c: Likewise.
17582
b0f4b84b
DJ
175832007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17584
17585 * config/gdbserver.exp (gdb_reconnect): New.
17586 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17587 gdb.base/solib-disc.exp: New files.
17588 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17589 remote debugging".
17590 (gdb_compile): Add shlib_load flag.
17591 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17592 port.
17593 (gdbserver_reconnect): New.
17594
1b05479a
DJ
175952007-07-01 Nick Roberts <nickrob@snap.net.nz>
17596 Daniel Jacobowitz <dan@codesourcery.com>
17597
17598 * gdb.base/annota3.exp: Test for if construct.
17599
86f78eb2
DJ
176002007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17601
17602 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17603
6a2eb474 176042007-06-21 Chris Dearman <chris@mips.com>
a9c64011 17605 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
17606
17607 * gdb.base/display.exp: Allow a newline after display/i.
17608 * gdb.base/pc-fp.exp: Likewise.
17609 * gdb.base/sigbpt.exp: Likewise.
17610
f8b73d13
DJ
176112007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17612
17613 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17614 required features to be included.
17615
4339e69e
DJ
176162007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17617
17618 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17619 in info threads output.
17620
23d964e7
UW
176212007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17622 Markus Deuling <deuling@de.ibm.com>
17623
17624 * gdb.arch/spu-info.exp: New testcase.
17625 * gdb.arch/spu-info.c: New file.
17626
fd20f75b
DJ
176272007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17628
17629 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17630 tpcs_offset. Restore lr after the call.
17631 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17632
2226f861
DJ
176332007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17634
17635 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17636 (gdbserver_run): Kill any running gdbserver.
17637 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17638
d12371a9
MR
176392007-05-17 Maciej W. Rozycki <macro@mips.com>
17640
17641 * gdb.base/sigbpt.exp: Preset segv_addr.
17642
93f02886
DJ
176432007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17644
17645 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17646 (gdb_compile_shlib): Likewise.
17647 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17648 (default_gdb_init): Clear cleanfiles.
17649 (gdb_finish): Delete recorded cleanfiles.
17650 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17651
17652 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17653 Do not use isnative.
17654 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17655 gdb.base/so-impl-ld.exp: Likewise.
17656 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17657 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17658 gdb_compile.
17659
b04e06d7
VP
176602007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17661
17662 * config/unknown.exp: Remove.
17663
069ed931
UW
176642007-05-15 Markus Deuling <deuling@de.ibm.com>
17665
17666 * gdb.base/info-proc.exp: Check is_remote.
17667
09db0d03
UW
176682007-05-14 Markus Deuling <deuling@de.ibm.com>
17669
17670 * gdb.base/gcore.exp: Initialize variable core_supported.
17671
af2cbe8c
DJ
176722007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17673
17674 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17675
027c0295
DJ
176762007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17677
17678 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17679 * gdb.threads/print-threads.exp (test_all_threads): Allow
17680 negative and hexadecimal thread IDs.
17681
dc5000e7
DJ
176822007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17683
17684 * gdb.java/jprint.java (public): Avoid invalid call to static
17685 method.
17686
2e74ed18
DP
176872007-05-14 Denis Pilat <denis.pilat@st.com>
17688
17689 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17690 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17691 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17692 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17693 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17694
83547f02
UW
176952007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17696
17697 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 17698 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
17699 this mode.
17700 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17701 * gdb.base/spu.ld: New file.
17702
b18be20d
DJ
177032007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17704
17705 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17706
be444858
DJ
177072007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17708
17709 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17710
b1d53152
DJ
177112007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17712
17713 * gdb.java/jmain.exp: Handle demangled names with and without method
17714 signatures.
17715
d084b331
DJ
177162007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17717
17718 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17719 (have_a_very_merry_interrupt): Remove calls to puts.
17720 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17721 inferior output.
17722 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17723 test names.
17724
db9d7fc5
DJ
177252007-04-29 Markus Deuling <deuling@de.ibm.com>
17726 Daniel Jacobowitz <dan@codesourcery.com>
17727
17728 * gdb.base/auxv.exp (core_works): Also check is_remote.
17729 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17730
ef783a7d 177312007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17732
ef783a7d
VP
17733 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17734 message, not the undefined 'module' variable.
17735 * gdb.base/siginfo.exp: Likewise.
17736 * gdb.base/sigstep.exp: Likewise.
17737 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17738 serialport.
17739 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17740
b7b73cae
CV
177412007-04-25 Corinna Vinschen <vinschen@redhat.com>
17742
17743 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17744 target sim fails. Return 0 otherwise.
17745 (gdb_load): Return prematurely if gdb_target_sim fails.
17746
7d90fdfa
DP
177472007-04-16 Denis Pilat <denis.pilat@st.com>
17748
17749 * gdb.base/setshow.exp: Reset height after having set it to 100.
17750
5d3e9c85
DP
177512007-04-16 Denis Pilat <denis.pilat@st.com>
17752
17753 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17754
18e75969
DP
177552007-04-16 Denis Pilat <denis.pilat@st.com>
17756
17757 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17758
25d5ea92
VP
177592007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17760
17761 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17762 tests. Run the frozen varobjs test.
17763 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 17764 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 17765
0b49cb80
JK
177662007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17767
17768 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17769 gdb.base/type-opaque.exp: New files.
17770
a73bafbc 177712007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
17772
17773 * gdb.mi/mi-var-child.c
a73bafbc
VP
17774 (do_children_tests): User char[2] instead of
17775 char so that automatic printing of pointers to char
17776 don't give unpredicable result.
17777 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17778 local variables.
17779 * gdb.mi/mi-var-child.exp: Step to right line
17780 of do_children_tests.
17781 * gdb.mi/mi2-var-child.exp: Likewise.
17782 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 17783 do_locals_tests.
a73bafbc
VP
17784 (do_children_tests): User char[2] instead of
17785 char so that automatic printing of pointers to char
a9c64011 17786 don't give unpredicable result.
a73bafbc 17787 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17788 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
17789 Pass test name to mi_wait_for_stop.
17790
7ce59000
DJ
177912007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17792
17793 * gdb.asm/asm-source.exp: Remove d10v case.
17794 * lib/gdb.exp (skip_cplus_tests): Likewise.
17795 * gdb.asm/d10v.inc: Deleted.
17796
20389057
DJ
177972007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17798
17799 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17800
8807d78b
DJ
178012007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17802
17803 * config/netware.exp: Delete file.
17804
aa3edb8e
JB
178052007-03-29 Joel Brobecker <brobecker@adacore.com>
17806
17807 * gdb.dwarf2/dw2-noloc.S: New file.
17808 * gdb.dwarf2/dw2-noloc.exp: New file.
17809
297561ac
PA
178102007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17811
17812 * gdb.cp/method2.cc: New test.
17813 * gdb.cp/method2.exp: New test.
17814 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17815
1f81bd39
DJ
178162007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17817
17818 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17819
9453113a
DJ
178202007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17821
17822 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17823
b741e217
DJ
178242007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17825
17826 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17827 (gdb_load): Delete, replace with...
17828 (gdb_reload): ...this.
17829 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17830 * gdb.server/server-mon.exp: Likewise.
17831 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17832 (gdb_start_cmd): New.
17833 (gdb_file_cmd): Save the last loaded file.
17834 (gdb_reload): New.
17835 (gdb_gnu_strip_debug): Use transform.
17836 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17837 support here. Use new $last_loaded_file. Check mtime.
17838 (gdb_target_cmd): Handle ObjC failure case.
17839 (infer_host_exec): Delete.
17840 (gdbserver_load): Rename to...
17841 (gdbserver_run): ...this. Simplify.
17842 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17843 (mi_gdb_load): Move most contents to a new function...
17844 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17845 (mi_run_cmd): Use mi_gdb_target_load.
17846 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17847 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17848 Use gdb_run_cmd.
17849 * gdb.base/charsign.exp: Remove incorrect comment.
17850 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17851 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17852 gdb.base/start.exp: Use gdb_start_cmd.
17853
446ab585 178542007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17855 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17856
17857 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17858 * gdb.base/signull.exp: Similarly.
17859
bbb88ebf
UW
178602007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17861
17862 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17863 messages available to test cases (like chng-sym.exp).
17864
cb8c4a99
AS
178652007-03-14 Andreas Schwab <schwab@suse.de>
17866
17867 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17868 format changes.
17869
4e463ff5
DJ
178702007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17871
17872 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17873 (optimized_1): New.
17874 (main): Call optimized_1.
17875 (gdb2029): Correct typos. Call gdb2029_marker.
17876 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17877 for gdb2029.
17878
b6db2c47
MK
178792007-03-12 Mark Kettenis <kettenis@gnu.org>
17880
17881 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17882 as tabs. Remove redundant test pattern.
17883
70ed3737
UW
178842007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17885
17886 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17887 for /a format output.
17888
47b67b60
DJ
178892007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17890
17891 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17892 collect output incrementally.
17893
b8953b0e
UW
178942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17895
17896 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17897 for -var-create lpcharacter test.
17898 * gdb.mi/mi2-var-cmd.exp: Likewise.
17899
7acd5c40
UW
179002007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17901
17902 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17903 pass on targets where address zero is readable.
17904
9c6759c1
UW
179052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17906
17907 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17908 just a single architecture.
17909
a2f1aeb4
UW
179102007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17911
17912 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17913 (fetch_all_registers): New function, uses gdb_test_multiple and
17914 exp_continue to fetch inferior output line-by-line.
17915 Replace all uses of do_get_all_registers by fetch_all_registers.
17916
46579ac2
UW
179172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17918
17919 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17920 in target_info.
17921
fc133f24
MS
179222007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17923
a9c64011 17924 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17925 consistancy; add a default (timeout) case.
17926
7646a51d
MS
179272007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17928
17929 * gdb.base/watchpoint.exp: Fix truncated comment.
17930
dcfff61f
MS
179312007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17932
17933 * Makefile.in: Remove spurious single-quotes from sed command.
17934
664e3ee9
DJ
179352007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17936
17937 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17938 func.
17939 * gdb.mi/mi2-var-cmd.exp: Likewise.
17940
d7cc6f2f
JB
179412007-02-27 Joel Brobecker <brobecker@adacore.com>
17942
a9c64011
AS
17943 * gdb.dwarf2/dw2-producer.S: New file.
17944 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17945
179462007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17947
17948 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17949 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17950 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17951 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17952 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17953 Revert tests to use mi_gdb_test and include value field in output
17954 of -var-create.
17955
93d42b30
DJ
179562007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17957
17958 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17959
c499ed39
DJ
179602007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17961
17962 * gdb.base/maint.exp: Remove full paths from test names.
17963 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17964 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17965
9836f81b
JB
179662007-02-27 Joel Brobecker <brobecker@adacore.com>
17967
17968 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17969
c74d0ad8
DJ
179702007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17971
17972 * gdb.server/server-mon.exp: New test.
17973
2711e456
DJ
179742007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17975
17976 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17977
ff6f572f
DJ
179782007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17979
17980 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17981 register capitalization.
17982
fada3feb
DP
179832007-02-13 Denis Pilat <denis.pilat@st.com>
17984
17985 * gdb.mi/mi-var-invalidate.exp: New file.
17986
fb1e4ffc
DJ
179872007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17988
17989 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17990
3da939d7
DJ
179912007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17992
17993 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17994
123dc839
DJ
179952007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17996
17997 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17998 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17999
877e3645 180002007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
18001
18002 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18003 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18004 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18005 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18006 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 18007 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 18008 Update tests to include value field in output of -var-create.
a9c64011 18009
3c0a2960
AS
180102007-02-08 Andreas Schwab <schwab@suse.de>
18011
18012 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18013
108546a0
DJ
180142007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18015
18016 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18017 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18018
d701dcab
DP
180192007-02-02 Denis Pilat <denis.pilat@st.com>
18020
18021 * gdb.threads/threadapply.exp: check that frame is not changed by
18022 the thread apply all command.
18023
783e3e2f
AS
180242007-01-31 Andreas Schwab <schwab@suse.de>
18025
6d9c3a87
AS
18026 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18027
3c50d7b9
AS
18028 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18029 in the dwarf sections.
18030 * gdb.dwarf2/mac-fileno.S: Likewise.
18031
783e3e2f
AS
18032 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18033 bspstore register on ia64.
18034
78ff580e
AS
180352007-01-29 Andreas Schwab <schwab@suse.de>
18036
cc8e9b12
AS
18037 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18038 "frame-begin" annotation.
18039
78ff580e
AS
18040 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18041 number of "frames-invalid" annotations.
18042
704a4f78
DJ
180432007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18044
18045 * gdb.base/commands.exp: Call if_commands_test.
18046 (gdb_test_no_prompt, if_commands_test): New.
18047
e741bf94
MK
180482007-01-28 Mark Kettenis <kettenis@gnu.org>
18049
18050 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18051
474d0ad3
AS
180522007-01-27 Andreas Schwab <schwab@suse.de>
18053
18054 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18055 .short/.int/.quad in the dwarf sections.
18056 * gdb.dwarf2/dw2-intercu.S: Likewise.
18057 * gdb.dwarf2/dw2-intermix.S: Likewise.
18058
e784b426
JK
180592007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18060
18061 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
18062 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18063 array.
e784b426
JK
18064 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18065 * gdb.base/setvar.exp: Likewise.
18066
37f08e04
AS
180672007-01-26 Andreas Schwab <schwab@suse.de>
18068
9a01813a
AS
18069 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18070 test.
18071
37f08e04
AS
18072 * gdb.base/multi-forks.exp ("restart $i"): Also match
18073 __kernel_syscall_via_break.
18074
6e2a9270
VP
180752007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18076
18077 * lib/mi-support.exp (mi_delete_varobj): New.
18078 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18079 testcase.
18080 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18081 (main): Call the above.
18082 (reference_update_test, base_in_reference_test)
18083 (reference_to_pointer): Delete the created varobjs.
a9c64011 18084
e515b470
DJ
180852007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18086
18087 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18088 * configure: Regenerated.
18089 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18090 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18091 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18092 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18093 * lib/gdb.exp (gdb_skip_xml_test): New function.
18094
08d8bcd7
DJ
180952007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18096
18097 * gdb.base/sigrepeat.exp: Correct error message.
18098
180992007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
18100 Daniel Jacobowitz <dan@codesourcery.com>
18101
18102 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18103 gdb.arch/i386-gnu-cfi-asm.S: New files.
18104
97c3f1f3
JK
181052007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18106
18107 * lib/gdb.exp: Abort on missing `site.exp'.
18108
cb1df416
DJ
181092007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18110 Daniel Jacobowitz <dan@codesourcery.com>
18111
18112 * gdb.base/included.c, gdb.base/included.exp,
18113 gdb.base/included.h: New files.
18114
35990120
DJ
181152007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18116
18117 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18118 (maximize_rlimit): Reduce limits on 64-bit systems.
18119
6e81a116 181202007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
18121
18122 From Marcus Deuling <deuling@de.ibm.com>:
18123 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18124 every case.
18125
6c3c41f3
NR
181262007-01-13 Nick Roberts <nickrob@snap.net.nz>
18127
18128 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18129 (test_path_specification): Use objdir instead of srcdir to always
18130 get an absolute filename.
18131
2f12c312
DJ
181322007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18133
18134 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18135
81121995
VP
181362007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18137
18138 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18139 Make sure the variable we're using is in scope.
18140 (reference_to_pointer): Likewise.
18141
4741b737
DJ
181422007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18143
18144 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18145 has no debug information.
18146
054410c3
DJ
181472007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18148
18149 * gdb.base/annota1.exp: Remove extra send_gdb.
18150
818f79f6
DJ
181512007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18152
18153 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18154
f7a6bb70
DJ
181552007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18156
18157 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18158
57e66780
DJ
181592007-01-08 Nick Roberts <nickrob@snap.net.nz>
18160 Daniel Jacobowitz <dan@codesourcery.com>
18161
18162 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18163 lcharacter or linteger change. Correct duplicated test name.
18164 * gdb.mi/mi2-var-cmd.exp: Likewise.
18165
3d799a95
DJ
181662007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18167
18168 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18169
181702007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 18171
a9c64011
AS
18172 * gdb.base/nofield.c: New file.
18173 * gdb.base/nofield.exp: New testcase.
51679ba9 18174
eafb94e8
NR
181752007-01-05 Nick Roberts <nickrob@snap.net.nz>
18176
18177 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18178
18179 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18180 test.
18181
5e572bb4
DJ
181822007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18183
18184 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18185
74a44383
DJ
181862007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18187
18188 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18189 when continuing.
18190
1b572db9
DJ
181912007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18192
18193 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18194 Expect ".exe" extension.
18195
381bc39b
DJ
181962007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18197
18198 * gdb.base/charset.exp: Add explicit filename to break.
18199 * gdb.base/dbx.exp: Add explicit filename to breaks.
18200
2b70e4c6
DJ
182012007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18202
18203 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18204 * gdb.mi/mi2-file.exp: Likewise.
18205
303b6f5d
DJ
182062007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18207
18208 Implement specification of MI tests as comments
18209 in C and C++ sources.
18210 * lib/mi-support.exp (mi_autotest_data): New variable.
18211 (mi_autotest_source): New variable.
18212 (count_newlines, mi_prepare_inline_tests)
18213 (mi_get_inline_test, mi_continue_to_line)
18214 (mi_run_inline_test, mi_tbreak)
18215 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18216 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18217 Run inline tests.
18218 * gdb.mi/mi-var-cp.cc: Define tests here.
18219
23da0d94
VP
182202007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18221
18222 Simplify usage of mi_continue_to.
18223 * lib/mi-support.exp (mi_runto_helper): Renamed
18224 from mi_runto, added new parameter 'run_or_continue'.
18225 (mi_runto): Use mi_runto_helper.
18226 (mi_continue_to): Accept just function name as parameter.
18227 Use mi_runto_helper.
18228 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18229 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18230
f9e18282
JB
182312006-01-04 Joel Brobecker <brobecker@adacore.com>
18232
18233 Make this testcase a bit more realistic. The current code
18234 is too simplistic, and allows the compiler to optimize out
18235 some of the entities we need for this testcase.
18236 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18237 (Do_Nothing): Add extra parameter.
18238 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18239 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18240 by using a variable of type Void_Star.
18241
fd678c65
JB
182422006-01-04 Joel Brobecker <brobecker@adacore.com>
18243
18244 * gdb.ada/catch_ex/foo.adb: New file.
18245 * gdb.ada/catch_ex.exp: New testcase.
18246
05cfdb42
DJ
182472007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18248
18249 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18250 pass --image-base to linker.
18251
2e03ee74
DJ
182522007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18253 Daniel Jacobowitz <dan@codesourcery.com>
18254
18255 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18256 secondary prompts.
18257
0d5de010
DJ
182582007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18259
18260 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18261 output. Test the types of members and member pointers.
18262 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18263 gdb/2092.
18264 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18265 statement. Enable for GCC. Update expected output for some tests
18266 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18267 layout.
18268 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18269 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18270 (Diamond::vget_base): New.
18271 (main): Add new tests.
18272 * gdb.cp/printmethod.exp: Update expected output for member functions.
18273 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18274 print pEe->D::vg().
18275
61a771aa
DJ
182762007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18277
18278 * gdb.threads/tls.exp: Allow stops in sem_post.
18279
2fa63963
DJ
182802006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18281
18282 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18283 * gdb.base/annota3.exp: Likewise.
18284 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18285 again (instead of timing out).
18286 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18287 GCC bug 26475.
18288 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18289 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18290 test from jmisc1.exp.
18291 * gdb.java/jmisc1.exp: Delete.
18292 * gdb.java/jprint.exp: Adjust to work with method signatures including
18293 return types.
18294 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18295 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18296 * lib/java.exp (compile_java_from_source): Pass the correct type
18297 to target_compile.
18298
5eefc2b7
JB
182992006-12-31 Joel Brobecker <brobecker@adacore.com>
18300
18301 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18302 (stack_align_edx): New function.
18303 (stack_align_eax): New function.
18304 (main): Add calls to stack_align_edx and stack_align_eax.
18305 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18306 Add testing for the cases where the register used during a stack
18307 realignment is edx. Same for eax.
18308
227c54da
DJ
183092006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18310
18311 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18312 and generic PE targets.
18313
cab8ac94
JB
183142006-12-29 Joel Brobecker <brobecker@adacore.com>
18315
18316 * gdb.ada/array_return.exp: Update copyright date list.
18317
ba54f318
JB
183182006-12-27 Joel Brobecker <brobecker@adacore.com>
18319
18320 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18321 (Create_Small_Float_Vector): New function.
18322 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18323 function body.
18324 * gdb.ada/array_return/p.adb: Use new type and function from
18325 package Pck.
18326 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18327 able to print the value returned by a function returning an
18328 array of float.
18329
6b7a35dd
JB
183302006-12-20 Joel Brobecker <brobecker@adacore.com>
18331
18332 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18333 The associated tests should be PASSing.
18334
038224f6
VP
183352006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18336
18337 Test for base in references.
18338 * gdb.mi/mi-var-cp.cc: Add test code.
18339 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18340 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18341 * gdb.mi/mi2-watch.exp: Likewise.
18342 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18343 (mi_list_varobj_children): New function.
18344
b26ed50d
VP
183452006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18346
18347 * lib/mi-support.exp
18348 (mi_runto): Accept "()" after function name.
18349 (mi_create_varobj): New function.
18350 (mi_varobj_update): New function.
18351 (mi_Check_varobj_value): New function.
18352 * gdb.mi/mi-var-cp.exp: New file.
18353 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 18354
08232497
DJ
183552006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18356
18357 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18358 gdb.base/weaklib2.c: New files.
18359
d394c993 183602006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 18361
ac6c2fba
NS
18362 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18363 info. Adjust test names.
18364
8ec659a0 18365 * gdb.base/break.c (main): Move position of malloc.
d394c993 18366 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 18367
acd65feb
VP
183682006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18369
18370 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18371 assignement of arrays and function pointers.
18372 * gdb.mi/var-cmd.c: Add declaration necessary for above
18373 tests.
18374
f556d5e5
NS
183752006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18376
18377 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
18378
18379 * gdb.threads/linux-dp.exp: Read thread table before and after
18380 creating each philosopher and verify it.
18381
697bc68d
NS
183822006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18383 Paul Brook <paul@codesourcery.com>
18384 Daniel Jacobowitz <dan@codesourcery.com>
18385
18386 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 18387 main to remove duplication. Add start function of the form
697bc68d
NS
18388 '_*start[1-9]*'. Add RVDS start function.
18389
29d73ae4
DJ
183902006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18391
18392 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18393
c1d88655
UW
183942006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18395
18396 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18397 * gdb.asm/spu.inc: New file.
18398 * gdb.base/term.exp: Disable if [target_info exists noargs].
18399 * gdb.gdb/complaints.exp: Disable if ![isnative].
18400 * gdb.gdb/selftest.exp: Likewise.
18401 * gdb.gdb/observer.exp: Likewise.
18402 * gdb.gdb/xfullpath.exp: Likewise.
18403 * gdb.base/attach.exp: Disable on SPU target.
18404 * gdb.cp/bs145503.exp: Likewise.
18405 * gdb.cp/exception.exp: Likewise.
18406 * gdb.cp/userdef.exp: Likewise.
18407
32a13b1a
DJ
184082006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18409
18410 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18411
d8295fe9
VP
184122006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18413
18414 * gdb.base/completion.exp: Fix completion tests for
18415 'info' and 'info '.
18416 * gdb.base/help.exp (help_test_raw, test_class_help)
18417 (test_prefix_command_help): Move...
18418 * lib/gdb.exp: Here.
18419 * gdb.base/main.exp: Adjust.
18420 * gdb.cp/maint.exp: Adjust.
18421 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 18422
8c394015
VP
184232006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18424
18425 * gdb.stabs/weird.exp (print_weird_var): Use
18426 gdb_test_multiple instead of gdb_expect.
18427
027fc1bc
VP
184282006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18429
18430 * gdb.base/help.exp (help_test_raw): New.
18431 (test_class_help): New.
18432 (test_prefix_command_help): New.
18433 Adjust testcases.
18434
67609209
FR
184352006-11-09 Christophe Lyon <christophe.lyon@st.com>
18436
18437 * gdb.base/constvars.c (main): Write to crass and crips, so that
18438 they are allocated by the compiler.
18439
f73adfeb
AS
184402006-10-27 Andreas Schwab <schwab@suse.de>
18441
18442 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18443 "detach-fork".
18444
2f83a18e
DJ
184452006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18446
18447 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18448 of patterns.
18449
94277a38
DJ
184502006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18451
18452 * gdb.base/sepdebug.exp: Remove debug format test.
18453 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18454 Handle no-symtab.
18455 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18456
5bd2f6e2
DJ
184572006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18458
18459 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18460 int to pointer or pointer to int.
18461 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18462
8c008720
DJ
184632006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18464
18465 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18466
9e35dae4
DJ
184672006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18468
18469 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18470
d9639e13
DJ
184712006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18472
18473 PR c++/2116
18474 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18475
390a1bd0
JB
184762006-10-06 Joel Brobecker <brobecker@adacore.com>
18477
18478 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18479 the corresponding bug has been fixed in GDB (PR/2018).
18480
dd920c33
JB
184812006-10-06 Joel Brobecker <brobecker@adacore.com>
18482
18483 * gdb.base/subst.exp: New testcase.
18484
53bbefe9
JB
184852006-10-06 Joel Brobecker <brobecker@adacore.com>
18486
18487 * gdb.ada/array_return/pck.ads: Add copyright notice.
18488 * gdb.ada/array_return/pck.adb: Likewise.
18489 * gdb.ada/array_return/p.adb: Likewise.
18490 * gdb.ada/exec_changed/first.adb: Likewise.
18491 * gdb.ada/exec_changed/second.adb: Likewise.
18492
09851417
JB
184932006-10-06 Joel Brobecker <brobecker@adacore.com>
18494
18495 * gdb.ada/watch_arg/watch.adb: New file.
18496 * gdb.ada/watch_arg.exp: New testcase.
18497
041bf30d
VP
184982006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18499
18500 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 18501 via string_to_regexp.
041bf30d 18502 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 18503
f286fbdd 185042006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
18505
18506 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18507 Remove unused / obsolete files.
18508
7c07f349
NR
185092006-09-19 Nick Roberts <nickrob@snap.net.nz>
18510
18511 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18512
cd5ff84a
VP
185132006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18514
18515 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18516 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 18517 the number of frames.
cd5ff84a 18518
ae018d1a
DJ
185192006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18520
18521 * gdb.base/args.c (main): Add breakpoint marker.
18522 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18523 really test empty arguments.
18524 (args_load): Delete.
18525 (args_test): New.
18526
b399c549
NR
185272006-09-13 Nick Roberts <nickrob@snap.net.nz>
18528
18529 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 18530 check for one file.
b399c549 18531
2ab1eb7a
VP
185322006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18533
18534 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18535 HIGH_FRAME argument to -stack-list-locals can be larger than
18536 the number of frames.
a9c64011 18537
476308bf
FF
185382006-08-18 Fred Fish <fnf@specifix.com>
18539
18540 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18541 '$' in front of skip_vmx_tests_saved when setting that.
18542
8625200f
AS
185432006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18544
18545 * gdb.base/trace-commands.exp: New file.
18546
089ec8f1
DJ
185472006-08-10 Joel Brobecker <brobecker@adacore.com>
18548 Daniel Jacobowitz <dan@codesourcery.com>
18549
18550 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18551 expected output of the backtrace commands.
18552
b60f0898
JB
185532006-08-09 Joel Brobecker <brobecker@adacore.com>
18554
18555 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18556 untested followed by return combination.
18557 * gdb.arch/altivec-regs.exp: Likewise.
18558 * gdb.arch/e500-abi.exp: Likewise.
18559 * gdb.arch/e500-regs.exp: Likewise.
18560 * gdb.arch/gdb1291.exp: Likewise.
18561 * gdb.arch/gdb1431.exp: Likewise.
18562 * gdb.arch/gdb1558.exp: Likewise.
18563 * gdb.arch/i386-prologue.exp: Likewise.
18564 * gdb.arch/i386-unwind.exp: Likewise.
18565 * gdb.asm/asm-source.exp: Likewise.
18566 * gdb.base/a2-run.exp: Likewise.
18567 * gdb.base/advance.exp: Likewise.
18568 * gdb.base/all-bin.exp: Likewise.
18569 * gdb.base/annota1.exp: Likewise.
18570 * gdb.base/annota3.exp: Likewise.
18571 * gdb.base/args.exp: Likewise.
18572 * gdb.base/arithmet.exp: Likewise.
18573 * gdb.base/assign.exp: Likewise.
18574 * gdb.base/async.exp: Likewise.
18575 * gdb.base/attach.exp: Likewise.
18576 * gdb.base/bang.exp: Likewise.
18577 * gdb.base/bigcore.exp: Likewise.
18578 * gdb.base/bitfields.exp: Likewise.
18579 * gdb.base/bitfields2.exp: Likewise.
18580 * gdb.base/break.exp: Likewise.
18581 * gdb.base/call-sc.exp: Likewise.
18582 * gdb.base/call-strs.exp: Likewise.
18583 * gdb.base/callfuncs.exp: Likewise.
18584 * gdb.base/checkpoint.exp: Likewise.
18585 * gdb.base/chng-syms.exp: Likewise.
18586 * gdb.base/code-expr.exp: Likewise.
18587 * gdb.base/commands.exp: Likewise.
18588 * gdb.base/completion.exp: Likewise.
18589 * gdb.base/cond-expr.exp: Likewise.
18590 * gdb.base/condbreak.exp: Likewise.
18591 * gdb.base/consecutive.exp: Likewise.
18592 * gdb.base/constvars.exp: Likewise.
18593 * gdb.base/corefile.exp: Likewise.
18594 * gdb.base/cvexpr.exp: Likewise.
18595 * gdb.base/dbx.exp: Likewise.
18596 * gdb.base/define.exp: Likewise.
18597 * gdb.base/detach.exp: Likewise.
18598 * gdb.base/display.exp: Likewise.
18599 * gdb.base/dump.exp: Likewise.
18600 * gdb.base/ena-dis-br.exp: Likewise.
18601 * gdb.base/ending-run.exp: Likewise.
18602 * gdb.base/environ.exp: Likewise.
18603 * gdb.base/eval-skip.exp: Likewise.
18604 * gdb.base/exprs.exp: Likewise.
18605 * gdb.base/fileio.exp: Likewise.
18606 * gdb.base/finish.exp: Likewise.
18607 * gdb.base/float.exp: Likewise.
18608 * gdb.base/foll-exec.exp: Likewise.
18609 * gdb.base/foll-fork.exp: Likewise.
18610 * gdb.base/foll-vfork.exp: Likewise.
18611 * gdb.base/freebpcmd.exp: Likewise.
18612 * gdb.base/funcargs.exp: Likewise.
18613 * gdb.base/gcore.exp: Likewise.
18614 * gdb.base/gdb1090.exp: Likewise.
18615 * gdb.base/gdb1250.exp: Likewise.
18616 * gdb.base/huge.exp: Likewise.
18617 * gdb.base/info-proc.exp: Likewise.
18618 * gdb.base/interrupt.exp: Likewise.
18619 * gdb.base/jump.exp: Likewise.
18620 * gdb.base/langs.exp: Likewise.
18621 * gdb.base/lineinc.exp: Likewise.
18622 * gdb.base/list.exp: Likewise.
18623 * gdb.base/logical.exp: Likewise.
18624 * gdb.base/long_long.exp: Likewise.
18625 * gdb.base/macscp.exp: Likewise.
18626 * gdb.base/maint.exp: Likewise.
18627 * gdb.base/mips_pro.exp: Likewise.
18628 * gdb.base/miscexprs.exp: Likewise.
18629 * gdb.base/multi-forks.exp: Likewise.
18630 * gdb.base/opaque.exp: Likewise.
18631 * gdb.base/overlays.exp: Likewise.
18632 * gdb.base/pc-fp.exp: Likewise.
18633 * gdb.base/pointers.exp: Likewise.
18634 * gdb.base/printcmds.exp: Likewise.
18635 * gdb.base/psymtab.exp: Likewise.
18636 * gdb.base/ptype.exp: Likewise.
18637 * gdb.base/recurse.exp: Likewise.
18638 * gdb.base/relational.exp: Likewise.
18639 * gdb.base/relocate.exp: Likewise.
18640 * gdb.base/remote.exp: Likewise.
18641 * gdb.base/reread.exp: Likewise.
18642 * gdb.base/restore.exp: Likewise.
18643 * gdb.base/return.exp: Likewise.
18644 * gdb.base/return2.exp: Likewise.
18645 * gdb.base/scope.exp: Likewise.
18646 * gdb.base/sect-cmd.exp: Likewise.
18647 * gdb.base/sep.exp: Likewise.
18648 * gdb.base/sepdebug.exp: Likewise.
18649 * gdb.base/setshow.exp: Likewise.
18650 * gdb.base/setvar.exp: Likewise.
18651 * gdb.base/sigall.exp: Likewise.
18652 * gdb.base/sigbpt.exp: Likewise.
18653 * gdb.base/signals.exp: Likewise.
18654 * gdb.base/signull.exp: Likewise.
18655 * gdb.base/sizeof.exp: Likewise.
18656 * gdb.base/solib.exp: Likewise.
18657 * gdb.base/step-line.exp: Likewise.
18658 * gdb.base/step-test.exp: Likewise.
18659 * gdb.base/structs.exp: Likewise.
18660 * gdb.base/structs2.exp: Likewise.
18661 * gdb.base/term.exp: Likewise.
18662 * gdb.base/twice.exp: Likewise.
18663 * gdb.base/until.exp: Likewise.
18664 * gdb.base/varargs.exp: Likewise.
18665 * gdb.base/volatile.exp: Likewise.
18666 * gdb.base/watchpoint.exp: Likewise.
18667 * gdb.base/whatis-exp.exp: Likewise.
18668 * gdb.base/whatis.exp: Likewise.
18669 * gdb.cp/ambiguous.exp: Likewise.
18670 * gdb.cp/annota2.exp: Likewise.
18671 * gdb.cp/annota3.exp: Likewise.
18672 * gdb.cp/bool.exp: Likewise.
18673 * gdb.cp/breakpoint.exp: Likewise.
18674 * gdb.cp/casts.exp: Likewise.
18675 * gdb.cp/class2.exp: Likewise.
18676 * gdb.cp/classes.exp: Likewise.
18677 * gdb.cp/cplusfuncs.exp: Likewise.
18678 * gdb.cp/ctti.exp: Likewise.
18679 * gdb.cp/derivation.exp: Likewise.
18680 * gdb.cp/exception.exp: Likewise.
18681 * gdb.cp/gdb1355.exp: Likewise.
18682 * gdb.cp/hang.exp: Likewise.
18683 * gdb.cp/inherit.exp: Likewise.
18684 * gdb.cp/local.exp: Likewise.
18685 * gdb.cp/m-data.exp: Likewise.
18686 * gdb.cp/m-static.exp: Likewise.
18687 * gdb.cp/member-ptr.exp: Likewise.
18688 * gdb.cp/method.exp: Likewise.
18689 * gdb.cp/misc.exp: Likewise.
18690 * gdb.cp/namespace.exp: Likewise.
18691 * gdb.cp/overload.exp: Likewise.
18692 * gdb.cp/ovldbreak.exp: Likewise.
18693 * gdb.cp/pr-1023.exp: Likewise.
18694 * gdb.cp/pr-1210.exp: Likewise.
18695 * gdb.cp/pr-574.exp: Likewise.
18696 * gdb.cp/printmethod.exp: Likewise.
18697 * gdb.cp/psmang.exp: Likewise.
18698 * gdb.cp/ref-params.exp: Likewise.
18699 * gdb.cp/ref-types.exp: Likewise.
18700 * gdb.cp/rtti.exp: Likewise.
18701 * gdb.cp/templates.exp: Likewise.
18702 * gdb.cp/try_catch.exp: Likewise.
18703 * gdb.cp/userdef.exp: Likewise.
18704 * gdb.cp/virtfunc.exp: Likewise.
18705 * gdb.disasm/am33.exp: Likewise.
18706 * gdb.disasm/h8300s.exp: Likewise.
18707 * gdb.disasm/mn10300.exp: Likewise.
18708 * gdb.disasm/sh3.exp: Likewise.
18709 * gdb.disasm/t01_mov.exp: Likewise.
18710 * gdb.disasm/t02_mova.exp: Likewise.
18711 * gdb.disasm/t03_add.exp: Likewise.
18712 * gdb.disasm/t04_sub.exp: Likewise.
18713 * gdb.disasm/t05_cmp.exp: Likewise.
18714 * gdb.disasm/t06_ari2.exp: Likewise.
18715 * gdb.disasm/t07_ari3.exp: Likewise.
18716 * gdb.disasm/t08_or.exp: Likewise.
18717 * gdb.disasm/t09_xor.exp: Likewise.
18718 * gdb.disasm/t10_and.exp: Likewise.
18719 * gdb.disasm/t11_logs.exp: Likewise.
18720 * gdb.disasm/t12_bit.exp: Likewise.
18721 * gdb.disasm/t13_otr.exp: Likewise.
18722 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18723 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18724 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18725 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18726 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18727 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18728 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18729 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18730 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18731 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18732 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18733 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18734 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18735 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18736 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18737 * gdb.mi/gdb701.exp: Likewise.
18738 * gdb.mi/gdb792.exp: Likewise.
18739 * gdb.mi/mi-basics.exp: Likewise.
18740 * gdb.mi/mi-break.exp: Likewise.
18741 * gdb.mi/mi-cli.exp: Likewise.
18742 * gdb.mi/mi-console.exp: Likewise.
18743 * gdb.mi/mi-disassemble.exp: Likewise.
18744 * gdb.mi/mi-eval.exp: Likewise.
18745 * gdb.mi/mi-file.exp: Likewise.
18746 * gdb.mi/mi-read-memory.exp: Likewise.
18747 * gdb.mi/mi-regs.exp: Likewise.
18748 * gdb.mi/mi-return.exp: Likewise.
18749 * gdb.mi/mi-simplerun.exp: Likewise.
18750 * gdb.mi/mi-stack.exp: Likewise.
18751 * gdb.mi/mi-stepi.exp: Likewise.
18752 * gdb.mi/mi-syn-frame.exp: Likewise.
18753 * gdb.mi/mi-until.exp: Likewise.
18754 * gdb.mi/mi-var-block.exp: Likewise.
18755 * gdb.mi/mi-var-child.exp: Likewise.
18756 * gdb.mi/mi-var-cmd.exp: Likewise.
18757 * gdb.mi/mi-var-display.exp: Likewise.
18758 * gdb.mi/mi-watch.exp: Likewise.
18759 * gdb.mi/mi2-basics.exp: Likewise.
18760 * gdb.mi/mi2-break.exp: Likewise.
18761 * gdb.mi/mi2-cli.exp: Likewise.
18762 * gdb.mi/mi2-console.exp: Likewise.
18763 * gdb.mi/mi2-disassemble.exp: Likewise.
18764 * gdb.mi/mi2-eval.exp: Likewise.
18765 * gdb.mi/mi2-file.exp: Likewise.
18766 * gdb.mi/mi2-read-memory.exp: Likewise.
18767 * gdb.mi/mi2-regs.exp: Likewise.
18768 * gdb.mi/mi2-return.exp: Likewise.
18769 * gdb.mi/mi2-simplerun.exp: Likewise.
18770 * gdb.mi/mi2-stack.exp: Likewise.
18771 * gdb.mi/mi2-stepi.exp: Likewise.
18772 * gdb.mi/mi2-syn-frame.exp: Likewise.
18773 * gdb.mi/mi2-until.exp: Likewise.
18774 * gdb.mi/mi2-var-block.exp: Likewise.
18775 * gdb.mi/mi2-var-child.exp: Likewise.
18776 * gdb.mi/mi2-var-cmd.exp: Likewise.
18777 * gdb.mi/mi2-var-display.exp: Likewise.
18778 * gdb.mi/mi2-watch.exp: Likewise.
18779 * gdb.stabs/exclfwd.exp: Likewise.
18780 * gdb.stabs/weird.exp: Likewise.
18781 * gdb.threads/gcore-thread.exp: Likewise.
18782 * gdb.trace/actions.exp: Likewise.
18783 * gdb.trace/backtrace.exp: Likewise.
18784 * gdb.trace/circ.exp: Likewise.
18785 * gdb.trace/collection.exp: Likewise.
18786 * gdb.trace/deltrace.exp: Likewise.
18787 * gdb.trace/infotrace.exp: Likewise.
18788 * gdb.trace/limits.exp: Likewise.
18789 * gdb.trace/packetlen.exp: Likewise.
18790 * gdb.trace/passc-dyn.exp: Likewise.
18791 * gdb.trace/passcount.exp: Likewise.
18792 * gdb.trace/report.exp: Likewise.
18793 * gdb.trace/save-trace.exp: Likewise.
18794 * gdb.trace/tfind.exp: Likewise.
18795 * gdb.trace/tracecmd.exp: Likewise.
18796 * gdb.trace/while-dyn.exp: Likewise.
18797 * gdb.trace/while-stepping.exp: Likewise.
18798
f4b618d1
JB
187992006-08-08 Joel Brobecker <brobecker@adacore.com>
18800
18801 * gdb.base/step-bt.c: New file.
18802 * gdb.base/step-bt.exp: New testcase.
18803
3d00d119
DJ
188042006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18805
18806 * config/monitor.exp (gdb_load): Remove support for obsolete
18807 download-write-size.
18808 * gdb.base/remote.exp: Likewise. Update all callers of
18809 gdb_timed_load.
18810
017b5bd4
DJ
188112006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18812
18813 * cursal.exp: Pass binfile to gdb_load.
18814
837c599d
DJ
188152006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18816
18817 * gdb.base/cursal.exp: Add "" to gdb_load call.
18818
8dd4540b
MK
188192006-07-29 Mark Kettenis <kettenis@gnu.org>
18820
18821 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18822 NetBSD/ELF targets.
18823
ab5c9f60
DJ
188242006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18825
18826 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18827 operator*.
18828
4c42eaff
DJ
188292006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18830
18831 * gdb.base/completion.exp: Update for change in "file" behavior.
18832 * gdb.stabs/weird.exp: Likewise.
18833 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18834 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18835
0155cc76
NS
188362006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18837
18838 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18839 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18840
16026cd7
AS
188412006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18842
18843 * gdb.base/default.exp: Update source command error message.
18844 * gdb.base/help.exp: Update 'help source' message.
18845
16963cb6
DJ
188462006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18847
18848 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18849 test.
18850
6d7fd486
AS
188512006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18852
18853 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18854
29e8a844
DJ
188552006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18856
18857 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18858
6afcfa39
DJ
188592006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18860
18861 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18862
267a692b
MK
188632006-07-17 Mark Kettenis <kettenis@gnu.org>
18864
18865 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18866 *-*-openbsd* from targets for wich we expect ARM FPA floating
18867 point format.
18868
85d2fec4
NR
188692006-07-17 Nick Roberts <nickrob@snap.net.nz>
18870
18871 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18872
188732006-07-17 Mark Kettenis <kettenis@gnu.org>
18874
18875 * gdb.base/annota3.exp: Expect frame-begin annotation.
18876
85b4c6e8
JB
188772006-07-14 Joel Brobecker <brobecker@adacore.com>
18878
18879 * gdb.base/help.exp: Adjust "help unset" test to accept
18880 any list of unset commands.
18881
fb933624
DJ
188822006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18883 Daniel Jacobowitz <dan@codesourcery.com>
18884
18885 * gdb.cp/ref-params.exp: New test.
18886 * gdb.cp/ref-params.cc: New source file.
18887 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18888
1dff4b64
MK
188892006-07-08 Mark Kettenis <kettenis@gnu.org>
18890
18891 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18892 spaces/tabs in regular expressions since they might not be there.
18893
40d2e0e3
AS
188942006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18895
18896 * gdb.base/ifelse.exp: New file.
18897
f6c957d2
NS
188982006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18899
18900 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18901 line.
18902 * gdb.base/huge.exp: Loop over compilation to find a size that
18903 is acceptable.
18904 * gdb.base/remote.exp: Correct expected strings.
18905 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18906
b9c5a23d
DJ
189072006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18908
18909 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18910
9af2e58d
DJ
189112006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18912
18913 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18914 native.
18915
30930ca5
DJ
189162006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18917
18918 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18919 enable stabs testing.
18920
aa32fa1d
DJ
189212006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18922
bd4a4c80 18923 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18924 gdb_test_multiple does.
18925
321fef15
DJ
189262006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18927
18928 * Makefile.in (host_alias): Remove.
18929 (target_alias): Use @target_noncanonical@.
18930 (site.exp): Don't set host_alias.
18931 * aclocal.m4: Remove contents. Include acx.m4.
18932 * configure: Regenerated.
18933 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18934
e1c2defa
NS
189352006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18936
e63b55d1
NS
18937 * lib/gdb.exp (gdb_load_cmd): New.
18938
5600ea19
NS
18939 * gdb.base/fileio.c: Add system(NULL) test.
18940 * gdb.base/fileio.exp: Check it.
18941
e1c2defa
NS
18942 * gdb.base/break.c: Add 10a breakpoint at }
18943 * gdb.base/break.exp: Add test for breakpoint at }
18944 * gdb.cp/anon-union.cc: Add code at end of function.
18945 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18946 * gdb.mi/var-cmd.c: Add code at end of function.
18947 * gdb.mi/mi-var-display.exp: Adjust end of next.
18948 * gdb.mi/mi2-var-display.exp: Likewise.
18949 * gdb.base/fileio.c: Add stop function and insert calls at
18950 stopping places.
18951 * gdb.base/fileio.exp: Breakpoint stop function and remove
18952 explicit line number references.
18953
6c0112ec
JB
189542006-05-19 Joel Brobecker <brobecker@adacore.com>
18955
a9c64011
AS
18956 * gdb.base/del.exp (test_delete_alias): New function.
18957 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18958
154189a4
FF
189592006-05-18 Fred Fish <fnf@specifix.com>
18960
18961 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18962 required. Check for spurious output after program exits normally.
18963
582e64c2
FF
189642006-05-17 Fred Fish <fnf@specifix.com>
18965
18966 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18967 gdb_load, so it works in the simulator.
18968
8ef6493a
FF
189692006-05-11 Fred Fish <fnf@specifix.com>
18970
18971 * gdb.base/bang.exp: Ignore unexpected output between the
18972 "program exited normally" and the gdb prompt, as many other
18973 tests do.
18974
692b141c
MK
189752006-05-07 Mark Kettenis <kettenis@gnu.org>
18976
18977 * gdb.base/help.exp: Make "delete checkpoint" part option for
18978 "help d" and "help delete" tests.
18979
540b8a30
UW
189802006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18981
a9c64011 18982 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18983 expected output in some mi_gdb_test statements.
18984 * gdb.mi/mi2-basics.exp: Likewise.
18985
9b6462d9
JB
189862006-05-05 Joel Brobecker <brobecker@adacore.com>
18987
18988 * gdb.base/del.c: New file.
18989 * gdb.base/del.exp: New testcase.
18990
954de43b
DM
189912006-05-05 David S. Miller <davem@sunset.davemloft.net>
18992
18993 * gdb.base/break.exp: Do not assume a breakpoint on
18994 main will actually be in $srcfile when optimizing.
1303f75e
DM
18995 * gdb.base/savedregs.exp: Do not require that the dummy
18996 frame location match up to a symbol and source file location.
c3242428
DM
18997 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18998 will get printed without a mi_cmd_data_list_register_values prefix.
18999 (*-data-list-register-*): Correct regular expressions to expect the new
19000 pseudo d? floating point registers.
19001 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 19002
c7e64c9a
DJ
190032006-05-05 Christophe Lyon <christophe.lyon@st.com>
19004
19005 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19006 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19007 is allocated by the compiler.
19008 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19009 anons, e, anone to force their allocation by the compiler.
19010
190112006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
19012
19013 * gdb.base/help.exp: Update expected text for help d and
19014 help delete.
19015
27ce9a6d
MK
190162006-05-02 Mark Kettenis <kettenis@gnu.org>
19017
19018 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19019 NetBSD/ELF targets.
19020
8608915f
MK
190212006-04-30 Mark Kettenis <kettenis@gnu.org>
19022
19023 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19024 single-step breakpoint fails; make this a KFAIL on
19025 sparc*-*-openbsd*.
19026 * gdb.base/siginfo.exp: Likewise.
19027 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19028
b8db102d
MS
190292006-04-26 Michael Snyder <msnyder@redhat.com>
19030
19031 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19032 which may have to consume output from other forks.
19033 Add tests to make sure that "delete fork" succeeded.
19034
c702009a
MS
190352006-04-20 Michael Snyder <msnyder@redhat.com>
19036
19037 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19038 Add support for the Renesas M32C and M16C.
19039
19040 * gdb.asm/asm-source.exp: Add m32c target.
19041 * gdb.asm/m32c.inc: Support for m32c target.
19042
e28493f2
AS
190432006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19044
19045 * gdb.base/commands.exp (recursive_source_test): New test.
19046
880da185
DM
190472006-04-04 David S. Miller <davem@sunset.davemloft.net>
19048
19049 * gdb.base/float.exp: Add pattern for sparc targets.
19050
61d9b92f
DJ
190512006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19052
19053 * gdb.base/commands.exp (stray_arg0_test): New test.
19054
bd717df8
PB
190552006-03-30 Paul Brook <paul@codesourcery.com>
19056
19057 * gdb.mi/mi-until.exp: kfail broken until command.
19058 * gdb.mi/mi2-until.exp: Ditto.
19059
ec793d3c
NR
190602006-03-27 Nick Roberts <nickrob@snap.net.nz>
19061
19062 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19063
831004b7
AO
190642006-03-08 Alexandre Oliva <aoliva@redhat.com>
19065
19066 * gdb.base/prelink.exp: Anchor tested-for regular expression
19067 on gdb prompt.
19068
effe49a0
PB
190692006-03-07 Paul Brook <paul@codesourcery.com>
19070
19071 * gdb.base/assign.exp: Correct fail message.
19072
e5461016
PB
190732006-03-07 Paul Brook <paul@codesourcery.com>
19074
19075 * lib/compiler.c: Extract armcc version number.
19076 * lib/compiler.cc: Ditto.
19077
fc91c6c2
PB
190782006-03-07 Paul Brook <paul@codesourcery.com>
19079
19080 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19081 additional_flags=-w.
19082 * gdb.arch/altivec-regs.exp: Ditto.
19083 * gdb.arch/e500-abi.exp: Ditto.
19084 * gdb.arch/e500-regs.exp: Ditto.
19085 * gdb.base/all-bin.exp: Ditto.
19086 * gdb.base/annota1.exp: Ditto.
19087 * gdb.base/annota3.exp: Ditto.
19088 * gdb.base/args.exp: Ditto.
19089 * gdb.base/arithmet.exp: Ditto.
19090 * gdb.base/assign.exp: Ditto.
19091 * gdb.base/async.exp: Ditto.
19092 * gdb.base/bang.exp: Ditto.
19093 * gdb.base/break.exp: Ditto.
19094 * gdb.base/call-rt-st.exp: Ditto.
19095 * gdb.base/completion.exp: Ditto.
19096 * gdb.base/cond-expr.exp: Ditto.
19097 * gdb.base/condbreak.exp: Ditto.
19098 * gdb.base/consecutive.exp: Ditto.
19099 * gdb.base/define.exp: Ditto.
19100 * gdb.base/display.exp: Ditto.
19101 * gdb.base/ena-dis-br.exp: Ditto.
19102 * gdb.base/environ.exp: Ditto.
19103 * gdb.base/eval-skip.exp: Ditto.
19104 * gdb.base/info-proc.exp: Ditto.
19105 * gdb.base/jump.exp: Ditto.
19106 * gdb.base/logical.exp: Ditto.
19107 * gdb.base/long_long.exp: Ditto.
19108 * gdb.base/maint.exp: Ditto.
19109 * gdb.base/miscexprs.exp: Ditto.
19110 * gdb.base/pc-fp.exp: Ditto.
19111 * gdb.base/pointers.exp: Ditto.
19112 * gdb.base/relational.exp: Ditto.
19113 * gdb.base/reread.exp: Ditto.
19114 * gdb.base/sect-cmd.exp: Ditto.
19115 * gdb.base/sep.exp: Ditto.
19116 * gdb.base/sepdebug.exp: Ditto.
19117 * gdb.base/until.exp: Ditto.
19118 * gdb.base/whatis-exp.exp: Ditto.
19119 * gdb.cp/annota2.exp: Ditto.
19120 * gdb.cp/annota3.exp: Ditto.
19121 * gdb.trace/actions.exp: Ditto.
19122 * gdb.trace/backtrace.exp: Ditto.
19123 * gdb.trace/circ.exp: Ditto.
19124 * gdb.trace/collection.exp: Ditto.
19125 * gdb.trace/deltrace.exp: Ditto.
19126 * gdb.trace/infotrace.exp: Ditto.
19127 * gdb.trace/limits.exp: Ditto.
19128 * gdb.trace/packetlen.exp: Ditto.
19129 * gdb.trace/passc-dyn.exp: Ditto.
19130 * gdb.trace/passcount.exp: Ditto.
19131 * gdb.trace/report.exp: Ditto.
19132 * gdb.trace/save-trace.exp: Ditto.
19133 * gdb.trace/tfind.exp: Ditto.
19134 * gdb.trace/tracecmd.exp: Ditto.
19135 * gdb.trace/while-dyn.exp: Ditto.
19136 * gdb.trace/while-stepping.exp: Ditto.
19137 * lib/gdb.exp: Ditto.
19138 (gdb_compile): Handle nowarning option.
19139
5f4a23d9
AO
191402006-03-07 Alexandre Oliva <aoliva@redhat.com>
19141
19142 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19143 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19144 Rename executable to prelinkt. Don't re-prelink if we didn't
19145 get a core file. Test prelink -u exit status to tell whether
19146 prelinking failed. Use gdb_test_multiple.
19147
9733fc94
DJ
191482006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19149
19150 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19151 (do_tests): Call it.
19152
cc10cae3
AO
191532006-02-28 Alexandre Oliva <aoliva@redhat.com>
19154
19155 * gdb.base/prelink.exp: New test.
19156 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19157
15c46491
WZ
191582006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19159
19160 * gdb.fortran/derived-type.f90: New file.
19161 * gdb.fortran/derived-type.exp: New testcase.
19162
5c9f7ded
DJ
191632006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19164
19165 * gdb.base/default.exp: Allow ';' as a directory separator.
19166
5b96932b
AS
191672006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19168
19169 * gdb.base/help.exp (help add-symbol-file): Update.
19170
1986bccd
AS
191712006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19172
19173 * gdb.base/help.exp (help load): Update expected results.
19174
a8b7528f
FF
191752006-02-19 Fred Fish <fnf@specifix.com>
19176
19177 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19178 specifix hex value as part of results.
19179 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 19180
f8261448
FF
191812006-02-16 Fred Fish <fnf@specifix.com>
19182
19183 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19184 ushort_addr, and slong_addr, so the typedefs are not optimized
19185 away.
19186 * gdb.base/whatis.exp: Add tests using type name for struct type,
19187 union type, enum type, and typedef.
a9c64011 19188
31d8bdd2
MK
191892006-02-13 Mark Kettenis <kettenis@gnu.org>
19190
19191 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19192
34e41e63
JB
191932006-02-13 Jim Blandy <jimb@redhat.com>
19194
19195 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19196 case where it takes two "next" commands to skip past the init
19197 call.
19198
ac6e4f31
FF
191992006-02-12 Fred Fish <fnf@specifix.com>
19200
19201 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19202 to handle cases where it takes two "next" commands to skip
19203 past the init call.
19204
2db2d571
JB
192052006-02-07 Joel Brobecker <brobecker@adacore.com>
19206
19207 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19208 on hppa32 targets.
19209
38fcd64c
DJ
192102006-02-06 Vladimir Prus <ghost@cs.msu.su>
19211
19212 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19213 field.
19214
1315ad46
MK
192152006-01-29 Mark Kettenis <kettenis@gnu.org>
19216
19217 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19218
5625b943
DJ
192192006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19220
19221 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19222 files.
19223
80df1bbe
DJ
192242006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19225
19226 * gdb.cp/maint.exp: Set complaints to a positive value.
19227
9078e690
DJ
192282006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19229
19230 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19231 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19232 function name.
19233
9c903399
DJ
192342006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19235
19236 * gdb.base/checkpoint.c: Update copyright notice. Include
19237 <stdlib.h>.
19238
761ae4d6
JB
192392006-01-04 Jim Blandy <jimb@redhat.com>
19240
19241 * gdb.asm/asm-source.exp: Independently provide default values for
19242 asm-flags and debug-flags. Use 'string equal' to do the
19243 comparison, not the implicit expr's '==' operator. Remove
19244 now-unneeded assignments to asm-flags. In h8300 case, place
19245 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19246
099ac3dd
MS
192472006-01-04 Michael Snyder <msnyder@redhat.com>
19248
19249 * gdb.base/checkpoint.c: New file.
19250 * gdb.base/checkpoint.exp: New file.
19251 * gdb.base/multi-fork.c: New file.
19252 * gdb.base/multi-fork.exp: New file.
19253 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19254
f4d85314
FF
192552006-01-04 Fred Fish <fnf@specifix.com>
19256
19257 * gdb.base/ptype.c (foo): Add typedef.
19258 (intfoo): Add function.
19259 * gdb.base/ptype1.c: New file.
19260 * gdb.base/ptype.exp: Handle compilation and linking with two
19261 source files. Test that proper type for "foo" is found based
19262 on source context rather than first match found in symtabs.
19263
a1b06f35
MK
192642005-12-28 Mark Kettenis <kettenis@gnu.org>
19265
19266 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19267 * gdb.asm/openbsd.inc: Indent commands.
19268
d082a1e2
MK
192692005-12-26 Mark Kettenis <kettenis@gnu.org>
19270
c65016bd
MK
19271 * gdb.base/freebpcmd.exp: Increase timeout.
19272
d082a1e2
MK
19273 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19274
d3c32a0e
DJ
192752005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19276
19277 * gdb.base/default.exp: Update check for "show version".
19278
9fdb1f50
RC
192792005-12-09 Randolph Chung <tausq@debian.org>
19280
19281 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19282 * gdb.asm/pa64.inc: New file.
19283
5f2c56f7
RC
192842005-12-09 Randolph Chung <tausq@debian.org>
19285
19286 * gdb.asm/common.inc: Indent commands.
19287 * gdb.asm/asmsrc1.s: Likewise.
19288 * gdb.asm/asmsrc2.s: Likewise.
19289
8117349c
RC
192902005-12-09 Randolph Chung <tausq@debian.org>
19291
19292 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19293 (get_addr_of_sym): Remove duplicate print.
19294 (gen_core): xfail hppa*-*-hpux*, update expected output.
19295 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19296 * gdb.arch/pa64-nullify.s: New file.
19297
8f07f25a
RC
192982005-12-09 Randolph Chung <tausq@debian.org>
19299
19300 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19301
55b39184
DJ
193022005-12-07 Christophe Lyon <christophe.lyon@st.com>
19303
19304 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19305 code generation for these functions.
19306 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19307 error message.
19308
31e2b00f
AS
193092005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19310
19311 * gdb.base/help.exp (help b, help br, help bre, help brea)
19312 (help break): Update the expected message.
19313
c3d0b56e
SC
193142005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19315
19316 * gdb.asm/m68hc11.inc: Setup the data section.
19317 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19318 script for this test.
19319 (m6812-*-*): Likewise.
19320
36ae0ea9
RC
193212005-11-09 Randolph Chung <tausq@debian.org>
19322
19323 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19324
9d6f42e9
WZ
193252005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19326
19327 * gdb.base/break.exp: Fix a comment typo.
19328
e2126a14
EZ
193292005-11-03 Jim Blandy <jimb@redhat.com>
19330
a9c64011
AS
19331 Checked in by Elena Zannoni <ezannoni@redhat.com>
19332
889bf7c5 19333 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 19334
e0ac7199
CV
193352005-11-02 Corinna Vinschen <vinschen@redhat.com>
19336
19337 * gdb.arch/gdb1558.c: Include stdio.h.
19338
31d3fb18
MK
193392005-10-31 Mark Kettenis <kettenis@gnu.org>
19340
19341 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19342
e52b687c
MK
193432005-10-31 Mark Kettenis <kettenis@gnu.org>
19344
19345 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19346
f4711d79
PG
193472005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19348
a9c64011
AS
19349 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19350 vscr" tests to better match output.
f4711d79 19351
987a9106
JB
193522005-10-12 Jim Blandy <jimb@redhat.com>
19353
19354 * gdb.base/structs.exp (any): New function.
19355 (test_struct_returns): Don't make any assumptions at all about
19356 what value the function returns when GDB can't set the return
19357 value.
19358
2336bb58
JB
193592005-10-09 Joel Brobecker <brobecker@adacore.com>
19360
19361 * gdb.ada/arrayidx/p.adb: New file.
19362 * gdb.ada/arrayidx.exp: New testcase
19363
193642005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
19365
19366 * gdb.ada/array_return/pck.ads: New file.
19367 * gdb.ada/array_return/pck.adb: New file.
19368 * gdb.ada/array_return/p.adb: New file.
19369 * gdb.ada/array_return.exp: New testcase.
19370
705335ea
JB
193712005-10-03 Joel Brobecker <brobecker@adacore.com>
19372
a9c64011
AS
19373 * gdb.base/arrayidx.c: New file.
19374 * gdb.base/arrayidx.exp: New testcase.
705335ea 19375
11ee9940
NR
193762005-09-29 Nick Roberts <nickrob@snap.net.nz>
19377
19378 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19379 frames-invalid and breakpoints-invalid are no longer generated
19380 with level 3 so don't expect them in the output.
19381
39fb8e9e
BR
193822005-09-27 Bob Rossi <bob@brasko.net>
19383
a9c64011 19384 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
19385 from test. Escape the | in mi_gdb_test call.
19386 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19387 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19388 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19389 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19390 expected regex's in mi_gdb_test calls.
19391 * lib/mi-support.exp: Remove arbitrary .* from tests.
19392 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19393 Fully anchor GDB/MI expected results in mi_gdb_test.
19394 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19395 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19396
2af48f68
PB
193972005-09-26 Paul Brook <paul@codesourcery.com>
19398
19399 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19400
f34502bc
WZ
194012005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19402
19403 * bfp-test.c: New file.
19404 * bfp-test.exp: New testcase.
19405
ca929517
WZ
194062005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19407
19408 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19409 of subarray and substring variable.
19410 * gdb.fortran/subarray.f: New source file for the test of subarray
19411 and substring variable evaluation.
19412 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19413 of string constant.
19414
c761af65
DJ
194152005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19416
19417 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19418 copyright dates.
19419
561d7a1d
PG
194202005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19421
19422 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19423 powerpc altivec' test with an almost identical 'info vector' test.
19424
b2b64cc9
PG
194252005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19426
a9c64011
AS
19427 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19428 vscr" tests to match output.
b2b64cc9 19429
6ac4d15a
PG
194302005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19431
a9c64011
AS
19432 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19433 output.
6ac4d15a 19434
40e55bef
BR
194352005-09-11 Bob Rossi <bob@brasko.net>
19436
889bf7c5
PA
19437 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19438 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19439 commands that return an MI output command and an asyncronous MI output
19440 command.
40e55bef
BR
19441 * gdb.mi/mi-console.exp: Ditto.
19442
3c7385ec
BR
194432005-09-11 Bob Rossi <bob@brasko.net>
19444
19445 * gdb.mi/mi-var-child.c: Include <string.h>.
19446
a6cd0eb3
DJ
194472005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19448
19449 * killed.exp: Correct gdb_expect syntax.
19450
2f168eed
CV
194512005-08-09 Corinna Vinschen <vinschen@redhat.com>
19452
19453 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19454
ecd3fd0f
BR
194552005-08-02 Bob Rossi <bob@brasko.net>
19456
19457 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19458 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19459 Change tests to inferior-tty-set/show.
19460 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19461 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19462 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19463 inferior. Use mi_gdb_test to get GDB and Inferior output.
19464 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19465 descriptor.
19466 (mi_inferior_tty_name): Add inferior PTY file name.
19467 (mi_gdb_start): Add INFERIOR_PTY parameter.
19468 (mi_gdb_test): Add IPATTERN parameter.
19469
f1ea48cb 194702005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 19471
f1ea48cb
BR
19472 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19473 parameter to mi_gdb_test.
19474 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19475
6e650a67
DJ
194762005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19477
19478 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19479 struct_declarations.
19480 * gdb.mi/mi-var-child.exp: Step over the initialization of
19481 struct_declarations.
19482
8be260b6
DJ
194832005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19484
19485 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19486 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19487 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19488 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19489 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19490 file.
19491
4e660f07
NR
194922005-07-27 Nick Roberts <nickrob@snap.net.nz>
19493
19494 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19495 (do_children_tests): Assign values to the extra elements.
19496
19497 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19498 them for tests for "-var-update --no-values" and
a9c64011 19499 "-var-update --all-values".
4e660f07
NR
19500 Add test for "-var-list-children --simple-values".
19501
19502 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19503
19504 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19505 "-stack-list-locals --simple-values" Improve doc strings and
19506 comments.
19507
6bdae935
MK
195082005-07-18 Mark Kettenis <kettenis@gnu.org>
19509
598b7a6f
MK
19510 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19511 *-*-openbsd*.
19512 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19513
6bdae935
MK
19514 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19515 sigaltsatck'.
19516
1323e929 195172005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 19518
1323e929
BR
19519 * gdb.base/default.exp (tty): Changed output of command.
19520 * gdb.base/help.exp (help tty): Ditto.
19521
b1a9c082
MK
195222005-07-12 Mark Kettenis <kettenis@gnu.org>
19523
19524 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19525
10a844a2
MK
195262005-07-10 Mark Kettenis <kettenis@gnu.org>
19527
19528 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19529 -stack-select-frame without arguments.
19530 (test_stack_frame_listing): Add test for newly implemented command
19531 -stack-info-frame.
19532
3cb3b8df
BR
195332005-07-06 Bob Rossi <bob@brasko.net>
19534
19535 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19536 command.
19537 (Copyright): Update copyright.
19538
a0c5fbcf
WZ
195392005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19540
19541 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19542 tests to evaluate exponentiation expression.
19543
984971d0
AS
195442005-06-29 Andreas Schwab <schwab@suse.de>
19545
19546 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19547 main to avoid warnings.
19548
19549 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19550
fe03833f
NR
195512005-06-20 Nick Roberts <nickrob@snap.net.nz>
19552
19553 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19554 -stack-select-frame without arguments.
19555 (test_stack_frame_listing): Add test for newly implemented command
19556 -stack-info-frame.
a9c64011 19557
7a55f279
WZ
195582005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19559
0ffa0ea5
DJ
19560 * gdb.fortran/array-element.f: New file.
19561 * gdb.fortran/array-element.exp: New testcase.
7a55f279 19562
26585198
DJ
195632005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19564
19565 * gdb.base/bigcore.exp: Correct checks for systems which can
19566 not dump a large core file.
19567
c1bd25fd
DJ
195682005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19569
19570 * gdb.base/relocate.c: Add a copyright notice.
19571 (dummy): Remove.
19572 * gdb.base/relocate.exp: Test printing the values of variables
19573 from a relocatable file.
19574
589e074d
DJ
195752005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19576
19577 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19578 excess MI output after an error.
19579
0915f927
JB
195802005-05-29 Joel Brobecker <brobecker@adacore.com>
19581
19582 * gdb.arch/alpha-step.c: New file.
19583 * gdb.arch/alpha-step.exp: New testcase.
19584
76ff342d
DJ
195852005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19586 Dennis Brueni <dennis@slickedit.com>
19587
19588 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19589 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19590 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19591 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19592 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19593 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19594 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19595
96b0c7ac
DJ
195962005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19597 Wu Zhou <woodzltc@cn.ibm.com>
19598
19599 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19600 IBM's xlc compiler.
19601 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19602 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19603
f21565d2
JB
196042005-05-13 Jim Blandy <jimb@redhat.com>
19605
19606 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19607 calling gdb_suppress_entire_file.
19608 * gdb.base/charset.exp: Same.
19609 * gdb.base/call-rt-st.exp: Same.
19610
6006a3a1
BR
196112005-05-05 Bob Rossi <bob_rossi@cox.net>
19612
19613 * lib/gdb.exp (fullname_syntax): Added global regex.
19614 (fullname_syntax_POSIX): Ditto.
19615 (fullname_syntax_UNC): Ditto.
19616 (fullname_syntax_DOS_CASE): Ditto.
19617 (fullname_syntax_DOS): Ditto.
19618 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19619 fullname_syntax variable to scope and use it.
19620 (test_file_list_exec_source_files): Ditto.
19621 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19622
c3b69c04
DJ
196232005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19624
19625 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19626
3c95e6af
PG
196272004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19628
a9c64011
AS
19629 * lib/gdb.exp (skip_altivec_tests): New function, based on
19630 check_vmx_hw_available from the GCC testsuite.
19631 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19632 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 19633
78df6c56
JB
196342005-05-02 Jim Blandy <jimb@redhat.com>
19635
19636 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19637 calling gdb_suppress_entire_file.
19638
1690f9cf
DJ
196392005-04-30 Randolph Chung <tausq@debian.org>
19640
19641 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19642 Slightly relax "sem_post" name checking.
19643
5ea106f7
PG
196442005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19645
19646 * gdb.base/unload.exp: Use new shared library infrastructure.
19647
bf7234cf
PG
196482005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19649
19650 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 19651 infrastructure.
bf7234cf 19652
547b869a
CV
196532005-04-29 Corinna Vinschen <vinschen@redhat.com>
19654
19655 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19656 * gdb.asm/h8300.inc: New file.
19657
f07e55f0
PG
196582005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19659
19660 * gdb.base/shlib-call.exp: Change to use new shared library
19661 infrastructure.
19662
3cbba3d1
PG
196632005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19664
a9c64011
AS
19665 * gdb.base/pending.exp: Change to use new shared library
19666 infrastructure.
3cbba3d1 19667
ed6df200
PG
196682005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19669
a9c64011
AS
19670 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19671 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 19672
8c8f4ebe
PG
196732005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19674
a9c64011
AS
19675 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19676 shared objects being adjusted and update copyright years.
8c8f4ebe 19677
607fbc54
DJ
196782005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19679
19680 * ChangeLog: Correct some 2003-01-13 dates.
19681 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19682 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19683 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19684 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19685 gdb.trace/tfind.exp: Update copyright years.
19686
57bf0e56
DJ
196872005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19688 Daniel Jacobowitz <dan@codesourcery.com>
19689
19690 * lib/gdb.exp (gdb_compile): Handle shlib=.
19691 (gdb_compile_shlib): New function.
19692
9b593790
PG
196932005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19694
a9c64011 19695 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 19696
9494c6a5
DJ
196972005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19698
19699 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19700 gdb.server.
19701 * configure.ac: Likewise.
19702 * configure: Regenerated.
19703 * gdb.gdbserver/Makefile.in: Moved to...
19704 * gdb.server/Makefile.in: ... here.
19705 * gdb.gdbserver/server.c: Moved to...
19706 * gdb.server/server.c: ... here.
19707 * gdb.gdbserver/server-run.exp: Moved to...
19708 * gdb.server/server-run.exp: ... here.
19709
6f8eac0e
DJ
197102005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19711
19712 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19713 * configure.ac: Create gdb.gdbserver/Makefile.
19714 * configure: Regenerated.
19715 * lib/gdbserver-support.exp: New file, derived from
19716 config/gdbserver.exp.
19717 * config/gdbserver.exp: Use gdbserver-support.exp.
19718 * gdb.gdbserver/Makefile.in: New file.
19719 * gdb.gdbserver/server.c: New file.
19720 * gdb.gdbserver/server-run.exp: New file.
19721
6e87504d
PG
197222005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19723
a9c64011
AS
19724 * lib/gdb.exp (test_compiler_info): Return compiler_info
19725 if no arguments are given.
6e87504d 19726
d1779be4
PG
197272005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19728
19729 * gdb.arch/altivec-abi.exp: Check for compiler and set
19730 use altivec' flag accordingly.
19731 * gdb.arch/altivec-regs.exp: Likewise.
19732
88750304
DJ
197332005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19734
19735 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19736
f3fb768d
AS
197372005-03-27 Andreas Schwab <schwab@suse.de>
19738
19739 * gdb.base/bigcore.c (main): Add missing mode argument in open
19740 call.
19741
7e813ac5
DJ
197422005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19743
19744 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19745 downloads.
19746 * config/gdbserver.exp (gdb_load): Likewise.
19747
8e3049aa
PB
197482005-03-14 Paul Brook <paul@codesourcery.com>
19749
19750 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19751 targets.
19752
a9df7c44
JB
197532005-03-09 Joel Brobecker <brobecker@adacore.com>
19754
19755 * gdb.dwarf2/dup-psym.S: New file.
19756 * gdb.dwarf2/dup-psym.exp: New testcase.
19757
9f0d94e8
JB
197582005-03-09 Joel Brobecker <brobecker@adacore.com>
19759
19760 * gdb.ada/exec_changed/first.adb: New file.
19761 * gdb.ada/exec_changed/second.adb: New file.
19762 * gdb.ada/exec_changed.exp: New testcase.
19763
5f579bc5
NS
197642005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19765
36e9969c
NS
19766 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19767 (A2): New class.
19768 (main): Test operator+.
19769 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19770 breakpoint test.
19771
5f579bc5
NS
19772 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19773 * gdb.base/signull.exp: Disable if gdb,nosignals.
19774 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19775 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19776 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19777 * gdb.mi/mi2-console.exp: Likewise.
19778 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19779 continue output at start.
19780 (gdb_collect_locals_test): Robustify regexp.
19781 * gdb.trace/passc-dyn.exp: Fix comment typo.
19782 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19783
be46087e
CV
197842005-03-08 Corinna Vinschen <vinschen@redhat.com>
19785
19786 * gdb.asm/asm-source.exp: Add iq2000 case.
19787 * gdb.asm/iq2000.inc: New file.
19788
384e1a61 197892005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 19790
384e1a61
MI
19791 * gdb.base/command.exp: Change hardcoded value to regular expression.
19792 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19793
584b6e9e
DJ
197942005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19795
19796 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19797 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19798 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19799 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19800 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19801
ab5b5d61
MK
198022005-03-05 Mark Kettenis <kettenis@gnu.org>
19803
19804 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19805 changes.
19806
ae051c1b
PG
198072004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19808
a9c64011
AS
19809 * lib/compiler.c: Add test for IBM's xlc compiler.
19810 * lib/compiler.cc: Likewise.
ae051c1b 19811
3f0f6ed2
JB
198122004-02-24 Joel Brobecker <brobecker@adacore.com>
19813
19814 * gdb.ada/fixed_points.exp: Create compilation object directory
19815 before running the test.
19816 * gdb.ada/null_record.exp: Likewise.
19817 * gdb.ada/packed_array.exp: Likewise.
19818 * gdb.ada/start.exp: Likewise.
19819
724f452b
JB
198202005-02-15 Joel Brobecker <brobecker@adacore.com>
19821
19822 * gdb.ada/packed_array/pa.adb: New file.
19823 * gdb.ada/packed_array.exp: New testcase.
19824
57f5cdfb 198252005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19826
1f393151
MK
19827 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19828 files.
19829
ebdda337
MK
19830 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19831 on *-*-openbsd*. Correctly match whitespace in regukar
19832 expressions.
19833
cf309262
DJ
198342005-02-10 Daniel Jacobowitz <dan@debian.org>
19835
19836 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19837 PR exp/1821
19838 * gdb.base/gdb1821.c: New test file.
19839 * gdb.base/gdb1821.exp: New test file.
19840
3be49e7a
JB
198412005-02-09 Joel Brobecker <brobecker@adacore.com>
19842
19843 * gdb.base/start.c: New file.
19844 * gdb.base/start.exp: New testcase.
19845
e292e67d
JB
198462005-02-09 Joel Brobecker <brobecker@adacore.com>
19847
19848 * gdb.ada/start/dummy.adb: New file.
19849 * gdb.ada/start.exp: New testcase.
19850
dbdfa66c
CV
198512005-02-09 Corinna Vinschen <vinschen@redhat.com>
19852
19853 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19854 for printing symbols and statistics.
19855 Add test for using relative pathnames in "maint print msymbols" test.
19856 Mark "maint info sections DATA" XFAIL on Cygwin.
19857 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19858 tests.
19859
d7941671
AC
198602005-02-09 Andreas Schwab <schwab@suse.de>
19861
19862 Committed by Andrew Cagney <cagney@gnu.org>
19863 * gdb.base/remotetimeout.exp: New file.
19864
74e5ef44
MK
198652005-02-07 Mark Kettenis <kettenis@gnu.org>
19866
19867 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19868
464dd14d
JB
198692005-02-03 Joel Brobecker <brobecker@adacore.com>
19870
19871 * gdb.ada/gnat_ada.gpr: New file.
19872 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19873 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19874 * configure.ac: No longer generate gnat_ada.gpr.
19875 * configure: Regenerate.
19876 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19877 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19878 * gdb.ada/null_record/bar.ads: Likewise.
19879 * gdb.ada/null_record/bar.adb: Likewise.
19880 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19881 * gdb.ada/null_record.exp (testdir): New variable.
19882 (testfile): executable is now in testdir subdirectory.
19883 (srcfile): Use full path to the main compilation unit.
19884 * gdb.ada/fixed_points.exp: Same changes as above.
19885
30d756ae
NR
198862005-02-03 Nick Roberts <nickrob@snap.net.nz>
19887
19888 * gdb.base/interp.exp: New test.
19889
9d799f85
AC
198902005-01-24 Andrew Cagney <cagney@gnu.org>
19891
19892 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19893
15656118
AC
198942005-01-19 Andrew Cagney <cagney@gnu.org>
19895
a892c31b
AC
19896 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19897 configure.ac not configure.in.
19898
15656118
AC
19899 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19900 of powerpc*-*-*.
19901 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19902 * gdb.base/list.exp (test_list_function)
15656118
AC
19903 (test_list_filename_and_function): Ditto.
19904 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19905
a7b01baf
AC
199062005-01-16 Andrew Cagney <cagney@gnu.org>
19907
17d92a02
AC
19908 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19909
a7b01baf
AC
19910 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19911
bc8332bb
AC
199122005-01-14 Andrew Cagney <cagney@gnu.org>
19913
19914 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19915 * gdb.mi/mi2-var-cmd.exp: Ditto.
19916
4d074752
CV
199172005-01-10 Corinna Vinschen <vinschen@redhat.com>
19918
19919 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19920
bec39cab
AC
199212005-01-07 Andrew Cagney <cagney@gnu.org>
19922
19923 * configure.ac: Rename configure.in, require autoconf 2.59.
19924 * configure: Re-generate.
19925 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19926 * gdb.stabs/configure: Re-generate.
19927 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19928 * gdb.hp/configure: Re-generate.
19929 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19930 autoconf 2.59.
19931 * gdb.hp/gdb.objdbg/configure: Re-generate.
19932 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19933 autoconf 2.59.
19934 * gdb.hp/gdb.defects/configure: Re-generate.
19935 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19936 autoconf 2.59.
19937 * gdb.hp/gdb.compat/configure: Re-generate.
19938 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19939 autoconf 2.59.
19940 * gdb.hp/gdb.base-hp/configure: Re-generate.
19941 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19942 autoconf 2.59.
19943 * gdb.hp/gdb.aCC/configure: Re-generate.
19944
f10b16d4
JB
199452004-12-15 Jim Blandy <jimb@redhat.com>
19946
19947 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19948 under NPTL when there is debugging info available for libpthread.
19949
fb6e1814
JG
199502004-12-13 Jerome Guitton <guitton@gnat.com>
19951
19952 * gdb.ada/fixed_points.c: New file.
19953 * gdb.ada/fixed_points.exp: New file.
19954
fe46cd3a
RC
199552004-12-03 Randolph Chung <tausq@debian.org>
19956
19957 * gdb.arch/pa-nullify.exp: New file.
19958 * gdb.arch/pa-nullify.s: New file.
19959
8de0841b
RC
199602004-11-30 Randolph Chung <tausq@debian.org>
19961
19962 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19963 instead of "tbug". Fix regexp to work properly with gdb_test.
19964
c8170782
PH
199652004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19966
19967 * gdb.base/bitfields2.exp: New test.
19968 * gdb.base/bitfields2.c: New file.
19969
954269c2
RE
199702004-11-28 Richard Earnshaw <rearnsha@arm.com>
19971
19972 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19973
0107feed
RC
199742004-11-16 Randolph Chung <tausq@debian.org>
19975
19976 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19977
f073ae8c
DJ
199782004-11-14 Daniel Jacobowitz <dan@debian.org>
19979
19980 * gdb.threads/threadapply.exp: Correct "macro details" test.
19981
19ad59e7
JJ
199822004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19983
19984 * gdb.threads/threadapply.exp: New test.
19985 * gdb.threads/threadapply.c: New file.
19986
9cf0961b
MK
199872004-11-07 Mark Kettenis <kettenis@gnu.org>
19988
19989 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19990 frames.
19991
c789492a
FL
199922004-11-05 Felix Lee <felix+log1@specifixinc.com>
19993
19994 * gdb.base/cursal.exp: New file.
19995 * gdb.base/cursal.c: New file.
19996
a1e167bb
AC
199972004-11-03 Andrew Cagney <cagney@gnu.org>
19998
19999 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20000
b7cbf173
MK
200012004-10-30 Mark Kettenis <kettenis@gnu.org>
20002
20003 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20004 NetBSD/ELF targets.
20005
88f9d34f
JB
200062004-10-29 Joel Brobecker <brobecker@gnat.com>
20007
20008 * gdb.threads/bp_in_thread.c: New file, copied from
20009 pthread_cond_wait.c.
20010 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20011 file, rather than reusing the .c file from another testcase.
20012
ca7d6a0c
JB
200132004-10-20 Joel Brobecker <brobecker@gnat.com>
20014
20015 * gdb.ada/null_record.exp: Check where we stopped after
20016 sending the start command, instead of where the associated
20017 temporary breakpoint was inserted.
20018
0d863d03
AC
200192004-10-14 Andrew Cagney <cagney@gnu.org>
20020
20021 * gdb.mi/gdb701.c (main): Return 0.
20022
d11e72cb
DJ
200232004-10-13 Daniel Jacobowitz <dan@debian.org>
20024
d40539a4 20025 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 20026
e1923096
JJ
200272004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20028
20029 * gdb.threads/schedlock.c: Add comment markers to use to find
20030 line numbers.
20031 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20032 comments.
20033 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20034 breakpoint lines.
20035
ec8ba2c9
DJ
200362004-10-12 Daniel Jacobowitz <dan@debian.org>
20037
20038 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20039
0eb3658b
DJ
200402004-10-12 Daniel Jacobowitz <dan@debian.org>
20041
20042 * configure.in: Add gdb.dwarf2.
20043 * configure: Regenerated.
20044 * Makefile.in: Add gdb.dwarf2.
20045 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20046 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20047 gdb.dwarf2/file1.txt: New files.
20048
a271cc33
OF
200492004-10-11 Orjan Friberg <orjanf@axis.com>
20050
a9c64011 20051 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
20052 of "run", since the latter doesn't work with remote targets. Adjust
20053 the breakpoint numbering accordingly.
20054 * gdb.threads/pthread_cond_wait.exp: Ditto.
20055
895ce074
MC
200562004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20057
20058 * gdb.base/overlays.exp: Update copyright years.
20059
6be3092d
KI
200602004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20061
20062 * gdb.base/overlays.exp: Disable if target is Linux.
20063
e05389b8
FL
200642004-10-06 Felix Lee <felix+log1@specifixinc.com>
20065
20066 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20067
73cb587d
KI
200682004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20069
20070 * gdb.asm/asm-source.exp: Add m32r-linux target.
20071 * gdb.asm/m32r-linux.inc: New file.
20072
3c0edcdc
AC
200732004-09-24 Andrew Cagney <cagney@redhat.com>
20074 David Anderson <anderson@redhat.com>
20075
20076 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20077 command fails, assume things will work.
20078 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20079 (_GNU_SOURCE): Define.
20080 (print_unsigned, print_hex): Change parameter to "long long".
20081 (print_byte_count): New function, use to print byte counts.
20082 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20083 O_LARGEFILE.
20084 (main): Compute an upper bound on a corefile in max_core_size.
20085 Limit memory chunk size to max_core_size. Limit total memory
20086 allocated to max_core_size.
20087
4bb3667f
AC
200882004-09-23 Andrew Cagney <cagney@gnu.org>
20089
20090 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20091 from a separate process with code that creates a corefile by
20092 making the inferior dump core.
20093
60fe1a51
MK
200942004-09-23 Mark Kettenis <kettenis@gnu.org>
20095
20096 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20097 block.
20098
8e937346
MC
200992004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20100
20101 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20102 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20103 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20104 Likewise.
20105
7213f6d6
JJ
201062004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20107
20108 * gdb.java/jprint.exp: New test case for java inferior call.
20109 * gdb.java/jprint.java: Ditto.
20110
eac69dca
JB
201112004-09-15 Joel Brobecker <brobecker@gnat.com>
20112
20113 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20114
22227696
MC
201152004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20116
20117 * gdb.threads/killed.c: Include <stdlib.h>.
20118 * gdb.threads/pthreads.c: Likewise.
20119
7dd403a4
MC
201202004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20121
20122 * gdb.threads/killed.c: Add copyright notice.
20123
33f2d567
JM
201242004-09-10 Jason Molenda (jmolenda@apple.com)
20125
a9c64011
AS
20126 * gdb.base/define.exp: Two new tests to verify zero space chars
20127 after 'if' and 'while' commands in a user-defined command is correctly
20128 parsed.
33f2d567 20129
e05b62ac
AC
201302004-09-08 Andrew Cagney <cagney@gnu.org>
20131
20132 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20133 delivery test with duplicate at end of file.
20134
9cbe82da
MK
201352004-09-06 Mark Kettenis <kettenis@jive.nl>
20136
20137 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20138
564803d9
MC
201392004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20140
20141 * config/hppro.exp: Removed.
20142
7c6807ce
MC
201432004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20144
20145 * config/sparclet.exp: Removed.
20146
bf7e26dd
MC
201472004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20148
20149 * config/udi.exp: Removed.
20150
714e341b
MC
201512004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20152
20153 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20154 of "exp_continue".
20155 (advancei): Likewise.
20156
1236e623
JJ
201572004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20158
20159 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20160
3bdcad15
MI
201612004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20162
228af206 20163 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
20164 to check for nodebug in executable.
20165 * gdb.gdb/observer.exp (setup_test): Likewise.
20166 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20167 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20168
c72b934c
AC
201692004-09-01 Andrew Cagney <cagney@gnu.org>
20170
20171 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20172 files.
20173
edd9b715
JJ
201742004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20175
20176 * gdb.base/unload.exp: Fix expected warning message to match
20177 latest format.
20178
fb4ce06b
CV
201792004-09-01 Corinna Vinschen <vinschen@redhat.com>
20180
20181 * gdb.base/call-rt-st.exp: Fix typos.
20182
ce78e7c3
MI
201832004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20184
20185 * gdb.threads/thread_check.exp: New testcase.
20186 * gdb.threads/thread_check.c: New testcase.
20187
2dedb159
AC
201882004-08-31 Andrew Cagney <cagney@gnu.org>
20189
20190 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20191 (skip_to_handler_entry): New procedures. Test stepping into a
20192 handler when the breakpoint is at the handler's entry point.
20193
68f53502
AC
201942004-08-30 Andrew Cagney <cagney@gnu.org>
20195
20196 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20197 gdb/1757.
20198
3e3ffd2b
MC
201992004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20200
20201 With code from Manoj Iyer <manjo@austin.ibm.com>:
20202 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20203 return value. Add an arm for "no debugging symbols found".
20204 Change a stray "error" to "perror".
20205 (gdb_run_cmd): Adapt to new return value.
20206 * gdb.base/remote.exp: Adapt to new return value.
20207 * gdb.gdb/complaints.exp: Likewise.
20208 * gdb.gdb/observer.exp: Likewise.
20209 * gdb.gdb/selftest.exp: Likewise.
20210 * gdb.gdb/xfullpath.exp: Likewise.
20211
4b6f5fd2
JB
202122004-08-27 Joel Brobecker <brobecker@gnat.com>
20213
20214 * gdb.threads/bp_in_thread.exp: New testcase.
20215
e5b25496
MC
202162004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20217
20218 Fix PR testsuite/1735.
20219 * gdb.threads/schedlock.c (thread_function): Add a cast
20220 to suppress a gcc warning.
20221 * gdb.threads/thread-specific.c (thread_function): Likewise.
20222
934353d6
MC
202232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20224
20225 * gdb.base/unload.c: Include <stdlib.h>.
20226
f98a0aef 202272004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 20228
f98a0aef 20229 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
20230 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20231 synchronized after the "return".
20232
5a2e8882
MC
202332004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20234
20235 * gdb.mi/basics.c: Include <stdio.h>.
20236 * gdb.mi/pthreads.c: Include <stdlib.h>.
20237 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20238
a9640423
MC
202392004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20240
20241 * gdb.threads/schedlock.c: Add copyright notice.
20242
b04e311d
AC
202432004-08-25 Andrew Cagney <cagney@gnu.org>
20244
20245 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20246 (skip_over_handler, breakpoint_over_hander): New test procedures.
20247 (advance, advancei): Add a proper prefix, do not use
20248 rerun_to_main.
20249 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20250
7c27f15b
MC
202512004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20252
20253 * gdb.mi/basics.c: Add copyright notice.
20254 * gdb.mi/var-cmd.c: Add copyright notice.
20255
fffc87ae
MC
202562004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20257
20258 * lib/gdb.exp: Remove signed_keyword_not_used.
20259 * lib/compiler.c: Likewise.
20260 * lib/compiler.cc: Likewise.
20261
d782e0bf
MC
202622004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20263
20264 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20265 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20266
96033e83
MC
202672004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20268
20269 * gdb.base/whatis.c: Add copyright notice.
20270
cf38c229
MK
202712004-08-20 Mark Kettenis <kettenis@gnu.org>
20272
20273 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20274 it to skip the breakpoints encoded in the inline assembly.
20275
f4b49756
MC
202762004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20277
20278 * Makefile.in: Add gdb.fortran.
20279
2f193b69
MC
202802004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20281
20282 * gdb.base/call-sc.exp (test_scalar_returns):
20283 Fix cut-and-paste glitch in "Make fun return now".
20284
89a237cb
MC
202852004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20286
20287 * configure.in: Add gdb.fortran.
20288 * configure: Regenerate.
20289 * gdb.fortran/Makefile.in: New file.
20290 * lib/gdb.exp (skip_fortran_tests): New procedure.
20291
469aff8e
MC
202922004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20293
20294 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20295 reference to bug-gnu@prep.ai.mit.edu.
20296 * gdb.mi/mi-var-child.exp: Likewise.
20297 * gdb.mi/mi-var-cmd.exp: Likewise.
20298 * gdb.mi/mi-var-display.exp: Likewise.
20299 * gdb.mi/mi2-var-block.exp: Likewise.
20300 * gdb.mi/mi2-var-child.exp: Likewise.
20301 * gdb.mi/mi2-var-cmd.exp: Likewise.
20302 * gdb.mi/mi2-var-display.exp: Likewise.
20303
00b51b9f
MK
203042004-08-15 Mark Kettenis <kettenis@gnu.org>
20305
20306 * gdb.base/unload.c (main): Make local variable msg const.
20307
45f07fef
MC
203082004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20309
20310 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20311 to bug-gnu@prep.ai.mit.edu.
20312 * gdb.mi/mi-disassemble.exp: Likewise.
20313 * gdb.mi/mi-eval.exp: Likewise.
20314 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20315 default line number.
20316 * gdb.mi/mi-return.exp: Likewise.
20317 * gdb.mi/mi-simplerun.exp: Likewise.
20318 * gdb.mi/mi-stack.exp: Likewise.
20319 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20320 number with explicit range test.
20321 * gdb.mi/mi-watch.exp: Likewise.
20322 * gdb.mi/mi2-break.exp: Likewise.
20323 * gdb.mi/mi2-cli.exp: Likewise.
20324 * gdb.mi/mi2-disassemble.exp: Likewise.
20325 * gdb.mi/mi2-eval.exp: Likewise.
20326 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20327 default line number.
20328 * gdb.mi/mi2-return.exp: Likewise.
20329 * gdb.mi/mi2-simplerun.exp: Likewise.
20330 * gdb.mi/mi2-stack.exp: Likewise.
20331 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20332 number with explicit range test.
20333 * gdb.mi/mi2-watch.exp: Likewise.
20334
dd8c8ee7
MC
203352004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20336
20337 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20338 * gdb.cp/m-static.exp: Likewise.
20339 * gdb.cp/rtti.exp: Likewise.
20340
4e838464
MK
203412004-08-14 Mark Kettenis <kettenis@gnu.org>
20342
20343 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20344
8d8cb839
EZ
203452004-08-14 Eli Zaretskii <eliz@gnu.org>
20346
20347 * ChangeLog: Prefix Local Variables with semi-colons and indent
20348 the reference to older ChangeLog files, to fix fontification in
20349 Emacs.
20350
deea8bb0
MC
203512004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20352
20353 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20354 * gdb.mi/mi2-break.exp: Likewise.
20355
c3297504
MC
203562004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20357
20358 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20359
25808999
MC
203602004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20361
20362 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20363
226a8d71
MC
203642004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20365
20366 * gdb.cp/classes.exp: Remove unused declarations. Just let
20367 test names default instead of providing special names. Remove
20368 extraneous demangler test.
20369
37fdf854
JJ
203702004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20371
20372 * gdb.base/unload.exp: New test for breakpoints in dynamically
20373 loaded libraries.
20374 * gdb.base/unload.c: Ditto.
20375 * gdb.base/unloadshr.c: Ditto.
20376
2d3a7986
MC
203772004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20378
20379 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20380 cp_test_ptype_class.
20381 (test_enums): Likewise.
20382
c72b934c
AC
203832004-08-10 Andrew Cagney <cagney@gnu.org>
20384
20385 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20386 files.
20387
cc503c8a
AC
203882004-08-10 Andrew Cagney <cagney@gnu.org>
20389
20390 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20391 init_malloc call.
20392
902f2ccb
MC
203932004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20394
20395 * ChangeLog: Add copyright notice. The notice is copied
20396 from emacs 21.3 top level ChangeLog.
20397
78c90502
MC
203982004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20399
20400 * lib/cp-support.exp: New file.
20401 * lib/cp-support.exp (cp_test_type_class): New function.
20402 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20403 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20404 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20405 cp_test_ptype_class.
20406
88e5ea78
MC
204072004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20408
20409 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20410 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20411 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20412 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20413 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20414 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20415 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20416 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20417 gdb.mi/mi2-watch.exp: Update copyright years.
20418
6a89fc9c
MK
204192004-08-09 Mark Kettenis <kettenis@gnu.org>
20420
20421 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20422
1482e0de
MC
204232004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20424
20425 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20426 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20427 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20428 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20429 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20430 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20431 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20432 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20433 gdb.mi/mi-watch.exp: Update copyright years.
20434
1a5ce3f3
DJ
204352004-08-08 Daniel Jacobowitz <dan@debian.org>
20436
20437 PR gdb/1738
20438 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20439 from a breakpoint with a pending signal.
20440
04f6ecf2
DJ
204412004-08-08 Daniel Jacobowitz <dan@debian.org>
20442
20443 PR gdb/1736
20444 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20445 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20446 the prompt.
20447 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20448
54d90d35
DJ
204492004-08-08 Daniel Jacobowitz <dan@debian.org>
20450
20451 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20452
d2f6abb0
DJ
204532004-08-08 Daniel Jacobowitz <dan@debian.org>
20454
20455 PR gdb/1736
20456 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20457 for i?86-*-linux*.
20458
5598c03d
DJ
204592004-08-08 Daniel Jacobowitz <dan@debian.org>
20460
20461 * gdb.arch/i386-prologue.exp: Compile without debug information.
20462
c6fee705
MC
204632004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20464
20465 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20466 rather than asking gdb to search.
20467
dd90efdb
MC
204682004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20469
20470 * gdb.base/gcore.c: Include <string.h>.
20471
1e84bec1
MC
204722004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20473
20474 * gdb.base/gcore.c: Add copyright notice.
20475
e425eb2b
MC
204762004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20477
20478 * gdb.base/freebpcmd.c: Include <stdio.h>.
20479 * gdb.base/long_long.c: Include <string.h>.
20480 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20481 * gdb.base/siginfo.c: Include <string.h>.
20482 * gdb.base/sigstep.c: Include <string.h>.
20483
cb9aaed5
MC
204842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20485
20486 * gdb.base/complex.c: Include <stdlib.h>.
20487
55944f3d
MC
204882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20489
20490 * gdb.base/complex.c: Add copyright notice.
20491
7b2953d9
MC
204922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20493
20494 * gdb.base/charset.c: Include <stdlib.h>.
20495
c9133d23
MC
204962004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20497
20498 * gdb.base/auxv.c: Include <stdlib.h>.
20499
0a8490ad
MC
205002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20501
20502 * gdb.base/auxv.c: Add copyright notice.
20503
3426d5ec
MC
205042004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20505
20506 * gdb.base/coremaker.c: Add copyright notice.
20507 * gdb.base/coremaker2.c: Add copyright notice.
20508
8da195dd
AC
205092004-08-04 Andrew Cagney <cagney@gnu.org>
20510
20511 * gdb.base/store.exp: Update copyright.
20512 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20513 names, do not import gdb_prompt.
20514
8d394f98
AC
205152004-08-01 Andrew Cagney <cagney@gnu.org>
20516
20517 Fix PR testsuite/1729.
20518 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20519 not use capture_value with value 4.
20520 (capture_value): Add optional test name parameter.
20521 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20522 the prefix, pass to capture_value.
20523
b6702b23
MK
205242004-08-01 Mark Kettenis <kettenis@gnu.org>
20525
20526 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20527 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20528 (main): Call new function.
20529
c203e0ca
MC
205302004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20531
20532 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20533
a7995a30
MC
205342004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20535
20536 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20537
9366563b
MC
205382004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20539
b6eeaf26 20540 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
20541 Accept more values of vtbl pointer. Remove some messages
20542 about "obsolete gcc or gdb".
20543
2fc1f950
MC
205442004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20545
20546 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20547
c724d49b
MC
205482004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20549
20550 * gdb.base/asm-source.exp: Properly convert target board
20551 debug flags from gcc format to binutils format.
20552
736b0fce
MK
205532004-07-28 Mark Kettenis <kettenis@gnu.org>
20554
20555 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20556 gdb1718". PR backtrace/1718 partially fixed.
20557
5633ea5c
JJ
205582004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20559
20560 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20561
575eebb1
NC
205622004-07-26 Nick Clifton <nickc@redhat.com>
20563
20564 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20565 good default value for a specific architecture is available then
20566 set it to that value. Otherwise default to the -gstabs switch.
20567 Remove the -g... switches from the asm-flags variable. Allow the
20568 target board info to override the value if it wants to. Pass the
20569 switch on the assembler command line.
20570
62104619
MK
205712004-07-23 Mark Kettenis <kettenis@gnu.org>
20572
20573 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20574 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20575 (main): Call new function.
20576
4a1135b8
MC
205772004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20578
20579 Test for PR exp/1715.
20580 * gdb.base/radix.exp: Refactor common procedures. Make all
20581 test names unique. Change XFAIL to KFAIL.
20582
8a12c1f0
MC
205832004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20584
20585 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20586 * gdb.ada/gnat_ada.gin: ... to here.
20587 * configure.in: Use gnat_ada.gin.
20588 * configure: Regenerate.
20589
23b451cf
AC
205902004-07-20 Andrew Cagney <cagney@gnu.org>
20591
20592 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20593 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20594 XFAILs. Clean up test messages and comments. Check backtraces.
20595 Delete re-sync code.
20596
ab618a02
MC
205972004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20598
20599 Fix PR cli/740.
20600 * gdb.base/annota1.exp: Honor gdb,nosignals.
20601 * gdb.base/annota3.exp: Likewise.
20602
46dad340
MC
206032004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20604
20605 * lib/java.exp: Update copyright notice.
20606
756d8c70
AC
206072004-07-19 Andrew Cagney <cagney@gnu.org>
20608
20609 * gdb.base/selftest.exp: Copy file from here ...
20610 * gdb.gdb/selftest.exp: ... to here.
20611
586027e6
AC
206122004-07-16 Andrew Cagney <cagney@redhat.com>
20613
20614 * lib/insight-support.exp: Delete file.
20615 * lib/java.exp (java_init): Fix copyright.
20616
029d2200
AC
206172004-07-16 Andrew Cagney <cagney@gnu.org>
20618
20619 * gdb.base/restore.c: Append "prologue" to comments marking the a
20620 function's prologue.
20621 * gdb.base/restore.exp: Update copyright, re-indent.
20622 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20623 callerN" prefix where needed. Update patterns that match a
20624 function's prologue.
20625
653b62c5
MC
206262004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20627
20628 * gdb.base/restore.c: Add copyright notice.
20629
f7d690e5
AC
206302004-07-16 Andrew Cagney <cagney@gnu.org>
20631
20632 * gdb.base/logical.exp: Update copyright.
20633 (evaluate): New procedure. Use to re-implement tests using
20634 several tables.
20635
d629a7cb
MH
206362004-07-14 Martin Hunt <hunt@redhat.com>
20637
20638 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20639 which fixes some problems where init.tcl was not found.
20640
9c7bb332
AC
206412004-07-13 Andrew Cagney <cagney@gnu.org>
20642
6bf46641
AC
20643 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20644 (check_sizeof, check_valueof): Do not include the output in the
20645 test name. Use gdb_test.
20646 (get_valueof): Use gdb_test_multiple.
20647
c4ffd4c0
AC
20648 * gdb.base/step-test.exp: Update copyright. Use
20649 gdb_test_multiple. Ensure that test names do not include
20650 architecture dependent output.
20651
ab89363a
AC
20652 * gdb.gdb/observer.exp: Update copyright.
20653 (setup_test): Use gdb_test_multiple.
20654 (attach_first_observer, attach_second_observer)
20655 (attach_third_observer, detach_first_observer)
20656 (detach_second_observer, detach_third_observer)
20657 (reset_counters, check_counters): Make $message a prefix.
20658 (test_normal_stop_notifications): Add "args" parameter - a list of
20659 init functions to be called. Make $message a prefix,
20660 (test_observer_normal_stop): Change the message prefixes so that
20661 they are unique, pass the attach / detach procedures to
20662 test_normal_stop_notifications.
20663
ec58997a
AC
20664 * gdb.base/signull.exp (test_segv): Prefix all tests with
20665 "${name}". Clean up test messages.
20666
b475183b
AC
20667 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20668
9c7bb332
AC
20669 * gdb.base/ena-dis-br.exp: Update copyright.
20670 (break_at): New function. Replace send_gdb with gdb_test,
20671 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20672 ignore count, not stopped at bpt", with KFAIL.
20673
2dd95497
CV
206742004-07-13 Corinna Vinschen <vinschen@redhat.com>
20675
20676 * gdb.base/attach.exp: Remove cleanupfile handling.
20677
419e626b
AC
206782004-07-12 Andrew Cagney <cagney@gnu.org>
20679
20680 * gdb.base/annota1.exp: Cleanup corefile test name.
20681 * gdb.base/annota3.exp: Ditto.
20682
8b1b3228
AC
206832004-07-12 Andrew Cagney <cagney@gnu.org>
20684
78650829
AC
20685 * gdb.base/signals.exp: Clean up copyright, re-indent.
20686
8b1b3228
AC
20687 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20688 gdb_test and gdb_test_multiple.
20689
935c2760
JJ
206902004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20691
20692 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 20693 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
20694 provide line number info for first statement in main.
20695
1544280f
AC
206962004-07-08 Andrew Cagney <cagney@gnu.org>
20697
1279f4ff
AC
20698 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20699
1544280f
AC
20700 * gdb.base/sigbpt.exp: Make the common part of each test name a
20701 prefix instead of suffix.
20702
bcc82369
BR
207032004-07-07 Bob Rossi <bob_rossi@cox.net>
20704
20705 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20706 test from test_tbreak_creation_and_listing to
20707 test_file_list_exec_source_file
20708 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20709 Changed name of test from test_tbreak_creation_and_listing to
20710 test_file_list_exec_source_file
20711
23f4b0aa
JJ
207122004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20713
20714 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20715 the jmisc() constructor instead of <init>.
20716 * gdb.java/jmisc1.exp: Ditto.
20717
56401cd5
AC
207182004-07-07 Andrew Cagney <cagney@gnu.org>
20719
20720 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20721 corrupting the PC.
20722
44ae2f6a
MC
207232004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20724
20725 * gdb.cp/templates.exp: Accept whitespace change in demangler
20726 output.
20727
45a83408
AC
207282004-07-06 Andrew Cagney <cagney@gnu.org>
20729
20730 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20731
d205ad70
MC
207322004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20733
20734 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20735 * lib/compiler.cc: Likewise.
20736
06ea1a61
MC
207372004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20738
20739 * lib/compiler.cc: Work around string preprocessing problem
20740 with old hp c++ compiler.
20741 * lib/compiler.c: Likewise.
20742
daab1251
CV
207432004-06-29 Corinna Vinschen <vinschen@redhat.com>
20744
20745 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20746 directives to conditionalize symbol prefixing.
20747 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20748 additional_flags handling. Add underscore prefix for Cygwin.
20749 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20750 conditionalize symbol prefixing.
20751 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20752 additional_flags handling. Add underscore prefix for Cygwin.
20753
cc984116
CV
207542004-06-29 Corinna Vinschen <vinschen@redhat.com>
20755
20756 * gdb.base/bigcore.exp: Skip test on Cygwin.
20757
c279b077
MC
207582004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20759
20760 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20761 formats for "info register". Use gdb_test_multiple. Fix
20762 the "invalid register" test.
20763
0e915747
CV
207642004-06-28 Corinna Vinschen <vinschen@redhat.com>
20765
20766 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20767 PID for Cygwin. Add Cygwin specific strings to check for in some
20768 tests.
20769 (do_attach_tests): Add a test for user interaction when attaching
20770 to a process with no matching symbol table already loaded.
20771
11422c86
AC
207722004-06-26 Andrew Cagney <cagney@gnu.org>
20773
20774 Test PR java/1567 and PR java/1565.
20775 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20776 * gdb.java/jmisc2.exp: Delete file.
20777
cefbce26
MC
207782004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20779
20780 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20781
e19f872c
CV
207822004-06-25 Corinna Vinschen <vinschen@redhat.com>
20783
20784 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20785 attach process.
20786
d931ba3b
MC
207872004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20788
20789 * gdb.cp/pr-1553.exp: Remove.
20790
aef68c48
MC
207912004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20792
20793 * gdb.cp/pr-1553.cc: Remove.
20794 * gdb.cp/pr-1553.exp: Disable this test.
20795
8d5df71a
JB
207962004-06-20 Jim Blandy <jimb@redhat.com>
20797
a9c64011 20798 Fix PR testsuite/1680.
8d5df71a
JB
20799 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20800 regular expressions.
20801
4ac6f39d
MC
208022004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20803
20804 Fix PR testsuite/1679.
20805 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20806 Issue an UNSUPPORTED result instead.
20807
1b413552
JB
208082004-06-18 Jim Blandy <jimb@redhat.com>
20809
20810 * gdb.base/charset.exp: Only send a control-C if we see a new
20811 prompt and incomplete command.
20812
6daa6ebd
MC
208132004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20814
20815 * gdb.cp/pr-574.cc: Add copyright notice.
20816
51fa4ae0
JB
208172004-06-17 Jim Blandy <jimb@redhat.com>
20818
20819 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20820 cases where the regexp has no groups; this grabs random text from
20821 the previous test suite, whatever that was.
20822
8fea26c5
MC
208232004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20824
20825 * gdb.cp/printmethod.cc: Add copyright notice.
20826
1e3aeb41
MC
208272004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20828
20829 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20830
9d9030bc
AC
208312004-06-16 Andrew Cagney <cagney@gnu.org>
20832
20833 * gdb.base/signull.c: Update copyright. Include <string.h>.
20834 (bowler): Replace data_pointer with data_read
20835 and data_write cases. Add code_descriptor case.
20836 (zero, desc): New array and pointer.
20837 (data, code): Change to simple pointers.
20838 * gdb.base/signull.exp: Fix probe pattern matching a function
20839 descriptor SIGSEGV. Replace data_pointer with data_read and
20840 data_write tests.
20841
acd4ad44
AC
208422004-06-16 Andrew Cagney <cagney@gnu.org>
20843
20844 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20845
08fd625c
MC
208462004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20847
20848 * gdb.base/long_long.c: Add copyright notice.
20849
1903502c
MC
208502004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20851
20852 * gdb.base/long_long.exp: Remove reference to
20853 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20854 to gdb_breakpoint and gdb_continue_to_breakpoint.
20855
83313cb1
JB
208562004-06-14 Jim Blandy <jimb@redhat.com>
20857
20858 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20859 endian case.
20860
1bf404ef
AC
208612004-06-14 Andrew Cagney <cagney@gnu.org>
20862
20863 * gdb.base/gcore.exp (capture_command_output): Delete the always
20864 passing tests containing inferior values.
20865 * gdb.base/ending-run.exp: Do not include the breakpoint address
20866 in the test message. Update copyright.
20867 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20868 size in the test name, use gdb_test_multiple. Update copyright.
20869
ef220b33
MC
208702004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20871
20872 * gdb.cp/ref-types.cc: Add copyright notice.
20873
4f70a4c9
MC
208742004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20875
20876 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20877 hp_aCC_compiler.
20878 * lib/compiler.cc: Likewise.
20879 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20880 'set' commands. Log diagnostics for other lines. Set
20881 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20882
335928ac
MC
208832004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20884
20885 * gdb.cp/try_catch.cc: Add copyright notice.
20886
2efb12e8
MC
208872004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20888
20889 * gdb.cp/userdef.cc: Add copyright notice.
20890
0bbed51a
MC
208912004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20892
20893 * gdb.cp/virtfunc.cc: Add copyright notice.
20894
e12a46c9
RC
208952004-06-11 Randolph Chung <tausq@debian.org>
20896
20897 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20898 problem.
20899
338e05af
AC
209002004-06-10 Andrew Cagney <cagney@gnu.org>
20901
20902 * lib/compiler.cc, lib/compiler.c: Append either
20903 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20904 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20905 instead of gcc-3-3.
20906
dc3f10cb
AC
209072004-06-09 Andrew Cagney <cagney@gnu.org>
20908
b4d946af
AC
20909 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20910 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20911
dc3f10cb
AC
20912 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20913 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20914 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20915 fixed.
20916
b5c0bfa2
AC
209172004-06-09 Andrew Cagney <cagney@gnu.org>
20918
20919 * gdb.base/structs.exp (test_struct_returns): Replace
20920 "return_value_unknown" and "finish_value_unknown" by
20921 "return_value_known" and "finish_value_known". Instead of
20922 "return_value_unknown" iff "finish_value_unknown", check
20923 "return_value_known" implies "finish_value_known".
20924
caeb605f
MH
209252004-06-08 Martin Hunt <hunt@redhat.com>
20926
20927 * gdb.base/float.exp: Add pattern for mips targets.
20928
c892bb64
RC
209292004-06-08 Randolph Chung <tausq@debian.org>
20930
20931 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20932 message for unknown architectures more clear.
20933
48306d3e
JB
209342004-06-08 Joel Brobecker <brobecker@gnat.com>
20935
20936 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20937 start the execution of the program.
20938
83ecb59f
JB
209392004-06-07 Jim Blandy <jimb@redhat.com>
20940
20941 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20942 * gdb.arch/i386-cpuid.h: New helper file.
20943
55264cb4
RC
209442004-06-07 Randolph Chung <tausq@debian.org>
20945
20946 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20947 has started.
20948
23cadb28
RM
209492004-06-04 Roland McGrath <roland@redhat.com>
20950
20951 Fix PR gdb/1647.
20952 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20953 differently to be robust to output buffering differences.
20954
51d01eda
MC
209552004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20956
20957 * gdb.threads/pthreads.exp: Update copyright years.
20958 (check_control_c): Change asynchronous 'after' to synchronous.
20959
f4fc3b93
RM
209602004-06-04 Roland McGrath <roland@redhat.com>
20961
20962 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20963 next gdb prompt.
20964
4013522b
MC
209652004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20966
20967 Fix PR gdb/1636.
20968 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20969 calls to synchronous.
20970
7a8f1e6b
JB
209712004-05-26 Jim Blandy <jimb@redhat.com>
20972
20973 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20974
81bb3443
RC
209752004-05-24 Randolph Chung <tausq@debian.org>
20976
20977 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20978 * gdb.asm/pa.inc: New file.
20979
8f5a3103
MK
209802004-05-22 Mark Kettenis <kettenis@gnu.org>
20981
20982 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20983
734b8fe8 209842004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20985 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20986
20987 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20988 GDB prompt.
20989
725603e1
UW
209902004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20991
f4fc3b93 20992 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20993 setjmp/longjmp. Use sigaction instead of signal.
20994
8b923272 209952004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20996 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20997
20998 * gdb.threads/pthread_cond_wait.c: New file.
20999 * gdb.threads/pthread_cond_wait.exp: New testcase.
21000
8bfabb04
AC
210012004-05-13 Andrew Cagney <cagney@redhat.com>
21002
21003 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21004 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21005
42edda50
AC
210062004-05-11 Andrew Cagney <cagney@redhat.com>
21007
21008 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21009 fixed but revealed gdb/1639.
21010
d303a6c7
AC
210112004-05-10 Andrew Cagney <cagney@redhat.com>
21012
21013 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21014 func1" and "next to 2nd alarm", kernel bug avoided.
21015
bf08c2a1
DJ
210162004-05-10 Daniel Jacobowitz <dan@debian.org>
21017
21018 PR external/1568
21019 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21020 XFAIL if it is smaller than bytes_allocated.
21021 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21022 (main): Make chunks_allocated unsigned. Correct comment.
21023
c0586a34
JB
210242004-05-07 Joel Brobecker <brobecker@gnat.com>
21025
21026 * gdb.arch/powerpc-aix-prologue.c: New file.
21027 * gdb.arch/powerpc-aix-prologue.exp: New file.
21028
f2785d12
JB
210292004-05-07 Jim Blandy <jimb@redhat.com>
21030
21031 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21032 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21033
bd7f6e30
JB
210342004-05-06 Joel Brobecker <brobecker@gnat.com>
21035
21036 * gdb.base/sep.exp: No longer setup_kfail when the program was
21037 built with dwarf2.
21038
0a5e7efe
JI
210392004-05-05 Jim Ingham <jingham@apple.com>
21040
21041 * gdb.base/pending.exp: Make sure pending breakpoints
21042 preserve the ignore count.
f4fc3b93 21043
a8958849
MK
210442004-04-27 Jerome Guitton <guitton@gnat.com>
21045
21046 * i386-prologue.exp: Add testcase for jump instruction as first
21047 instruction of the real code.
21048 * i386-prologue.c (jump_at_beginning): New function.
21049
7e103f5b
MK
210502004-04-28 Mark Kettenis <kettenis@gnu.org>
21051
21052 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21053 x86_64-*-*.
21054
5d38b224
MK
210552004-04-28 Mark Kettenis <kettenis@gnu.org>
21056
21057 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21058 i*86-*-*.
21059
0ef32fd9
MK
210602004-04-25 Mark Kettenis <kettenis@gnu.org>
21061
21062 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21063 expression that checks the return type.
21064
71d7dd7c
AC
210652004-04-23 Andrew Cagney <cagney@redhat.com>
21066
21067 * gdb.base/call-sc.exp: New test of scalar call/return values.
21068 * gdb.base/call-sc.c: Ditto.
21069
1e9f977e
JJ
210702004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21071
21072 * gdb.threads/manythreads.c: Reduce thread stack size.
21073
899d9e3a
JJ
210742004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21075
21076 * gdb.threads/manythreads.c: Add copyright notice.
21077
61bcae62
AC
210782004-04-23 Andrew Cagney <cagney@redhat.com>
21079
21080 * gdb.base/siginfo.exp: Better handle step out of signal.
21081 * gdb.base/sigstep.exp: Ditto.
21082
7339a42e 210832004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 21084 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
21085
21086 * gdb.threads/manythreads.c: New testcase.
21087 * gdb.threads/manythreads.exp: Ditto.
21088
5c98409b
JB
210892004-04-22 Jim Blandy <jimb@redhat.com>
21090
21091 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21092 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21093
3b611f1a
MC
210942004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21095
21096 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21097
f0fd9238
AC
210982004-04-21 Andrew Cagney <cagney@redhat.com>
21099
21100 * gdb.base/sigstep.c: New file.
21101 * gdb.base/sigstep.exp: New file.
21102
90990674
JB
211032004-04-16 Joel Brobecker <brobecker@gnat.com>
21104
21105 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21106 call to observer_notify_normal_stop.
21107
78cef34b
AC
211082004-04-15 Andrew Cagney <cagney@redhat.com>
21109
21110 * gdb.base/siginfo.c: New file.
21111 * gdb.base/siginfo.exp: New file.
21112
d2343407
JB
211132004-04-12 J. Brobecker <brobecker@gnat.com>
21114
21115 * gdb.base/sep.exp: Fix typo in comment.
21116
a2dba3c8
JB
211172004-04-12 J. Brobecker <brobecker@gnat.com>
21118
21119 * gdb.base/sep.c: New file.
21120 * gdb.base/sep-proc.c: New file.
21121 * gdb.base/sep.exp: New testcase.
21122
15f7b60e
MK
211232004-04-09 Mark Kettenis <kettenis@gnu.org>
21124
21125 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21126 support.
21127
44f4de1a
AC
211282004-04-05 Andrew Cagney <cagney@redhat.com>
21129
21130 * gdb.base/sigaltstack.c: New file.
21131 * gdb.base/sigaltstack.exp: New file.
21132
ef04f396
JB
211332004-04-04 Joel Brobecker <brobecker@gnat.com>
21134
21135 * gdb.base/foll-fork.exp: Update the expected output for
21136 "help set follow-fork-mode", to match a change that was made
21137 to the help of this variable on 2004-01-13.
21138
d40d2c92
JB
211392004-04-01 Joel Brobecker <brobecker@gnat.com>
21140
21141 * lib/ada.exp: Add copyright notice.
21142 * bar.ads: Likewise.
21143 * bar.adb: Likewise.
21144 * null_record.adb: Likewise.
21145 * null_record.exp: Likewise.
21146 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21147
f86ef5a3
JB
211482004-04-01 Joel Brobecker <brobecker@gnat.com>
21149
21150 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21151 * configure: Regenerate.
21152
414e70e3
JB
211532004-04-01 Joel Brobecker <brobecker@gnat.com>
21154
21155 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21156 to build the application. Remove the message printed when in
21157 verbose mode, redundant with the UNSUPPORTED message above.
21158
f0aaee49
JB
211592004-03-31 Joel Brobecker <brobecker@gnat.com>
21160
21161 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21162 * gdb.ada (null_record.exp): New testcase.
21163
ac81cb54
JB
211642004-03-31 Joel Brobecker <brobecker@gnat.com>
21165
21166 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21167
854af2f7
JB
211682004-03-31 Joel Brobecker <brobecker@gnat.com>
21169
21170 * gdb.ada: New subdirectory.
21171 * gdb.ada/Makefile.in: New file.
21172 * gdb.ada/gnat_ada.gpr.in: New file.
21173
034cb681
JB
211742004-03-31 Joel Brobecker <brobecker@gnat.com>
21175
21176 * lib/ada.exp: New file.
21177
78a1a894
DJ
211782004-03-24 Daniel Jacobowitz <drow@mvista.com>
21179
21180 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21181 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21182
4b2b3b3e
AC
211832004-03-22 Andrew Cagney <cagney@redhat.com>
21184
21185 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21186 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21187 Problem identified by Ulrich Weigand.
21188
23c73aa3
DC
211892004-03-17 David Carlton <carlton@kealia.com>
21190
21191 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21192 PR c++/826.
21193
d63a86f8
RM
211942004-03-16 Roland McGrath <roland@redhat.com>
21195
21196 * gdb.base/auxv.exp: New file.
21197 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21198
0e02aa50
DC
211992004-03-12 David Carlton <carlton@kealia.com>
21200
21201 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21202 * gdb.cp/pr-1553.cc: Ditto.
21203 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21204 pass branch.
21205
c20b71be
MC
212062004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21207
21208 * gdb.cp/templates.exp: Accept more template types.
21209
c7414a01
MC
212102004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21211
21212 From Corinna Vinschen with modifications.
21213 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21214 local variable obj_with_enum.
21215 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21216 results with obj_with_enum.
21217
ed69573c
MC
212182004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21219
21220 * gdb.cp/classes.cc: New file, copied from misc.cc.
21221 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21222
28301461
MC
212232004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21224
21225 * gdb.cp/misc.cc: Add copyright notice.
21226
1198ecbe
DC
212272004-03-05 David Carlton <carlton@kealia.com>
21228
21229 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21230 * gdb.cp/rtti.h: Update copyright.
21231 (namespace n2::n3): New.
21232 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21233 (n2::n3::func3): New.
21234 (main): Call n2::n3::func3.
21235 * gdb.cp/rtti2.cc: Update copyright.
21236 (n2::create3): New.
21237
9e08c470
MK
212382004-03-04 Mark Kettenis <kettenis@gnu.org>
21239
21240 * gdb.asm/openbsd.inc: Fix typo.
21241
4bebc3aa
FF
212422004-03-03 Fred Fish <fnf@redhat.com>
21243
21244 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21245 "val" instead of unused "size". Update copyright year.
21246
6ea9fb37
DJ
212472004-02-29 Daniel Jacobowitz <drow@mvista.com>
21248
21249 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21250 to use unsigned char.
21251 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21252 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21253
23b23974
DJ
212542004-02-29 Daniel Jacobowitz <drow@mvista.com>
21255
21256 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21257 line of output.
21258
7574fd53
DJ
212592004-02-28 Daniel Jacobowitz <drow@mvista.com>
21260
21261 * gdb.base/relocate.c (dummy): Initialize.
21262
a195357f
DJ
212632004-02-28 Daniel Jacobowitz <drow@mvista.com>
21264
21265 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21266 a breakpoint at exit.
21267
72fd54a9
FF
212682004-02-27 Fred Fish <fnf@redhat.com>
21269
21270 * gdb.base/chng-syms.exp: Add expect condition to match failing
21271 case that isn't a timeout.
21272
b9d23137
AC
212732004-02-27 Andrew Cagney <cagney@redhat.com>
21274
21275 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21276 support.
21277
15d208f6 212782004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 21279
15d208f6
FF
21280 * gdb.arch/gdb1431.c: Remove.
21281 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21282 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21283 of "until" incorrectly.
21284
98f9cd2d
JB
212852004-02-26 J. Brobecker <brobecker@gnat.com>
21286
21287 * gdb.cp/class2.cc (empty): New class.
21288 (refer): New function.
21289 (main): Declare an object of type empty and use it.
21290 * gdb.cp/class2.exp: Print the value of an object of type empty.
21291
9b50c11b
JJ
212922004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21293
21294 * gdb.base/langs.exp: Update query string to match the
21295 new nquery format used for pending breakpoints.
21296
0dcd613f
AC
212972004-02-26 Andrew Cagney <cagney@redhat.com>
21298
21299 Fix PR i18n/1570.
21300 * gdb.base/charset.c: Update copyright notice.
21301 (main, init_string): Remove the escape character '\e' tests.
21302 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21303 * gdb.base/charset.exp (valid_host_charset): Ditto.
21304 * gdb.base/setvar.exp: Ditto.
21305
b8a56647
AC
213062004-02-24 Andrew Cagney <cagney@redhat.com>
21307
90d59e34
AC
21308 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21309 mmapped data in core file" PASS and FAIL messages consistent.
21310
b8a56647
AC
21311 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21312 setting a breakpoint. Work around PR java/1565.
21313
9f27c604
JJ
213142004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21315
21316 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21317 new nquery format.
21318 * gdb.base/pending.exp: Ditto.
21319
3224a706
MK
213202004-02-22 Mark Kettenis <kettenis@gnu.org>
21321
21322 * configure.in: Run stabs tests on *BSD.
21323 * configure: Regenerated.
21324
41e0a9ca
MK
213252004-02-21 Mark Kettenis <kettenis@gnu.org>
21326
21327 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21328
1e1b3428
FF
213292004-02-20 Fred Fish <fnf@redhat.com>
21330
21331 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21332 blank in test for "returns short", for consistency with other
21333 "returns xxx" tests. Update copyright year.
21334
f9a7572a
FF
213352004-02-19 Fred Fish <fnf@redhat.com>
21336
21337 New testcase for PR breakpoint/1558.
21338 * gdb.arch/gdb1558.exp: New file.
21339 * gdb.arch/gdb1558.c: New file.
21340
b2ce2854
EZ
213412004-02-19 Elena Zannoni <ezannoni@redhat.com>
21342
21343 * gdb.base/nodebug.exp: Fix typo.
21344
e7c9ff01
JB
213452004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21346
21347 Committed by Jim Blandy <jimb@redhat.com>.
21348
62f4b920
JB
21349 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21350
2db536a1
JB
21351 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21352
e7c9ff01
JB
21353 * gdb.base/float.exp: Support s390*-*-* targets.
21354
f3205b34
AF
213552004-02-17 Adam Fedor <fedor@gnu.org>
21356
21357 * gdb.base/gdb1555.exp: New file.
21358 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21359
9d62932d
EZ
213602004-02-17 Elena Zannoni <ezannoni@redhat.com>
21361
21362 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21363
344c9711
FF
213642004-02-16 Fred Fish <fnf@redhat.com>
21365
21366 * gdb.arch/gdb1291.c: Remove
21367 * gdb.arch/gdb1291.s: New test input file.
21368 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21369 fail. Test for correct result, known incorrect result, other
21370 failures and timeouts.
21371
2d822687
AC
213722004-02-16 Andrew Cagney <cagney@redhat.com>
21373
21374 * gdb.base/bigcore.exp: New file.
21375 * gdb.base/bigcore.c: New file.
21376
dac15b66
AC
213772004-02-13 Andrew Cagney <cagney@redhat.com>
21378
21379 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21380 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21381 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21382 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21383 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21384 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21385 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21386 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21387 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21388 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21389
6bdfc2c4
JJ
213902004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21391
21392 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21393 executed is an alloc instruction.
21394
87b3ede8
DC
213952004-02-11 David Carlton <carlton@kealia.com>
21396
21397 * gdb.cp/breakpoint.exp: New.
21398 * gdb.cp/breakpoint.cc: New.
21399
6e19e2bf
MC
214002004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21401
21402 Partial fix for PR gdb/1543.
21403 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21404 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21405 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21406 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21407 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21408 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21409 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21410 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21411 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21412 to bug-gdb@prep.ai.mit.edu .
21413 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21414 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21415 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21416 Likewise.
21417
5c5455dc
AC
214182004-02-10 Andrew Cagney <cagney@redhat.com>
21419
21420 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21421 using gdb_internal_error_resync.
21422
9cf689d7
DJ
214232004-02-09 Daniel Jacobowitz <drow@mvista.com>
21424
21425 * gdb.threads/thread-specific.exp: Stop early if no threads are
21426 found.
21427
d2dc51db
MC
214282004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21429
21430 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21431
14b1a056
DJ
214322004-02-08 Daniel Jacobowitz <drow@mvista.com>
21433
21434 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21435 breakpoints.
21436
83f66e8f
DJ
214372004-02-07 Daniel Jacobowitz <drow@mvista.com>
21438
21439 * config/sim.exp (gdb_load): Handle $arg == "".
21440 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21441 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21442
30fc0091
EZ
214432004-02-07 Elena Zannoni <ezannoni@redhat.com>
21444
a9c64011
AS
21445 * gdb.base/maint.exp: Update test to reflect
21446 obstack changes.
30fc0091 21447
4d806929
JJ
214482004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21449
21450 * gdb.base/pendshr.c (pendfunc): New function that calls
21451 pendfunc1.
21452 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21453
7bfdd688
FF
214542004-02-04 Fred Fish <fnf@redhat.com>
21455
21456 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21457 function symbols and update copyright years.
21458 * gdb.arch/gdb1291.c: Ditto.
21459
aaa08ee4
MC
214602004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21461
21462 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21463
dbad7755
MC
214642004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21465
21466 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21467
ec4646ef
MC
214682004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21469
21470 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21471
1b802196
FF
214722004-02-02 Fred Fish <fnf@redhat.com>
21473
21474 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21475 remote targets. Update copyright years.
21476
18fe2033
JJ
214772004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21478
21479 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21480 support.
21481 * gdb.base/langs.exp: Fix test which attempts to create
21482 breakpoint on non-existent function to handle new pending
21483 support.
21484 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21485 a breakpoint.
21486 * gdb.base/pending.exp: New test.
21487 * gdb.base/pending.c: New file.
21488 * gdb.base/pendshr.c: Ditto.
21489
8d577d32
DC
214902004-02-02 David Carlton <carlton@kealia.com>
21491
21492 * gdb.cp/overload.exp: Add overloadNamespace tests.
21493 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21494 (overloadNamespace, XXX): New.
21495 (main): Call XXX::marker2.
21496
3ad13771
FF
214972004-02-01 Fred Fish <fnf@redhat.com>
21498
21499 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21500 * gdb.base/finish.exp: Ditto.
21501 * gdb.base/gcore.exp: Ditto.
21502 * gdb.base/huge.exp: Ditto.
21503 * gdb.base/info-proc.exp: Ditto.
21504 * gdb.base/return2.exp: Ditto.
21505 * gdb.threads/gcore-thread.exp: Ditto.
21506
44c75849
DJ
215072004-02-01 Daniel Jacobowitz <drow@mvista.com>
21508
21509 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21510
005bc093
MK
215112004-02-01 Mark Kettenis <kettenis@gnu.org>
21512
21513 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21514 that opening the file succeeds on OpenBSD.
21515
c47cebdb
DJ
215162004-02-01 Daniel Jacobowitz <drow@mvista.com>
21517
21518 * gdb.threads/thread-specific.c: New file.
21519 * gdb.threads/threads-specific.exp: New test script.
21520 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21521 to expect_out.
21522
5a01311c
MK
215232004-02-01 Mark Kettenis <kettenis@gnu.org>
21524
21525 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21526 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21527 only on the "print_small_structs from print_long_arg_list" test.
21528
ce22a4f1
DJ
215292004-02-01 Daniel Jacobowitz <drow@mvista.com>
21530
21531 * gdb.base/completion.exp: Kill a stray backslash.
21532
21533 From Jim Ingham <jingham@apple.com>:
21534 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21535 agrees with the result from sending a tab.
21536
abbab9d3
DJ
215372004-01-31 Daniel Jacobowitz <drow@mvista.com>
21538
21539 * gdb.base/chng-syms.exp: Remove stray newline.
21540
53904d1e
MK
215412004-01-31 Mark Kettenis <kettenis@gnu.org>
21542
21543 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21544 *-*-openbsd*.
21545 * gdb.asm/openbsd.inc: New file.
21546
3a4b3aac
MK
215472004-01-30 Mark Kettenis <kettenis@gnu.org>
21548
21549 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21550 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21551 *-*solaris2*. Remove commented out default settings for
21552 asm-flags. Replace gdb_compile with target_link.
21553
ebac27b4
MC
215542004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21555
21556 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21557 for all tests. Remove old hp-ux and cygnus xfail cases.
21558
d8679d84
PH
215592004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21560
21561 * gdb.base/chng-syms.exp: New file.
21562 * gdb.base/chng-syms.c: New file.
21563
0a55bc22
MC
215642004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21565
21566 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21567 Provide arms for current output in all my configurations.
21568
94b8e876
MC
215692004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21570
21571 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21572 * lib/compiler.cc: Likewise.
21573 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21574 get the right preprocessor. Eval the output directly. Remove
21575 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21576 hp_f77_compiler and hp_f90_compiler completely.
21577 (gdb_preprocess): Delete.
21578 (get_compiler): Delete.
21579
7cf03d44
MK
215802004-01-24 Mark Kettenis <kettenis@gnu.org>
21581
21582 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21583 <string.h>.
21584
68b6dce9
NR
215852004-01-24 Nick Roberts <nick@nick.uklinux.net>
21586
21587 * gdb.mi/mi-stack.exp: Update copyright.
21588
b368761e
DC
215892004-01-23 David Carlton <carlton@kealia.com>
21590
21591 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21592 test for cp_lookup_transparent_type.
21593 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21594 call them.
21595
f2061b53
DJ
215962004-01-23 Daniel Jacobowitz <drow@mvista.com>
21597
21598 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21599 after -var-update.
21600
37fc574a
DC
216012004-01-23 David Carlton <carlton@kealia.com>
21602
21603 * gdb.cp/namespace.cc (C::ensureRefs): New.
21604 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21605
8e94b928
NR
216062004-01-20 Nick Roberts <nick@nick.uklinux.net>
21607
21608 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21609 case "-stack-list-locals 2".
21610 * gdb.mi/mi-var-child.exp: Test for case
21611 "-var-list-children --all-values NAME".
21612
997b0952
MC
216132004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21614
21615 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21616
52470da3
MK
216172004-01-18 Mark Kettenis <kettenis@gnu.org>
21618
7049b4b8
MK
21619 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21620 used with gdb_test_multiple.
21621
52470da3
MK
21622 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21623 read at address 0. This fixes PR testsuite/1504.
21624
da6012e5
DJ
216252004-01-18 Daniel Jacobowitz <drow@mvista.com>
21626
21627 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21628 Remove downloading, guessing the host executable, the calls to
21629 gdb_file_cmd and gdb_target_cmd, and "load" support.
21630 (infer_host_exec): New function broken out from gdb_load.
21631 (gdb_load): New wrapper for gdbserver_gdb_load.
21632 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21633 gdb_target_cmd. Use -target-select.
21634 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21635 Download binaries to the host. Clear last_mi_remote_file when
21636 we load a new binary.
21637 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21638 call gdbserver_gdb_load and mi_gdb_target_cmd.
21639
32c70722
MC
216402004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21641
21642 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21643 type patterns.
21644
b0cecf36
MC
216452004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21646
21647 * gdb.cp/templates.exp: Fix typo in test name of
21648 "print Foo<volatile char*>::foo".
21649
4120d7e6
MC
216502004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21651
21652 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21653
f679e530
BE
216542004-01-16 Ben Elliston <bje@wasabisystems.com>
21655
21656 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21657 (clean mostlyclean): Remove empty rm.
21658
091c48f6
MC
216592004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21660
21661 * gdb.base/setvar.exp: Add copyright years.
21662
3e5fc8d2
DC
216632004-01-14 David Carlton <carlton@bactrian.org>
21664
21665 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21666 PR c++/1511 and update coment.
21667 * gdb.cp/templates.exp: Update patterns to match current output.
21668 If changes involve something other than whitespace, KFAIL
21669 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21670
63d06c5c
DC
216712004-01-14 David Carlton <carlton@kealia.com>
21672
21673 * gdb.cp/namespace.exp: Add tests involving classes defined within
21674 namespaces.
21675 * gdb.cp/namespace.cc (C::CClass): New.
21676 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21677
a51dab88
EZ
216782004-01-14 Elena Zannoni <ezannoni@redhat.com>
21679
21680 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21681 what debug info we have. Print a better message if something goes
21682 wrong while producing the separate debug info file.
21683
a476ccc9
MC
216842004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21685
21686 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21687
f453692c
MC
216882004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21689
21690 * gdb.base/callfuncs.c: Add copyright notice.
21691
f40063a5
MC
216922004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21693
21694 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21695 inheritance. PR gdb/1498, PR gcc/13539.
21696
19ac3974
EZ
216972004-01-13 Elena Zannoni <ezannoni@redhat.com>
21698
a9c64011
AS
21699 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21700 test specific name.
21701 * gdb.mi/gdb669.exp: Ditto.
21702 * gdb.mi/mi-pthreads.exp: Ditto.
21703 * gdb.mi/mi1-pthreads.exp: Ditto.
21704 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 21705
56c97c6e
MC
217062004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21707
21708 * gdb.cp/member-ptr.cc: Add copyright notice.
21709
a0644324
MC
217102004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21711
21712 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21713 some patterns for recent versions of gcc and hpacc. Delete
21714 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21715 Delete tests that access a NULL pointer-to-member-data. This
21716 script is still disabled for gcc.
21717
32fabe09
EZ
217182004-01-12 Elena Zannoni <ezannoni@redhat.com>
21719
21720 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 21721 escaped correctly.
32fabe09 21722
1f8a6abb
EZ
217232004-01-12 Elena Zannoni <ezannoni@redhat.com>
21724
21725 * gdb.base/sepdebug.exp: New file.
21726 * gdb.base/sepdebug.c: New file.
21727 * lib/gdb.exp (separate_debug_filename): New procedure.
21728 (gdb_gnu_strip_debug): New procedure.
21729
48efe704
AC
217302004-01-12 Andrew Cagney <cagney@redhat.com>
21731
21732 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21733 * gdb.mi/ChangeLog-1999-2003: New file.
21734
a9415475
AC
217352004-01-12 Andrew Cagney <cagney@redhat.com>
21736
21737 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21738 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21739 or EEXIST", treat EBUSY as an XFAIL.
21740
83b8cf9d
MC
217412004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21742
21743 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21744 hp_cc_compiler.
21745
9939d2a8
MC
217462004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21747
21748 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21749 decorations.
21750
1ff8cadf
MC
217512004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21752
21753 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21754 and "(aCC)" decorations. Remove obsolete doco about old
21755 test results.
21756
6fa9022e
MC
217572004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21758
21759 * gdb.cp/exception.exp: Fix typo in doco.
21760
209721fe
MK
217612004-01-09 Mark Kettenis <kettenis@gnu.org>
21762
21763 * gdb.base/gdb1476.exp: Fix typo.
21764
ef11303e
MC
217652004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21766
21767 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21768 file.
21769
041ab88c
MC
217702004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21771
21772 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21773 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21774 Use gdb_compile. Remove restriction on gcc. Add some patterns
21775 for recent version of gdb. Delete second half, which was a copy
21776 of the first half with different build flags. This test is
21777 still disabled because it is still not ready for production.
21778
e36d075a
MC
217792004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21780
21781 * gdb.cp/exception.cc: Add copyright notice.
21782 * gdb.cp/exception.exp: Add a notice that this file is broken
21783 because of line number changes caused by addition of copyright
21784 notice.
21785
42b190ad
MC
217862004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21787
21788 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21789 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21790
8f25f06b
MC
217912004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21792
21793 * gdb.cp/classes.exp: Accept gnu abi 2.
21794 * gdb.cp/derivation.exp: Likewise.
21795 * gdb.cp/overload.exp: Likewise.
21796 * gdb.cp/virtfunc.exp: Likewise.
21797
06ded8b8
MC
217982004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21799
21800 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21801 semicolon after end of function.
21802
77c26ae3
MC
218032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21804
21805 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21806 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21807 boilerplate code for compiling and running the program under
21808 test. Add some string method tests.
21809
20757486
MC
218102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21811
21812 * gdb.cp/bs15503.cc: Add copyright notice.
21813 * gdb.cp/bs15503.exp: Adjust line number.
21814
0fd3b503
MC
218152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21816
21817 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21818 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21819
10d1bea8
MC
218202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21821
21822 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21823 hp_cc_compiler.
21824
2789202a
MC
218252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21826
21827 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21828 * gdb.cp/ctti.exp: Use the marker instead of "next".
21829 With gcc, run further before bailing.
21830
b862f14c
MC
218312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21832
21833 * gdb.cp/cttiadd.cc: Add copyright notice.
21834 * gdb.cp/cttiadd1.cc: Likewise.
21835 * gdb.cp/cttiadd2.cc: Likewise.
21836 * gdb.cp/cttiadd3.cc: Likewise.
21837
96da2469
MC
218382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21839
21840 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21841 Use gdb_test, gdb_test_multiple. Use floating-point values that
21842 have exact representations in IEEE-ish formats.
21843
053248ff
MC
218442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21845
21846 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21847 compilers. Delete duplicate call to get_compiler_info.
21848 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21849 * gdb.base/volatile.exp: Likewise.
21850
84acecdd
MK
218512004-01-07 Mark Kettenis <kettenis@gnu.org>
21852
21853 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21854 memory at address 0.
21855
fe11a27f
MC
218562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21857
21858 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21859 to test for hp-ux assembler. Fix copyright years.
21860
60ad077b
AC
218612004-01-07 Andrew Cagney <cagney@redhat.com>
21862
21863 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21864
1c9b8f33
AC
218652004-01-07 Andrew Cagney <cagney@redhat.com>
21866
21867 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21868 when creating the read-only file. From analysis by Roland McGrath
21869 and Elena Zannoni.
21870
753ccc7a
MC
218712004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21872
21873 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21874
eca3e36b
MC
218752004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21876
21877 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21878 data pointers.
21879
f8d4bac4
MC
218802004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21881
21882 * gdb.cp/m-static.exp: Compile one source file at a time.
21883 Delete unused call to get_compiler_info.
21884
9b4e0f94
MC
218852004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21886
21887 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21888 * gdb.base/call-rt-st.exp: Likewise.
21889 * gdb.base/nodebug.exp: Likewise.
21890 * gdb.base/volatile.exp: Likewise.
21891 * gdb.cp/ref-types.exp: Likewise.
21892 * gdb.cp/templates.exp: Likewise.
21893
023c1024
MK
218942004-01-05 Mark Kettenis <kettenis@gnu.org>
21895
21896 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21897
19703c4a
MC
218982004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21899
21900 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21901 hppa*-hp-hpux*.
21902
18b67037
MK
219032004-01-04 Mark Kettenis <kettenis@gnu.org>
21904
ba6219c8
MK
21905 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21906 x86_64-*-*.
21907
18b67037
MK
21908 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21909 sparc64-*-* and sparc*-solaris2*.
21910
1bfbbb9d
MK
219112004-01-04 Mark Kettenis <kettenis@gnu.org>
21912
21913 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21914 return ${tests}" test. The ${tests} already mentions the
21915 filename.
21916
06846494
MC
219172004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21918
21919 * gdb.cp/local.exp: Accept gcc abi 2.
21920
3b0cb202
MC
219212004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21922
21923 * gdb.cp/templates.exp: Accept gcc abi 2.
21924
0643ec3f
MC
219252004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21926
21927 * lib/compiler.cc: Remove supports_template_debugging.
21928 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21929
d231d0b1
MC
219302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21931
21932 * gdb.cp/namespace.exp: Accept gcc abi 2.
21933
44ffb27c
MC
219342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21935
21936 * gdb.cp/method.exp: Accept gcc abi 2.
21937
184ad485
MC
219382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21939
21940 * gdb.cp/classes.exp: Generate identical results as old version.
21941 * gdb.cp/derivation.exp: Likewise.
21942 * gdb.cp/overload.exp: Likewise.
21943 * gdb.cp/virtfunc.exp: Likewise.
21944
116f09e7
MC
219452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21946
21947 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21948 mysterious bug with sourceware version of expect.
21949
b1379776
MC
219502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21951
21952 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21953 current versions of gcc, including gcc abi 2. Remove gratuitous
21954 restart of test program. Use gdb_test_multiple and gdb_test for
21955 all tests. Add patterns to xfail missing "const" in "const char *"
21956 and kfail PR gdb/1155.
21957
6b7a4c0e
MC
219582004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21959
21960 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21961 current versions of gcc, including gcc abi 2. Remove gratuitous
21962 restart of test program. Use gdb_test_multiple and gdb_test for
21963 all tests. Add patterns to kfail PR gdb/1498.
21964
51615d72
MC
219652003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21966
21967 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21968 current versions of gcc, including gcc abi 2. Use "breakpoint"
21969 and "continue" instead of restarting the target program. Use
21970 gdb_test_multiple and gdb_test for all tests.
21971
7b79a9d7
MK
219722004-01-01 Mark Kettenis <kettenis@gnu.org>
21973
21974 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21975 for *-*-solaris2*.
21976
1cd3489f
MC
219772003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21978
21979 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21980 current versions of gcc, including gcc abi 2. Use "breakpoint"
21981 and "continue" instead of restarting the target program several
21982 times. Use gdb_test_multiple and gdb_test for all tests.
21983
850742db
MC
219842003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21985
21986 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21987 source files.
21988
eb4bbda8
MC
219892003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21990
21991 * gdb.base/environ.exp: Handle compiling test case from multiple
21992 source files.
21993
e42c7771
MC
219942003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21995
21996 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21997
80e4b428
JB
219982003-12-17 Jim Blandy <jimb@redhat.com>
21999
5f06973a
JB
22000 * gdb.base/freebpcmd.c: Add copyright notice.
22001
80e4b428
JB
22002 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22003
0ab84fb7
MC
220042003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22005
22006 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22007
1b3bb3d0
JB
220082003-12-13 Jim Blandy <jimb@redhat.com>
22009
22010 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22011
3a4c9371
KB
220122003-12-12 Kevin Buettner <kevinb@redhat.com>
22013
22014 * gdb.asm/frv.inc: New file.
22015 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22016
a1dea79a
FF
220172003-12-09 Fred Fish <fnf@redhat.com>
22018
22019 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22020 functions to break1.c and leave prototypes behind. Add more
22021 "set breakpoint NN here" comments.
22022 * gdb.base/break1.c: New file.
22023
22024 * gdb.base/break.exp: Handle compiling test case from multiple
22025 source files and change source file references as needed.
22026 * gdb.base/completion.exp: Ditto.
22027 * gdb.base/condbreak.exp: Ditto.
22028 * gdb.base/define.exp: Ditto.
22029 * gdb.base/ena-dis-br.exp: Ditto.
22030 * gdb.base/info-proc.exp: Ditto.
22031 * gdb.base/maint.exp: Ditto.
22032 * gdb.base/until.exp: Ditto.
22033
22034 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22035 hardcoded line numbers.
22036 * gdb.base/define.exp: Ditto.
22037 * gdb.base/ena-dis-br.exp: Ditto.
22038 * gdb.base/maint.exp: Ditto.
22039 * gdb.base/until.exp: Ditto.
22040
22041 * gdb.base/completion.exp: Use "break1" for completion tests since
22042 "break" is no longer a unique prefix.
22043
5266b69c
AC
220442003-12-06 Andrew Cagney <cagney@redhat.com>
22045
22046 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22047 "return_value_unimplemented". When an unimplemented struct return
22048 architecture, report incorrect values as a KFAIL
22049
374451f0
MC
220502003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22051
22052 * gdb.cp/rtti.exp: Accept new wording of warning from
22053 cp_lookup_rtti_type.
22054
ba9b20a7
MC
220552003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22056
22057 Partial fix for PR testsuite/1456.
22058 * gdb.base/scope.exp (test_at_main): Replace references to
22059 gcc_compiled with calls to test_compiler_info.
22060 (test_at_foo): Likewise.
22061 (test_at_bar): Likewise.
22062
b74b6d0b
MC
220632003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22064
22065 Partial fix for PR testsuite/1456.
22066 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22067 to test_compiler_info.
22068
ccfa3402
MC
220692003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22070
22071 * gdb.base/so-impl-ld.exp: Update copyright notice.
22072
f6246aba
MC
220732003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22074
22075 Partial fix for PR testsuite/1456.
22076 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22077 to test_compiler_info.
22078
13ae734a
MC
220792003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22080
22081 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22082 from current versions of gdb. Clean up regular expressions.
22083 Delete redundant timeout case.
22084
d8e1cdee
MC
220852003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22086
22087 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22088 from current versions of gdb. Clean up regular expressions.
22089 Delete redundant timeout case.
22090
96457b64
MC
220912003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22092
22093 Partial fix for PR testsuite/1456.
22094 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22095 gcc_compiled with call to test_compiler_info.
22096
f35309fc
MC
220972003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22098
22099 Partial fix for PR testsuite/1456.
22100 * gdb.base/list.exp (test_list_function): Delete unused declaration
22101 of gcc_compiled.
22102
d7afdf9b
MC
221032003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22104
22105 Partial fix for PR testsuite/1456.
22106 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22107 call to test_compiler_info.
22108
71507b56
MK
221092003-11-29 Mark Kettenis <kettenis@gnu.org>
22110
22111 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22112 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22113 it to create the appropriate note.inc.
22114 * gdb.asm/asmsrc1.s: Include "note.inc".
22115 * gdb.asm/netbsd.inc: New file.
22116 * gdb.asm/empty.inc: New file.
22117
f81f93f7
MC
221182003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22119
22120 Partial fix for PR testsuite/1456.
22121 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22122 calls to test_compiler_info.
22123
9a77938e
MC
221242003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22125
22126 Partial fix for PR testsuite/1456.
22127 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22128 calls to test_compiler_info.
22129
e8367dc7
MK
221302003-11-27 Mark Kettenis <kettenis@gnu.org>
22131
22132 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22133 pattern for the KFAILs.
22134
526c61ee
AF
221352003-11-25 Adam Fedor <fedor@gnu.org>
22136
22137 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22138 * gdb.objc/objcdecode.m: New file.
22139
28f2d600
AF
221402003-11-25 Adam Fedor <fedor@gnu.org>
22141
22142 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22143 * gdb.objc/nondebug.m: New file.
22144
a3895cee
BE
221452003-11-26 Ben Elliston <bje@wasabisystems.com>
22146
22147 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22148 NetBSD as it does on FreeBSD. Modelled on a similar change by
22149 Mark Kettenis on 2003-05-30.
22150 (link-flags): Set to "--entry _start" regardless of target.
22151 Special linker flags are to be appended to $link-flags.
22152 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22153
c9f2c8a3
MC
221542003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22155
22156 * gdb.cp/method.exp: Accept output of new demangler.
22157
15a0587a 221582003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
22159
22160 * gdb/class2.exp: New file.
22161 * gdb/class2.cc: New file.
22162
3c00b570
MC
221632003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22164
22165 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22166 of new demangler.
22167
7027acc7
MK
221682003-11-23 Mark Kettenis <kettenis@gnu.org>
22169
22170 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22171 of gdb_test "run".
22172
b0e1598a
MK
221732003-11-23 Mark Kettenis <kettenis@gnu.org>
22174
22175 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22176 "continue" into "run".
22177
4d9eda44
MC
221782003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22179
22180 Partial fix for PR testsuite/1456.
22181 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22182 call to test_compiler_info.
22183 * gdb.cp/ctti.exp: Likewise.
22184 * gdb.cp/derivation.exp: Likewise.
22185 * gdb.cp/member-ptr.exp: Likewise.
22186 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22187 reference to gcc_compiled.
22188
221892003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
22190
22191 Fix PR testsuite/1463.
22192 * gdb.base/structs.exp (start_structs_test): Call
22193 get_debug_format before using the debug format.
22194
d422fe19
AC
221952003-11-22 Andrew Cagney <cagney@redhat.com>
22196
22197 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22198 * gdb.base/structs.exp: Use gdb_test_multiple.
22199
039cf96d
AC
222002003-11-20 Andrew Cagney <cagney@redhat.com>
22201
6882279b
AC
22202 * gdb.base/structs.exp: Handle and recover from internal errors.
22203 Replace "foo${n}" with "foo<n>" in test messages.
22204
e53890ae
AC
22205 * gdb.base/structs.exp: Update copyright. Rewrite.
22206 * gdb.base/structs.c: Update copyright. Rewrite.
22207
2b211c59
AC
22208 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22209 resync count exceeded.
d63a86f8 22210
039cf96d
AC
22211 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22212 from the internal error.
22213 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22214 Original from Jim Blandy.
22215 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 22216
eac98b22
AC
222172003-11-19 Andrew Cagney <cagney@redhat.com>
22218
22219 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22220 KFAIL.
22221
67455b2a
MK
222222003-11-17 Mark Kettenis <kettenis@gnu.org>
22223
22224 New testcase for PR backtrace/1435.
22225 * gdb.arch/i386-unwind.exp: New file.
22226 * gdb.arch/i386-unwind.c: New file.
22227
853d6e5b
AC
222282003-11-17 Andrew Cagney <cagney@redhat.com>
22229
22230 * lib/gdb.exp (compiler_info): New global.
22231 (test_compiler_info): New function.
22232 (get_compiler_info): Set compiler_info.
22233 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22234 "compiler_info" to gcc-<major>-<minor>.
22235
38cf6e11
MC
222362003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22237
22238 * gdb.trace/configure: Remove.
22239
a50d3602
EZ
222402003-11-13 Elena Zannoni <ezannoni@redhat.com>
22241
22242 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 22243 breakpoints.
a50d3602
EZ
22244 * gdb.base/break.exp: Remove all references to explicit line
22245 numbers.
22246
d9407aaa
NC
222472003-11-11 Nick Clifton <nickc@redhat.com>
22248
22249 * gdb.base/shreloc.exp: Do not run for targets which do not
22250 support shared objects.
22251
db488fc1
CV
222522003-11-10 Corinna Vinschen <vinschen@redhat.com>
22253
22254 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22255 Don't run tests if nofileio flag is given.
22256
6a90a18e
EZ
222572003-11-07 Elena Zannoni <ezannoni@redhat.com>
22258
22259 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 22260 as well as 'Watchpoint'.
6a90a18e 22261
0b915e9c
EZ
222622003-11-06 Elena Zannoni <ezannoni@redhat.com>
22263
22264 Reported by Jim Ingham <jingham@apple.com>:
22265 * gdb.base/annota1.exp: Match at least one occurrence of the
22266 signal handler annotation.
22267
d7e4b55f
EZ
222682003-11-06 Elena Zannoni <ezannoni@redhat.com>
22269
a9c64011
AS
22270 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22271 as well as 'Watchpoint'.
d7e4b55f 22272
2fe4e8d0
MC
222732003-11-05 Michael Chastain <mec@shout.net>
22274
22275 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22276
6ef88553
KW
222772003-11-03 Kris Warkentin <kewarken@qnx.com>
22278
22279 * gdb.arch/gdb1291.c: New test file.
22280 * gdb.arch/gdb1291.exp: New test script.
22281 * gdb.arch/gdb1431.c: New test file.
22282 * gdb.arch/gdb1431.exp: New test script.
22283
ae7dc4d8
MC
222842003-10-22 Michael Chastain <mec@shout.net>
22285
22286 * gdb.mi/pthreads.c: Add copyright notice.
22287
c39d7427
MC
222882003-10-22 Michael Chastain <mec@shout.net>
22289
22290 * gdb.threads/pthreads.c: Add copyright notice.
22291
8b7d96c1
MC
222922003-10-20 Michael Chastain <mec@shout.net>
22293
22294 * gdb.base/gdb1056.exp: New test script.
22295
d1d69fdd
DJ
222962003-10-13 Daniel Jacobowitz <drow@mvista.com>
22297
22298 * gdb.threads/killed.exp: Use gdb_run_cmd.
22299
7d605576
DJ
223002003-10-13 Daniel Jacobowitz <drow@mvista.com>
22301
22302 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22303 create a core file.
22304 * gdb.threads/gcore-thread.exp: Likewise.
22305
618ec112
CV
223062003-10-13 Corinna Vinschen <vinschen@redhat.com>
22307
22308 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22309 type, based on char type.
22310 (struct bit_flags_short_t): New bitfield type, based on short type.
22311 (init_bit_flags_char): New fuction.
22312 (init_bit_flags_short): Ditto.
22313 (print_bit_flags_char): Ditto.
22314 (print_bit_flags_short): Ditto.
22315 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22316
9367a73c
MC
223172003-10-11 Michael Chastain <mec@shout.net>
22318
22319 * gdb.base/call-rt-st.exp: Update copyright year.
22320
1decf120
KI
223212003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22322
22323 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22324 * gdb.disasm/sh3.s: Ditto.
22325
5445b2ae
DJ
223262003-10-07 Daniel Jacobowitz <drow@mvista.com>
22327
22328 * gdb.threads/switch-threads.exp: New test.
22329 * gdb.threads/switch-threads.c: New source file.
22330
aec24853
CV
223312003-10-07 Corinna Vinschen <vinschen@redhat.com>
22332
22333 * gdb.base/ending-run.exp: Add sh specific case.
22334
adc7428d
AC
223352003-10-06 Andrew Cagney <cagney@redhat.com>
22336
22337 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22338 * gdb.disasm/mn10200.exp: Delete obsolete file.
22339
c9d37158
DJ
223402003-09-29 Daniel Jacobowitz <drow@mvista.com>
22341
22342 * ChangeLog: Correct an entry command.exp -> commands.exp.
22343 * gdb.base/commands.exp (bp_deleted_in_command_test)
22344 (temporary_breakpoint_commands): Check noargs.
22345
79c2c32d
DC
223462003-09-25 David Carlton <carlton@kealia.com>
22347
22348 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22349 of some print tests, where appropriate. Add tests for C::D::cd,
22350 E::ce, F::cXfX, G::XgX.
22351 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22352
594e6d67
RE
223532003-09-25 Richard Earnshaw <rearnsha@arm.com>
22354
22355 * lib/java.exp (java_init): Import target_alias before using it.
22356
10f0d451
DC
223572003-09-25 David Carlton <carlton@kealia.com>
22358
22359 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22360
274bcba0
EZ
223612003-09-23 Elena Zannoni <ezannoni@redhat.com>
22362
d63a86f8 22363 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 22364 weirdness.
274bcba0 22365
cdbf20f7
MC
223662003-09-17 Michael Chastain <mec@shout.net>
22367
22368 * gdb.cp/gdb1355.exp: New file.
22369 * gdb.cp/gdb1355.c: New file.
22370
71e06f80
CV
223712003-09-15 Corinna Vinschen <vinschen@redhat.com>
22372
22373 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22374 * gdb.asm/sh.inc: New file.
22375
5c4e30ca
DC
223762003-09-11 David Carlton <carlton@kealia.com>
22377
bd45b7af
DC
22378 * gdb.cp/namespace.exp: Add tests for namespace types.
22379 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
22380 (test_namespace): New.
22381
1c199746
EZ
223822003-09-11 Elena Zannoni <ezannoni@redhat.com>
22383
a9c64011 22384 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 22385 * gdb.stabs/weird.exp: Ditto.
1c199746 22386
04ed252f
MC
223872003-09-08 Michael Chastain <mec@shout.net>
22388
22389 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22390
d8a2d9e7
MC
223912003-09-07 Michael Chastain <mec@shout.net>
22392
22393 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22394 'parse error'.
22395
161afb24
MK
223962003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22397
22398 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22399
49f2741a
MC
224002003-08-30 Michael Chastain <mec@shout.net>
22401
22402 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22403 * gdb.gdb/observer.exp: Ditto.
22404 * gdb.gdb/xfullpath.exp: Ditto.
22405
8afa723e
MK
224062003-08-29 Mark Kettenis <kettenis@gnu.org>
22407
22408 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22409 *-*-*bsd*.
22410
f31dfe3b
JJ
224112003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22412
22413 * gdb.base/dump.exp: Skip for ia64.
22414
4630e498
JJ
224152003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22416
22417 * gdb.asm/asm-source.exp: Add ia64 support.
22418 * gdb.asm/ia64.inc: New file.
22419
1105b7ef
MC
224202003-08-22 Michael Chastain <mec@shout.net>
22421
22422 * gdb.cp: New directory.
22423 * gdb.cp/*: Copy from gdb.c++/*.
22424 * gdb.c++/*: Remove.
22425 * Makefile.in: Change gdb.c++ to gdb.cp.
22426 * configure.in: Ditto.
22427 * configure: Regnerate.
22428
c945b932
MK
224292003-08-18 Mark Kettenis <kettenis@gnu.org>
22430
22431 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22432 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22433
2b66634b
DJ
224342003-08-17 Daniel Jacobowitz <drow@mvista.com>
22435
22436 * mi-var-display.exp (-var-list-children weird): Accept function
22437 pointers with argument types.
22438 * mi1-var-display.exp (-var-list-children weird): Likewise.
22439 * mi2-var-display.exp (-var-list-children weird): Likewise.
22440
a356f73b
DJ
224412003-08-17 Daniel Jacobowitz <drow@mvista.com>
22442
22443 * gdb.base/annota3.exp: Add missing newline.
22444
483417b8
MC
224452003-08-06 Michael Chastain <mec@shout.net>
22446
22447 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22448
c99c59c3
MS
224492003-08-12 Michael Snyder <msnyder@redhat.com>
22450
22451 * gdb.base/float.exp: Add test for SH.
22452
55ed7501
MK
224532003-08-10 Mark Kettenis <kettenis@gnu.org>
22454
22455 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22456
1a371f2e
EZ
224572003-08-07 Elena Zannoni <ezannoni@redhat.com>
22458
22459 * gdb.base/completion.exp: Remove reduntant completion test
22460 on filename.
22461
e0f353ce
EZ
224622003-08-07 Elena Zannoni <ezannoni@redhat.com>
22463
a9c64011
AS
22464 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22465 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22466 gdb.trace/save-trace.exp: Make sure that full pathnames are
22467 escaped correctly.
e0f353ce 22468
5710a1af 224692003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 22470
a9c64011
AS
22471 * configure.in: Don't generate config.h from config.hin.
22472 * configure: Regenerate.
22473 * config.hin: Remove file.
22474 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22475 * gdb.threads/pthreads.c: Ditto.
5710a1af 22476
dcd81ce9
DJ
224772003-08-07 Daniel Jacobowitz <drow@mvista.com>
22478
22479 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22480 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22481 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22482 Replace ld24 with seth/add3.
22483
6009d884
AC
224842003-08-02 Andrew Cagney <cagney@redhat.com>
22485
22486 * gdb.base/annota3.exp: New file.
22487 * gdb.base/annota3.c: New file.
22488 * gdb.c++/annota3.exp: New file.
22489 * gdb.c++/annota3.cc: New file.
22490
51514e06
MC
224912003-07-29 Michael Chastain <mec@shout.net>
22492
22493 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22494 actually failed.
22495 (do_pass): Likewise.
22496 * gdb.threads/tls.exp: Always initialize no_of_threads.
22497
4ee6625b
DJ
224982003-07-27 Daniel Jacobowitz <drow@mvista.com>
22499
22500 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22501 pattern.
22502 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22503 * gdb.threads/tls.exp: Recognize one case of the host library not
22504 supporting TLS.
22505
225f2bf6
AC
225062003-07-27 Andrew Cagney <cagney@redhat.com>
22507
22508 * gdb.base/fileio.exp: Use SH when running commands using
22509 remote_exec.
22510
bcb27c9f
DJ
225112003-07-24 Daniel Jacobowitz <drow@mvista.com>
22512
22513 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22514 * gdb.base/relocate.c (dummy): New padding array.
22515
3d67be83
MS
225162003-07-22 Michael Snyder <msnyder@redhat.com>
22517
d63a86f8 22518 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
22519
22520 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22521 patterns to be more general, accepting old and new output.
22522 Some output chars (such as '+') also must be quoted.
d63a86f8 22523 Some addresses are displayed numerically instead of
3d67be83
MS
22524 symbolically.
22525
57ba3b85
MS
225262003-07-23 Michael Snyder <msnyder@redhat.com>
22527
686d097c
MS
22528 * gdb.base/return2.exp: Don't test long-long return.
22529
57ba3b85
MS
22530 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22531 * gdb.disasm/t01_mov.exp: Ditto.
22532 * gdb.disasm/t02_mova.s: Ditto.
22533 * gdb.disasm/t02_mova.exp: Ditto.
22534 * gdb.disasm/t03_add.s: Ditto.
22535 * gdb.disasm/t03_add.exp: Ditto.
22536 * gdb.disasm/t04_sub.s: Ditto.
22537 * gdb.disasm/t04_sub.exp: Ditto.
22538 * gdb.disasm/t05_cmp.s: Ditto.
22539 * gdb.disasm/t05_cmp.exp: Ditto.
22540 * gdb.disasm/t06_ari2.s: Ditto.
22541 * gdb.disasm/t06_ari2.exp: Ditto.
22542 * gdb.disasm/t07_ari3.s: Ditto.
22543 * gdb.disasm/t07_ari3.exp: Ditto.
22544 * gdb.disasm/t08_or.s: Ditto.
22545 * gdb.disasm/t08_or.exp: Ditto.
22546 * gdb.disasm/t09_xor.s: Ditto.
22547 * gdb.disasm/t09_xor.exp: Ditto.
22548 * gdb.disasm/t10_and.s: Ditto.
22549 * gdb.disasm/t10_and.exp: Ditto.
22550 * gdb.disasm/t11_logs.s: Ditto.
22551 * gdb.disasm/t11_logs.exp: Ditto.
22552 * gdb.disasm/t12_bit.s: Ditto.
22553 * gdb.disasm/t12_bit.exp: Ditto.
22554 * gdb.disasm/t13_otr.s: Ditto.
22555 * gdb.disasm/t13_otr.exp: Ditto.
22556
e00759ef
EZ
225572003-07-22 Elena Zannoni <ezannoni@redhat.com>
22558
22559 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22560
8bc2021f
EZ
225612003-07-22 Elena Zannoni <ezannoni@redhat.com>
22562
a9c64011
AS
22563 * gdb.threads/tls.c : New file.
22564 * gdb.threads/tls.exp : New file.
22565 * gdb.threads/tls-main.c : New file.
22566 * gdb.threads/tls-shared.c : New file.
22567 * gdb.threads/tls-shared.exp : New file.
8bc2021f 22568
89320c4c
AS
225692003-07-22 Andreas Schwab <schwab@suse.de>
22570
22571 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22572
180dea7c
AS
225732003-07-20 Andreas Schwab <schwab@suse.de>
22574
22575 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22576 due to insn reordering.
22577
0714963c
AC
225782003-07-15 Andrew Cagney <cagney@redhat.com>
22579
22580 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22581
98a23b3f
MC
225822003-07-15 Michael Chastain <mec@shout.net>
22583
22584 * gdb.base/gdb1250.exp: New file.
22585 * gdb.base/gdb1250.c: New file.
22586
27e417a2
ML
225872003-07-09 Michal Ludvig <mludvig@suse.cz>
22588
22589 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22590 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22591
8bc2021f
EZ
225922003-07-09 Elena Zannoni <ezannoni@redhat.com>
22593
a9c64011
AS
22594 * gdb.threads/tls.c: New file.
22595 * gdb.threads/tls.exp: New file.
22596 * gdb.threads/tls-main.c: New file.
22597 * gdb.threads/tls-shared.c: New file.
22598 * gdb.threads/tls-shared.exp: New file.
8bc2021f 22599
d99968dc
EZ
226002003-07-09 Elena Zannoni <ezannoni@redhat.com>
22601
22602 * gdb.base/annota1.exp: Make sure that we properly escape the
22603 full path of the source file. Xfail more permissive patterns,
d63a86f8 22604 due to a compiler debug info problem.
d99968dc 22605
83876b3b
AS
226062003-07-07 Andreas Schwab <schwab@suse.de>
22607
2705e972
AS
22608 * gdb.asm/m68k.inc: New file.
22609 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22610
83876b3b
AS
22611 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22612 arguments"): Also match negative number.
22613
22614 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22615
3a871b37
DJ
226162003-07-03 Daniel Jacobowitz <drow@mvista.com>
22617
22618 * gdb.base/store.c (charest): New typedef.
22619 (add_char): Rename to add_charest, update.
22620 (wack_char): Rename to wack_charest, update types. Return l + r
22621 to keep r live across the call.
22622 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22623 (wack_double, wack_doublest): Return l + r to keep r live across
22624 the call.
22625 * gdb.base/store.exp: Accomodate store.c changes.
22626
b2a7f303
DC
226272003-06-30 David Carlton <carlton@kealia.com>
22628
22629 * gdb.c++/maint.exp (test_invalid_name): New.
22630 (test_first_component): Add tests for invalid names.
22631
3c6cb4a1
MC
226322003-06-29 Michael Chastain <mec@shout.net>
22633
22634 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22635 output of '<VTT for class>' for virtual base classes.
22636
f1c2644b
DJ
226372003-06-29 Daniel Jacobowitz <drow@mvista.com>
22638
22639 * gdb.base/completion.exp: Tab-complete "complet" instead of
22640 "compl".
22641 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22642
18080350
DJ
226432003-06-29 Daniel Jacobowitz <drow@mvista.com>
22644
22645 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22646 * gdb.base/volatile.exp: Likewise.
22647
f56973f8
DJ
226482003-06-29 Daniel Jacobowitz <drow@mvista.com>
22649
22650 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22651 gdb/1265.
22652
226532003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
22654 Daniel Jacobowitz <drow@mvista.com>
22655
22656 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22657 initial line count of 'captured_main' from 26 to 32.
22658 (test_with_self): Allow xmalloc call to be interleaved with the
22659 preceding two lines.
22660
e766d4d6
JB
226612003-06-24 Joel Brobecker <brobecker@gnat.com>
22662
22663 * gdb.base/bang.exp: New testcase.
22664
f125c9a4
JB
226652003-06-23 Joel Brobecker <brobecker@gnat.com>
22666
22667 * gdb.base/langs.exp: Add some tests for the "minimal" language
22668 support.
22669
6e25beaf
EZ
226702003-06-23 Elena Zannoni <ezannoni@redhat.com>
22671
22672 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22673 the testcase.
22674
2f816dda
DJ
226752003-06-22 Daniel Jacobowitz <drow@mvista.com>
22676
22677 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22678 offset.
22679
db5a5748
DJ
226802003-06-22 Daniel Jacobowitz <drow@mvista.com>
22681
22682 * gdb.c++/pr-1210.cc: New file.
22683 * gdb.c++/pr-1210.exp: New file.
22684
1df0c130
DJ
226852003-06-21 Daniel Jacobowitz <drow@mvista.com>
22686
22687 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22688 000-exec-continue.
22689
a92feac0
MK
226902003-06-15 Mark Kettenis <kettenis@gnu.org>
22691
22692 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22693 on *-*-*bsd* instead of *-*-freebsd*.
22694
81a58f5b
AC
226952003-06-14 Andrew Cagney <cagney@redhat.com>
22696
22697 * gdb.base/store.exp: Test longest and doublest. Test all
22698 parameters. Weaken return statement match.
22699 * gdb.base/store.c: Add longest and doublest - aka long long and
22700 long double functions. Put all parameters into local register
22701 variables. Use negative values.
22702
b257a0d3
AC
227032003-06-14 Andrew Cagney <cagney@redhat.com>
22704
22705 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22706 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22707 exit status.
22708 * gdb.base/fileio.exp: Disable target when nointerrupts and
22709 noinferiorio, instead of limiting it to remote. Use remote_exec
22710 instead of system.
d63a86f8 22711
21c38304
JJ
227122003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22713
22714 * gdb.base/float.exp: Add ia64 support.
22715
1bcdb424
CV
227162003-06-12 Corinna Vinschen <vinschen@redhat.com>
22717
22718 * gdb.base/fileio.exp: Run only on remote targets.
22719
6aeb981f
CV
227202003-06-10 Corinna Vinschen <vinschen@redhat.com>
22721
22722 * gdb.base/fileio.c: New file, testing File-I/O.
22723 * gdb.base/fileio.exp: Ditto.
22724
53df362e
RG
227252003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22726
22727 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22728 shared objects after relocation at load time (gdb PR/1132).
22729 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 22730 as above, part of the shared object relocation test.
53df362e 22731
ffee1b46
MK
227322003-06-08 Mark Kettenis <kettenis@gnu.org>
22733
b5ca3722
MK
22734 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22735 fully filled history list.
22736 * gdb.base/gdb_history: New file.
22737
03ed860d
MK
22738 * gdb.base/signals.exp: XFAIL "continue to func1" on
22739 i*86-*-freebsd*.
22740
ffee1b46
MK
22741 * gdb.base/attach.exp: When trying to attach to a nonexistent
22742 process, make it possible to specify the PID based on the target,
22743 and do so for *-*-freebsd*.
22744
d80dbb52
RH
227452003-06-02 Richard Henderson <rth@redhat.com>
22746
22747 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22748
6dd77b81
RH
227492003-06-02 Richard Henderson <rth@redhat.com>
22750
22751 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22752
f6347e16
RH
227532003-06-02 Richard Henderson <rth@redhat.com>
22754
22755 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22756
2c161407
DJ
227572003-06-01 Daniel Jacobowitz <drow@mvista.com>
22758
22759 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22760 of globalvar.
22761
572eb746
MK
227622003-06-01 Mark Kettenis <kettenis@gnu.org>
22763
22764 * gdb.asm/asm-source.exp: Check for memory read errors in
22765 disassembler test on *BSD too.
22766
9e9617a5
RH
227672003-06-01 Richard Henderson <rth@redhat.com>
22768
22769 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22770 for .frame.
22771 (gdbasm_call): Lose ldgp.
22772 (gdbasm_startup): Add frame information.
22773 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22774
7b34ad4e
MK
227752003-05-31 Mark Kettenis <kettenis@gnu.org>
22776
22777 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22778 i?86-*-*.
22779
10059fdf
MK
227802003-05-30 Mark Kettenis <kettenis@gnu.org>
22781
22782 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22783 FreeBSD.
22784
acf4b816
RH
227852003-05-29 Richard Henderson <rth@redhat.com>
22786
22787 * gdb.asm/alpha.inc: New file.
22788 * gdb.asm/asm-source.exp: Use it.
22789
e9ecd949
JB
227902003-05-29 Jim Blandy <jimb@redhat.com>
22791
22792 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22793 'core.PID'.
22794
e3e5a4f3
JB
227952003-05-22 Jim Blandy <jimb@redhat.com>
22796
22797 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22798 backtrace.
d63a86f8 22799
72fe3d25
DC
228002003-05-20 David Carlton <carlton@math.stanford.edu>
22801
22802 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22803 this time.
22804
58da2eb2
DC
228052003-05-19 David Carlton <carlton@bactrian.org>
22806
22807 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22808 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22809
1fcb5155
DC
228102003-05-19 David Carlton <carlton@bactrian.org>
22811
22812 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22813 namespace tests.
22814 Bump copyright date.
22815 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22816 (main): Call C::D::marker2.
22817 * gdb.c++/namespace1.cc: New file.
22818
85e85163
JJ
228192003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22820
22821 Roland McGrath <roland@redhat.com>
d63a86f8 22822 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22823 there is no manager thread.
22824
a25fbfec
JJ
228252003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22826
d63a86f8
RM
22827 * gdb.threads/schedlock.exp: Remove assumption that all threads
22828 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22829 in one of the child threads rather than the main thread.
22830
be375bae
JB
228312003-05-07 Jim Blandy <jimb@redhat.com>
22832
09bf6082
JB
22833 Add support for assembly source testing on the s390x.
22834 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22835 architecture.
22836 * gdb.asm/s390x.inc: New file.
22837
be375bae
JB
22838 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22839 succession of 'if' statements.
22840
00905d52
AC
228412003-05-05 Andrew Cagney <cagney@redhat.com>
22842
22843 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22844
b1e29e33
AC
228452003-05-05 Andrew Cagney <cagney@redhat.com>
22846
22847 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22848 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22849
e33d66ec
EZ
228502003-05-02 Elena Zannoni <ezannoni@redhat.com>
22851
22852 * gdb.base/charset.exp: Update based on new behavior of set/show
22853 charset commands.
22854
2b6fd0d8
AC
228552003-05-01 Andrew Cagney <cagney@redhat.com>
22856
22857 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22858 variable do not give memory errors.
22859
130cacce
AF
228602003-04-30 Adam Fedor <fedor@gnu.org>
22861
22862 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22863 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22864 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22865 gdb.objc/basicclass.m: : New files
22866
22867 * lib/gdb.exp (gdb_compile_objc): New procedure.
22868
bea71854
DJ
228692003-04-27 Daniel Jacobowitz <drow@mvista.com>
22870
22871 * gdb.base/signals.exp: Make backtrace tests more specific.
22872
0f20eeea
DC
228732003-04-23 David Carlton <carlton@bactrian.org>
22874
22875 * gdb.c++/maint.exp (test_first_component): Add tests for
22876 'operator' in more locations.
22877
c8c4d8dc
KB
228782003-04-16 Kevin Buettner <kevinb@redhat.com>
22879
22880 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22881
3fe60e3c
EZ
228822003-04-16 Elena Zannoni <ezannoni@redhat.com>
22883
22884 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22885 func marke' instead. Update test name.
3fe60e3c 22886
9219021c
DC
228872003-04-15 David Carlton <carlton@math.stanford.edu>
22888
22889 * gdb.c++/maint.exp: New file.
22890
5dd55bdd
EZ
228912003-04-14 Elena Zannoni <ezannoni@redhat.com>
22892
22893 * gdb.threads/schedlock.c: Change type of thread function argument
22894 to long, to avoid warnings on 64-bit platforms.
22895
00890572
EZ
228962003-04-14 Elena Zannoni <ezannoni@redhat.com>
22897
a9c64011
AS
22898 * gdb.base/attach.exp: Add new message from ptrace in case of
22899 attaching to nonexistent process.
d63a86f8 22900
93201743
JB
229012003-04-11 Jim Blandy <jimb@redhat.com>
22902
22903 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22904 gdb.c++/userdef.cc: Place comments on the lines to which the
22905 marker function might return.
22906 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22907 gdb.c++/userdef.exp: Look for those comments to check that we've
22908 returned to the right place, instead of checking line numbers.
22909
2a11c64d
EZ
229102003-04-11 Elena Zannoni <ezannoni@redhat.com>
22911
a9c64011
AS
22912 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22913 match on sourcefile name, instead of directory name.
2a11c64d 22914
68ab8fc5
EZ
229152003-04-10 Elena Zannoni <ezannoni@redhat.com>
22916
d63a86f8 22917 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22918 working directory name.
22919
5624293a
JB
229202003-04-09 Jim Blandy <jimb@redhat.com>
22921
22922 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22923 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22924 after an inferior function call, report the failure, but allow the
22925 test to continue.
22926
f1f02ee4
SC
229272003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22928
22929 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22930 with -DPROTOTYPES.
22931
6eb79af0
SC
229322003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22933
22934 * gdb.base/break.exp: Revert last patch.
22935
8dfb4cf0
SC
229362003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22937
22938 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22939 with -DPROTOTYPES.
22940
ed4c619a
AC
229412003-04-02 Andrew Cagney <cagney@redhat.com>
22942
22943 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22944 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22945 matching directories by the name breakpoint.
22946 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22947 Make "continue to marker1" consistent.
22948 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22949 message consistent.
22950 * lib/gdb.exp: Put "the program is no longer running", and "the
22951 program exited" in parenthesis.
22952 * lib/mi-support.exp: Ditto.
d63a86f8 22953
4e35d5f0 229542003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22955
4e35d5f0
BR
22956 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22957
71900fe8
AC
229582003-03-29 Andrew Cagney <cagney@redhat.com>
22959
22960 * gdb.base/sizeof.c (main): Print the value of '\377'.
22961 * gdb.base/sizeof.exp: Check the sign of '\377'.
22962
c0655a16
MC
229632003-03-27 Michael Chastain <mec@shout.net>
22964
22965 * gdb.base/gdb1090.exp: New file.
22966 * gdb.base/gdb1090.cc: New file.
22967
5b2a3989
JB
229682003-03-27 J. Brobecker <brobecker@gnat.com>
22969
22970 * gdb.gdb/observer.exp: New regression test.
22971
79876890
MC
229722003-03-27 Michael Chastain <mec@shout.net>
22973
22974 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22975 * gdb.base/ptype.exp: Likewise.
22976
6eac95e3
CV
229772003-03-27 Corinna Vinschen <vinschen@redhat.com>
22978
22979 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22980
e8c71839
MC
229812003-03-26 Michael Chastain <mec@shout.net>
22982
22983 * gdb.base/ptype.exp: Actually use some typedef'd types.
22984
71b10041
SC
229852003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22986
22987 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22988 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22989
2512cf80
CV
229902003-03-20 Corinna Vinschen <vinschen@redhat.com>
22991
22992 * gdb.base/default.exp: Fix regular expression.
22993
0d195a4f
CV
229942003-03-20 Corinna Vinschen <vinschen@redhat.com>
22995
22996 * gdb.base/args.exp: Fix regular expression.
22997
8a2dbca8
CV
229982003-03-20 Corinna Vinschen <vinschen@redhat.com>
22999
23000 * gdb.base/help.exp: Allow Win32 child process.
23001
bf028682
CV
230022003-03-20 Corinna Vinschen <vinschen@redhat.com>
23003
23004 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23005 when stepping out of main().
23006
182dbe85
CV
230072003-03-20 Corinna Vinschen <vinschen@redhat.com>
23008
23009 * gdb.base/default.exp: Check for win32 specific message when calling
23010 "run" without executable.
23011
d67a6ba5
CV
230122003-03-20 Corinna Vinschen <vinschen@redhat.com>
23013
23014 * gdb.base/args.exp: Expect .exe in output.
23015
a955b5bb
CV
230162003-03-20 Corinna Vinschen <vinschen@redhat.com>
23017
23018 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23019 Cygwin native.
23020
bf6bad4b
AC
230212003-03-17 Andrew Cagney <cagney@redhat.com>
23022
23023 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23024 vector registes.
23025 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23026 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23027
293e9a31
DC
230282003-03-17 David Carlton <carlton@math.stanford.edu>
23029
23030 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23031 test, for PR breakpoints/38.
23032 Call test_watchpoint_and_breakpoint.
23033 * gdb.base/watchpoint.c (func3): New function.
23034 (main): Call func3.
23035
5330f2db
DC
230362003-03-04 David Carlton <carlton@math.stanford.edu>
23037
23038 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23039 Garply<Garply<char> >:: garply".
23040 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23041 with respect to PR c++/1111; note also PR c++/1113.
23042 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23043 respect to PR c++/1062.
23044 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23045
6ece72da
DC
230462003-03-03 David Carlton <carlton@math.stanford.edu>
23047
23048 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23049 with respect to PR c++/57.
23050 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23051 c++/826.
23052 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23053 respect to PR c++/57.
23054
85ca1584
DC
230552003-03-03 David Carlton <carlton@math.stanford.edu>
23056
23057 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23058 respect to PR c++/33 into FAILs.
23059
98e9c5b8
MC
230602003-03-03 Michael Chastain <mec@shout.net>
23061
7bedbf27
MC
23062 * configure.in: Update copyright years.
23063
230642003-03-03 Michael Chastain <mec@shout.net>
23065
23066 * Makefile.in: Update copyright years.
98e9c5b8 23067
f683e100
DC
230682003-02-28 David Carlton <carlton@math.stanford.edu>
23069
23070 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23071 print class instead of struct and/or superfluous protection
23072 specifiers, as long as the resulting output is equivalent to the
23073 source code.
23074 Delete FIXME from end of messages on tests that don't need
23075 fixing.
23076
a9e0cf2c
DC
230772003-02-28 David Carlton <carlton@math.stanford.edu>
23078
23079 * gdb.c++/templates.exp (do_tests): Allow const in the two
23080 Foo<volatile char *>::foo tests.
23081
e8d359df
MS
230822003-02-27 Michael Snyder <msnyder@redhat.com>
23083
d63a86f8 23084 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
23085 will be consistant.
23086
0b71dc91
DC
230872003-02-26 David Carlton <carlton@math.stanford.edu>
23088
23089 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23090 char *>::foo" test with respect to PR c++/33. Create a new test
23091 which is identical to that one except that it doesn't put the
23092 space between the "char" and the "*"; KFAIL it, too.
23093
dd14ab43
DC
230942003-02-26 David Carlton <carlton@math.stanford.edu>
23095
23096 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23097 template types into either PASSes or KFAILs (corresponding to PR
23098 c++/57). Tweak indentation. Update copyright.
23099
1146c7f1
SC
231002003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23101
23102 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23103
74641dfb
MC
231042003-02-13 Michael Chastain <mec@shout.net>
23105
23106 * gdb.base/exprs.exp: Remove i960 remnants.
23107 * gdb.base/funcargs.exp: Likewise.
23108 * gdb.base/list.exp: Likewise.
23109 * gdb.base/ptype.exp: Likewise.
23110
559cd2d0
DC
231112003-02-14 David Carlton <carlton@math.stanford.edu>
23112
23113 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23114 pEe->D::vg()" from XFAIL to KFAIL.
23115
c4f90d87
JM
231162003-02-13 Jason Molenda (jmolenda@apple.com)
23117
23118 * gdb.base/maint.exp: Update maint print statistics regexp to include
23119 new entries.
23120
cbc4d97c
MC
231212003-02-13 Michael Chastain <mec@shout.net>
23122
23123 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23124
40f235b7
MC
231252003-02-12 Michael Chastain <mec@shout.net>
23126
23127 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23128 * gdb.c++/inherit.exp: Likewise.
23129 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23130 * gdb.c++/templates.exp: Likewise.
23131 * gdb.c++/virtfunc.exp: Likewise.
23132
c56716b0
JM
231332003-02-06 Jason Molenda (jason-cl@molenda.com)
23134
23135 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23136 why the code is written that way.
23137
070afcf8
MC
231382003-02-05 Michael Chastain <mec@shout.net>
23139
23140 * gdb.base/dump.exp: Add missing copyright line.
23141
5d0331e5
JM
231422003-02-05 Jason Molenda (jason-cl@molenda.com)
23143
f7ae6d3e 23144 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
23145 at the beginning so the breakpoint doesn't get set on the loop.
23146
92851186
MC
231472003-02-05 Michael Chastain <mec@shout.net>
23148
23149 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23150 output for configurations with gcc 2.95.3.
23151
cbf1e085
AC
231522003-02-05 Keith Seitz <keiths@redhat.com>
23153 Andrew Cagney <ac131313@redhat.com>
23154
23155 * gdb.mi/mi-cli.exp: New file.
d63a86f8 23156
29518e1e
MC
231572003-02-04 Michael Chastain <mec@shout.net>
23158
23159 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23160 Call perror and then continue.
23161
5af1d5f3
MC
231622003-02-03 Michael Chastain <mec@shout.net>
23163
23164 * gdb.c++/pr-1023.cc: New file.
23165 * gdb.c++/pr-1023.exp: New file.
23166
6b549786
JB
231672003-02-05 Jim Blandy <jimb@redhat.com>
23168
23169 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23170 it's local to foobar. Check for it there, and check that it's not
23171 present in main.
23172 * gdb.c++/local.cc (marker2): New function.
23173 (foobar): Call marker1.
23174 (main): Call marker2 instead of marker1.
23175
67f16606
AC
231762003-02-04 Andrew Cagney <ac131313@redhat.com>
23177
23178 * gdb.disasm/mn10200.exp: Obsolete file.
23179 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23180 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23181 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23182
1c5cb38e
DC
231832003-02-04 David Carlton <carlton@math.stanford.edu>
23184
23185 * gdb.c++/overload.exp: Test intToChar(1).
23186 * gdb.c++/overload.cc (intToChar): New.
23187 (main): Call intToChar.
23188
d1fe6965
DC
231892003-02-03 David Carlton <carlton@math.stanford.edu>
23190
23191 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23192 'might_kfail' arg.
23193 KFAIL some of the continue_to_bp_overloaded calls, according to
23194 PR c++/1025.
23195
9ba61c5d
MC
231962003-02-01 Michael Chastain <mec@shout.net>
23197
23198 * gdb.base/advance.c (marker1): New marker function.
23199 * gdb.base/advance.exp: When the 'advance' command lands on the
23200 return breakpoint, it can legitimately stop on either the
23201 current line or the next line. Accommodate both outcomes.
23202 * gdb.base/until.exp: Likewise.
23203
e7494ffb
AC
232042003-02-02 Andrew Cagney <ac131313@redhat.com>
23205
23206 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23207 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23208 now a list, not a tuple.
23209 * gdb.mi/mi-var-display.exp: Ditto.
23210 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 23211
075559bc
AC
232122003-02-01 Andrew Cagney <ac131313@redhat.com>
23213
23214 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23215 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23216 stack backtraces.
23217 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 23218
2bd4c7b1
MK
232192003-02-01 Mark Kettenis <kettenis@gnu.org>
23220
23221 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23222 gdb.mi/mi1-pthreads.exp: Return instead of calling
23223 gdb_suppress_entire_file.
23224
eabd8992
MS
232252003-02-01 Mark Salter <msalter@redhat.com>
23226
23227 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23228
71469e2f
MS
232292003-01-31 Mark Salter <msalter@redhat.com>
23230
23231 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23232 Support empty arg.
23233
38a94d44
MC
232342003-01-30 Michael Chastain <mec@shout.net>
23235
23236 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23237 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23238 has been fixed in gdb/readline on 2003-01-09.
23239
19ea9e73
MS
232402003-01-29 Michael Snyder <msnyder@redhat.com>
23241
e8d359df
MS
23242 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23243 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
23244 * gdb.base/args.exp: Skip if target does not support args passing.
23245
2307bd6a
DJ
232462003-01-22 Daniel Jacobowitz <drow@mvista.com>
23247
19ea9e73 23248 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
23249 gdb_test. Accept a list of expect arguments as the third
23250 parameter.
23251 (gdb_test): Use it.
23252
f2dd3617
EZ
232532003-01-20 Elena Zannoni <ezannoni@redhat.com>
23254
23255 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23256 allow for different test tree configurations. Update some
23257 tescases accordingly.
23258 * gdb.arch/altivec-regs.exp: Ditto.
23259 * gdb.asm/asm-source.exp: Ditto.
23260 * gdb.base/advance.exp: Ditto.
23261 * gdb.base/display.exp: Ditto.
d63a86f8 23262 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
23263 * gdb.base/mips_pro.exp: Ditto.
23264 * gdb.base/overlays.exp: Ditto.
23265 * gdb.base/relocate.exp: Ditto.
23266 * gdb.base/setshow.exp: Ditto.
23267 * gdb.base/step-line.exp: Ditto.
23268 * gdb.base/step-test.exp: Ditto.
23269 * gdb.base/until.exp: Ditto.
23270 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23271
c71cdefd
DC
232722003-01-17 David Carlton <carlton@math.stanford.edu>
23273
23274 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23275 corresponding to PR c++/945.
23276 Update copyright.
23277
fdba05d7
DC
232782003-01-17 David Carlton <carlton@math.stanford.edu>
23279
23280 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23281 corresponding to PR c++/68.
23282
232832003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
23284
23285 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23286 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23287 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23288
c362c33a
EZ
232892003-01-15 Elena Zannoni <ezannoni@redhat.com>
23290
0fbc361c
EZ
23291 * gdb.base/break.exp: Fix change of default location, because of
23292 removal of until tests.
23293 * gdb.base/help.exp: Update test for new 'until' help message.
23294 Add test for help on 'advance'.
a9c64011 23295 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 23296
dabf8a35
MK
232972003-01-15 Mark Kettenis <kettenis@gnu.org>
23298
23299 * gdb.base/default.exp: Adapt "info float" test for recent changes
23300 to that command. Add test for "info vector".
23301 * gdb.base/float.exp: New file. Add test for "info float" that
23302 resembles the old test in gdb.base/default.exp.
23303
a1769aca
DC
233042003-01-15 David Carlton <carlton@math.stanford.edu>
23305
23306 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23307
82025e13
EZ
233082003-01-15 Elena Zannoni <ezannoni@redhat.com>
23309
23310 * gdb.base/break.exp: Move the tests of until command from here...
23311 * gdb.base/until.exp: ... to here. New file. Add other tests.
23312 * gdb.base/advance.c: New file.
23313 * gdb.base/advance.exp: New file.
23314
8f9ab801
EZ
233152003-01-14 Elena Zannoni <ezannoni@redhat.com>
23316
a9c64011
AS
23317 * gdb.base/args.c: New file.
23318 * gdb.base/args.exp: New file.
8f9ab801 23319
9ae66589
DJ
233202003-01-14 Daniel Jacobowitz <drow@mvista.com>
23321
23322 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23323
8d77e5c3
DJ
233242003-01-14 Daniel Jacobowitz <drow@mvista.com>
23325
23326 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23327
12d2f0a1
DJ
233282003-01-14 Daniel Jacobowitz <drow@mvista.com>
23329
23330 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23331 dates.
23332
6ca37014
DJ
233332003-01-13 Daniel Jacobowitz <drow@mvista.com>
23334
23335 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23336
b0023472
DJ
233372003-01-13 Daniel Jacobowitz <drow@mvista.com>
23338
23339 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23340 (ptype &*"foo").
23341 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23342
607fbc54 233432003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
23344
23345 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23346 * gdb.mi/mi1-console.exp: Likewise.
23347
607fbc54 233482003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
23349
23350 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23351 * gdb.mi/mi1-console.exp: Likewise.
23352
a1fb14a2
DJ
233532003-01-13 Daniel Jacobowitz <drow@mvista.com>
23354
23355 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23356
c4cf40b7
DJ
233572003-01-09 Daniel Jacobowitz <drow@mvista.com>
23358
23359 * gdb.base/detach.exp: New test.
23360
696d5a5b
DJ
233612003-01-09 Daniel Jacobowitz <drow@mvista.com>
23362
23363 * Makefile.in (ALL_SUBDIRS): New variable.
23364 (subdirs, clean, distclean): Use it.
23365 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23366 regenerating Makefile, since it is generated from the top level.
23367 * gdb.asm/Makefile.in: Likewise.
23368 * gdb.base/Makefile.in: Likewise.
23369 * gdb.c++/Makefile.in: Likewise.
23370 * gdb.disasm/Makefile.in: Likewise.
23371 * gdb.java/Makefile.in: Likewise.
23372 * gdb.mi/Makefile.in: Likewise.
23373 * gdb.threads/Makefile.in: Likewise.
23374 * gdb.trace/Makefile.in: Likewise.
23375
754533e4
DC
233762003-01-09 David Carlton <carlton@math.stanford.edu>
23377
23378 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23379 Add copyright year 2003.
23380
d8b3e9ee
MC
233812003-01-06 Michael Chastain <mec@shout.net>
23382
23383 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23384 When selecting a thread, 'line' and 'file' are optional.
23385 * gdb.mi/mi1-pthreads.exp: Likewise.
23386
8e9e0fe6
AS
233872003-01-06 Andreas Schwab <schwab@suse.de>
23388
23389 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23390 failures.
23391
b5ab8ff3
DJ
233922003-01-04 Daniel Jacobowitz <drow@mvista.com>
23393
23394 Fix PR gdb/844
23395 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23396 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23397
23398 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23399 instead of calling gdb_suppress_entire_file.
23400 * gdb.threads/print-threads.exp: Likewise.
23401 * gdb.threads/schedlock.exp: Likewise.
23402
23403 * gdb.threads/killed.exp: Return instead of calling
23404 gdb_suppress_entire_file.
23405 * gdb.threads/linux-dp.exp: Likewise.
23406 * gdb.threads/pthreads.exp: Likewise.
23407
1e698235
DJ
234082003-01-04 Daniel Jacobowitz <drow@mvista.com>
23409
23410 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23411 stabs.
23412 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23413 * gdb.base/whatis.exp: Always allow (void) after function names.
23414
147ff08c
DJ
234152003-01-04 Daniel Jacobowitz <drow@mvista.com>
23416
23417 * gdb.c++/casts.exp: Correct regexp.
23418
dc62bfc2
MK
234192003-01-04 Mark Kettenis <kettenis@gnu.org>
23420
23421 * configure.in: Call AC_CONFIG_HEADER. Don't call
23422 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23423 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23424 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23425 aforementioned directories in the AC_OUPUT call.
23426 * config.hin: New file.
23427 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23428 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23429 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23430 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23431 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23432 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23433 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23434 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23435 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23436 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23437 gdb.threads/configure.in, gdb.threads/configure,
23438 gdb.threads/config.in, gdb.trace/configure.in,
23439 gdb.trace/configure: Removed.
23440
77afa639
MC
234412003-01-03 Michael Chastain <mec@shout.net>
23442
23443 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23444 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23445
7634bb6e
DJ
234462003-01-03 Daniel Jacobowitz <drow@mvista.com>
23447
23448 * gdb.base/store.exp: Fix regular expressions.
23449
b39c905e
MK
234502002-12-28 Mark Kettenis <kettenis@gnu.org>
23451
23452 * configure.in: Rewrite.
23453 * configure: Regenerated.
23454
0a8551dd
DC
234552003-01-03 David Carlton <carlton@math.stanford.edu>
23456
23457 * gdb.base/psymtab.exp: New file.
23458 * gdb.base/psymtab1.c: Ditto.
23459 * gdb.base/psymtab2.c: Ditto.
23460
c60b7188
AF
234612002-12-23 Adam Fedor <fedor@gnu.org>
23462
23463 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23464
ee73db83
DC
234652002-12-23 David Carlton <carlton@math.stanford.edu>
23466
23467 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23468 and current_directory initialization.
23469
d6c1774e
JB
234702002-12-22 Jim Blandy <jimb@redhat.com>
23471
f0a847b8
JB
23472 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23473 rather than as part of the output file name.
23474
d6c1774e
JB
23475 * gdb.base/attach.exp: There's no need to copy the test program to
23476 /tmp; that was only ever necessary on HP/UX, and this test is
23477 entirely disabled there anyway.
23478
f0708dbb
JB
234792002-12-21 Jim Blandy <jimb@redhat.com>
23480
4c2acfea
JB
23481 * gdb.c++/psmang.exp: Doc fix.
23482
f0708dbb
JB
23483 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23484 test.
23485
9579e000
DC
234862002-12-20 David Carlton <carlton@math.stanford.edu>
23487
23488 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23489
d1810171
MC
234902002-12-18 Michael Chastain <mec@shout.net>
23491
23492 * gdb.c++/annota2.exp: Add copyright year 2002.
23493
76565097
DC
234942002-12-17 David Carlton <carlton@math.stanford.edu>
23495
23496 * gdb.c++/try_catch.cc: Add marker comments.
23497 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23498 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23499 * gdb.c++/m-static.cc: Ditto.
23500 * gdb.c++/m-static1.cc: Ditto.
23501 * gdb.c++/try_catch.cc: Ditto.
23502
da81390b
JJ
235032002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23504
23505 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23506 to see whether we are using the new -environment-directory
23507 command which resets via -r or the old version of the command
23508 which may prompt the user. Part of fix for gdb/741.
23509
b304d130
AC
235102002-12-13 Andrew Cagney <ac131313@redhat.com>
23511
23512 * gdb.fortran/types.exp: Update obsolete comment.
23513 * gdb.fortran/exprs.exp: Ditto.
23514 * lib/gdb.exp: Delete obsolete code.
23515 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23516 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23517 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23518 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23519 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23520 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23521 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23522 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23523 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23524 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23525 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23526 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23527 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23528 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23529 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23530 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23531 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23532 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23533 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23534 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23535 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23536 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23537 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23538 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23539 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23540 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23541 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23542 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23543 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23544 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23545 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23546 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23547 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23548 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23549 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23550 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23551 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23552
a23b6e6a
DC
235532002-12-11 David Carlton <carlton@math.stanford.edu>
23554
23555 * gdb.c++/m-data.exp: Add test for members that shadow global
23556 variables: see PR gdb/804.
23557 * gdb.c++/m-data.cc: Ditto.
23558
6604731b
DJ
235592002-12-10 Daniel Jacobowitz <drow@mvista.com>
23560
23561 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23562
de46ecd7
DC
235632002-12-06 David Carlton <carlton@math.stanford.edu>
23564
23565 * gdb.base/store.c: Don't declare functions static.
23566
27e829d0
AC
235672002-12-04 Andrew Cagney <ac131313@redhat.com>
23568
23569 * gdb.base/store.exp, gdb.base/store.c: New files.
23570
92806416
DJ
235712002-12-03 Daniel Jacobowitz <drow@mvista.com>
23572
23573 * gdb.base/selftest.exp: Update for current gdb.
23574
3bcbaac5
DJ
235752002-12-03 Daniel Jacobowitz <drow@mvista.com>
23576
23577 * gdb.base/maint.exp: Only dump symbols from one source file
23578 or objfile.
23579
f4f00b1f
DJ
235802002-12-03 Daniel Jacobowitz <drow@mvista.com>
23581
23582 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23583 function call.
23584
f1c8a949
JB
235852002-11-25 Jim Blandy <jimb@redhat.com>
23586
23587 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23588 function appearing in error message.
23589
9e297a97
DJ
235902002-11-21 Daniel Jacobowitz <drow@mvista.com>
23591
23592 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23593
1f312e79
JJ
235942002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23595
d63a86f8
RM
23596 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23597 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
23598 should be in mi console format. This is part of fix for PR gdb/604.
23599
83c31e7d
FN
236002002-09-18 Fernando Nasser <fnasser@redhat.com>
23601
23602 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23603 which explicitly prints the zero offset as "+0".
23604
322b3f65
DJ
236052002-10-22 Daniel Jacobowitz <drow@mvista.com>
23606
23607 * gdb.threads/schedlock.c (args): Make unsigned.
23608
236092002-10-21 Daniel Jacobowitz <drow@mvista.com>
23610
23611 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23612 numbers. Allow "foo2|selected stack frame".
23613 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23614 * gdb.asm/asmsrc2.s: Likewise.
23615 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23616 comments.
23617 * gdb.asm/mips.inc: New file.
23618
5e2fe5b8
AF
236192002-10-18 Adam Fedor <fedor@gnu.org>
23620
23621 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23622 * gdb.base/help.exp: Likewise.
23623
abe1a5d0
KB
236242002-10-17 Kevin Buettner <kevinb@redhat.com>
23625
23626 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23627 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23628
10abb1d4
JB
236292002-10-02 Jim Blandy <jimb@redhat.com>
23630
23631 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23632
1f609b42
AC
236332002-10-01 Andrew Cagney <ac131313@redhat.com>
23634
23635 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23636 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23637 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23638 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23639 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23640 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23641 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23642
0aee02e4
AC
236432002-09-29 Andrew Cagney <ac131313@redhat.com>
23644
23645 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23646 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23647 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23648 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23649 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23650 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23651 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 23652
6fde09ad
KB
236532002-09-27 Kevin Buettner <kevinb@redhat.com>
23654
23655 * gdb.base/annota1.exp (info break): Make directory components of
23656 path optional since not all compilers emit this debug information.
23657
889bf7c5
PA
23658 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23659 step ends up stepping out of the function instead of stopping on
23660 the epilogue.
6fde09ad 23661
9e8aab75
KS
236622002-09-26 Keith Seitz <keiths@redhat.com>
23663
23664 * lib/insight-support.exp (gdbtk_start): Figure out where
23665 the insight executable is based on where gdb is. Use this
23666 executable to start insight instead of gdb.
23667
e36180d7
AC
236682002-09-25 Andrew Cagney <cagney@redhat.com>
23669
23670 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23671
9dd34b2b
AC
236722002-09-24 Andrew Cagney <ac131313@redhat.com>
23673
23674 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23675 test_isolated_complaints.
23676 (test_empty_complaint): New function.
23677 (test_empty_complaints): New function. Check no output when no
23678 complaints.
d63a86f8 23679
dea97812
KB
236802002-09-19 Jim Blandy <jimb@redhat.com>
23681
a9c64011 23682 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 23683
54951bd7
AC
236842002-09-19 Andrew Cagney <ac131313@redhat.com>
23685
23686 * gdb.gdb/complaints.exp: New file.
23687
dec43320
AC
236882002-09-18 Andrew Cagney <ac131313@redhat.com>
23689
23690 * gdb.base/maint.exp: Check `help maint internal-warning'.
23691
e70d6e3f
DC
236922002-09-18 David Carlton <carlton@math.stanford.edu>
23693
23694 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23695 numbers, and replace them by a single breakpoint after the
23696 constructors are all finished.
23697 Add test 4.
23698 * gdb.c++/m-static.cc: Add test 4.
23699 * gdb.c++/m-static.h: New file.
23700 * gdb.c++/m-static1.cc: New file.
23701
23702 * gdb.c++/printmethod.exp: New file.
23703 * gdb.c++/printmethod.cc: New file.
23704
23705 * gdb.c++/pr-574.exp: New file.
23706 * gdb.c++/pr-574.cc: New file.
23707
afb5c968
CV
237082002-09-18 Corinna Vinschen <vinschen@redhat.com>
23709
23710 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23711 embedded targets which never actually exit.
23712
31e45dee
FN
237132002-09-18 Fernando Nasser <fnasser@redhat.com>
23714
23715 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23716 "don't step after run" as unresolved or unsupported, instead of xfail.
23717
a283c5a1
CV
237182002-09-18 Corinna Vinschen <vinschen@redhat.com>
23719
23720 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23721 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23722 Add newline to expected string in "step out of main (status wrapper)"
23723 case.
23724
11350d2a
CV
237252002-09-18 Corinna Vinschen <vinschen@redhat.com>
23726
23727 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23728 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23729
0deec7d6
TT
237302002-09-17 Tom Tromey <tromey@redhat.com>
23731
23732 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23733 \000, not \0, in double-quoted string.
23734
b2b4a1b5
CV
237352002-09-14 Corinna Vinschen <vinschen@redhat.com>
23736
c9d37158 23737 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
23738 string after running the commands execution on breakpoint tests.
23739
1c56143a
CV
237402002-09-13 Corinna Vinschen <vinschen@redhat.com>
23741
23742 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23743
37f8da45
JB
237442002-09-12 Joel Brobecker <brobecker@gnat.com>
23745
23746 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23747
08b468e0
KS
237482002-09-10 Keith Seitz <keiths@redhat.com>
23749
23750 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23751 runto proc.
23752 (mi_run_to_main): Use mi_runto.
23753 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23754
dc360f58
KS
237552002-09-10 Keith Seitz <keiths@redhat.com>
23756
23757 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23758 regexp for stopping at main. Could have multiple event notifications.
23759 Don't assume that main was declared with no parameters.
23760 (mi_next): Use mi_step_to.
23761 (mi_step): Use mi_next_to.
23762
ce3abcfb
CV
237632002-09-09 Corinna Vinschen <vinschen@redhat.com>
23764
23765 * gdb.base/default.exp: Fix expected string in `info float' test.
23766
d1f5b980
BE
237672002-09-09 Ben Elliston <bje@redhat.com>
23768
23769 * config/mips.exp: Update comments.
23770 * config/mips-idt.exp: Likewise.
23771 * config/nind.exp: Likewise.
23772 * config/slite.exp: Likewise.
23773 * config/sparclet.exp: Likewise.
23774 * config/udi.exp: Likewise.
23775 * config/vx.exp: Likewise.
23776 * config/vxworks29k.exp: Likewise.
23777
2f71430b
JB
237782002-09-05 Jim Blandy <jimb@redhat.com>
23779
23780 * gdb.threads/killed.exp: Fix test failure message.
23781
7ddebc7e
KS
237822002-09-04 Keith Seitz <keiths@redhat.com>
23783
23784 * lib/mi-support.exp: Update copyright.
23785 (mi_gdb_test): Increase the priority of the expected pattern
23786 so that it matches gdb_test.
23787
0ae67eb3
KS
237882002-09-03 Keith Seitz <keiths@redhat.com>
23789
23790 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23791 Use integer comparison instead of string comparison for testing
23792 whether binary was built.
23793
38fc42c8
JB
237942002-09-03 Jim Blandy <jimb@redhat.com>
23795
23796 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23797
b6ff0e81
JB
237982002-08-29 Jim Blandy <jimb@redhat.com>
23799
23800 * gdb.threads/pthreads.exp: Move the portable thread compilation
23801 code into a function in lib/gdb.exp, and call that from here.
23802 * lib/gdb.exp (gdb_compile_pthreads): New function.
23803
07c98896
KS
238042002-08-29 Keith Seitz <keiths@redhat.com>
23805
23806 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23807 expect_out so that callers can get at it.
23808
0312286c
DJ
238092002-08-23 Daniel Jacobowitz <drow@mvista.com>
23810
23811 * gdb.threads/print-threads.c: New file.
23812 * gdb.threads/print-threads.exp: New file.
23813 * gdb.threads/schedlock.c: New file.
23814 * gdb.threads/schedlock.exp: New file.
23815
dd039bc4
EZ
238162002-08-22 Elena Zannoni <ezannoni@redhat.com>
23817
a9c64011
AS
23818 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23819 not altivec.c.
dd039bc4 23820
1f36144c
MK
238212002-08-17 Mark Kettenis <kettenis@gnu.org>
23822
23823 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23824 targets. The problem should be fixed now.
23825
16057ec7 238262002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23827
23828 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23829 2002-07-24 change that removes final dots from error messages.
23830
3c1499ad
TT
238312002-08-13 Tom Tromey <tromey@redhat.com>
23832
23833 * gdb.base/readline.exp: New file.
23834
a20ce2c3
AC
238352002-08-01 Andrew Cagney <ac131313@redhat.com>
23836
23837 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23838 supress message.
23839
db034ac5
AC
238402002-08-01 Andrew Cagney <cagney@redhat.com>
23841
23842 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23843 CHILL_FOR_TARGET and CHILL_LIB.
23844 * configure.in (configdirs): Remove gdb.chill.
23845 * configure: Regenerate.
23846 * lib/gdb.exp: Obsolete references to chill.
23847 * gdb.fortran/types.exp: Ditto.
23848 * gdb.fortran/exprs.exp: Ditto.
23849
3e000b18
KB
238502002-07-30 Kevin Buettner <kevinb@redhat.com>
23851
23852 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23853 set Irix-specific compile and link flags.
23854
28f4966b
KB
238552002-07-29 Kevin Buettner <kevinb@redhat.com>
23856
23857 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23858 source files. The ``-o'' option doesn't work with the ``-E'' option
23859 when using the Irix compiler.
23860
46c0d5a6
DJ
238612002-07-19 Daniel Jacobowitz <drow@mvista.com>
23862
23863 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23864 Improve support for reusing an exec file. Copy exec file
23865 to target, and run gdbserver on the target instead of on the host.
23866
eecf4bed
JB
238672002-07-18 Jim Blandy <jimb@redhat.com>
23868
0f815cdf
JB
23869 * gdb.base/ending-run.exp: Don't expect to see the program end in
23870 some orderly fashion when we're running on a real stand-alone
23871 board.
23872
eecf4bed
JB
23873 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23874 targets that don't support interrupts.
23875
52d309e4
JB
238762002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23877
23878 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23879 systems.
23880 Move comments in expect statements to inside the actions, so that they
23881 don't get matched against.
23882
ff683d9e
MK
238832002-07-10 Mark Kettenis <kettenis@gnu.org>
23884
23885 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23886 function when asleep" test.
23887
b5356753
AC
238882002-07-10 Andrew Cagney <ac131313@redhat.com>
23889
23890 * gdb.base/page.exp: Rewrite to handle problems with very long
23891 `info set' output. Update copyright.
23892
6aa4d13a
AC
238932002-06-26 Andrew Cagney <ac131313@redhat.com>
23894
23895 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23896 gdb.threads-hp.
23897 * gdb.hp/configure: Regenerate.
23898 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23899 * gdb.hp/gdb.threads-hp/configure: Delete file.
23900 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23901
8cf8c2b8
AC
239022002-06-22 Andrew Cagney <ac131313@redhat.com>
23903
23904 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23905 setlocale, bindtextdomain and textdomain.
23906
6827a8f8
JB
239072002-06-11 Jim Blandy <jimb@redhat.com>
23908
919d772c
JB
23909 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23910 preprocessor macro information is present.
23911
6827a8f8
JB
23912 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23913 tests.
23914
c15b0d21
MS
239152002-06-06 Michael Snyder <msnyder@redhat.com>
23916
c5984d70
MS
23917 * gdb.base/overlays.exp: Record addresses of overlay
23918 functions in TCL variables rather than in GDB variables,
23919 to avoid having GDB convert them to pointers (with loss
23920 of information).
23921
d63a86f8 23922 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23923 default linker script changes.
c15b0d21
MS
23924 * gdb.base/long_long.exp: Add check for sizeof (long double).
23925
be26fe0d
ML
239262002-06-06 Michal Ludvig <mludvig@suse.cz>
23927
23928 * gdb.asm/asm-source.exp: Add x86-64 target.
23929 * gdb.asm/x86_64.inc: New.
d63a86f8 23930
258093ca 239312002-05-30 Michael Chastain <mec@shout.net>
258093ca 23932
4b3153f1 23933 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23934 * gdb.c++/m-static.cc: New file.
23935 * gdb.c++/m-static.exp: New file.
23936
241264c6
MS
239372002-05-28 Michael Snyder <msnyder@redhat.com>
23938
23939 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23940 precision.
23941
9bba8c8f 239422002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23943
4b3153f1 23944 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23945 * gdb.c++/m-data.cc: New file.
23946 * gdb.c++/m-data.exp: New file.
23947
239482002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23949
4b3153f1 23950 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23951 * gdb.c++/try_catch.cc: New file.
d63a86f8 23952 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23953
def1b996
MC
239542002-05-27 Michael Chastain <mec@shout.net>
23955
23956 * gdb.c++/local.exp: Accept more nested types in output.
23957
522ba268
MC
239582002-05-26 Michael Chastain <mec@shout.net>
23959
23960 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23961
277254ba
MS
239622002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23963
23964 * lib/gdb.exp (gdb_wrapper_init): Just because
23965 gdb_wrapper_file exists, this does not mean that the file
23966 should not be rebuilt. That is what gdb_wrapper_initialized
23967 is for.
23968 (default_gdb_init): Reset gdb_wrapper_initialized.
23969
b61a8733
MS
239702002-05-23 Michael Snyder <msnyder@redhat.com>
23971
d63a86f8 23972 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23973 the precision of the floating point test results.
23974 * gdb.base/call-rt-st.exp: Ditto.
23975
b61a8733
MS
23976 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23977 * gdb.base/call-rt-st.exp: Ditto.
23978
56f6e910
MC
239792002-05-19 Michael Chastain <mec@shout.net>
23980
23981 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23982
ad0b0016
EZ
239832002-05-19 Elena Zannoni <ezannoni@redhat.com>
23984
a9c64011
AS
23985 * configure.in (configdirs): Add gdb.arch.
23986 * configure: Regenerate.
ad0b0016 23987
f617d2b6
JB
239882002-05-17 Jim Blandy <jimb@redhat.com>
23989
23990 * gdb.base/completion.exp: Recognize the more detailed error
23991 messages produced by the macro expander's lexical analyzer.
23992
eac2a696
EZ
239932002-05-14 Elena Zannoni <ezannoni@redhat.com>
23994
a9c64011
AS
23995 * gdb.arch/altivec-abi.c: New file.
23996 * gdb.arch/altivec-abi.exp: New file.
23997 * gdb.arch/altivec-regs.c: New file.
23998 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23999
2fdde8f8
DJ
240002002-05-14 Daniel Jacobowitz <drow@mvista.com>
24001
24002 * gdb.base/maint.exp (maint print type): Update for new type
24003 structure.
d63a86f8 24004
e31f1a7c
EZ
240052002-05-14 Elena Zannoni <ezannoni@redhat.com>
24006
24007 * gdb.arch: New directory.
24008 * gdb.arch/configure.in: New file.
24009 * gdb.arch/configure: New file.
24010 * gdb.arch/Makefile.in: New file.
24011
db589741
CV
240122002-05-13 Corinna Vinschen <vinschen@redhat.com>
24013
24014 * gdb.asm/asm-source.exp: Add v850 as supported target.
24015 * gdb.asm/v850.inc: New file.
24016
8ce2a7dc
DJ
240172002-05-13 Daniel Jacobowitz <drow@mvista.com>
24018
24019 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24020
df763c7f
DJ
240212002-05-12 Daniel Jacobowitz <drow@mvista.com>
24022
24023 * gdb.base/break.exp: Check 'break "marker2"'.
24024
377daeed
MS
240252002-05-10 Michael Snyder <msnyder@redhat.com>
24026
24027 * gdb.base/long_long.exp: Fix typo.
24028
c4b7bc2b
JB
240292002-05-10 Jim Blandy <jimb@redhat.com>
24030
ecac9a4e
JB
24031 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24032 a bug.
24033
c4b7bc2b
JB
24034 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24035 Recognize more detailed error message produced by the macro
24036 expander's lexical analyzer.
24037 * lib/gdb.exp (test_print_reject): Same.
24038
e71019a1
MK
240392002-05-09 Mark Kettenis <kettenis@gnu.org>
24040
24041 * gdb.c++/method.exp: Fix typo.
24042
fedfc8e6
MS
240432002-05-08 Michael Snyder <msnyder@redhat.com>
24044
166a1957
MS
24045 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24046 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 24047 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
24048 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24049 Add iftarget clause for strongarm.
d63a86f8 24050
f1c47eb2
MS
240512002-05-06 Michael Snyder <msnyder@redhat.com>
24052
cb9a9d3e
MS
24053 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24054 (gdb_continue_to_end): Accept output from status wrapper.
24055 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24056 Clean up fail messages to match pass messages.
24057
f1c47eb2
MS
24058 Enable the "needs_status_wrapper" testsuite feature.
24059 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24060 (gdb_compile): Conditionally call gdb_wrapper_init.
24061 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24062 * gdb.c++/method.exp: Recognize output from status wrapper.
24063
6079c749
BE
240642002-05-06 Ben Elliston <bje@redhat.com>
24065From Graydon Hoare <graydon@redhat.com>
24066
24067 * config/sid.exp: Include support for "rawsid" protocol.
24068
188baff3
JB
240692002-05-03 Jim Blandy <jimb@redhat.com>
24070
24071 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24072 * gdb.c++/hang3.C: New file.
24073
b9c07f0f
AC
240742002-05-04 Andrew Cagney <ac131313@redhat.com>
24075
24076 * gdb.base/default.exp: Remove obsolete code.
24077 * gdb.c++/misc.exp: Ditto. Update copyright.
24078 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24079 * gdb.base/whatis.exp: Ditto. Update copyright.
24080 * gdb.base/scope.exp: Ditto. Update copyright.
24081 * gdb.base/ptype.exp: Ditto. Update copyright.
24082 * gdb.base/printcmds.exp: Ditto. Update copyright.
24083 * gdb.base/opaque.exp: Ditto. Update copyright.
24084 * gdb.base/list.exp: Ditto.
24085 * gdb.base/funcargs.exp: Ditto. Update copyright.
24086 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24087 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24088 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24089 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24090 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24091 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24092
5c7a0397
MS
240932002-05-02 Michael Snyder <msnyder@redhat.com>
24094
d6dcc264 24095 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
24096 * gdb.base/long_long.exp: Add xscale target.
24097 * gdb.base/default.exp: Add xscale target.
24098
eb7f1c48
JB
240992002-05-01 Jim Blandy <jimb@redhat.com>
24100
24101 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24102 gdb.c++/hang.exp: New test.
24103
a6befae8
FF
241042002-05-01 Fred Fish <fnf@redhat.com>
24105
24106 * gdb.base/completion.exp: Handle completions of "./Make" for
24107 more than one completion possibility, as is the case when we
24108 build and test in the source tree.
24109
0a310277
AG
241102002-04-29 Anthony Green <green@redhat.com>
24111
24112 * gdb.java/jmisc1.exp: New file.
24113 * gdb.java/jmisc2.exp: New file.
24114
6ff9af88
DJ
241152002-04-24 Daniel Jacobowitz <drow@mvista.com>
24116
24117 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24118
96b3d632
EZ
241192002-04-23 Elena Zannoni <ezannoni@redhat.com>
24120
24121 * gdb.base/help.exp: Change 'help status' to allow for target
24122 dependent output differences.
24123
5019bb54
MC
241242002-04-22 Michael Chastain <mec@shout.net>
24125
24126 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24127
a805a116
MC
241282002-04-22 Michael Chastain <mec@shout.net>
24129
24130 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24131
a1706bfd
DM
241322002-04-17 David S. Miller <davem@redhat.com>
24133
24134 * gdb.asm/sparc64.inc: New file.
24135 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24136
a73a20a2
EZ
241372002-04-19 Elena Zannoni <ezannoni@redhat.com>
24138
24139 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24140 instruction file directly into the build tree. Clean up at end of
24141 test.
24142
ba678339
DM
241432002-04-18 David S. Miller <davem@redhat.com>
24144
24145 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24146 handle 64-bit platforms correctly.
24147 * gdb.base/maint.exp: Likewise.
24148
b03399da
KB
241492002-04-18 Kevin Buettner <kevinb@redhat.com>
24150
24151 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24152 ``-fpic'' when compiling files comprising a shared library, but
24153 it does need additional linker flags in order to find shared
24154 libraries at run time.
24155
e2004992
KB
241562002-04-18 Kevin Buettner <kevinb@redhat.com>
24157
24158 * gdb.base/cvexpr.c (use): New function.
24159 (main): Invoke use() on all global variables to prevent
24160 some linkers from deleting these otherwise unused symbols.
24161
d8937120
MC
241622002-04-17 Michael Chastain <mec@shout.net>
24163From David S. Miller <davem@redhat.com>
24164
24165 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24166 handle 64-bit platforms correctly.
24167
ffd61a58
MS
241682002-04-12 Michael Snyder <msnyder@redhat.com>
24169From Jim Blandy <jimb@redhat.com>
a9c64011 24170 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
24171 script can handle this instead.
24172 * gdb.base/bar.c (barx): Same.
24173 * gdb.base/baz.c (bazx): Same.
24174 * gdb.base/grbx.c (grbxx): Same.
24175
24176 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24177 manager doesn't automatically unmap overlays unnecessarily.
24178
6b8426a6
MH
241792002-04-10 Martin M. Hunt <hunt@redhat.com>
24180
24181 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24182 stepping out of main.
24183
34af4875
MC
241842002-04-09 Michael Chastain <mec@shout.net>
24185
24186 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24187 scope so that the nested scope tests will make sense.
24188 * gdb.c++/local.exp: Write patterns that actually work with gcc
24189 (the HP patterns "were never known to work with gcc").
24190 Keep the old aCC patterns too.
24191
2d1676a0
DJ
241922002-04-09 Daniel Jacobowitz <drow@mvista.com>
24193
24194 * gdb.base/attach.exp: Correct target board test.
24195
3a63e3f9
MC
241962002-04-08 Michael Chastain <mec@shout.net>
24197
24198 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24199 in a const method. Add some xfail and fail cases for configurations
24200 that do not emit the "const ...".
24201
f18dabd2
MC
242022002-04-07 Michael Chastain <mec@shout.net>
24203
24204 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24205 Accept "A * const" and "const A * const" as type of "this".
24206 Fix spelling of getFunky throughout. Make messages uniform.
24207
0fcddd82
EZ
242082002-04-07 Elena Zannoni <ezannoni@redhat.com>
24209
a9c64011 24210 Work around for PR gdb/285:
0fcddd82
EZ
24211 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24212
16a8534a
EZ
242132002-04-07 Elena Zannoni <ezannoni@redhat.com>
24214
24215 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24216 instructions file at run time instead of configure time.
24217 Sometimes we run the test in a directory that is not the one we
24218 configured in.
24219 * gdb.asm/configure.in: Delete creation of symlink.
24220 * gdb.asm/configure: Regenerate.
24221
24181d81
JB
242222002-04-05 J. Brobecker <brobecker@gnat.com>
24223
24224 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24225 xfullpath () function.
24226
7cdb7107
DJ
242272002-04-04 Daniel Jacobowitz <drow@mvista.com>
24228
24229 * gdb.asm/Makefile.in: Correct dependencies.
24230
24231 * gdb.asm/powerpc.inc: New file.
24232 * gdb.asm/asm-source.exp: Add PowerPC.
24233 * gdb.asm/configure.in: Likewise.
24234 * gdb.asm/configure: Regenerated.
24235
a7d17088
DJ
242362002-04-04 Daniel Jacobowitz <drow@mvista.com>
24237
24238 * gdb.base/relocate.exp: New file.
24239 * gdb.base/relocate.c: New file.
24240
cd721503
FF
242412002-04-04 Fred Fish <fnf@redhat.com>
24242
24243 * gdb.base/step-test.exp: Update comment regarding stopping in
24244 memcpy/bcopy calls inserted as part of the compiler runtime.
24245
b22ad7a7
MS
242462002-04-04 Michael Snyder <msnyder@redhat.com>
24247
24248 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24249
5f279fa6
DJ
242502002-04-03 Daniel Jacobowitz <drow@mvista.com>
24251
24252 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24253 (gdb_expect): Remove $notransfer hack.
24254
dd0fd3ce
DJ
242552002-04-02 Daniel Jacobowitz <drow@mvista.com>
24256
24257 * gdb.c++/classes.exp ("calling method for small class"): Match
24258 updated register output.
24259
1e50cda1
DJ
242602002-03-30 Daniel Jacobowitz <drow@mvista.com>
24261
24262 Fix PR gdb/452
24263 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24264 when finished. Make gdb_file_cmd send "exec-file" when
24265 appropriate.
24266
24015922
DJ
242672002-03-30 Daniel Jacobowitz <drow@mvista.com>
24268
24269 * gdb.base/attach.exp: Remove extra setup_xfail.
24270
dd7dfd64
MS
242712002-03-26 Michael Snyder <msnyder@redhat.com>
24272
24273 * gdb.base/default.exp: Add tests for dump, append, and restore.
24274 * gdb.base/help.exp: Add tests for dump, append, and restore.
24275 * gdb.base/dump.exp: New file, test dump, append and restore.
24276 * gdb.base/dump.c: New file.
24277
48b2f8d7
MS
242782002-03-27 Michael Snyder <msnyder@redhat.com>
24279
d63a86f8 24280 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
24281 clean-ups in help messages.
24282
05b4d525
FF
242832002-03-26 Fred Fish <fnf@redhat.com>
24284
24285 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24286 have debugging info for those functions and the compiler uses them
24287 internally to copy structs around.
24288
d7679631
FF
242892002-03-26 Fred Fish <fnf@redhat.com>
24290
24291 * gdb.base/list.exp: Revert the change made yesterday and add note
24292 about why we don't list the default lines for remote targets.
24293
523ac3f9
MS
242942002-03-25 Michael Snyder <msnyder@redhat.com>
24295
24296 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24297
754b2b8d
FF
242982002-03-25 Fred Fish <fnf@redhat.com>
24299
24300 * gdb.base/list.exp: This test works on remote targets so remove
24301 the short circuit for remote targets. Update copyright.
24302
33c3e192
FF
243032002-03-25 Fred Fish <fnf@redhat.com>
24304
24305 * gdb.base/attach.exp: Fix logic error that was suppressing this
24306 test for all non hppa*-*-hpux* targets, instead of the hp target.
24307 Move comments closer to the suppression point. Also now need to
24308 check that we are running natively.
24309
d43e73ee
MS
243102002-03-22 Michael Snyder <msnyder@redhat.com>
24311
882c8f02
MS
24312 * gdb.base/default.exp: Add test for gcore. Update copyright.
24313 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 24314
04c12f60
FF
243152002-03-06 Fred Fish <fnf@redhat.com>
24316
24317 * gdb.base/funcargs.c: Remove extraneous ';' character.
24318 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24319
b43df995
MC
243202002-03-04 Michael Chastain <mec@shout.net>
24321
24322 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24323 accommodate gcc v3 function signature.
24324 * gdb.mi/mi0-var-cmd-exp: Ditto.
24325
92362027
AC
243262002-02-24 Andrew Cagney <ac131313@redhat.com>
24327
24328 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24329 ``GNU/Linux'' or ``Linux kernel''
24330 * testsuite/gdb.threads/pthreads.c: Ditto.
24331
258ad32d
MC
243322002-02-24 Michael Chastain <mec@shout.net>
24333
24334 * gdb.threads/pthreads.c (thread1): Add a return statement.
24335 (thread2): Likewise.
24336 (foo): Likewise.
24337
04c3b3d4
MC
243382002-02-23 Michael Chastain <mec@shout.net>
24339
24340 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24341 to placate gcc.
24342
5a2a0a20
MC
243432002-02-23 Michael Chastain <mec@shout.net>
24344
24345 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24346 test "ptype bint". The test passes on all my stabs configurations.
24347
a640f7fc
JB
243482002-02-21 Jim Blandy <jimb@redhat.com>
24349
27924826
JB
24350 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24351 filename at a time, and watch for the ones we want to see.
24352
a640f7fc
JB
24353 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24354 types of pointers to prototyped functions.
24355
edcc8c75
AC
243562002-02-20 Andrew Cagney <ac131313@redhat.com>
24357
24358 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24359 signed, unsigned and straight char.
24360 (padding_char, padding_short, padding_int, padding_long,
24361 padding_long_long, padding_float, padding_double,
24362 padding_long_double): New global variables.
24363 (fill, fill_structs): New functions.
24364
24365 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24366 for correctly sized writes. Update copyright.
24367 (get_valueof): New procedure.
24368 (get_sizeof): Call get_valueof.
24369 (check_valueof): New procedure.
24370 (check_padding): New procedure.
24371
ac57ea44
MC
243722002-02-20 Michael Chastain <mec@shout.net>
24373
24374 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24375 to setup_xfail. Document some of the remaining calls.
24376
7a10c941
MC
243772002-02-18 Michael Chastain <mec@shout.net>
24378
24379 * gdb.c++/userdef.exp: Update copyright year.
24380
fb8acdcc
DJ
243812002-02-18 Daniel Jacobowitz <drow@mvista.com>
24382
24383 * gdb.c++/userdef.exp: Test overloaded operators properly.
24384 Remove xfails.
24385
fda6ae12
MS
243862002-02-14 Michael Snyder <msnyder@redhat.com>
24387
24388 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24389
676a0442
DJ
243902002-02-14 Daniel Jacobowitz <drow@mvista.com>
24391
24392 * gdb.base/a2-run.exp: Check for a remote target properly.
24393 * gdb.base/annota1.exp: Likewise.
24394 * gdb.base/list.exp: Likewise.
24395 * gdb.base/reread.exp: Likewise.
24396 * gdb.base/scope.exp: Likewise.
24397 * gdb.base/shlib-call.exp: Likewise.
24398 * gdb.base/term.exp: Likewise.
24399 * gdb.c++/annota2.exp: Likewise.
24400
78b4f468
RE
244012002-02-13 Richard Earnshaw <rearnsha@arm.com>
24402
24403 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24404
9a81ba51
MC
244052002-02-10 Michael Chastain <mec@shout.net>
24406
24407 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24408 (call_after_alloca): Ditto.
24409
004af6c7
DJ
244102002-02-10 Daniel Jacobowitz <drow@mvista.com>
24411
24412 * gdb.base/ending-run.exp: Guard "cont" test with
24413 gdb_skip_stdio_test.
24414
37225f62
JB
244152002-02-06 Jim Blandy <jimb@redhat.com>
24416
24417 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24418 from here...
24419 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24420 To here. Disable this test on non-HP platforms. Add big comment.
24421
fe6fdd96
MS
244222002-02-04 Michael Snyder <msnyder@redhat.com>
24423
24424 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24425 other than d10v and m32r.
24426
036fad3f
RE
244272002-02-02 Richard Earnshaw <rearnsha@arm.com>
24428
24429 * gdb.base/default.exp: Rewrite test patterns to reduce time
24430 taken to match them.
24431
7148ab62
DJ
244322002-01-30 Daniel Jacobowitz <drow@mvista.com>
24433
24434 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24435 Allow a start function above main.
24436 * gdb.threads/linux-dp.exp: Fix copyright date.
24437
396cc255
DJ
244382002-01-30 Daniel Jacobowitz <drow@mvista.com>
24439
a9c64011
AS
24440 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24441 (check_philosopher_stack): Check for manager thread before checking
24442 for a just-starting thread.
396cc255 24443
f038d31b
DJ
244442002-01-30 Daniel Jacobowitz <drow@mvista.com>
24445
24446 From Neil Booth <neil@daikokuya.demon.co.uk>:
24447 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24448 warnings.
24449
b3ff9d9a
FF
244502002-01-21 Fred Fish <fnf@redhat.com>
24451
24452 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24453 not caller.
24454
39ad761d
JB
244552002-01-21 Jim Blandy <jimb@redhat.com>
24456
24457 * gdb.base/reread.exp: Check that GDB properly re-reads the
24458 executable file when it changes while no inferior is running.
24459
aaf320fa
FF
244602002-01-21 Fred Fish <fnf@redhat.com>
24461
a9c64011
AS
24462 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24463 optionally accept the "shlib events" variation.
aaf320fa 24464
808a31f5
JB
244652002-01-21 Jim Blandy <jimb@redhat.com>
24466
24467 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24468 call `fflush' after every `printf', so that the output is produced
24469 at predictable points, regardless of whatever buffering does (or
24470 doesn't) take place.
24471 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24472 at different points.
24473
4420d5e2
DJ
244742002-01-20 Daniel Jacobowitz <drow@mvista.com>
24475
24476 * gdb.c++/inherit.exp: Update copyright years.
24477 * gdb.c++/method.exp: Likewise.
24478
3e36a0f4
DJ
244792002-01-20 Daniel Jacobowitz <drow@mvista.com>
24480
24481 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24482 artificial methods/arguments.
24483 * gdb.c++/derivation.exp: Likewise.
24484 * gdb.c++/inherit.exp: Likewise.
24485 * gdb.c++/method.exp: Likewise.
24486 * gdb.c++/virtfunc.exp: Likewise.
24487
b4ceaee6
AC
244882002-01-18 Andrew Cagney <ac131313@redhat.com>
24489
24490 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24491 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24492 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24493 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24494 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24495 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24496
ecace851
JB
244972002-01-17 Jim Blandy <jimb@redhat.com>
24498
24499 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24500 anchoring the pattern matching the entry point symbol's name.
24501
375fc983
AC
245022002-01-17 Andrew Cagney <ac131313@redhat.com>
24503
24504 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24505 continue/quit query. Update copyright.
24506
fe6fdd96
MS
245072002-01-14 Michael Snyder <msnyder@redhat.com>
24508
24509 * gdb.base/gcore.exp: Remove extra debugging output.
24510
e017c81f
DJ
245112002-01-13 Daniel Jacobowitz <drow@mvista.com>
24512
24513 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24514 for slightly dubious v2 mangled string.
24515
37ab3bf8
DJ
245162002-01-13 Daniel Jacobowitz <drow@mvista.com>
24517
24518 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24519
1bc05c3a 245202002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 24521
1bc05c3a 24522 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 24523
1bc05c3a
JM
24524 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24525 constructors.
24526 * gdb.c++/derivation.exp: Likewise.
24527 * gdb.c++/templates.exp: Likewise.
24528 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 24529
1bc05c3a
JM
245302002-01-10 Michael Snyder <msnyder@redhat.com>
24531
24532 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 24533
a911c360
MS
245342002-01-08 Michael Snyder <msnyder@redhat.com>
24535
24536 * gdb.base/gcore.exp: New test for generate-core-file command.
24537 * gdb.base/gcore.c: Testcase for above.
24538 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24539
ea2119ec
JM
245402002-01-08 Jason Merrill <jason@redhat.com>
24541
24542 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24543
68203136
FF
245442002-01-07 Fred Fish <fnf@redhat.com>
24545
24546 * gdb.c++/overload.exp: Remove unconditional xfails for:
24547 print foo_instance1.overloadargs(1)
24548 print foo_instance1.overloadargs(1, 2)
24549 print foo_instance1.overloadargs(1, 2, 3)
24550 print foo_instance1.overloadargs(1, 2, 3, 4)
24551 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24552 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24553 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24554 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24555 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24556 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24557 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24558 print foo_instance1.overload1arg()
24559 print foo_instance1.overload1arg((char)arg2)
24560 print foo_instance1.overload1arg((signed char)arg3)
24561 print foo_instance1.overload1arg((unsigned char)arg4)
24562 print foo_instance1.overload1arg((int)arg7)
24563 print foo_instance1.overload1arg((unsigned int)arg8)
24564 print foo_instance1.overload1arg((float)arg11)
24565 print foo_instance1.overload1arg((double)arg12)
d63a86f8 24566
21b9b5b1
MS
245672002-01-07 Michael Snyder <msnyder@redhat.com>
24568
24569 * gdb.base/huge.exp: New test. Print a very large target data object.
24570 (skip_huge_test): New test variable. Define if you want to skip this
24571 test. The test reads an 8 megabyte data object from the target, so it
24572 might be very time consuming on remote targets with a slow connection.
24573 * gdb.base/huge.c: New file. Test case for above.
24574
725f922e
FF
245752002-01-07 Fred Fish <fnf@redhat.com>
24576
24577 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24578 g_instance.bfoo, and g_instance.cfoo.
24579
889bf7c5 245802002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 24581
889bf7c5
PA
24582 * gdb.base/break.c (multi_line_if_conditional): New function.
24583 (multi_ilne_while_conditional): Likewise.
24584 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24585 IF or WHILE condition puts the breakpoint at the start of
24586 the condition.
f286b2c3 24587
634d57ec
JL
24588 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24589 hppa*-*-hpux* expected failure.
24590 * gdb.base/structs.exp (do_function_calls): Similarly.
24591
24592 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24593 watchpoints.
24594
9fbfe2dc
AC
245952002-01-06 Andrew Cagney <ac131313@redhat.com>
24596
24597 Fix PR gdb/66.
24598 * gdb.base/structs.exp: Replace skip for a29k with skip for
24599 gdb,cannot_call_functions.
24600 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24601 * gdb.base/callfuncs.exp: Ditto.
24602 * gdb.base/call-rt-st.exp: Ditto.
24603 * gdb.base/call-strs.exp: Ditto.
24604 * gdb.base/callfwmall.exp: Ditto.
24605 * gdb.base/scope.exp: Obsolete xfail a29k.
24606 * gdb.c++/misc.exp: Ditto.
24607 * gdb.c++/cplusfuncs.exp: Ditto.
24608 * gdb.base/ptype.exp: Ditto.
24609 * gdb.base/printcmds.exp: Ditto.
24610 * gdb.base/opaque.exp: Ditto.
24611 * gdb.base/list.exp: Ditto.
24612 * gdb.base/funcargs.exp: Ditto.
24613 * gdb.base/default.exp: Ditto.
24614
8ddad156
MS
246152002-01-04 Michael Snyder <msnyder@redhat.com>
24616
ca4976a6 24617 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
24618 * gdb.base/maint.exp: Add tests for maint info sections options.
24619
1b074332
JL
24620Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24621
24622 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24623
7d159115
CV
246242001-12-20 Corinna Vinschen <vinschen@redhat.com>
24625
24626 * gdb.asm/arm.inc: New file.
24627 * gdb.asm/asm-source.exp: Add arm targets.
24628 * gdb.asm/configure.in: Ditto.
24629 * gdb.asm/configure: Recreated from configure.in.
24630
8fb87725
JL
24631Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24632
afabe08c
JL
24633 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24634 with HP's compiler.
24635 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24636 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24637 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24638 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24639
24640 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24641 either HP's compilers or GCC.
24642
db521deb
JL
24643 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24644 a SIGBUS or SIGSEGV.
24645
24646 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24647
24648 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24649 can be compiled with either HP's compiler or GCC.
24650
cfa88ab7
JL
24651 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24652 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24653 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24654
ca344dff
JL
24655 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24656 to match current gdb output. Update due to using auto-solib-limit
24657 for limiting instead of overloading auto-solib-add.
24658 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24659 test program.
24660
3f3c6e55 24661 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
24662 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24663 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24664 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24665 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24666 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24667 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24668 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24669 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24670 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24671 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24672 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24673 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 24674
8fb87725
JL
24675 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24676 a SIGTRAP to the inferior.
24677
cf599fa7
CV
246782001-12-19 Corinna Vinschen <vinschen@redhat.com>
24679
24680 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24681 Substitute call to target_link by call to gdb_compile.
24682
2cd045cd
JL
24683Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24684
a9c64011
AS
24685 * gdb.base/break.exp: Fix HP specific search string when testing
24686 backtracing in a called function.
2cd045cd 24687
a9c64011
AS
24688 * gdb.base/constvars.exp: Only set lang to C++ if we're
24689 compiling the test with HP's compilers.
24690 * gdb.base/volatile.exp: Similarly.
2cd045cd 24691
99ebe9ac
JB
246922001-12-19 Jim Blandy <jimb@redhat.com>
24693
24694 * gdb.base/printcmds.exp: Expect the null character to be printed
24695 as '\0', and the '\013' to be printed as '\v'.
24696 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24697 * gdb.base/setvar.exp: Same.
24698
b9891b29
JB
246992001-12-17 Jim Blandy <jimb@redhat.com>
24700
0eba65ab
JB
24701 * gdb.base/completion.exp: Rather than completing very long
24702 filenames, which can make the readline library produce output we
24703 don't recognize, cd to the directory first, and then complete
24704 using nice, short relative paths.
24705
6970b5b1
JB
24706 * gdb.base/completion.exp: On some systems, there is, in fact, a
24707 variable named `b' in scope, since GDB treats all static
a9c64011
AS
24708 variables as being in scope. So use `no_var_named_this'
24709 instead of `b'.
6970b5b1 24710
b9891b29 24711 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 24712 can't find the core file's registers as a failure.
b9891b29 24713
e6ccd35f
JSC
247142001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24715
a9c64011
AS
24716 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24717 test expect string more specific.
e6ccd35f 24718
105ba819
CV
247192001-12-13 Corinna Vinschen <vinschen@redhat.com>
24720
24721 * gdb.asm/asm-source.exp: Add support for xstormy16.
24722 * gdb.asm/configure.in: Ditto.
24723 * gdb.asm/configure: Rebuild.
24724 * gdb.asm/xstormy16.inc: New file.
24725
e9e79dd9
FF
247262001-12-10 Fred Fish <fnf@redhat.com>
24727
24728 * gdb.base/maint.exp: Update to match changes in type dumping code.
24729
347dc97d
JB
247302001-12-10 Jim Blandy <jimb@redhat.com>
24731
24732 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
24733 matching the entry point symbol's name at the beginning of the
24734 line.
347dc97d 24735
5178b9d6
DJ
247362001-12-07 Daniel Jacobowitz <drow@mvista.com>
24737
24738 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24739 gdb.c++/inherit.exp, gdb.c++/method.exp,
24740 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24741 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24742 and class layout support.
24743
af890c52
DJ
247442001-12-07 Daniel Jacobowitz <drow@mvista.com>
24745
24746 * gdb.c++/classes.exp: Add test for static member function.
24747 * gdb.c++/misc.cc: Add class with static member function.
24748
7a345fb3
JB
247492001-12-07 Jim Blandy <jimb@redhat.com>
24750
f2e54a80 24751 If GDB says it can't find the struct the function returned, report
8032bf31
JB
24752 those tests as `unsupported'.
24753 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24754 Rewrite subsequent tests to use it.
24755
24756 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
24757 those tests as `unsupported'.
24758 * gdb.base/structs.exp (call_struct_func): New function.
24759 (do_function_calls): Use call_struct_func to call the functions
24760 returning structs.
24761
0bc69509
JB
24762 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24763 whether functions are prototyped or not, so we can't possibly pass
24764 arguments to t_float_values2 properly.
24765
7a345fb3
JB
24766 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24767 value of `timeout' for targets other than the mips*tx39-*.
24768
edb6ede1
MS
247692001-12-06 Michael Snyder <msnyder@redhat.com>
24770
d63a86f8 24771 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
24772 and detect whether the start symbol has a leading underscore.
24773
2d842f13
JB
247742001-12-04 Jim Blandy <jimb@redhat.com>
24775
24776 * gdb.base/completion.exp: Clarify indentation.
24777
68550daf
JB
247782001-12-03 Jim Blandy <jimb@redhat.com>
24779
24780 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24781 variables on the S/390, not `.word'.
24782
cd5195a8
JB
247832001-11-30 Jim Blandy <jimb@redhat.com>
24784
24785 Add assembly-source tests for s390-ibm-linux.
24786 * gdb.asm/s390.inc: New file.
24787 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24788 the S/390 architecture.
a9c64011 24789 * gdb.asm/configure: Regenerated.
cd5195a8 24790
ca9efc90
MS
247912001-11-30 Michael Snyder <msnyder@redhat.com>
24792
24793 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24794 next, info source, info sources, info line, global and static
24795 variables, and static functions.
24796 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24797 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24798 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24799 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24800 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24801 (gdbasm_leave): Restore frame pointer.
24802 (gdbasm_startup): Copy stack set-up from crt0.S.
24803
d0e66976
FN
248042001-11-26 Fernando Nasser <fnasser@redhat.com>
24805
24806 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24807 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24808 to a local (non-static) variable. Copy tstruct.a to a static buffer
24809 and return a pointer to that buffer.
24810 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24811
e2334072
MK
248122001-11-24 Mark Kettenis <kettenis@gnu.org>
24813
24814 * gdb.asm/configure.in: Fix recognition of ix86 target.
24815 * gdb.asm/configure: Regenerate.
24816
756caa3d
MS
248172001-11-21 Michael Snyder <msnyder@redhat.com>
24818
24819 * gdb.asm/sparc.inc: New file.
24820 * gdb.asm/asm-source.exp: Recognize sparc target.
24821 * gdb.asm/configure.in: Recognize sparc target.
24822 * gdb.asm/configure: Regenerate.
d63a86f8 24823
9a4d72d5
MS
248242001-11-21 Michael Snyder <msnyder@redhat.com>
24825
24826 * gdb.asm/m32r.inc: New file.
24827 * gdb.asm/asm-source.exp: Recognize m32r target.
24828 * gdb.asm/configure.in: Recognize m32r target.
24829 * gdb.asm/configure: Regenerate.
24830
a773d1cd
MS
248312001-11-20 Michael Snyder <msnyder@redhat.com>
24832
017ac23d
MS
24833 * gdb.asm/i386.inc: New file.
24834 * gdb.asm/asm-source.exp: Recognize ix86 target.
24835 * gdb.asm/configure.in: Recognize ix86 target.
24836 * gdb.asm/configure: Regenerate.
24837
a773d1cd
MS
24838 * gdb.c++/namespace.exp: Fix quotes in output messages.
24839
bb632afb
MS
248402001-11-14 Michael Snyder <msnyder@redhat.com>
24841
25d559ca 24842 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24843 qualifier in a type cast expression, to designate an address
24844 in the instruction space (Harvard architecture).
24845
4749e309
MS
248462001-11-13 Michael Snyder <msnyder@redhat.com>
24847
24848 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24849 Tests for expressions using 'const' and 'volatile'.
24850
25050984
CV
248512001-11-13 Corinna Vinschen <vinschen@redhat.com>
24852
24853 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24854
1902c51f
DJ
248552001-11-12 Daniel Jacobowitz <drow@mvista.com>
24856
24857 * lib/mi-support.exp (mi_run_to_helper): Move comments
24858 outside of gdb_expect.
24859
dcf95b47
DJ
248602001-11-11 Daniel Jacobowitz <drow@mvista.com>
24861
24862 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24863 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24864 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24865 mi0_run_to): New functions.
24866 * gdb.mi/mi-simplerun.exp: Use them.
24867 * gdb.mi/mi0-simplerun.exp: Likewise.
24868 * gdb.mi/mi-var-cmd.exp: Likewise.
24869 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24870
45b074e1
AC
248712001-11-10 Andrew Cagney <ac131313@redhat.com>
24872
24873 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24874 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24875
bf50d346
AC
248762001-11-09 Andrew Cagney <ac131313@redhat.com>
24877
24878 * gdb.base/restore.exp: Include $expected value in restored test
24879 message.
24880
9383332c
AC
248812001-11-09 Andrew Cagney <ac131313@redhat.com>
24882
24883 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24884 implemented.
24885
db62520a
MS
248862001-11-08 Michael Snyder <msnyder@redhat.com>
24887
24888 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24889 Add pass/fail message for stop at breakpoint in call dummy function.
24890
b5703437
MS
248912001-11-07 Michael Snyder <msnyder@redhat.com>
24892
d63a86f8
RM
24893 * gdb.c++/templates.exp (test_template_breakpoints):
24894 If we get an overload menu, but it does not match what
760f6330 24895 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24896 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24897 making the whitespace optional. Argument for "new" may be
24898 "unsigned" as well as "unsigned int/long".
d63a86f8 24899 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24900 making the whitespace optional. Also replace "(void) with
24901 "((void|)), making the keyword "void" optional.
d63a86f8 24902 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24903 making the whitespace optional. Also replace "(void) with
24904 "((void|)), making the keyword "void" optional.
3bf40917
MS
24905 * gdb.base/callfuncs.c (t_float_values): This function must
24906 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24907 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24908 can be tested against both cases. Usually one case involves
24909 promotion of float to double, while the other does not.
24910 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24911 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24912 includes a stack frame for "start".
24913
c8ab4e6d
JB
249142001-11-05 Jim Blandy <jimb@redhat.com>
24915
24916 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24917 pointers are 32 bits long, and that offsets of relocs are always
24918 stored in the data (REL-style), and not in the reloc entry itself
24919 (RELA-style).
24920 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24921 stabs.
24922
3f08ced9
MS
249232001-11-01 Michael Snyder <msnyder@redhat.com>
24924
24925 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24926 and regular expression operators by using quoting.
24927
cbfa24cd
MS
249282001-10-31 Michael Snyder <msnyder@redhat.com>
24929
24930 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24931 depending on what the symbol table contains.
24932 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24933 the output of the ptype command. Similarly, accept both "const &"
24934 and "const&".
24935
aaa68313
CV
249362001-10-31 Corinna Vinschen <vinschen@redhat.com>
24937
24938 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24939 symbol `STORAGE' to allow to choose the storage class of
24940 the local datastructures.
24941 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24942 compiler directive.
24943
91740388
MS
249442001-10-30 Michael Snyder <msnyder@redhat.com>
24945
24946 * gdb.base/jump.exp: Allow it to run for all targets.
24947
1b7c05e7
CV
249482001-10-29 Corinna Vinschen <vinschen@redhat.com>
24949
24950 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24951 with new double_array size.
24952 (main): Change storage class of all local variables to static.
24953 Reduce size of double_array to 9.
24954 * gdb.base/call-ar-st.exp: Increase timeout value.
24955 Change expected output for double array to match new size in
24956 call-ar-st.c.
24957
36a22261
CV
249582001-10-29 Corinna Vinschen <vinschen@redhat.com>
24959
24960 * gdb.base/ending-run.exp: Create identical output when passing
24961 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24962 Stormy16 target.
36a22261 24963
92b8ae91
MK
249642001-10-28 Mark Kettenis <kettenis@gnu.org>
24965
24966 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24967 that we catch the expected failure under Linux/x86.
24968
cb135b83
OF
249692001-10-29 Orjan Friberg <orjanf@axis.com>
24970
24971 * gdb.base/setvar.exp: Escape curly braces.
24972 * gdb.stabs/weird.exp: Ditto.
24973
6884aa54
DJ
249742001-10-27 Daniel Jacobowitz <drow@mvista.com>
24975
24976 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24977 * gdm.mi/mi0-hack-cli.exp: Likewise.
24978
0398c9aa
AC
249792001-10-25 Andrew Cagney <ac131313@redhat.com>
24980
24981 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24982 messages.
24983
d20bf2e8
AC
249842001-10-21 Andrew Cagney <ac131313@redhat.com>
24985
24986 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24987 checking MI enabled.
24988
03dd63aa
CV
249892001-10-09 Corinna Vinschen <vinschen@redhat.com>
24990
24991 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24992
1d9d99f3
FCE
249932001-10-04 Frank Ch. Eigler <fche@redhat.com>
24994
24995 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24996 if gdb child process crashes, just signal an error.
24997
838ae6c4
JB
249982001-10-02 Jim Blandy <jimb@redhat.com>
24999
25000 * lib/gdb.exp (test_xfail_format): Simplify.
25001
25002 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25003 front of the variable name `format'. Simplify `if'.
25004
8f0cbc1c
DJ
250052001-10-01 Daniel Jacobowitz <drow@mvista.com>
25006
25007 * gdb.threads/pthreads.exp: Wait for output and delay
25008 before sending ^C.
25009
1f08dafd
DJ
250102001-10-01 Daniel Jacobowitz <drow@mvista.com>
25011
25012 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25013 some incorrect output instead of timing out.
25014 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25015
674f90ff
CV
250162001-09-28 Corinna Vinschen <vinschen@redhat.com>
25017
25018 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25019 check to allow additional `int'.
25020
9b284272
DJ
250212001-09-27 Daniel Jacobowitz <drow@mvista.com>
25022
25023 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25024 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25025
b55a4771
MS
250262001-09-27 Michael Snyder <msnyder@redhat.com>
25027
25028 * lib/gdb.exp (test_debug_format): New proc.
25029 (setup_xfail_format): Use new proc test_debug_format.
25030 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25031 proc; use new service proc test_debug_format.
25032 Replace all other "gcc_compiled" tests with this test.
25033 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25034 proc; use new service proc test_debug_format.
25035 Replace all other "gcc_compiled" tests with this test.
25036
250372001-09-27 Michael Snyder <msnyder@redhat.com>
25038
25039 * gdb.base/cvexpr.exp: New file.
25040 * gdb.base/cvexpr.c: New file
25041 Test for expressions using const and volatile keywords.
25042
4e6667ac
CV
250432001-09-26 Corinna Vinschen <vinschen@redhat.com>
25044
25045 * gdb.base/constvars.exp: Check for different orders of keywords
25046 and additional "int" strings in output.
25047
4f337972
AC
250482001-09-22 Andrew Cagney <ac131313@redhat.com>
25049
25050 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25051 responses from "help maint".
25052
2015650d
FCE
250532001-09-19 Frank Ch. Eigler <fche@redhat.com>
25054
25055 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25056 to localhost:NNN instead of :NNN, in case Xvfb is listening
25057 only on TCP.
25058
f3bcedc1
CV
250592001-09-19 Corinna Vinschen <vinschen@redhat.com>
25060
25061 * gdb.base/recurse.exp: When checking leaving the watchpoint
25062 scope, recognize when gdb is in function's epilogue and pass.
25063
6b819c92
KS
250642001-09-18 Keith Seitz <keiths@redhat.com>
25065
25066 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25067 support for running tests against sid targets.
25068 (gdbtk_done): Ditto.
25069
a10c9419
CV
250702001-09-18 Corinna Vinschen <vinschen@redhat.com>
25071
25072 * gdb.base/ending-run.c (main): Set stdout buffersize
25073 to the same reasonable value for any target.
25074 * gdb.base/ending-run.exp: Add a regular expression
25075 to make testsuite happy on Sanyo Stormy16 target.
25076
739d0d99
CV
250772001-09-17 Corinna Vinschen <vinschen@redhat.com>
25078
25079 * gdb.base/display.c (do_loops): Add float variable `f'.
25080 Increment f in loop.
25081 * gdb.base/display.exp: Increment timeout by 60 seconds.
25082 Change float display test to use variable `f'.
25083
1b8947f0
JB
250842001-09-17 Jim Blandy <jimb@redhat.com>
25085
25086 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25087 overflowing the limited breakpoint tables on some ROM monitors
25088 (like the ROM68K).
25089
9890ac81
FCE
250902001-09-15 Frank Ch. Eigler <fche@redhat.com>
25091
25092 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25093 the "-ac" (disable access control) flag.
25094
6db765ea
JH
250952001-08-30 Jeff Holcomb <jeffh@redhat.com>
25096
25097 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25098 ints.
25099
4c32cc04
KS
251002001-08-30 Keith Seitz <keiths@redhat.com>
25101
25102 * lib/gdb.exp: Move all insight-related functionality into
25103 separate file.
25104 * lib/insight-support.exp: New file.
25105
8d6e6f81
FCE
251062001-08-29 Frank Ch. Eigler <fche@redhat.com>
25107
25108 * config/sid.exp (sid_start): Never set sid verbosity; disable
25109 expect_background {} that consumed its stdout; tolerate </dev/null.
25110 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25111
6a90e1d0
AC
251122001-08-18 Andrew Cagney <ac131313@redhat.com>
25113
25114 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25115 CLI jump command to start it.
25116 (mi_run_to_main): Fail immediatly when unexpected output.
25117
1759b3c3
AC
251182001-08-18 Andrew Cagney <ac131313@redhat.com>
25119
25120 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25121 beginning of function. Fix PR gdb/191.
25122
61d11d80
FCE
251232001-08-16 Frank Ch. Eigler <fche@redhat.com>
25124
25125 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25126 what to force sid endianness to.
25127
942a4df2
KS
251282001-08-15 Keith Seitz <keiths@redhat.com>
25129
25130 * lib/gdb.exp (gdbtk_start): Don't set environment
25131 variables for TCL_LIBRARY and friends. Insight will
25132 now figure these out for itself.
25133
0521c418
MS
251342001-08-02 Michael Snyder <msnyder@redhat.com>
25135
25136 * gdb.base/completion.exp: Remove the symbol "a64l" from
25137 the expect string; this is target-specific, and not related
25138 to what is being tested.
25139
74a9a58a
DB
251402001-08-02 Dave Brolley <brolley@redhat.com>
25141
25142 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25143
c70819fa
MS
251442001-07-25 Michael Snyder <msnyder@redhat.com>
25145
c2b8fa57
MS
25146 * gdb.base/consecutive.exp: New file. Test stepping over
25147 breakpoints on consecutive instructions.
25148 * gdb.base/consecutive.c: New file.
25149
c70819fa
MS
25150 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25151 curly braces in regular expressions.
25152
2b1a1355
MS
251532001-07-25 Michael Snyder <msnyder@redhat.com>
25154
25155 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25156 legitimate output from stepping out of main.
25157
413eca6f
KS
251582001-07-22 Keith Seitz <keiths@redhat.com>
25159
25160 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25161 the empty string, do not run the tests.
25162
7e5a9322
SC
251632001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25164
25165 * gdb.base/long_long.exp: Detect size of pointer. Take into
25166 account 2-byte pointers when testing for p/a results.
25167
de58f10f
SC
251682001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25169
d63a86f8 25170 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
25171 and defined to 1K for m68hc11.
25172 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25173 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25174 (sizeof_random_data): New variable to tell the size of the data table;
25175 don't test past this size; always run to main.
25176
d6f5fea1
SC
251772001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25178
25179 * gdb.base/return2.exp: return of long long and double fails for
25180 68HC11; don't execute these tests on that platform.
25181 * gdb.base/return.exp: Return of a double fails for 68hc11.
25182
c477543d
SC
251832001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25184
25185 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25186 tests that print a float.
25187 * call-rt-st.exp: Likewise.
25188
63cf1c79
MK
251892001-07-12 Mark Kettenis <kettenis@gnu.org>
25190
25191 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25192 running this test on Linux.
25193
112f9ab5
MC
251942001-06-24 Michael Chastain <chastain@redhat.com>
25195
25196 * gdb.base/arithmet.exp: Remove some tests to make all test names
25197 unique.
25198
4970cb0f
MS
251992001-07-03 Michael Snyder <msnyder@redhat.com>
25200
25201 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25202 the output of the ptype command.
25203
d85da69f
MS
252042001-07-02 Michael Snyder <msnyder@redhat.com>
25205
4c8a82de
MS
25206 * gdb.base/completion.exp: Don't assume that break.c is the only
25207 source file that may contain functions named "marker".
d85da69f
MS
25208 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25209
8afc772b
AC
252102001-06-28 Andrew Cagney <ac131313@redhat.com>
25211
25212 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25213 of files to delete.
25214
25215 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25216 * gdb.disasm/h8300s.exp: New file.
25217 gdb.disasm/h8300s.s: Likewise.
25218
cff22675
AC
252192001-06-27 Andrew Cagney <ac131313@redhat.com>
25220
25221 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25222 empty breakpoint tables.
25223
68c81b54
AC
252242001-06-25 Andrew Cagney <ac131313@redhat.com>
25225
25226 * lib/mi-support.exp: Update args=... part of stop-reason
25227 patterns. Accept either a list or a tuple.
25228
2dd62704
AC
252292001-06-23 Andrew Cagney <ac131313@redhat.com>
25230
25231 * lib/mi-support.exp: Remove local emacs variable defining
25232 change-log-default-name.
25233
b4127474
MC
252342001-06-22 Michael Chastain <chastain@redhat.com>
25235
25236 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25237 This is operationally compatible with the previous version.
25238
8dbfb380
JB
252392001-06-13 Jim Blandy <jimb@redhat.com>
25240
25241 * lib/gdb.exp (gdb_test): Doc fix.
25242
f2d8c86d
MC
252432001-06-10 Michael Chastain <chastain@redhat.com>
25244
25245 * gdb.base/exprs.exp: Remove a duplicate test.
25246
81564d34
JB
252472001-06-06 Jim Blandy <jimb@redhat.com>
25248
25249 * gdb.base/return2.exp (main): Use values to test float and double
25250 returns that are not NaN's, to avoid being confused by IEEE
25251 comparison rules.
25252
da55addb
MS
252532001-06-04 Michael Snyder <msnyder@redhat.com>
25254
25255 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 25256 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
25257 rather than wait for 12 more tests to time out.
25258
42c65987
JB
252592001-06-06 Jim Blandy <jimb@redhat.com>
25260
b18bced9 25261 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 25262 Don't forget to match the GDB prompt.
b18bced9 25263
42c65987
JB
25264 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25265
5b41e5f0
JB
252662001-06-04 Jim Blandy <jimb@redhat.com>
25267
25268 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25269 command.
25270
015e046f
KB
252712001-05-31 Kevin Buettner <kevinb@redhat.com>
25272
25273 * gdb.base/annota1.exp (info break): Match four or more spaces
25274 after "Address".
25275
fb1ffbbe
MC
252762001-05-31 Michael Chastain <chastain@redhat.com>
25277
25278 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25279 (dm_type_int_star): Likewise.
25280 (dm_type_long_star): Likewise.
25281 (dm_type_void_star): Likewise.
25282
5ea2a32c
KB
252832001-05-29 Kevin Buettner <kevinb@redhat.com>
25284
25285 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25286 to a known value in order to get consistent results regardless
25287 of the setting of INPUTRC or the presence or contents of .inputrc.
25288
ae23c492
MS
252892001-05-24 Michael Snyder <msnyder@redhat.com>
25290
ac55707e
MS
25291 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25292 Don't require that the main thread and the manager thread are the
25293 first in the list.
25294
ae23c492
MS
25295 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25296 debugging. If test fails, issue an "unsupported" not a "fail".
25297
400071f1
JB
252982001-05-24 Jim Blandy <jimb@redhat.com>
25299
25300 Don't assume that short is shorter than int.
25301 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25302 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 25303 this isn't true.
400071f1
JB
25304 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25305 an int, is not equal to ~0 stored in an unsigned char. This tests
25306 the same thing that the previous test meant to, but works on
25307 16-bit machines, too.
25308 ("print unsigned char != (~0)"): Same test, complemented.
25309
0816a3e5
MS
253102001-05-24 Michael Snyder <msnyder@redhat.com>
25311
25312 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 25313 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
25314 and prevents dejagnu getting out of step.
25315
f6dc23a9
KB
253162001-05-23 Kevin Buettner <kevinb@redhat.com>
25317
25318 * gdb.base/finish.exp (finish_void): Revise pattern for
25319 stopping on the call statement to not permit stopping at
25320 the start of the instructions comprising the call sequence.
25321
7dbd117d
MC
253222001-05-19 Michael Chastain <chastain@redhat.com>
25323
25324 * gdb.base/callfuncs.exp: Make all test names unique.
25325 * gdb.base/commands.exp: Make all test names unique.
25326 * gdb.base/condbreak.exp: Make all test names unique.
25327 * gdb.base/dbx.exp: Make all test names unique.
25328 * gdb.base/default.exp: Make all test names unique.
25329 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25330 and TIMEOUT messages to their corresponding PASS message.
25331 * gdb.base/ending-run.exp: Make all test names unique.
25332 * gdb.base/long_long.exp: Remove duplicate test.
25333
6b0b0a9e
KB
253342001-05-21 Kevin Buettner <kevinb@redhat.com>
25335
25336 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25337 stop on the call statement as well as the statement after the
25338 call.
25339
2caa35cb
MS
253402001-05-21 Michael Snyder <msnyder@redhat.com>
25341
25342 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25343
40713331
EZ
253442001-05-10 Elena Zannoni <ezannoni@redhat.com>
25345
a9c64011
AS
25346 * gdb.base/completion.exp: Revamp test. Make it execute on all
25347 platforms.
40713331 25348
c2c1be8d
EZ
253492001-05-10 Elena Zannoni <ezannoni@redhat.com>
25350
a9c64011
AS
25351 * config/gdbserver.exp (gdb_load): Handle the case
25352 in which the arguments to gdbserver are given in the
25353 baseboard configuration file.
25354 Also handle the case in which the server needs to do a
25355 load.
2c9cd303 25356
9671de48
KS
253572001-05-07 Keith Seitz <keiths@cygnus.com>
25358
a9c64011
AS
25359 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25360 set up the display for testing.
25361 (gdbtk_start): Convert all paths to paths that tcl will like.
25362 Export target information to environment.
25363 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25364 necessary.
25365 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25366 (to_tcl_path): New proc to convert a given pathname into
25367 a path acceptible as an argument to a tcl command.
25368 (_gdbtk_export_target_info): New proc to export target info
25369 into the environment for gdbtk testing.
25370 (gdbtk_done): New proc to signal end-of-test.
9671de48 25371
5a360f47
JB
253722001-05-06 Jim Blandy <jimb@redhat.com>
25373
25374 * restore.c: Make the code of caller0 correspond to its comment.
25375
66c756c6
MS
253762001-05-03 Michael Snyder <msnyder@redhat.com>
25377
25378 * config/sid.exp (gdb_target_sid): Check for error messages.
25379 On error or timeout, don't make expect exit (which will terminate
25380 all subsequent tests); instead just make gdb exit.
d63a86f8 25381 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
25382 return a negative value.
25383
a966fde5
JB
253842001-04-24 Jim Blandy <jimb@redhat.com>
25385
851c18e0
JB
25386 * gdb.c++/templates.exp: If we see the prompt for the overload
25387 list, but we haven't recognized any of the longer patterns,
25388 arrange for this test to fail, not hang.
25389
a966fde5
JB
25390 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25391 variations.
25392
db144853
MC
253932001-04-22 Michael Chastain <chastain@redhat.com>
25394
25395 * gdb.c++/local.exp: Use the 'runto' library function.
25396 * gdb.c++/namespace.exp: Likewise.
25397 * gdb.c++/overload.exp: Likewise.
25398
3207ec21
KB
253992001-03-26 Kevin Buettner <kevinb@redhat.com>
25400
25401 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25402 * gdb.base/step-line.exp: New file. Test step/next in presence of
25403 #line directives.
25404 * gdb.base/step-line.c: New file. Test program for the above.
25405 * gdb.base/step-line.inp: New file. We pretend that this file has
25406 been transformed by some other tool into step-line.c.
25407
13b57657
JB
254082001-03-21 Jim Blandy <jimb@redhat.com>
25409
25410 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25411 unmangled operator names.
25412
754cbe1c
JB
254132001-03-20 Jim Blandy <jimb@redhat.com>
25414
25415 * gdb.threads/linux-dp.exp: Recognize an additional message
25416 generated by GDB when it doesn't understand how to debug threads
25417 on the target system.
25418
177495c9
AC
254192001-03-19 Andrew Cagney <ac131313@redhat.com>
25420
25421 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25422
f266096b
MC
254232001-03-12 Michael Chastain <chastain@redhat.com>
25424
25425 * gdb.c++/derivation.exp: Use the 'runto' library function.
25426
cac3c2ff
MC
254272001-03-12 Michael Chastain <chastain@redhat.com>
25428
25429 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25430
b6c11a24
MC
254312001-02-24 Michael Chastain <chastain@redhat.com>
25432
25433 * gdb.c++/ref-types.exp: Change handwritten code to library
25434 function 'runto'.
25435
6bae5bce
OF
254362001-03-16 Orjan Friberg <orjanf@axis.com>
25437
25438 * gdb.base/signals.exp: Set count to 0 explicitly.
25439
0015fd9a
MS
254402001-03-15 Mark Salter <msalter@redhat.com>
25441
25442 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25443 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
25444 (gdb_load): Add support for additional target_info: gdb_download_size
25445 and gdb_load_timeout.
0015fd9a 25446
fc33412a
DT
25447Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25448
25449 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
25450 file -- to prevent failing when the compile fails but we have no
25451 intention of running the tests anyway.
fc33412a
DT
25452
25453 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25454 tests if set.
25455
25456 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 25457 integers.
fc33412a
DT
25458
25459 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25460 * gdb.c++/namespace.exp: Ditto.
25461
115f06de
OF
254622001-03-07 Orjan Friberg <orjanf@axis.com>
25463
25464 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25465 * gdb.base/pointers.exp: Relax pattern match of decimals.
25466
b6ba6518
KB
254672001-03-06 Kevin Buettner <kevinb@redhat.com>
25468
25469 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25470 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25471 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25472 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25473 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25474 config/sh.exp, config/sid.exp, config/slite.exp,
25475 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25476 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25477 config/vxworks.exp, config/vxworks29k.exp,
25478 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25479 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25480 gdb.base/arithmet.exp, gdb.base/assign.exp,
25481 gdb.base/async.exp, gdb.base/attach.exp,
25482 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25483 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25484 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25485 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25486 gdb.base/commands.exp, gdb.base/completion.exp,
25487 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25488 gdb.base/constvars.exp, gdb.base/corefile.exp,
25489 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25490 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25491 gdb.base/ending-run.exp, gdb.base/environ.exp,
25492 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25493 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25494 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25495 gdb.base/funcargs.exp, gdb.base/help.exp,
25496 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25497 gdb.base/logical.exp, gdb.base/long_long.exp,
25498 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25499 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25500 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25501 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25502 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25503 gdb.base/regs.exp, gdb.base/relational.exp,
25504 gdb.base/remote.exp, gdb.base/reread.exp,
25505 gdb.base/restore.exp, gdb.base/return2.exp,
25506 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25507 gdb.base/selftest.exp, gdb.base/setshow.exp,
25508 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25509 gdb.base/sigall.exp, gdb.base/signals.exp,
25510 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25511 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25512 gdb.base/step-test.exp, gdb.base/structs.c,
25513 gdb.base/structs.exp, gdb.base/structs2.exp,
25514 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25515 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25516 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25517 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25518 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25519 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25520 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25521 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25522 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25523 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25524 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25525 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25526 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25527 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25528 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25529 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25530 gdb.trace/circ.exp, gdb.trace/collection.exp,
25531 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25532 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25533 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25534 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25535 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25536 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25537 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25538 notices.
25539
dc96c6c7 255402001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
25541
25542 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25543 first arg is int not float.
25544
dc96c6c7 255452001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
25546
25547 * gdb.base/reread.exp: Unsupported for non-native targets;
25548 doesn't work for remote debugging.
25549
9b0c4aeb
FN
255502001-02-19 Fernando Nasser <fnasser@redhat.com>
25551
25552 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
25553 * gdb.base/ending-run.exp: Properly handle the BSP state when
25554 stepping past the end of main.
9b0c4aeb 25555
02aa71d5
MC
255562001-02-19 John Moore <jmoore@redhat.com>
25557
25558 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25559 Converted HPUX fix for non-expected items following multiple
25560 step commands into general solution for all platforms.
25561
1fa449a4
MC
255622001-02-18 Michael Chastain <chastain@redhat.com>
25563
25564 * gdb.c++/classes.exp (do_tests): Change runto statements
25565 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25566 statements demangler agnostic.
25567 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25568 (gdb_virtfunc_restart): Likewise.
25569
b2f9ec70
MC
255702001-02-14 Michael Chastain <chastain@redhat.com>
25571
25572 * gdb.c++/inherit.exp (do_tests): Change runto statements
25573 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25574 statements demangler agnostic.
25575
cf74b8ca
AC
25576Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25577
25578 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
25579 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25580 before calling common_routine 15 times'' tests.
cf74b8ca 25581
99f78f56
MC
255822001-02-11 Michael Chastain <chastain@redhat.com>
25583
25584 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25585 Helps the test script figure out which demangler is in use.
25586 (dm_type_foo_ref): Ditto.
25587 (dm_type_int_star): Ditto.
25588 (dm_type_long_star): Ditto.
25589 (dm_type_unsigned_int): Ditto.
25590 (dm_type_void): Ditto.
25591 (dm_type_void_star): Ditto.
99707966 25592 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
25593 Probe the gdb demangler and set variables to accommodate
25594 formatting differences.
25595 (info_func_regexp): New function. Same as info_func, but
25596 matches against a regexp.
25597 (info_func): Match against a literal string.
25598 (print_addr_2): New function. Match against a literal string,
25599 which can be different from the input to gdb.
25600 (print_addr): Simply call print_addr_2 with the same argument twice.
25601 (test_lookup_operator_functions): Use demangler formatting variables.
25602 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25603 the tests in the same order as the C++ class declaration.
25604 (test_paddr_operator_functions): Ditto.
25605 (test_paddr_overloaded_functions): Ditto.
25606 (test_paddr_hairy_functions): Use demangler formatting variables.
25607 Add reference to gdb/19 for related tests.
25608 (do_tests): Call probe_demangler.
25609
1de8f023
KB
256102001-01-30 Kevin Buettner <kevinb@redhat.com>
25611
25612 * gdb.c++/templates.cc (printf): Remove unused function definition.
25613
ca3f91ed
MS
256142001-01-26 Felix Lee <flee@redhat.com>
25615
25616 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25617
256182001-01-25 matthew green <mrg@redhat.com>
25619
25620 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25621 up sid.
25622 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25623
256242001-01-25 matthew green <mrg@redhat.com>
25625
25626 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 25627 Deprecate $sid_spawn_id.
ca3f91ed
MS
25628 (sid_exit): Remove code necessary only for `spawn.'
25629
256302001-01-25 matthew green <mrg@redhat.com>
25631
25632 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25633
fb18ec4a
MC
256342001-01-28 Michael Chastain <chastain@redhat.com>
25635
25636 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25637 to call when tests fail. It takes gdb out of the overloaded
25638 function choice menu back to the main prompt, so that the test
25639 program stays synchronized.
25640 (set_bp_overloaded): New proc to collect all the common
25641 code for setting a breakpoint on an overloaded name. Calls
25642 take_gdb_out_of_choice_menu when needed.
25643 (menu_overload1arg): New variable to collect the repeated
25644 instances of the expected menu for an overloaded name. Change
25645 the regular expression to handle changes in g++ type encoding:
25646 "void" can be either "void" or "", and "unsigned int" can be
25647 either "unsigned int" or "unsigned".
25648 (continue_to_bp_overloaded): Change regular expressions to handle
25649 changes in g++ type encoding.
25650 (no proc): Call take_gdb_out_of_choice_menu when needed.
25651 Remove redundant calls to "info break". Accept either "canceled"
25652 or "cancelled". Change regular expressions in "info break"
25653 calls to handle changes in g++ type encoding. Give all tests
25654 unique strings.
25655
9c646a6e
BE
256562001-01-17 Ben Elliston <bje@redhat.com>
25657
25658 * config/sid.exp: New file.
25659
9549d9c1
AC
25660Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25661
25662 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25663
dc96c6c7 256642000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
25665
25666 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25667 Add a RE to accept a non-ascii char if one is ever presented.
25668
b4df4f68
FN
256692000-12-20 Fernando Nasser <fnasser@redhat.com>
25670
297dd0fd 25671 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 25672
dc96c6c7 256732000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 25674
d63a86f8 25675 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
25676 in regexp. One '\' does not suffice on Linux.
25677
4a7bddb6
MC
256782000-12-09 Michael Chastain <chastain@redhat.com>
25679
25680 * gdb.base/break.exp (test_clear_command): Use a marker function
25681 rather than 'main' for the test function. Also move this
25682 test to an execution point where the marker function names are
25683 guaranteed to be bound to functions. (Executing tests after a
25684 'finish' from main runs into name conflicts with local names
25685 in __libc_start_main).
25686
dc96c6c7 256872000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
25688
25689 * gdb.base/finish.exp: New test for gdb's "finish" command.
25690 * gdb.base/return2.exp: New test for gdb's "return" command.
25691 * gdb.base/return2.c: New source file for above.
25692
dc96c6c7 256932000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
25694
25695 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25696 * gdb.base/miscexprs.exp: Ditto.
25697 * gdb.base/pointers.exp: Ditto.
25698 * gdb.c++/derivation.exp: Ditto.
25699 * gdb.c++/local.exp: Ditto.
25700 * gdb.c++/namespace.exp: Ditto.
25701 * gdb.c++/overload.exp: Ditto.
25702 * gdb.c++/ref-types.exp: Ditto.
25703
dc96c6c7 257042000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
25705
25706 * gdb.base/constvars.exp: Test result of "up" command.
25707 * gdb.base/miscexprs.exp: Ditto.
25708 * gdb.base/pointers.exp: Ditto.
25709 * gdb.base/scope.exp: Ditto.
25710 * gdb.c++/derivation.exp: Ditto.
25711 * gdb.c++/local.exp: Ditto.
25712 * gdb.c++/namespace.exp: Ditto.
25713 * gdb.c++/overload.exp: Ditto.
25714 * gdb.c++/ref-types.exp: Ditto.
25715
44097287
FN
257162000-11-22 Michael Chastain <chastain@redhat.com>
25717
25718 * mips_pro.exp: Accept either "middle -> top -> main" or
25719 "middle -> main" in the backtrace, because gcc can optimize
25720 tail calls to jumps. Remove setup_xfail for the hppa case.
25721 Add a comment with the original warning messages from PR 3016,
25722 which was filed in 1993, to preserve them for posterity.
25723
9d2e1bab
ND
257242000-11-17 Nick Duffek <nsd@redhat.com>
25725
25726 * lib/gdb.exp (gdb_test): Override timeout with board info.
25727
1aca8eb7
ND
257282000-11-17 Nick Duffek <nsd@redhat.com>
25729
25730 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25731 the second kill and detach messages.
25732
93076499
ND
257332000-11-17 Nick Duffek <nsd@redhat.com>
25734
25735 * configure.in: Add AC_EXEEXT.
25736 * configure: Regenerate.
25737 * Makefile.in (just-check): Export EXEEXT.
25738 * lib/gdb.exp ($EXEEXT): Import from environment.
25739 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25740 expect "maint dump-me" on Cygwin.
25741 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25742 $EXEEXT.
25743
30e87cd3
ND
257442000-11-17 Nick Duffek <nsd@redhat.com>
25745
25746 * gdb.base/break.exp: Test backtrace and finish from called
25747 function on all platforms, not just HP-UX.
25748
dc96c6c7 257492000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
25750
25751 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25752 code from gdb_target_monitor, so it can be used independantly
25753 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 25754
dc96c6c7 257552000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
25756
25757 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25758 * gdb.base/corefile.exp: Expect the message "Program is being
25759 debugged already" when we send the "corefile" command, since
25760 the preceeding gdb_load may have connected gdb to a remote target.
25761 * gdb.base/display.exp: Disable hardware watchpoints if new
25762 board info variable "no_hardware_watchpoints" is true.
25763 Replace single-letter commands with more readable ones.
25764 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25765 if new board info variable "no_hardware_watchpoints" is true.
25766 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25767 to see if stdio (printf) testing is possible.
25768 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25769 board info variable "no_hardware_watchpoints" is true. Use new
25770 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25771
39124dea
FN
257722000-11-13 Fernando Nasser <fnasser@redhat.com>
25773
25774 From Orjan Friberg <orjanf@axis.com>:
25775 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25776 in array print pattern match.
25777
a9e2e984
FN
257782000-11-09 Fernando Nasser <fnasser@redhat.com>
25779
25780 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25781 spelling "cancelled" to U.S. spelling "canceled" to match changes
25782 made to gdb.
25783 * gdb.c++/ovldbreak.exp: Ditto.
25784
c7db355b
PS
257852000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25786
25787 * gdb.base/callfuncs.c (main): Moved to end of file, call
25788 t_double_values to initialize the FPU before inferior calls are made.
25789 * gdb.base/callfuncs.exp: Test for register preservation after calling
25790 inferior functions. Add tests for continuining, finishing and
25791 returning from a stop in a call dummy.
25792
dc96c6c7 257932000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
25794
25795 * gdb.base/commands.exp: Break up long lines, and re-indent.
25796
dc96c6c7 257972000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25798
25799 * config/gdbserver.exp: Rewritten from the ground up, to make it
25800 compatible with the current dejagnu tree, and to make it work with
25801 the new "gdbserver" in libremote.
25802
dc96c6c7 258032000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25804
25805 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25806 * gdb.base/varargs.exp: Skip entire test if no printf support.
25807 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25808 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25809
dc96c6c7 258102000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25811
25812 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25813 no floating point support.
25814 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25815 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25816 * gdb.base/call-rt-st.exp: Ditto.
25817 * gdb.base/call-strs.exp: Ditto.
25818
bac5fc66
JG
258192000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25820
25821 * gdb.base/sizeof.c: include <stdio.h>.
25822
25823 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25824 'finish', otherwise uncaptured gdb_prompt would potentially
25825 throw remaining test points out of sync.
bac5fc66 25826
b22a6027
SB
258272000-07-26 Scott Bambrough <scottb@netwinder.org>
25828
25829 * gdb.base/recurse.exp: Run tests for all targets.
25830 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25831 gnu-oldld case on ARM.
25832 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25833 for ARM targets.
d63a86f8 25834
d8231941
AG
25835Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25836
25837 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25838 * gdb.java/configure: Rebuild.
25839
8caabe69
AG
25840Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25841
25842 * gdb.java/jv-exp.exp: New file.
25843
9d273ca3
AG
25844Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25845
25846 * configure: Rebuilt.
25847 * configure.in (configdirs): Add gdb.java.
25848 * gdb.java/jmisc.java: New file.
25849 * gdb.java/jmisc.exp: New file.
25850 * gdb.java/Makefile.in: New file.
25851 * gdb.java/configure: Rebuilt.
25852 * gdb.java/configure.in: New file.
25853 * lib/java.exp: New file.
25854
4f823a66
AC
25855Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25856
25857 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25858 underflow.
4f823a66 25859
2391e11d
AC
25860Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25861
25862 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25863 and the compilers sizes.
2391e11d 25864
54602222
ND
258652000-07-09 Nick Duffek <nsd@redhat.com>
25866
25867 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25868 (use_methods): New function.
25869 (main): Call use_methods().
25870 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25871 (do_tests): Call test_method_param_class.
25872
2bec0572
ND
258732000-07-09 Nick Duffek <nsd@redhat.com>
25874
25875 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25876 spelling.
25877 (test_enums): New procedure. Move enum tests from end of script
25878 to here. Set breakpoint on function name instead of line number.
25879 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25880 (enums2): New marker function.
25881 (enums1): New function.
25882 (main): Call enums1(). Move enum tests to enums1().
25883
78492fde
AC
25884Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25885
25886 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25887 compile/link program. Update line numbers.
78492fde
AC
25888 * gdb.asm/d10v.inc: Define ``startup''.
25889 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25890
49a2cef8
AC
25891Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25892
25893 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25894
3e6c8688
EZ
258952000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25896
25897 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25898 of 'help maint print' command.
3e6c8688 25899
9ff5cbe9
AC
25900Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25901
25902 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25903 they use gdb_expect_list.
9ff5cbe9 25904
17c579bd
AC
25905Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25906
25907 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25908 memory-read-packet-size'' instead of ``set endian big'' to test
25909 long commands.
17c579bd 25910
e6d71bf3
DB
259112000-06-03 Daniel Berlin <dan@cgsoftware.com>
25912
25913 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25914 g++, and stop skipping them.
e6d71bf3
DB
25915
25916 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25917 work under g++.
25918
d63a86f8 25919 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25920 initialization.
25921
dc96c6c7 259222000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25923
25924 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25925 the regular expression: accept an (almost) arbitrary sequence of
25926 "frames-invalid" and "breakpoints-invalid" messages both before
25927 and after the "starting" message.
25928
dc96c6c7 259292000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25930
25931 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25932
dc96c6c7 259332000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25934
25935 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25936 Relax the regular expression a little, make it pass on Solaris 8.
25937
8216cda9
KB
259382000-05-12 Kevin Buettner <kevinb@redhat.com>
25939
25940 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25941 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25942 Instead, it is permissible for gdb to stop on the line of the
25943 call itself.
25944
1a570b2f
MS
259452000-05-12 Michael Snyder <msnyder@.cygnus.com>
25946
25947 * gdb.base/break.exp (bp on small function, optimized file):
25948 Add a second pass pattern. The behavior differs here between stabs
25949 and dwarf for one-line functions. Stabs preserves two line symbols
25950 (one before the prologue and one after) with the same line number,
25951 but dwarf regards these as duplicates and discards one of them.
25952 Therefore the address after the prologue (where the breakpoint is)
25953 has no exactly matching line symbol, and GDB reports the breakpoint
25954 as if it were in the middle of a line rather than at the beginning.
25955
dc96c6c7 259562000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25957
d63a86f8 25958 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25959 rather than "send_gdb" (for consistancy).
25960
7d418785
AC
25961Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25962
25963 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25964 * gdb.c++/templates.cc: Properly check for GCC version number.
25965 * lib/compiler.cc: Likewise
25966
dc96c6c7 259672000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25968
d63a86f8 25969 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25970 gdb may not stop at the first line of main, due to code motion.
25971
dc96c6c7 259722000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25973
25974 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25975 This test depends on parsing the printf output from the target.
25976 Since the sparclet stub doesn't do stdio, this will never work.
25977 * gdb.base/call-rt-st.exp: ditto.
25978 * gdb.base/call-strs: ditto.
25979
dc96c6c7 259802000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25981
25982 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25983
25984 * gdb.base/ending-run.exp: After connecting to a remote target,
25985 but before running, the target will appear to be in a random
25986 location. Specify both a file and a line for breakpoints.
25987 Also, the function that calls main may be called 'init'
25988 rather than 'start'.
25989
a5a51225
EZ
259902000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25991
25992 * gdb.base/help.exp: Update output for add-symbol-file command.
25993
7930cc7c
FN
259942000-04-10 Fernando Nasser <fnasser@cygnus.com>
25995
25996 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25997 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25998
23e37ab1
C
259992000-04-07 J.T. Conklin <jtc@redback.com>
26000
e93c542c
C
26001 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26002
23e37ab1
C
26003 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26004
591b8fa3
PDM
26005Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26006
26007 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 26008 values that can be represented exactly.
591b8fa3
PDM
26009 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26010 above change, and to not check against the directory part of the source
26011 file name.
26012 (step into print_long_arg_list): Likewise.
26013 (print print_small_structs from print_long_arg_list): Likewise.
26014 (print print_long_arg_list): Likewise.
26015
7a495180
EZ
260162000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26017
30b53638 26018 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 26019
beb998c6
AC
26020Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26021
26022 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26023
1c689132
DB
260242000-03-25 Daniel Berlin <dan@cgsoftware.com>
26025
26026 * gdb.base/commands.exp (deprecated_command_test): Add test for
26027 deprecate with no arguments.
26028
c1790a9d
JL
260292000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26030
26031 * gdb.base/break.exp: Add new test for setting breakpoints on
26032 optimized code so we can test breakpoints work even when function
26033 prologues may be optimized away
26034
003ba290
FN
260352000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26036
26037 From David Whedon <dwhedon@gordian.com>
a9c64011 26038 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 26039
6837a0a2
DB
260402000-03-22 Daniel Berlin <dan@cgsoftware.com>
26041
26042 * gdb.base/help.exp: Added test for new apropos command.
26043
b9593231
KB
260442000-03-21 Kevin Buettner <kevinb@redhat.com>
26045
26046 * gdb.base/pointers.c (usevar): New function.
26047 (main): Make sure that global variables v_int_pointer2, rptr,
26048 and y are all referenced someplace in the program by calling
26049 usevar() on them. [Some linkers delete symbols which are
26050 never referenced. The space remains, but there's no way to
26051 get a (symbolic) handle on the variable from the debugger.]
26052
751a959b
EZ
260532000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26054
26055 * gdb.base/printcmds.c: Add typedeffed arrays.
26056
26057 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 26058 procedure to test arrays that are typedef'd.
751a959b 26059
73a93a32
JI
260602000-03-13 James Ingham <jingham@leda.cygnus.com>
26061
26062 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 26063 the library directories.
73a93a32 26064
fb40c209
AC
26065Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26066
26067 * configure.in (configdirs): Add sub directory gdb.mi.
26068 * configure: Re-generate.
26069
26070 * gdb.mi: New directory.
d63a86f8 26071
ee4dd2c9
AC
260722000-02-25 Scott Bambrough <scottb@netwinder.org>
26073
26074 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 26075 a long long value as a double on ARM platforms.
ee4dd2c9 26076
70f0cc22
JB
260772000-02-16 Jim Blandy <jimb@redhat.com>
26078
26079 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26080 default source file is set properly before running this test.
26081
853819b8
EZ
260822000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26083
26084 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 26085 gdbtk/library directory, not in gdbtcl2.
853819b8 26086
dfcd3bfb
JM
260872000-02-04 Jim Blandy <jimb@redhat.com>
26088
26089 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26090 backslash from regexp pattern.
26091
26092 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26093 procedure. Use it to run all the "continue to bp overloaded"
26094 tests. Note that this changes the names of the tests slightly.
26095 If the breakpoint hit message includes a hex PC value, because
26096 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26097 from the real source code, still consider that a pass.
26098
26099 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26100 XFAIL here if the breakpoint message contains a hex address. Note
26101 similar change on 1999-11-02.
26102
26103 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26104
26105 * gdb.base/ptype.exp: Establish a default source file before
26106 calling get_debug_format.
26107
261082000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26109
26110 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26111
8b93c638
JM
261122000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26113
26114 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26115 of successive stepi commands -- while in the prologue we should see
26116 the function entry bracket.
26117
261182000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26119
26120 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26121 reach __change_mode() when stepping through the end of main().
26122
c5394b80
JM
261232000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26124
26125 * gdb.base/default.exp: Fix expected pattern.
26126 * gdb.base/help.exp: Same.
26127
0d06e24b
JM
261282000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26129
26130 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 26131 Don't use xfail's because that affects only the following test.
d63a86f8 26132
0d06e24b 26133 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 26134 solaris or linux.
0d06e24b
JM
26135
26136 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26137
dc96c6c7 261382000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 26139
d63a86f8 26140 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
26141 "A syntax error" rather than "A parse error". Accept both.
26142
261432000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26144
26145 * gdb.base/default.exp: Remove OS dependent string from "target
26146 remote" test.
26147 * gdb.base/help.exp: Same for "help target remote" test.
26148
c3f6f71d
JM
261492000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26150
26151 From Jim Kingdon <kingdon@redhat.com>:
26152
26153 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
26154 prompt (cleanup rather than necessity, but still might keep output
26155 from spilling to next test).
c3f6f71d
JM
26156
261572000-01-02 Fred Fish <fnf@cygnus.com>
26158
26159 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26160 AIX, which defines them in <sys/types.h>.
26161
ed9a39eb 261621999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 26163
ed9a39eb 26164 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 26165 float" test.
ed9a39eb
JM
26166
261671999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 26168
ed9a39eb 26169 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
26170
26171 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26172 outermost frame disallowed".
26173
261741999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26175
26176 * gdb.base/setvar.exp: New tests for setting the value of a struct
26177 with a constant list.
26178
261791999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26180
26181 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26182 require the user to type a cast before setting the value of a struct.
26183
de57eccd
JM
261841999-12-06 Jim Blandy <jimb@cygnus.com>
26185
26186 * gdb.base/default.exp: Expect the new 'info float' command on
26187 all i386 platforms.
26188
26189 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26190 LinuxThreads libraries that don't support debugging.
26191
c2d11a7d
JM
26192Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26193
26194 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
26195 Change the buffer type to ``unsigned char'' to simplify size
26196 arithmetic.
c2d11a7d
JM
26197
26198 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
26199 stub only handles 400-1 byte packets. Verify that the download
26200 worked.
c2d11a7d
JM
26201
262021999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26203
26204 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26205 tests, using UNRESOLVED for the untested cases. Also, does not wait
26206 for a timeout if the prompt was received before a recognizable pattern.
26207
262081999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26209
26210 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26211
262121999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26213
26214 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 26215 watchpoints.
c2d11a7d
JM
26216
262171999-11-24 Jason Merrill <jason@casey.cygnus.com>
26218
26219 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26220
26221 * gdb.c++/local.exp: Be more flexible in recognizing local class
26222 name mangling. Don't allow horribly truncated method names.
26223 * gdb.c++/derivation.exp: Expect protected inheritance.
26224 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26225 * gdb.c++/virtfunc.exp: Likewise.
26226 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26227 when printing a nested enum.
26228
262291999-11-22 Jim Blandy <jimb@cygnus.com>
26230
26231 * gdb.base/step-test.exp: Properly await GDB's response to setting
26232 a breakpoint on the call to large_struct_by_value.
26233
26234 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26235 just because we have debug info for the `start' function.
26236
262371999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26238
26239 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26240 "Unknown signal" messages, which indicate (on LinuxThreads) that
26241 GDB doesn't know how to debug threads on this system. This is
26242 better than hanging while philosopher 0 dumps chatter into gdb.log.
26243
262441999-11-18 Tom Tromey <tromey@cygnus.com>
26245
26246 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26247
262481999-11-18 Fred Fish <fnf@cygnus.com>
26249
26250 * gdb.base/coremaker2.c: Add sample program for generating
26251 cores that is more self contained than coremaker.c. Eventually
26252 I'll add more code to this and tie it into the testsuite.
26253
4ce44c66
JM
262541999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26255
26256 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26257
262581999-11-10 Jimmy Guo <guo@cup.hp.com>
26259
26260 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 26261 from $srcdir/lib/.
4ce44c66 26262 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 26263 and gdb.c++/.
4ce44c66
JM
26264
26265 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26266
d63a86f8 26267 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
26268 'continue with watch' test point.
26269
262701999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26271
26272 Merged from p2linux-990323-branch:
d63a86f8 26273
4ce44c66
JM
26274 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26275
11cf8741
JM
26276Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26277
26278 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 26279 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
26280
26281Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26282
26283 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 26284 gdb_expect_list.
11cf8741
JM
26285
26286Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26287
26288 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26289
262901999-11-03 Mark Salter <msalter@cygnus.com>
26291
26292 * gdb.base/break.exp: Fix "stub continue" pattern.
26293
262941999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26295
26296 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26297
262981999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26299
26300 * gdb.base/display.exp ("finish"): Add timeout clause.
26301
26302 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26303 plain prompt clause, so this doesn't have to time out in order to
26304 fail.
26305
26306 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 26307 breakpoint hit messages include an address.
11cf8741
JM
26308
26309 * gdb.base/display.exp: Don't forget to escape parens in regular
26310 expressions. Unix regexp notatation sucks.
26311
263121999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26313
26314 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 26315 order for 'signalled' message.
11cf8741 26316
5c44784c
JM
263171999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26318
26319 From Jimmy Guo <guo@cup.hp.com>:
26320 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26321 * gdb.base/annota1.c: Add code for tests to work with.
26322
263231999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26324
26325 * gdb.base/remote.exp: New test for remote downloading settings.
26326 * gdb.base/remote.c: New file with large .data.
26327
917317f4
JM
263281999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26329
26330 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26331 for LinuxThreads support, merged from the Code Fusion branch.
26332
26333Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26334
26335 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
26336 containing exp_continue into a while within an expect. Don't
26337 attempt a start more than three times. Check return value from
26338 gdb_load.
d63a86f8 26339
2df3850c
JM
26340Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26341
26342 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 26343 a pass case.
2df3850c 26344
2acceee2
JM
263451999-10-01 Kevin Buettner <kevinb@cygnus.com>
26346
26347 * gdb.base/break.c (main): Added a statement that we can step
26348 off of.
26349 * gdb.base/break.exp: Added tests for setting a breakpoint
26350 at an offset and stepping onto a breakpoint.
26351
263521999-10-01 Fred Fish <fnf@cygnus.com>
26353
d63a86f8 26354 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
26355 gdb output.
26356
c2c6d25f
JM
263571999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26358
26359 * gdb.base/break.exp: Code locations are in hex, don't forget!
26360 (For HP-UX.)
26361
263621999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26363
26364 * condbreak.exp: Use break.c as test program.
26365 * condbreak.c: Remove, redundant with break.c.
26366
263671999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26368
26369 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 26370 Z-packets if the target needs it.
c2c6d25f
JM
26371
263721999-09-13 James Ingham <jingham@leda.cygnus.com>
26373
26374 * gdb.c++/overload.exp: Added tests for listing overloaded
26375 functions with function pointers in the arg, explicitly calling
26376 out the version you want.
26377
cff3e48b
JM
263781999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26379
26380 * long_long.exp: Add variations of test cases that work for
26381 targets with 16-bit ints and 32-bit doubles.
26382
d4f3574e
SS
263831999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26384
26385 * break.c (main): Compare a possibly-uninitialized argc with an
26386 unlikely value that fits in 16 bits.
26387
263881999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26389
26390 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26391 0xfeeb, don't want negative numbers if ints are 16 bits.
26392
26393 * lib/gdb.exp (skip_cplus_tests): New proc.
26394 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
26395 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26396 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26397 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26398 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26399 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26400 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26401 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
26402
26403 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26404
26405Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26406
26407 * gdb.base/corefile.exp (up): Allow a parameter to appear
26408 in the frame that we're going up to.
26409
26410 From Jim Blandy <jimb@cygnus.com>:
26411
26412 * gdb.base/default.exp (info float): Expect some output now.
26413
26414 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26415 returning floating-point values to fail on the x86.
26416 * gdb.base/callfwmall.exp (do_function_calls): Same.
26417
26418 * gdb.base/list.exp (test_listsize): Correct expectations for
26419 listing line 1 with listsize 2. Also, listing a single line
26420 works now, as does listing three lines. [Kevin's note: There
26421 were a number of other cases fixed too where the expectations
26422 differed...]
26423
264241999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26425
26426 * gdb.base/selftest.exp: Add case for when version prints as
26427 constant string instead of char pointer.
26428
104c1213
JM
264291999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26430
26431 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 26432 stepping out of main.
104c1213
JM
26433
26434 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26435 G++ used.
26436
26437 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 26438 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
26439
26440 * gdb.c++/ovldbreak.exp: Update match string in test that
26441 includes a warning of multiple breakpoints.
26442
264431999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26444
26445 * gdb.base/display.exp: Improve precision of step-after-finish
26446 added yesterday.
26447
26448 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 26449 test.
104c1213
JM
26450
26451 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26452 configs when using G++, not just hppa*.
26453
264541999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26455
26456 * gdb.base/async.c: New file.
26457 * gdb.base/async.exp: New file.
26458
26459Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26460
26461 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26462 PA64.
26463
53a5351d
JM
26464Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26465
104c1213
JM
26466 * gdb.base/display.exp: "finish" can leave us mid-line on many
26467 targets, deal with it. Add a small constant to main, instead of
26468 1000 since main+1000 may not be a valid address in the target.
26469
53a5351d
JM
26470 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26471 on hpux11.
26472
26473 * gdb.base/attach.exp: Handle another hpux11 error message variant
26474 when attaching to a process that does not exist.
26475
264761999-08-19 J.T. Conklin <jtc@redback.com>
26477
26478 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 26479 characters in 'continue to 1241' test.
53a5351d
JM
26480
264811999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26482
26483 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26484 stop in print_long_arg_list, define and use a whitespace
26485 variable in print_small_structs test, add an XFAIL for Solaris.
26486 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26487 interested enough to fix.
26488
7be570e7
JM
264891999-08-13 Keith Seitz <keiths@cygnus.com>
26490
26491 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26492 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26493 proc knows about targets other than the natives.
26494 (test_assign): Use "gdb_run_cmd" to "run" the target.
26495 Check that we've actually hit the breakpoint at main.
26496 When we attempt to assign a value to a local variable, check
26497 that the variable is in the current scope, i.e., don't use
26498 a test with an empty result.
26499
26500Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26501
26502 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 26503 command.
7be570e7
JM
26504
265051999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26506
26507 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26508 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26509 gdb.compat, gdb.threads-hp.
26510 gdb.hp/configure, gdb.hp/configure.in: New files.
26511 gdb.hp/Makefile.in: Recurse into new subdirs.
26512 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26513 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26514 in object files.
26515 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26516
96baa820
JM
265171999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26518
26519 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 26520 funky printf, remove a bogus p/a test.
96baa820
JM
26521
265221999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26523
26524 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
26525 connected to the target. This is necessary when running not
26526 natively.
96baa820
JM
26527
265281999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26529
26530 * gdb.base/step-test.exp: Removed some extraneous messages.
26531
26532 * gdb.base/long_long.exp: Don't run memory examination tests
26533 on little-endian targets (they will need a different set of
26534 results to match).
26535
265361999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26537
26538 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26539 until somebody decides to fix GDB.
26540
26541 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 26542 constant as "ULL".
96baa820
JM
26543 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26544 matches for a couple x/2 commands.
26545
a0b3c4fd
JM
265461999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26547
26548 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26549 by merging in ref-types2 tests.
26550 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26551
26552 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26553 * gdb.c++/Makefile.in: Add standard actions.
26554 (EXECUTABLES): Rename from PROGS, update list.
26555 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26556 from gdb.hp.
26557 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26558 foo and bar locals.
26559 * gdb.c++/anon-union.exp: Fix tests to match.
26560 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26561 expect matches to handle output variations.
26562 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26563 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 26564 output, add HP alternatives for new and delete prints.
a0b3c4fd 26565 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 26566 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
26567 * gdb.c++/demangle.exp: Use $style when reporting failure.
26568 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26569 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26570 match alternatives.
26571 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 26572 compilers.
a0b3c4fd
JM
26573 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26574 * gdb.c++/method.exp: Add match alternatives.
26575 * gdb.c++/misc.cc: Add bool types.
26576 * gdb.c++/misc.exp: Add tests for bool types.
26577 * gdb.c++/overload.exp: Add xfails.
26578 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26579 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26580 add some more template parameter tests (only for HP currently).
26581 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26582 * gdb.c++/virtfunc.cc: Add return type and value for main.
26583 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26584 match alternatives.
d63a86f8 26585
a0b3c4fd
JM
265861999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26587
26588 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26589
265901999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26591
26592 * gdb.base/signals.exp: Don't expect getting a backtrace from
26593 within a signal handler to fail on Linux.
26594
265951999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26596
26597 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26598 * lib/gdb.exp: Remove some gratuitious semicolons.
26599 (delete_breakpoints): Increase timeout.
26600 (gdb_expect): Add -notransfer option.
26601 (gdb_test): Use -notransfer option.
26602 (get_compiler_info): Add f77 case.
26603 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 26604 case.
a0b3c4fd
JM
26605 (gdb_preprocess): Call get_compiler.
26606
26607 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26608 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
26609 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26610 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26611 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26612 third arg to gdb_test.
a0b3c4fd
JM
26613 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26614 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 26615 HP-UX xfails, add others.
a0b3c4fd
JM
26616 * gdb.base/completion.exp: Reflect name change of self-test.
26617 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
26618 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26619 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26620 HP failure number.
a0b3c4fd
JM
26621 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26622 useless HP-UX 10.30 references.
26623 * gdb.base/maint.exp: Loosen matches.
26624 * gdb.base/pointers.c (main): Declare more_code.
26625 * gdb.base/pointers.exp: Match on output of a `next'.
26626 * gdb.base/structs.c: Add prototypes.
26627 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26628 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26629
266301999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26631
26632 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 26633 command.
a0b3c4fd
JM
26634
266351999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26636
26637 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26638 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
26639
26640 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
26641 debug info. Deal with lack of signal hanlder info in stack.
26642
a9c64011 26643 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
26644 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26645
5a2468f5
JM
266461999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26647
26648 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 26649 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 26650
adf40b2e
JM
26651Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26652
26653 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 26654 a1-selftest.exp.
adf40b2e
JM
26655 * gdb.base/configure: Re-generate.
26656
266571999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26658
26659 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26660 in trying to run first and name is too long.
26661
26662 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26663 pointers2.c and pointers2.exp, respectively.
26664 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26665 doschk happier.
26666
43e526b9
JM
266671999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26668
26669 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26670 callfuncs2.c and callfuncs2.exp.
26671
26672 * gdb.base/list.exp: Remove mistaken xfails.
26673 * gdb.base/list0.h: Add optional prototypes.
26674
9846de1b
JM
26675Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26676
a9c64011 26677 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 26678 calling malloc.
a9c64011
AS
26679 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26680 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 26681 use.
9846de1b
JM
26682
266831999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26684
26685 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26686 * gdb.base/annota2.cc, annota2.exp: Move from here.
26687 * gdb.c++/annota2.cc, annota2.exp: To here.
26688 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26689
43ff13b4
JM
26690Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26691
26692 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 26693 a consistent format.
43ff13b4 26694
085dd6e6
JM
266951999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26696
26697 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26698 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26699 HP compilers, also set the globals $true and $false.
26700
26701 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
26702 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26703 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26704 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26705 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26706 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26707 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26708 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26709 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26710 whatis.c} Add C++ compatible function definitions and return
26711 types, add includes for library functions.
085dd6e6
JM
26712 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26713 * gdb.base/step-test.c (myglob): Rename from glob.
26714 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
26715 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26716 files, move here from gdb.hp.
085dd6e6 26717 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
26718 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26719 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26720 Adjust line numbers in regexps.
085dd6e6
JM
26721
26722 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26723 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26724 instead of 0/1.
26725
26726 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26727 foll-vfork.exp: New files, move here from gdb.hp.
26728 * gdb.base/page.exp: New file, test of pagination command.
26729
26730 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26731 recursion test.
26732 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26733
26734 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 26735 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
26736
26737 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 26738 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 26739 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 26740 watchpoint test.
085dd6e6
JM
26741 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26742 them work.
26743 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26744 expressions properly.
26745 * gdb.base/corefile.exp: Loosen the match slightly.
26746 * gdb.base/default.exp: Allow "Error accessing memory" message
26747 also.
26748 * gdb.base/display.exp: Skip over x/0 j if PA64.
26749 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26750 * gdb.base/interrupt.exp: Ditto.
26751 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26752 in use.
26753 * gdb.base/list.exp: Add xfails for HP-UX.
26754 * gdb.base/long_long.exp: Refine some of the numeric matches.
26755 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26756 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26757 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26758 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26759 * gdb.base/ptype.exp: Succeed on more varieties of output.
26760 * gdb.base/scope.exp: Add xfails for HP-UX.
26761 * gdb.base/sect-cmd.exp: Add more cases.
26762 * gdb.base/setvar.exp: Add xfails for HP-UX.
26763 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26764 * gdb.base/signals.exp: Match on void symbolically.
26765 * gdb.base/step-test.exp: Add case for PA64.
26766 * gdb.base/term.exp: Add exit and restart.
26767 * gdb.base/twice.exp: Clean up after self.
26768 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26769 * gdb.base/whatis.exp: Allow more ways to pass tests.
26770
26771 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 26772 no longer useful.
085dd6e6
JM
26773
26774Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26775
26776 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 26777 list of patterns.
085dd6e6 26778 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
26779 print_double_array(double_array)", "continuing to breakpoint
26780 1018", "print print_double_array(array_d)" and "continuing to
26781 1034" tests.
d63a86f8 26782
085dd6e6
JM
267831999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26784
a9c64011 26785 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
26786
267871999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26788
26789 * config/mt-*: Remove, these haven't been used since 1996.
26790
267911999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26792
26793 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 26794 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26795 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26796
9e0b60a8
JM
267971999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26798
26799 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26800 simpler match case for the ptype of the big class.
26801
268021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26803
26804 * gdb.exp: Fix test for gdb_prompt existence.
26805
268061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26807
26808 * gdb.exp (gdb_test): Add fail after calls to perror.
26809
268101999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26811
26812 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26813
268141999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26815
26816 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26817
0f71a2f6
JM
26818Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26819
26820 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26821 malloc() is linked in.
0f71a2f6
JM
26822
268231999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26824
26825 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26826 step at end.
26827
26828 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26829
268301999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26831
26832 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26833
cce74817
JM
26834Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26835
26836 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26837 * gdb.base/mips_pro.exp: Likewise.
26838
268391999-06-02 Keith Seitz <keiths@cygnus.com>
26840
26841 * gdb.c++/templates.cc: Change all "new" operators to throw
26842 an exception.
26843 * gdb.c++/cplusfuncs.cc: Likewise.
26844
26845 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26846
26847Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26848
26849 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26850 * gdb.base/ending-run.exp: When stepping out of main, accept a
26851 step into an arbitrary assembler file.
cce74817 26852
392a587b
JM
268531999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26854
d63a86f8 26855 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26856 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26857 * gdb.base/annota2.exp: Revise line number for main
26858 breakpoint. Allow any number of "frames-invalid" and
26859 "breakpoint-invalid" to be printed.
392a587b
JM
26860 * gdb.base/annota2.cc: Initialize a.x to 0.
26861
9e086581
JM
268621999-05-17 Keith Seitz <keiths@cygnus.com>
26863
6fdff2c5
PA
26864 * gdb.base/call-ar-st.exp: Skip
26865 "print print_double_array (double_array)" when "skip_float_tests" set.
26866 Ditto for "print print_double_array(array_d)",
26867 "print print_small_structs", "print print_ten_doubles", and
26868 "step into print_long_arg_list".
26869 Don't assume we can step into "print_long_arg_list": we could step
26870 into memcpy.
26871 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26872 "skip_float_tests" is set: "print print_one_double(*d1)"
26873 and "print print_two_floats(*f3)".
9e086581
JM
26874 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26875 "skip_float_tests" is set.
6fdff2c5
PA
26876 * gdb.base/varargs.exp: Skip
26877 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26878 "skip_float_tests" set.
d63a86f8 26879
cd0fc7c3
SS
268801999-05-06 Keith Seitz <keiths@cygnus.com>
26881
26882 * gdb.base/annota2.cc: Include stdio.h.
26883
26884Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26885
26886 * gdb.base/crossload.exp: Remove, this has been disabled ever
26887 since BFD stopped including all targets, and cross-GDB gets
26888 plenty of testing anyway.
26889 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26890 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26891 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26892 * gdb.base/README: Remove, was doc for this.
26893 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26894 needed.
cd0fc7c3 26895
b83266a0
SS
268961999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26897
26898 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26899 output.
26900
26901 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26902 * gdb.base/annota2.exp: New file. More annotation tests.
26903 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26904 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26905
269061999-04-23 Angela Marie Thomas <angela@cygnus.com>
26907
26908 * config/cfdbug.exp: New file.
26909
7a292a7a
SS
269101999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26911
26912 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26913 Marcus Daniel's and Dale Hawkins's demangler crashes.
26914
26915 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26916 test_lucid_style_demangling, test_arm_style_demangling,
26917 test_hp_style_demangling): Try Tom Tromey's core-dumping
26918 identifier under each demangling style.
7a292a7a
SS
26919
269201999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26921
26922 * gdb.c++/demangle.exp: Include the current demangling style
26923 in all test names.
26924 (current_demangling_style): New global variable.
26925 (set_demangling_style, test_demangling_core, test_demangling,
26926 test_demangling_exact): New functions.
26927 (test_gnu_style_demangling, test_lucid_style_demangling,
26928 test_arm_style_demangling, test_hp_style_demangling): Use those,
26929 instead of calling gdb_test and gdb_test_exact directly.
26930 (catch_demangling_errors): New function, which reports errors
26931 signalled by the demangling test functions in an orderly way.
26932 (do_tests): Use catch_demangling_errors.
26933
269341999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26935
26936 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26937 grouping in expressions, not {}.
7a292a7a
SS
26938
26939 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26940 initialized yet.
7a292a7a
SS
26941
269421999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26943
26944 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26945 are listed.
26946
269471999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26948
26949 * gdb.stabs/weird.exp: Test for CC being defined before
26950 looking at its value.
26951
269521999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26953
26954 * gdb.base/call-ar-st.exp: Remove stray '#'.
26955 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26956 "short int" and "long int".
26957 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26958 change, to mollify finicky HP compiler.
7a292a7a
SS
26959 * gdb.hp/reg-test.exp (testfile): Fix file name.
26960 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26961
7a292a7a
SS
26962 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26963 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26964 alternate form of enum ptype.
26965
c906108c
SS
269661999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26967
7a292a7a
SS
26968 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26969 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26970 passing skip_hp_tests, so as not to waste time on guaranteed
26971 failure.
7a292a7a 26972
c906108c
SS
26973 * gdb.c++/overload.cc: Pass string instead of char addr, always
26974 init ccpfoo.
26975 * gdb.c++/templates.cc: Fix syntax error.
26976
7a292a7a
SS
26977Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26978
26979 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26980 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26981 command.
26982
269831999-03-18 James Ingham <jingham@cygnus.com>
26984
26985 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26986
26987 * gdb.c++/method.exp: It was testing an uninitialized int on the
26988 stack and assuming it was positive.
26989
26990 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26991
26992 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26993 keep it from killing the rest of the tests.
7a292a7a
SS
26994 Use gdb_continue_to_end.
26995
26996 * gdb.base/sigall.exp: use gdb_continue_to_end.
26997
26998 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26999
27000 * gdb.base/display.exp: use runto_main, not run.
27001
d63a86f8
RM
27002 * gdb.base/default.exp: Check for the current error message in the
27003 r abbreviation test.
7a292a7a
SS
27004 Add strongarm to the targets that know info float.
27005
d63a86f8 27006 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
27007 run which doesn't work with monitors.
27008
6fdff2c5
PA
27009 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27010 1034 test.
7a292a7a
SS
27011
27012 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27013
6fdff2c5
PA
27014 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27015 end of a program. Traps the case (in Cygmon) when the program
27016 never really exits. Same as Mark's continue_to_exit, but I had
27017 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
27018
27019 * config/monitor.exp (gdb_target_monitor): added another
27020 target_info parameter: remotebinarydownload. This will set the
27021 remotebinarydownload flag if this is causing some boards trouble.
27022
270231999-03-18 Mark Salter <msalter@cygnus.com>
27024
27025 * lib/gdb.exp (continue_to_exit): New function.
27026
27027 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27028 * gdb.base/ending-run.exp: Ditto.
27029 * gdb.base/step-test.exp: Ditto.
27030
270311999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27032
27033 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27034 (suggested by Art Haas <ahaas@neosoft.com>).
27035
270361999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27037
889bf7c5 27038 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
27039
27040Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27041
27042 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 27043 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
27044
270451999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27046
27047 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27048 a call to strlen; sometimes we do have sources.
27049
270501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
27051
27052 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 27053 character, so GDB won't print garbage after its end.
d63a86f8 27054
c906108c
SS
27055 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27056 breakpoint there instead. Sometimes GCC emits memcpy to handle
27057 the large structures being passed by value, so we step into that
27058 instead of sum_array_print, which obscures what we're really testing.
27059 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
27060 the bizarre steps into memcpy, so do that here. Add check for
27061 stepping into function calls that pass large structures by value.
27062 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
27063 Remove all references to specific line numbers.
27064 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27065 New type and function.
27066 (main): Call large_struct_by_value, passing it a large struct by value.
27067 * lib/gdb.exp (gdb_get_line_number): New function.
27068
27069 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27070 more portable.
27071
7a292a7a
SS
270721999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27073
c906108c
SS
27074 * lib/gdb.exp: Doc fixes.
27075
7a292a7a
SS
270761999-03-05 Nick Clifton <nickc@cygnus.com>
27077
d63a86f8 27078 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
27079
270801999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27081
c906108c 27082 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
27083 commands. They're not germane to this test, and they don't work
27084 that way on remote targets.
c906108c 27085
3fc11d3e
JM
270861999-03-01 James Ingham <jingham@cygnus.com>
27087
27088 * Changelog entries merged over from gdb development branch.
27089
3fc11d3e
JM
27090 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27091
27092 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27093 for outputting results of test run.
27094
2d4a1622 27095 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
27096
27097 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 27098
7a292a7a
SS
270991999-02-25 Felix Lee <flee@cygnus.com>
27100
27101 * lib/gdb.exp (debug_format): initialize
27102
c906108c
SS
271031999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27104
27105 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27106 * gdb.base/call-rt-st.c: Ditto.
27107
c906108c
SS
271081999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27109
27110 * gdb.threads/pthreads.exp (horiz): New variable.
27111 (test_startup): Fix regexps that capture thread numbers.
27112
271131999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27114
27115 * gdb.base/smoke.exp: Disambiguate two test case names (both
27116 called ``print'').
27117
27118Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27119
27120 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 27121 compilation.
c906108c
SS
27122
271231999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27124
27125 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27126 actual output formatting.
27127 * gdb.base/smoke.exp: GDB removes leading 0's.
27128 * gdb.base/volatile.exp: Don't check type of remuneration;
27129 that variable is no longer defined in constvars.c.
27130 * gdb.base/step-test.c (main): Exit with explicit exit code.
27131 * gdb.base/step-test.exp: Remove two nexti checks--they are
27132 not portable.
27133
271341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27135
27136 * gdb.base/help.exp ("help delete display"): Fix test to match
27137 gdb's output.
27138
27139 * gdb.base/long_long.c (known_types): Initialize values to zero.
27140 * gdb.base/long_long.exp: Step one more line
27141 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
27142 leading zeros. Explicitly ask for hex formatting. Use
27143 unique test case names.
c906108c
SS
27144
27145Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27146
d63a86f8 27147 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
27148
27149 * gdb.c++/method.exp: Add missing close brace.
27150
271511999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27152
27153 * gdb.base/maint.exp: Use 'set height 0' to disable page
27154 prompting, not 'set height 400'.
27155
27156 Fix a bunch of timeouts.
27157 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27158 four separate tests, so expect doesn't take forever to match a ton
27159 of text against a regexp with lots of .* forms.
27160 ("maint print psymbols", "maint print symbols"): Make some of
27161 these greps more selective, so that expect doesn't try to wade
27162 through huge piles of output and time out.
27163
27164 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27165
27166 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
27167 tests: one which doesn't expect shlib events to be reported, and
27168 another which does, but is XFAIL for all platforms other than
27169 HP/UX.
c906108c
SS
27170
27171 * gdb.base/break.exp: Teach the test suite that the `catch
27172 fork', `catch vfork', and `catch exec' commands produce error
27173 messages on platforms that don't provide these features.
27174
27175Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27176
27177 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
27178 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27179 (shortening names from solib_threshold.exp etc), won't run on
27180 anything but HP-UX for the foreseeable future.
c906108c 27181 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 27182 reflect move.
c906108c
SS
27183
27184Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27185
27186 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 27187 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
27188
27189Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27190
27191 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27192 successfully re-sets breakpoints in shared libraries.
27193 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27194
27195Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27196
d63a86f8
RM
27197 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27198 and compiled w/o GCC.
c906108c
SS
27199
27200 * gdb.hp/watch-cmd.exp: ditto.
27201
27202 * gdb.hp/watch-hp.exp: ditto.
27203
27204 * gdb.hp/xdb1.exp: ditto.
27205
27206 * gdb.hp/xdb2.exp: ditto.
27207
27208 * gdb.hp/dbx.exp: ditto.
27209
27210Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27211
27212 * constvars.c: Remove C++-isms.
27213 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 27214 with GCC.
c906108c
SS
27215
27216Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27217
27218 The following changes are part of the HP merge.
27219
27220 * gdb.base/break.exp: new tests to verify that catchpoints for
27221 fork, vfork, and exec don't trigger inappropriately.
27222
27223 * gdb.base/opaque.exp: compile one file at a time, then link.
27224
27225 * gdb.base/signals.exp: be more restrictive about which hppa
27226 systems receive a setup_xfail. new tests.
27227
27228 * gdb.base/solib_threshold.build: new file.
27229 * gdb.base/solib_threshold.exp: new file.
27230 * gdb.base/solib_threshold.link_opts: new file.
27231 * gdb.base/solib_threshold.mk: new file.
27232 * gdb.base/gen_solib_threshold.c: new file.
27233
27234 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27235 tests. New tests for enums inside classes.
27236
27237 * gdb.c++/compiler.cc: indicate support of template debugging.
27238
27239 * gdb.c++/demangle.exp: run hp style demangling tests.
27240
27241 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27242 tests.
27243
27244 * gdb.c++/misc.cc: changes to support new tests.
27245
27246 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27247 to support new tests.
27248
27249 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27250 gcc, then skip these tests.
27251
27252Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27253
27254 The following files are part of the HP merge; some had longer
27255 names at HP, but have been renamed to be no more than 14
27256 characters in length.
27257
27258 * gdb.hp/ambiguous.cc: new file.
27259 * gdb.hp/ambiguous.exp: new file.
27260 * gdb.hp/attach.exp: new file.
27261 * gdb.hp/attach2.exp: new file.
27262 * gdb.hp/classes-hp.exp: new file.
27263 * gdb.hp/ctti.exp: new file.
27264 * gdb.hp/ctti-add.cc: new file.
27265 * gdb.hp/ctti-add1.cc: new file.
27266 * gdb.hp/ctti-add2.cc: new file.
27267 * gdb.hp/ctti-add3.cc: new file.
27268 * gdb.hp/dbx.exp: new file.
27269 * gdb.hp/exception.cc: new file.
27270 * gdb.hp/exception.exp: new file.
27271 * gdb.hp/foll-exec.c: new file.
27272 * gdb.hp/foll-exec.exp: new file.
27273 * gdb.hp/foll-fork.c: new file.
27274 * gdb.hp/foll-fork.exp: new file.
27275 * gdb.hp/foll-vfork.c: new file.
27276 * gdb.hp/foll-vfork.exp: new file.
27277 * gdb.hp/inherit-hp.exp: new file.
27278 * gdb.hp/more-steps.exp: new file.
27279 * gdb.hp/namespace.cc: new file.
27280 * gdb.hp/namespace.exp: new file.
27281 * gdb.hp/optimize.exp: new file.
27282 * gdb.hp/pxdb.c: new file.
27283 * gdb.hp/pxdb.exp: new file.
27284 * gdb.hp/quicksort.exp: new file.
27285 * gdb.hp/reg-test.exp: new file.
27286 * gdb.hp/reg-test.s: new file.
27287 * gdb.hp/sized-enum.c: new file.
27288 * gdb.hp/sized-enum.exp: new file.
27289 * gdb.hp/start-stop.exp: new file.
27290 * gdb.hp/templ-hp.cc: new file.
27291 * gdb.hp/templ-hp.exp: new file.
27292 * gdb.hp/thr-lib.c: new file.
27293 * gdb.hp/thr-lib.exp: new file.
27294 * gdb.hp/thr-lib.h: new file.
27295 * gdb.hp/thr-liblib.c: new file.
27296 * gdb.hp/virtfun-hp.c: new file.
27297 * gdb.hp/virtfun-hp.exp: new file.
27298 * gdb.hp/watch-cmd.exp: new file.
27299 * gdb.hp/watch-hp.exp: new file.
27300 * gdb.hp/xdb1.exp: new file.
27301 * gdb.hp/xdb2.exp: new file.
27302 * gdb.hp/xdb3.exp: new file.
27303
27304Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27305
27306 The following files are part of the HP merge; some had longer
27307 names at HP, but have been renamed to be no more than 14
27308 characters in length.
27309
27310 * gdb.base/ss.h: new file.
27311 * gdb.base/call-ar-st.c: new file.
27312 * gdb.base/call-ar-st.exp: new file.
27313 * gdb.base/call-rt-st.c: new file.
27314 * gdb.base/call-rt-st-exp: new file.
27315 * gdb.base/call-strs.exp: new file.
27316 * gdb.base/ena-dis-br.exp: new file.
27317 * gdb.base/environ.exp: new file.
27318 * gdb.base/long_long.exp: new file.
27319 * gdb.base/sect-cmd.exp: new file.
27320 * gdb.base/shlib-cl2.exp: new file.
27321 * gdb.base/smoke.exp: new file.
27322 * gdb.base/so-impl-ld.c: new file.
27323 * gdb.base/so-impl-ld.exp: new file.
27324 * gdb.base/so-indr-cl.c: new file.
27325 * gdb.base/so-indr-cl.exp: new file.
27326 * gdb.base/varargs.exp: new file.
27327 * gdb.base/volatile.exp: new file.
27328 * gdb.base/whatis-exp.exp: new file.
7a292a7a 27329 * gdb.base/display.exp: new file.
c906108c
SS
27330 * gdb.c++/derivation.exp: new file.
27331 * gdb.c++/local.exp: new file.
27332 * gdb.c++/member-ptr.exp: new file.
27333 * gdb.c++/overload.exp: new file.
27334 * gdb.c++/ovldbreak.exp: new file.
27335 * gdb.c++/ref-types.exp: new file.
27336 * gdb.c++/ref-types2.exp: new file.
27337 * gdb.c++/userdef.exp: new file.
d63a86f8 27338
c906108c
SS
27339Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27340
27341 * gdb.base/default.exp: Reflect wording change in remote.c.
27342
dc96c6c7 27343Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27344
27345 * gdb.base/help.exp: Update to reflect current text.
27346
27347Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27348
27349 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27350 they're stack variables and contain garbage.
27351 * gdb.c++/anon-union.exp: new file.
27352
27353 The following changes were made by David Taylor
889bf7c5
PA
27354 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27355 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27356 in changes by HP.
c906108c
SS
27357
27358 * gdb.base/bitops.exp: new file.
27359 * gdb.base/default.exp: change expected messages for catch and
27360 info catch tests to reflect HP merge changes.
27361 * gdb.base/enable-disable-break.exp
27362 * gdb.base/ending-run.c: new file.
27363 * gdb.base/long_long.c: new file.
27364 * gdb.base/maint.exp: new file.
27365 * gdb.base/pointers2.exp: new file.
27366 * gdb.base/shlib-call2.exp: new file.
27367 * gdb.base/solib.exp: new file.
27368 * gdb.base/step-test.c: new file.
27369 * gdb.c++/anon-union.cc: new file.
27370 * gdb.c++/local.cc: new file.
27371 * gdb.c++/member-pointer.cc: new file.
27372 * gdb.c++/method.cc: new file.
27373 * gdb.c++/ref-types.cc: new file.
27374 * gdb.c++/ref-types2.cc: new file.
27375 * gdb.c++/userdef.cc: new file.
d63a86f8 27376
c906108c
SS
27377 * gdb.base/scope.exp: compile one file at a time, then link.
27378 * gdb.base/langs.exp: ditto.
27379 * gdb.base/list.exp: ditto.
d63a86f8 27380
c906108c
SS
27381Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27382
27383 The following changes were made by David Taylor
889bf7c5
PA
27384 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27385 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27386 in changes by HP.
d63a86f8 27387
c906108c
SS
27388 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27389 skip tests. When compiling pass c++ flag to gdb_compile.
27390 * gdb.c++/
d63a86f8 27391
c906108c
SS
27392 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27393 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27394 (skip_hp_tests): new function.
27395 (gdb_preprocess): new function.
27396
27397 * configure.in (hpdir): decide whether to configure gdb.hp.
27398 * configure: regenerated.
27399
27400 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27401 to delete on clean.
27402 (EXECUTABLES): update to reflect new additions.
27403 * gdb.base/commands.exp: update message expected.
27404 * gdb.base/default.exp: add copyright notice.
27405 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27406 * gdb.base/help.exp: update messages to reflect current text.
27407 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27408 targets for recurse tests.
27409 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27410 skip this file.
27411
27412 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27413 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27414 compilation.
27415 * gdb.c++/misc.exp: ditto.
27416 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27417 run the tests. tell gdb_compile that it's a c++ compilation.
27418
27419 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 27420
c906108c
SS
27421 * gdb.base/all-bin.exp: new file.
27422 * gdb.base/arithmet.exp: new file.
27423 * gdb.base/assign.exp: new file.
27424 * gdb.base/completion.exp: new file.
27425 * gdb.base/cond-expr.exp: new file.
27426 * gdb.base/condbreak.exp: new file.
27427 * gdb.base/define.exp: new file.
27428 * gdb.base/dollar.exp: new file.
27429 * gdb.base/environment.exp: new file.
27430 * gdb.base/eval-skip.exp: new file.
27431 * gdb.base/jump.exp: new file.
27432 * gdb.base/logical.exp: new file.
27433 * gdb.base/pointers.exp: new file.
27434 * gdb.base/relational.exp: new file.
27435 * gdb.base/section_command.exp: new file.
27436 * gdb.base/whatis-expr.exp: new file.
27437
27438 * gdb.base/all-types.c: new file.
27439 * gdb.base/call-array-struct.c: new file.
27440 * gdb.base/call-return-struct.c: new file.
27441 * gdb.base/call-strings.c: new file.
27442 * gdb.base/callfuncs2.c: new file.
27443 * gdb.base/condbreak.c: new file.
27444 * gdb.base/constvars.c: new file.
27445 * gdb.base/display.c: new file.
27446 * gdb.base/int-type.c: new file.
27447 * gdb.base/jump.c: new file.
27448 * gdb.base/miscexprs.c: new file.
27449 * gdb.base/pointers.c: new file.
27450 * gdb.base/pointers2.c: new file.
27451 * gdb.base/shmain.c: new file.
27452 * gdb.base/shr1.c: new file.
27453 * gdb.base/shr2.c: new file.
27454 * gdb.base/solib.c: new file.
27455 * gdb.base/solib1.c: new file.
27456 * gdb.base/solib2.c: new file.
27457 * gdb.base/varargs.c: new file.
27458 * gdb.c++/derivation.cc: new file.
27459 * gdb.c++/overload.cc: new file.
27460 * gdb.c++/ovldbreak.cc: new file.
27461 * gdb.hp/attach.c: new file.
27462 * gdb.hp/attach2.c: new file.
27463 * gdb.hp/average.c: new file.
27464 * gdb.hp/compiler.c: new file.
27465 * gdb.hp/compiler.cc: new file.
27466 * gdb.hp/execd-program.c: new file.
27467 * gdb.hp/follow-exec.c: new file.
27468 * gdb.hp/follow-fork.c: new file.
27469 * gdb.hp/follow-vfork-and-exec.c: new file.
27470 * gdb.hp/misc-hp.cc: new file.
27471 * gdb.hp/more-steps.c: new file.
27472 * gdb.hp/optimize.c: new file.
27473 * gdb.hp/quicksort.c: new file.
27474 * gdb.hp/run-hp.c: new file.
27475 * gdb.hp/start-stop.c: new file.
27476 * gdb.hp/sum.c: new file.
27477 * gdb.hp/templates-hp.cc: new file.
27478 * gdb.hp/thread-local-in-lib.c: new file.
27479 * gdb.hp/thread-local-in-lib.h: new file.
27480 * gdb.hp/thread-local-in-lib.lib.c: new file.
27481 * gdb.hp/vforked-program.c: new file.
27482 * gdb.hp/virtfunc-hp.cc: new file.
27483 * gdb.hp/watchpoint-hp.c: new file.
27484 * gdb.hp/xdb.c: new file.
27485 * gdb.hp/xdb0.c: new file.
27486 * gdb.hp/xdb0.h: new file.
27487 * gdb.hp/xdb1.c: new file.
27488
27489Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27490
27491 The following change was made by Edith Epstein
889bf7c5
PA
27492 <eepstein@cygnus.com> as part of a project to merge in changes
27493 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
27494
27495 * gdb.c++/demangle.exp: changed the expected output for some
27496 ARM-style mangling -- removed second reference to datatype.
889bf7c5 27497 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 27498 T1<char>::~T1<char>(void)
c906108c 27499 becomes,
a9c64011
AS
27500 maint demangle __dt__11T1__pt__2_cFv
27501 T1<char>::~T1(void)
c906108c 27502
889bf7c5 27503 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 27504
c906108c
SS
27505Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27506
27507 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27508 * gdb.trace/backtrace.exp: Likewise.
27509 * gdb.trace/circ.exp: Likewise.
27510 * gdb.trace/collection.exp: Likewise.
27511 * gdb.trace/deltrace.exp: Likewise.
27512 * gdb.trace/infotrace.exp: Likewise.
27513 * gdb.trace/limits.exp: Likewise.
27514 * gdb.trace/packetlen.exp: Likewise.
27515 * gdb.trace/passc-dyn.exp: Likewise.
27516 * gdb.trace/passcount.exp: Likewise.
27517 * gdb.trace/report.exp: Likewise.
27518 * gdb.trace/save-trace.exp: Likewise.
27519 * gdb.trace/tfind.exp: Likewise.
27520 * gdb.trace/tracecmd.exp: Likewise.
27521 * gdb.trace/while-dyn.exp: Likewise.
27522 * gdb.trace/while-stepping.exp: Likewise.
27523
275241998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27525
27526 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27527
27528Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27529
27530 From Brendan Kehoe:
27531 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27532 int return types.
27533
27534Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27535
27536 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 27537 remote dos host testing right.
c906108c
SS
27538
27539Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27540
27541 * gdb.base/corefile.exp: remove some xfails.
27542
27543Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27544
27545 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 27546 have different timestamps.
c906108c
SS
27547
27548Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27549
27550 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 27551 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
27552
27553Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27554
27555 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 27556 delta.
c906108c
SS
27557
27558Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27559
27560 * gdb.base/default.exp: Add brace missing from previous delta.
27561
27562Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27563
27564 * gdb.base/default.exp: Support test for info float for all
27565 varieties of arm toolchain.
27566
dc96c6c7 27567Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27568
27569 * gdb.trace/*.exp: remove "remote_download" command.
27570
dc96c6c7 27571Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27572
27573 * gdb.trace/*.exp: remove -gdwarf from compile.
27574
27575Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27576
27577 * gdb.trace/configure.in(AC_INIT): typo
27578 * gdb.trace/configure: regenerated
27579
dc96c6c7 27580Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27581
27582 * config/m68k-emc.exp: New file.
27583 * lib/<emc-support.exp trace-support.exp}: New files.
27584 * configure.in: add new test directory gdb.trace.
27585 * gdb.trace/{configure configure.in Makefile.in}: New files.
27586 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27587 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27588 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27589 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27590 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27591 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27592 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 27593
dc96c6c7 27594Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27595
27596 * gdb.c++/classes.exp: Change all regular expressions to match
27597 arbitrary combinations of newline/carriage-return, so that they
27598 will work equally well on Unix and Windows.
27599 * gdb.c++/inherit.exp: ditto.
27600 * gdb.c++/virtfunc.exp: ditto.
27601
276021998-08-11 Dawn Perchik <dawn@cygnus.com>
27603
27604 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27605
c2d11a7d
JM
27606Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27607
27608 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27609 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27610 to use a0-a3/d0-d3 as needed.
27611
27612Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27613
27614 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27615 * gdb.disasm/am33.exp: Corresponding changes.
27616
c906108c
SS
276171998-07-11 Felix Lee <flee@cygnus.com>
27618
27619 * gdb.base/callfuncs.exp: add cmp10 test.
27620 * gdb.base/callfuncs.c (cmp10): new function.
27621
27622Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27623
d63a86f8 27624 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
27625 into two parts to get around a synchronization problem in expect.
27626
3fc11d3e
JM
27627Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27628
27629 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27630
27631 * configure.in: Add options for gdbtk testsuite.
27632
27633 * configure: Regenerate.
27634
27635 * gdb.gdbtk: New directory to hold gdbtk tests.
27636
c906108c
SS
27637Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27638
27639 * gdb.fortran/types.exp: Escape brackets in expect patterns
27640 for test_float_literal_types_accepted tests.
27641 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27642 before run test.
27643
c2d11a7d
JM
27644Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27645
27646 * am33.exp: Just compile, do not link the testcase.
27647 * am33.s: Add ".am33" pseudoop to force am33 mode.
27648
c906108c
SS
276491998-06-25 Felix Lee <flee@cygnus.com>
27650
27651 * gdb.base/setshow.exp: make sure $pc is sane.
27652
27653 * gdb.stabs/weird.exp: split expect patterns properly.
27654
c2d11a7d
JM
27655Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27656
27657 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27658 * gdb.disasm/am33.exp: Run it.
27659
dc96c6c7 27660Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27661
27662 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27663 match processing (and eliminate spurious timeouts when running).
27664
dc96c6c7 27665Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27666
27667 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27668 exception test, but conditionalize it on target [mach | gnu].
27669
dc96c6c7 27670Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27671
27672 * gdb.base/overlays.exp: fixup compile line for linker script.
27673
27674Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27675
27676 * gdb.fortran/types.exp: don't guess at float size.
27677
27678Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27679
27680 * gdb.base/exprs.exp: delete test that depends on int size.
27681
27682Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27683
27684 * config/sim.exp: Removed checks for target triplets.
27685 (gdb_target_sim): Use gdb,target_sim_options.
27686
27687Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27688
27689 * gdb.base/reread.exp: New file.
27690 * gdb.base/reread1.c: New file.
27691 * gdb.base/reread2.c: New file.
27692
27693Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27694
27695 * config/sim.exp: Use 'target sim -sparclite' when running
27696 SPARClite programs.
27697
27698Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27699
27700 * gdb.base/structs2.exp: New file.
27701 * gdb.base/structs2.c: New file.
27702
27703Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27704
27705 * gdb.asm/common.inc: New file.
27706 * gdb.asm/d10v.inc: New file.
27707 * asm-source.exp: Pass -I's to gas to find .inc files.
27708 Update line numbers in expected output.
27709 * asmsrc1.s: Rewrite.
27710 * asmsrc2.s: Rewrite.
27711 * configure.in: Create arch.inc symlink.
27712 * configure: Regenerate.
27713 * Makefile.in (distclean): Delete arch.inc.
27714
27715Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27716
27717 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
27718 (t_enum_value2): ditto
27719 (t_enum_value3): ditto
27720 (main): ditto
c906108c
SS
27721Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27722
27723 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27724 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27725 change.
27726 Use gdb_test instead of send_gdb/gdb_expect sequences.
27727
27728Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27729
27730 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27731 not void.
27732
27733Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27734
27735 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
27736 subroutines. Used to test gdbs ability to single step through PC
27737 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
27738
27739Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27740
27741 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27742 more rigorous EGCS C++ error checking.
27743
27744Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27745
a9c64011
AS
27746 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27747 tests.
27748 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27749 function when asleep.
27750 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27751 for i*86 Linux and SVR4 signal handling problems.
27752 Remove linux xfail for `next to handler in signals_tests_1', fixed
27753 by recent infrun.c change.
27754 Limit backtrace to 10 frames to avoid timeout problems with infinite
27755 stack backtraces.
27756 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27757 target.[ch] change.
c906108c
SS
27758
27759Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27760
27761 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27762 for a newline from gdb before continuing.
27763 (default_gdb_exit): Just look for y or n.
27764 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27765 it does, fail the rests of the tests in the file.
27766
27767Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27768
27769 * config/cygmon.exp: New file.
27770
27771Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27772
27773 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 27774 main" test on remote targets.
c906108c
SS
27775
27776 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27777 run test on remote targets.
27778
27779Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27780
27781 * gdb.asm: New directory.
27782 * configure.in: Configure it.
27783 * configure: Regenerate.
27784 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27785 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27786
27787Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27788
27789 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27790
dc96c6c7 27791Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27792
a9c64011
AS
27793 * gdb.base/overlays (several files): Merge the two overlay
27794 managers into one. Change variables (foox, barx, bazx, grbxx)
27795 back into ints but force them to load in their proper sections.
c906108c
SS
27796
27797Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27798
27799 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27800 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27801 (D10VCopy): Handle memory regions crossing 16k boundaries.
27802 (D10VCopy): Transfer data in 32 bit chunks.
27803
27804Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27805
27806 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27807 correct.
c906108c
SS
27808
27809 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27810 map. Include space for printf in .text segment.
c906108c
SS
27811
27812 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27813 updated d10v memory VMA/LMA map.
c906108c 27814 (D10VCopy): Call D10VTranslate.
d63a86f8 27815
c906108c
SS
27816Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27817
27818 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27819
27820 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27821 that it won't be put into the .sdata - small data -
27822 section. Update reference.
c906108c
SS
27823 * gdb.base/baz.c (bazx, baz): Ditto.
27824 * gdb.base/foo.c (foox, foo): Ditto.
27825 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27826
27827 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27828 to be arrays.
d63a86f8 27829
dc96c6c7 27830Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27831
a9c64011
AS
27832 * gdb.base/overlays.exp: fix up and get working again.
27833 Add tests for backtraces from an overlay function.
d63a86f8 27834
c906108c
SS
27835Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27836
27837 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27838 "calling function with watchpoint enabled".
27839
27840Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27841
27842 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27843 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27844 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27845 pending review of whether it is useful or not.
27846
27847Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27848
27849 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27850
27851Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27852
27853 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27854 * config/dve.exp: New file to support Densan boards.
27855
27856Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27857
27858 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27859 reads and BSD.
c906108c
SS
27860
27861Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27862
27863 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27864 response.
27865
27866 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27867
27868Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27869
27870 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27871 test.
c906108c
SS
27872
27873 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27874 target_sizeof_long and target_bigendian_p.
c906108c 27875 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27876 to targets word size and endianess.
d63a86f8 27877
c906108c
SS
27878Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27879
27880 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27881 output.
c906108c
SS
27882
27883Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27884
27885 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27886 Update test of set args help to match source change.
c906108c
SS
27887
27888Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27889
27890 * gdb.base/default.exp: Expect help system output to be in
27891 alphabetical order.
27892 * gdb.base/help.exp: Ditto.
27893
27894Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27895
27896 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27897 "i*86-pc-linux-gnu*".
27898 * gdb.base/interrupt.exp: Ditto.
27899 * gdb.base/corefile.exp: Ditto.
27900
27901 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27902 define vxworks when building the testcase.
c906108c
SS
27903
27904 * gdb.base/ptype.exp: Fix testnames to be unique.
27905 * gdb.base/radix.exp: Ditto.
27906 * gdb.base/term.exp: Ditto.
27907 * gdb.base/whatis.exp: Ditto.
27908 * gdb.c++/classes.exp: Ditto.
27909
27910Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27911
27912 * gdb.base/callfuncs.exp: Fix indentation.
27913
27914 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27915 suppress_flag has been set.
27916 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27917 target feature.
27918
27919Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27920
27921 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27922 the testcase.
27923
27924 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27925 set_debug_traps() and breakpoint().
c906108c
SS
27926 * gdb.c++/misc.cc (main): Ditto.
27927 * gdb.c++/templates.cc (main): Ditto.
27928 * gdb.c++/virtfunc.cc (main): Ditto.
27929
27930Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27931
27932 * lib/gdb.exp(gdb_step_for_stub): New function.
27933 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27934 exists, reload the executable and do a "continue" instead of
27935 doing a jump.
27936 (runto_main): Use gdb_step_for_stub.
d63a86f8 27937
c906108c 27938 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27939 tests to have unique names.
c906108c
SS
27940 * gdb.base/callfuncs.exp: Ditto.
27941 * gdb.base/commands.exp: Ditto.
27942 * gdb.base/default.exp: Ditto.
27943 * gdb.base/help.exp: Ditto.
27944 * gdb.base/list.exp: Ditto.
27945 * gdb.base/opaque.exp: Ditto.
27946 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27947 similar tests.
d63a86f8 27948
c906108c
SS
27949 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27950 * gdb.c++/cplusfuncs.cc: Ditto.
27951 * gdb.c++/virtfunc.cc: Ditto.
27952
27953 * config/monitor.exp: Keep track of the last file we saw, rather
27954 than trying to get the info from gdb.
27955
27956 * gdb.fortran/types.exp: Move comment to previous line.
27957
27958Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27959
27960 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27961 target mode.
c906108c
SS
27962
27963Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27964
27965 From Bob Manson:
27966 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27967 string from GDB when it connects.
c906108c
SS
27968
27969 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27970
27971Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27972
27973 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27974 if we can't get a debug format from GDB (we may be testing an
27975 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27976
27977 * gdb.stabs/weird.exp: Fix quoting.
27978
27979 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27980
27981Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27982
27983 * config/arm-ice.exp: New file.
27984
27985Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27986
27987 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27988 until it has been modified to work with the new testsuite.
c906108c 27989
99707966 27990 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27991 testcase won't compile, cause all of the testcases in the file to
27992 fail instead.
c906108c
SS
27993
27994 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27995 (gdb_clear_suppressed): New procedure.
27996 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27997 it contains a positive value.
27998
27999Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28000
28001 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28002
28003 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28004
28005Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28006
28007 * lib/gdb.exp (setup_xfail_format): New function.
28008 (get_debug_format): New function to get debug format.
28009 (debug_format): New global variable to hold last value set
28010 by get_debug_format.
28011 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 28012 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
28013 * gdb.c++/ptype.exp: Ditto.
28014 * gdb.c++/classes.exp: Ditto.
28015 * gdb.c++/cplusfuncs.exp: Ditto.
28016 * gdb.c++/inherit.exp: Ditto.
28017 * gdb.c++/templates.exp: Ditto.
28018 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 28019
c906108c
SS
28020Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28021
28022 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28023 host doesn't have a currently-open connection.
28024
28025 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
28026 any gdb stub target. Handle cases where gdb doesn't respond when
28027 interrupted in a sane fashion.
c906108c
SS
28028
28029 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 28030 same thing in a totally different way.
c906108c
SS
28031
28032 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 28033 setting "timeout".
c906108c 28034 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 28035 default_gdb_init now.
c906108c
SS
28036
28037Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28038
28039 * gdb.base/printcmds.exp: Fix "check for floating addition"
28040 regexp to accept results within approx +/- .01 of exact value.
28041 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28042
28043Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28044
28045 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 28046 properly.
c906108c
SS
28047 (gdb_expect): Add optional timeout parameter, and add timeout
28048 value to various calls.
28049 (gdb_suppress_tests): Only give one warning message per group.
28050
28051Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28052
28053 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
28054 global variables. Handle getting a value for $timeout more
28055 gracefully.
c906108c
SS
28056
28057Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28058
28059 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 28060 initialize.
c906108c 28061 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 28062 by a target configuration file.
c906108c
SS
28063 (gdb_expect): Pass the timeout to remote_expect.
28064
28065 * config/monitor.exp(gdb_load): Fix typo in regexp.
28066
28067Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28068
28069 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28070
28071Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28072
28073 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
28074 here. Call gdb_target_exec before rebooting the target, to make
28075 sure the connection to the target is closed.
c906108c
SS
28076 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28077 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28078 Also detect "Timeout reading from remote" error.
28079
28080 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
28081 gdb_target_monitor. Don't call gdb_file_cmd here; let
28082 gdb_target_monitor do it.
c906108c
SS
28083
28084 * gdb.disasm/hppa.exp: Don't use exec_output.
28085
28086Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28087
28088 * gdb.base/list.exp: If we're debugging a non-native target,
28089 try to set the pc register to point to the start of the
28090 program before doing the first list command.
28091
28092 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 28093 test_calls after restarting.
c906108c
SS
28094
28095 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 28096 reloading.
c906108c
SS
28097
28098 * gdb.base/watchpoint.exp: Fix typo.
28099
28100 * gdb.base/setshow.exp: Check for use_gdb_stub.
28101
28102 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 28103 stub case.
c906108c
SS
28104 * gdb.base/langs.exp: Ditto.
28105
28106 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
28107 gdb_load_offset. If we weren't given a file to load, figure out
28108 what the current file is and use it.
c906108c
SS
28109
28110 * config/i386-bozo.exp: New file.
28111
28112Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28113
28114 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28115 feature.
28116
28117 * config/proelf.exp: New entry.
28118
28119Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28120
28121 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28122 of regexps.
28123
28124 * gdb.base/watchpoint.exp: Don't run the test_stepping
28125 tests if gdb can't call functions on the target.
28126
28127 * gdb.base/setshow.exp: Don't run the set prompt tests if
28128 the board has gdb_prompt set.
28129
28130Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28131
28132 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28133 * gdb.base/commands.exp: Likewise.
28134 * gdb.base/setshow.exp: Likewise.
28135
28136Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28137
28138 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28139 feature.
28140
28141 * config/i960.exp: New file.
28142
28143Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28144
28145 * gdb.base/funcargs.exp: Check for gdb,short_int target
28146 feature instead of looking for explicit target triplets.
28147
dc96c6c7 28148Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 28149
d63a86f8 28150 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
28151 "p 123DEADBEEF", to check parse_number.
28152 * top.c: change "to enable to enable" to "to enable" in a couple
28153 of help strings.
28154
28155Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28156
28157 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28158 on the mn10300.
d63a86f8 28159
c906108c
SS
28160Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28161
28162 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28163 where the test executable is run with explicit args.
28164 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28165
28166Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28167
28168 * gdb.base/run.c: Use FAKEARGV to build test executable that
28169 does not require a command line arg, since most simulators
28170 don't currently support passing such an arg into the simulated
28171 program.
28172 * gdb.base/commands.exp: Change tests to insert the proper
28173 value as the arg to the first recursive factorial call. Change
28174 compilation line to define FAKEARGV at compile time.
28175
28176Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28177
28178 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28179 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28180 function with watchpoint enabled" test.
28181
28182Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28183
28184 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 28185 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
28186
28187 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 28188 "Tests restarted" messages.
c906108c
SS
28189
28190Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28191
28192 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28193
dc96c6c7 28194Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28195
28196 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28197 for INFO SYMBOL; add help tests for OVERLAY commands.
28198 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28199 add tests for OVERLAY commands
28200 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28201 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28202 * gdb.base/sigall.c: add usestubs code frag
28203 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 28204
c906108c
SS
28205Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28206
28207 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28208 failures.
28209 (gdb_stop_suppressing_tests): Note that tests have restarted.
28210
28211Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28212
28213 * config/h8300.exp: New file.
28214
28215Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28216
28217 * gdb.base/setshow.exp: Check for the existence of a
28218 feature, not its value.
28219
28220Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28221
28222 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28223
28224 * gdb.base/scope.exp: It's now init0(), not init().
28225
28226 * gdb.base/scope0.c: For now, change init() to be init0().
28227
28228 * config/monitor.exp: Use gdb_serial in preference to serial
28229 or netport.
28230
28231 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 28232 and it's not already set.
c906108c
SS
28233
28234Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28235
28236 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 28237 isn't using a stub and if it supports argument passing.
c906108c
SS
28238
28239Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28240
28241 * config/udi.exp(gdb_start): Make sure UDICONF is set
28242 properly before starting gdb.
28243
28244Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28245
28246 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28247 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28248 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28249
28250Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28251
28252 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 28253 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
28254
28255 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28256
28257 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28258
28259 * config/monitor.exp: Make sure we disconnect from the target.
28260 Also, try a reboot/reload cycle instead of failing if the
28261 load fails.
28262
28263Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28264
28265 * gdb.base/default.exp: Don't set match_max.
28266 * gdb.base/help.exp: Ditto.
28267 * gdb.base/list.exp: Ditto.
28268 * gdb.base/signals.exp: Ditto.
28269
28270 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28271 set, use remote_ld to download the testcase instead of
28272 the GDB loader.
28273
28274Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28275
28276 * config/vr5000.exp: New file.
28277
28278 * config/monitor.exp(gdb_target_monitor): Add pattern for
28279 "Ending remote" to detect errors in connecting.
28280
28281 * gdb.base/setshow.exp: Add .* within auto language test.
28282
28283 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28284 target feature.
28285
28286 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 28287 and reboot the board if necessary.
c906108c
SS
28288
28289 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28290 a set of tests. Remove print.* from the patterns being checked.
28291
28292Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28293
28294 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28295 refer to gdb_spawn_id.
28296
28297 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28298 longer used.
28299 * config/sparclet.exp: Ditto.
28300 * config/sparclet-old.exp: Ditto.
28301 * config/slite.exp: Ditto.
28302 * config/sim.exp: Ditto.
28303 * gdb.base/funcargs.exp: Ditto.
28304
28305 * lib/gdb.exp:Remove references to gdb_spawn_id.
28306 (gdb_expect): Move to remote.exp.
28307
28308Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28309
28310 * config/monitor.exp: Detect the "Couldn't establish connection"
28311 message from GDB.
28312
28313Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28314
28315 * gdb.base/bitfields.exp: Use runto instead of explicit
28316 gdb_run_cmd/gdb_expect sequences.
28317
28318 * gdb.base/break.exp(text_next_with_recursion): Add match for
28319 gdb_expect call.
28320
28321 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28322 We also need to handle the "A program is being debugged already"
28323 prompt from gdb. Use gdb_test to set the baud rate.
28324
28325 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28326 to 20000. Really. I mean it.
28327
28328Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28329
28330 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
28331 fails. If suppress_flag is set, skip perror message about not
28332 being able to send to GDB.
c906108c 28333 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 28334 GDB.
c906108c
SS
28335 (gdb_expect): If suppress_flag is set, always fail immediately.
28336 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28337 (gdb_init): Call gdb_stop_suppressing_tests.
28338 (default_gdb_exit): Ditto.
28339 (default_gdb_start): Ditto.
28340
28341 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 28342 gdb_stop_suppressing_tests as appropriate.
c906108c 28343 * gdb.base/break.exp: Ditto.
889bf7c5 28344 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
28345 * gdb.base/commands.exp: Ditto.
28346 * gdb.base/exprs.exp: Ditto.
889bf7c5 28347 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
28348 * gdb.base/list.exp: Ditto.
28349 * gdb.base/recurse.exp: Ditto.
889bf7c5 28350 * gdb.base/scope.exp: Ditto.
c906108c
SS
28351 * gdb.base/structs.exp: Ditto.
28352 * gdb.c++/inherit.exp: Ditto.
28353
28354Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28355
28356 * config/vr4300.exp: New file.
28357
99707966 28358 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 28359
99707966 28360 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
28361
28362Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28363
28364 * lib/gdb.exp(gdb_init): New function.
28365
28366 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 28367 for each individual variable set.
c906108c
SS
28368
28369 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28370 name.
28371
28372 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28373
28374 * gdb.base/scope.exp: Use gdb_test.
28375
28376 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28377 aborting; the testsuite driver will do that for us (see
28378 gdb_finish). Also, use gdb_test in a few more places.
28379
28380Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28381
28382 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28383
28384Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28385
28386 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28387 and "add_tests" are not at the same address.
28388
28389Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28390
28391 * gdb.base/ptype.exp: Use gdb_test.
28392
28393Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28394
28395 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28396 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28397 left in. No longer expect them to fail.
28398
28399 * gdb.stabs/*.mt; Deleted, no longer used.
28400 * gdb.stabs/configure.in: Remove references to target makefile
28401 frags.
28402 * gdb.stabs/configure: Rebuilt.
28403
28404 * gdb.disasm/*.mt: Deleted, no longer used.
28405 * gdb.disasm/configure.in: Remove references to target makefile
28406 frags. Use "sh3.s" as the unique filename for this directory.
28407 * gdb.disasm/configure: Rebuilt.
28408
28409 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28410 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28411 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28412
28413Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28414
28415 * config/udi.exp: Use mondfe,name instead of remote_host.
28416
28417Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28418
28419 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28420 a function with a watchpoint enabled on the mn10200.
28421
28422 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28423 before trying to create it!
28424
28425Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28426
28427 * config/vx.exp: Use hostname instead of netport.
28428
28429 * config/vxworks.exp: New file.
28430
28431 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28432
28433 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 28434 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
28435 occurs.
28436
28437 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28438 $gdb_spawn_id directly.
28439 (gdb_run_cmd): Try _start as well as start. Use the target feature
28440 gdb,start_symbol as the symbol to start from when jumping.
28441
28442Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28443
28444 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28445 redundant) test.
28446
28447 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28448 it doesn't lose for 16bit integer systems.
28449
28450Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28451
28452 * gdb.fortran/types.exp: If the target doesn't support "double"
28453 data types, then expect "real" types to only be 4 bytes.
28454
28455 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28456 call tests if the target doesn't support inferior function calls.
28457
28458 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28459 in printf tests.
28460
28461Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28462
28463 * gdb.base/help.exp: Disable "help set", "help show", and
28464 "help support". Simplify regexp for "help stack".
28465
28466 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28467 to 60 seconds. Temporarily set match_max to 15000 around the
28468 "info copying" test.
28469
28470 * gdb.base/nodebug.exp: Don't try to do an inferior function
28471 call if the target doesn't support them.
28472 * gdb.base/printcmds.exp: Likewise.
28473 * gdb.base/setvar.exp: Likewise.
28474 * gdb.base/structs.exp: Likewise.
28475 * gdb.c++/templates.exp: Likewise.
28476 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28477
28478 * gdb.base/recurse.exp: Enable for the mn10200.
28479
28480 * configure.in: Do configure gdb.stabs directory for *-*-elf
28481 targets.
28482 * configure: Rebuilt.
28483
28484 * gdb.base/break.exp: Check for gdb,noresults before testing
28485 exit status and/or results from the target.
28486 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28487 * lib/gdb.exp: Remove old (now bogus) initialization of
28488 noinferior, noargs, noresults and nosignals.
28489
28490Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28491
28492 * config/sh.exp: New file.
28493
28494 * config/slite.exp: Try to connect multiple times to the board
28495 before rebooting. Only send a "monitor run" if need_monitor_run
28496 is set.
28497
28498 * gdb.base/break.exp: Don't do the "stub continue" test if
28499 the target has gdb_stub set.
28500
28501 * gdb.base/callfuncs.exp: Increase the timeout.
28502
28503 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28504 if the target has gdb,noinferiorio set.
28505
28506 * gdb.base/list.exp: Increase match_max to 10000 characters.
28507
28508 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28509
28510 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28511 target.
28512
28513 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28514
28515Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28516
28517 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
28518 trying to delete the copy of gdb. Catch the file delete so we
28519 don't die if the delete fails; also, the file should be copied to
28520 the host, not to the build.
c906108c
SS
28521
28522Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28523
28524 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 28525 parenthesis in case it contains multiple regexps separated
c906108c
SS
28526 with |.
28527
28528 * gdb.base/watchpoint.exp: Use gdb_test.
28529 * gdb.base/default.exp: Ditto.
28530
28531Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28532
99707966 28533 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 28534
c906108c
SS
28535 * gdb.base/scope.exp: Use gdb_test.
28536 * gdb.c++/classes.exp: Ditto.
28537 * gdb.c++/inherit.exp: Ditto.
28538
28539Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28540
28541 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28542 remote_exec instead.
28543 * gdb.base/corefile.exp: Don't be ridiculous.
28544 * gdb.base/*.c: Add missing stub invocations.
28545
28546Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28547
28548 * config/slite.exp: Miscellaneous fixes.
28549
28550 * lib/gdb.exp: Fix runto.
28551
28552 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28553 the target.
28554
28555 * gdb.base/watchpoint.exp: Fix regexp.
28556
28557 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28558 close and wait commands, as the descriptor may now be
28559 invalid. Always call "remote_close host".
28560
28561Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28562
28563 Major rewrite for testsuite revision.
d63a86f8 28564
c906108c
SS
28565 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28566 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28567 instead of relying on spawn_id to always contain a valid
28568 spawn id.
28569 (get_compiler_info): New procedure to build the ${binfile}.ci
28570 file, instead of replicating this in N different places.
28571 (gdb_compile): New procedure.
d63a86f8 28572
c906108c 28573 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
28574 appropriate arguments) instead of compile. Use gdb_test in a lot
28575 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
28576 at the start of a testcase, as this is no longer done magically.
28577
28578 config/*-gdb.exp: Rename without the -gdb suffix.
28579
28580 config/mips.exp: Use remote_close instead of exit_remote_shell.
28581 config/monitor.exp: Use target_info instead of looking at
28582 baud, timeout, etc.
28583 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28584
28585Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28586
28587 * gdb.c++/templates.exp (test_ptype_of_templates),
28588 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28589 Update expect patterns for destructors and assignment operators
28590 to match corresponding c-typeprint.c changes.
28591 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28592 to destructor breakpoint test, GDB should be able to set the
28593 destructor breakpoint without specifying arguments.
28594
28595Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28596
28597 * gdb.threads/pthreads.exp: Change result for failure to compile due
28598 to lack of pthreads runtime support from an error to simply an
28599 unsupported test, per dejagnu standards.
28600
28601Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28602
28603 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28604 where GDB exits to reduce pattern match time.
28605 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28606
28607 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28608
dc96c6c7 28609Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28610
28611 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28612 * gdb.base/default.exp: ditto.
28613 * gdb.base/nodebug.exp: ditto.
28614 * gdb.base/printcmds.exp: ditto.
28615 * gdb.base/ptype.exp: ditto.
28616 * gdb.base/setvar.exp: ditto.
28617 * gdb.base/structs.exp: ditto.
28618 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28619
28620Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28621
28622 * configure, */configure: Rebuild with autoconf 2.12.
28623
28624Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28625
28626 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28627 use new i*86-pc-linux*-gnu quads.
28628 * gdb.base/corefile.exp: Ditto.
28629 * gdb.base/signals.exp: Ditto.
28630 * gdb.base/sigall.exp: Ditto.
28631 * gdb.base/interrupt.exp: Ditto.
28632
28633 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28634 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28635 RedHat 4.0.
d63a86f8 28636
c906108c 28637 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
28638 linux. This allows the test case to at least compile on latest
28639 linux, but still not run due to missing the threads runtime library.
c906108c
SS
28640
28641Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28642
28643 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28644 directory to search gdb directory. Accept and step over conditional
28645 stack alignment code. Consume $prompt in failure cases.
28646 Reset timeout to $oldtimeout instead of some arbitrary value.
28647 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28648 timeout problems with infinite stack backtraces.
28649 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28650 Accept function parameters for linkfunc member.
28651
28652Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28653
28654 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28655 (CXXFLAGS): Remove, unreferenced.
28656 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
28657 previous -B options and also add -B option to pick up cross compiled
28658 runtime.
c906108c
SS
28659 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28660 doing cross compiles.
28661 (target_alias): Declare global.
28662 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28663 to verify that gcc exists in build tree, and if so set CC to that
28664 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 28665
c906108c
SS
28666Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28667
28668 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28669 ptype test for anonymous union. Fixup testcase to match
28670 current gcc debug output.
28671
28672Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28673
28674 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28675 force argument to an unsigned long type.
28676
28677Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28678
28679 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 28680 tests and anonymous union print/ptype tests.
c906108c
SS
28681 * gdb.base/list.exp (test_forward-search): Increase timeout by
28682 5 minutes for the "search extremely long line" case.
28683 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28684 completely optional and that the pass/fail messages use the command as
28685 the message if that third arg is a null string.
28686 (gdb_test_exact): Arrange that a null string pattern means match a
28687 null string output rather than any output, which might include random
889bf7c5 28688 errors.
c906108c
SS
28689 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28690 backtrace test.
28691 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28692 always failing and failure is now exposed by gdb.exp changes.
28693
28694Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28695
28696 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28697 weren't being noted.
28698
28699Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28700
28701 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28702 * gdb.stabs/weird.exp: Remove v_comb xfails.
28703
dc96c6c7 28704Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28705
28706 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 28707 list.exp scope.exp watchpoint.exp]
c906108c 28708 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 28709
dc96c6c7 28710Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28711
28712 * config/monitor.exp: Increase download timeout to 1000 seconds.
28713
dc96c6c7 28714Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28715
28716 * config/m32r.exp: Increase timeout to 120 seconds.
28717
28718Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28719
28720 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28721 and accept older ordering as obsolescent gcc or gdb.
28722 * gdb.c++/templates.exp: Ditto.
28723 * gdb.c++/virtfunc.exp: Ditto.
28724
28725Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28726
28727 * gdb.base/coremaker.c: Add code to mmap some data so we
28728 can check that it ends up in the core file.
28729 * gdb.base/corefile.exp: Add test to read mmapped data
28730 from core file.
28731
dc96c6c7 28732Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28733
28734 * config/m32r.exp: New file.
28735
28736Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28737
28738 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28739 that cflags can contains -gstabs, and work correctly for other tests.
28740
dc96c6c7 28741Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28742
28743 * gdb.base/setshow.exp: New file, tests show and set.
28744 * gdb.base/setshow.c: New file, tests show and set.
28745 * gdb.base/help.exp: Add test for help set|show annotate.
28746 * gdb.base/default.exp: Add test for set|show annotate.
28747
28748Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28749
28750 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28751 errors unique.
28752 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28753 explicitly.
28754
28755Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28756
28757 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28758 and width commands. This is done elsewhere.
28759 * (gdb_start): Don't call gdb_start_sim here. That's already
28760 done in gdb_load. This fixes lots of failures in default.exp.
28761
28762Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28763
28764 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28765 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28766 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28767 in the same we we treat other failures (since it may be an expected
889bf7c5 28768 condition), rather than as an error.
c906108c
SS
28769 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28770 old test format.
28771
28772Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28773
28774 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28775 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 28776 twice. Nuke the duplicates.
c906108c 28777 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 28778 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
28779 Remove config.h along with other config files.
28780
28781Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28782
28783 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28784 "p func1 ()" and note that rests of tests are skipped.
28785 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28786 setup_xfails for "print func2::coremaker_local".
c906108c
SS
28787 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28788 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28789 affected by the previous run test.
28790 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28791 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28792 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28793 "pass int powerset tuple" and "pass modeless int powerset tuple".
28794 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28795 "real write 4" and "real write 8".
28796 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28797 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28798 "print \$i after tuple assign 2", and
28799 "print vs2 after tuple assign 2".
28800 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28801 meaningful error message and return -1 so the caller can
28802 suppress further tests and avoid a cascade of errors.
d63a86f8 28803
c906108c
SS
28804Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28805
28806 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28807 format for printing version.
28808 * gdb.base/default.exp: Ditto.
28809 * gdb.base/interrupt.exp: Fix problem with cascade of
28810 errors if child process dies while calling a function.
d63a86f8 28811
c906108c
SS
28812Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28813
28814 * Makefile.in (VPATH): Add
28815 * Makefile.in (Makefile, config.status): Fix rules so things get
28816 remade when necessary.
28817
28818Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28819
28820 * Makefile.in (just-check): Add path to sibling expect dir
28821 to environment variable specified by RPATH_ENVVAR.
28822
28823Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28824
28825 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28826 (just-check): Add shared library paths for libstdc++, tk,
28827 tcl, bfd, and opcodes to the environment variable specified
28828 in RPATH_ENVVAR.
28829 * configure.in: Add support to recognize --enable-shared flag
28830 and generate correct value for RPATH_ENVVAR.
28831 * configure: Regenerated with autoconf.
28832
28833Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28834
28835 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28836 include all osf versions.
c906108c
SS
28837 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28838 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28839 when target is linux. When failing to build pthreads test
28840 executable, give more meaningful message.
28841 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28842 arg for pthread_create.
d63a86f8 28843
c906108c
SS
28844Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28845
28846 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28847 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28848 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28849 and -lpthreads (everybody else).
c906108c
SS
28850 (test_startup): Fail gracefully if threads are not supported.
28851 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28852 "p/c array_index("abcdef",2)" when not gcc compiled.
28853 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28854 "print func2::coremaker_local" when not gcc compiled.
28855 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28856 "ptype on opaque struct tagname (statically)",
28857 "ptype on opaque struct tagname (dynamically) 1", and
28858 "ptype on opaque struct tagname (dynamically) 2"
28859 for not compiled with gcc.
28860 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28861 backtrace when compiled with gcc.
d63a86f8 28862 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28863 than always return success.
28864
28865Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28866
28867 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28868
28869Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28870
28871 * gdb.base/structs.exp: Undo last change.
28872
28873Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28874
28875 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28876 encapsulate all the steps/nexts done during self test, starting
28877 at main, and makes them less sensitive to optimization issues.
28878 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28879 signal handler" test.
28880 * gdb.threads/pthreads.exp: Only run this for native configs.
28881 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28882 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28883 tests.
28884 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28885 for "runto test_calls(void)" test.
d63a86f8 28886
c906108c
SS
28887Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28888
28889 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28890 and don't expect address info in breakpoint confirmations.
28891
28892Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28893
28894 * gdb.base/list.exp (test_forward_search): Increase timeout
28895 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28896 and then reset to old value when done. Increase expect input
c906108c
SS
28897 buffer to 10000.
28898
28899Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28900
28901 * gdb.base/list.exp (test_forward_search): Fix to handle very
28902 long source line without overflowing expect's input buffer.
28903
28904Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28905
28906 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28907 "buffer_full".
28908
28909 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28910 "buffer_full".
28911
28912 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28913 "buffer_full".
28914
28915 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28916 "buffer_full".
28917
28918Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28919
28920 * configure.in (configdirs): Add gdb.threads.
28921 * configure: Regenerated with autoconf.
28922 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28923 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28924 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28925
c906108c
SS
28926Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28927
28928 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28929
28930Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28931
28932 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28933 each signal's status in the output of "handle all print".
28934 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28935 the \r\n sequence that immediately precedes the gdb prompt.
28936 * gdb.base/a1-selftest.exp: Save original timeout and restore
28937 after test.
28938
28939Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28940
28941 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28942 symbol.
28943
28944Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28945
28946 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28947
28948Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28949
28950 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28951 timeout by 60 seconds.
28952
28953Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28954
28955 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28956 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28957 error return.
28958
28959Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28960
28961 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28962 gdb initialization, also report how long dejagnu waited. Restore
28963 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28964 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28965
28966Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28967
28968 * lib/gdb.exp: Report timeout value for verbosity level 2.
28969 * config/gdbserver.exp: Ditto.
28970 * config/hppro.exp: Ditto.
28971 * config/mips-gdb.exp: Ditto.
28972 * config/monitor.exp: Ditto.
28973 * config/netware.exp: Ditto.
28974 * config/sim-gdb.exp: Ditto.
28975 * config/slite-gdb.exp: Ditto.
28976 * config/udi-gdb.exp: Ditto.
28977 * config/unix-gdb.exp: Ditto.
28978 * config/vx-gdb.exp: Ditto.
28979 * gdb.base/a1-selftest.exp: Ditto.
28980 * gdb.base/a2-run.exp: Ditto.
28981 * gdb.base/break.exp: Ditto.
28982 * gdb.base/corefile.exp: Ditto.
28983 * gdb.base/list.exp: Ditto.
28984 * gdb.base/recurse.exp: Ditto.
28985 * gdb.base/scope.exp: Ditto.
28986 * gdb.base/signals.exp: Ditto.
28987
28988Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28989
28990 * gdb.threads/Makefile.in (docdir): Removed.
28991
28992Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28993
28994 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28995 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28996 @srcdir@.
d63a86f8 28997 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28998 autoconf 2.5 or higher.
28999 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29000
29001Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29002
29003 * configure: Regenerated.
29004 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29005 avoid name clashes with SunOS headers.
29006
29007Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29008
29009 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29010
29011Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29012
29013 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29014 prototype information ends up in the compiler info file.
29015
29016Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29017
29018 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29019 attempting to regenerate it. Eliminate use of a temporary file
29020 and just generate the info file directly. Source it immediately,
29021 for consistency of use.
29022 * gdb.base/corefile.exp: Ditto
29023 * gdb.base/exprs.exp: Ditto.
29024 * gdb.base/funcargs.exp: Ditto.
29025 * gdb.base/langs.exp: Ditto.
29026 * gdb.base/list.exp: Ditto.
29027 * gdb.base/mips_pro.exp: Ditto.
29028 * gdb.base/nodebug.exp: Ditto.
29029 * gdb.base/opaque.exp: Ditto.
29030 * gdb.base/ptype.exp: Ditto.
29031 * gdb.base/scope.exp: Ditto.
29032 * gdb.base/setvar.exp: Ditto.
29033 * gdb.base/signals.exp: Ditto.
29034 * gdb.base/whatis.exp: Ditto.
29035 * gdb.c++/templates.exp: Ditto.
29036 * gdb.c++/virtfunc.exp: Ditto.
29037 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 29038 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
29039
29040Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29041
29042 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29043 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29044 Increase timeout, a lot of single stepping might be needed if the
29045 target has no hardware watchpoints.
29046
29047Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29048
29049 * gdb.base/break.exp: Ignore compiler warnings when compiling
29050 break.c.
29051 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29052 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29053 from remote-sim.
29054 * gdb.base/exprs.exp: Add h8300 xfails.
29055 * gdb.base/funcargs.exp: Likewise.
29056 * gdb.base/nodebug.exp: Likewise.
29057 * gdb.base/printcmds.exp: Likewise.
29058 * gdb.base/ptype.exp: Likewise.
29059 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29060 h8300 xfails.
d63a86f8 29061 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
29062 on the h8300.
29063 * gdb.base/funcargs.c: Explicitly make last constant argument to
29064 call_after_alloca_subr an unsigned long type.
29065 * gdb.base/return.c: Include stdio.h.
29066
29067Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29068
29069 * config/abug.exp: New file for the older Motorola Bug monitor
29070 that runs on the mvme13x series VME boards.
29071 * config/monitor.exp: Use the new config array for target settings
29072 if they exist.
29073
29074Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29075
29076 * sim-gdb.exp: Make the SH simulator allocate less space when
29077 it is targeted.
29078
29079Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29080
29081 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29082 test.
29083
29084Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29085
29086 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29087 "rs6000-*-*" for "list function in include file" when gcc compiled.
29088 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29089 for "p ctable1[120]".
29090 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29091 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29092 Remove setup_xfail for "rs6000-*-*" for
29093 "print 'scope0.c'::filelocal before run".
29094 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29095 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29096 since some compilers don't allow both options to be given
29097 on the same command line. Create object file and move it.
d63a86f8 29098
c906108c
SS
29099Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29100
29101 * gdb.base/corefile.exp: Always regenerate the core file, since
29102 we always regenerate the coremaker program. Detect special case
29103 where registers cannot be read from core file.
d63a86f8 29104
c906108c
SS
29105Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29106
29107 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29108 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29109 * gdb.c++/templates.exp: Only match on basename of file since
29110 some formats like xcoff don't encode directory information.
29111 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29112 and rs6000 AIX xcoff targets.
29113 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29114 * configure: Regenerate.
29115 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29116 here, rather than in distclean.
d63a86f8 29117
c906108c
SS
29118Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29119
29120 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29121 defined, and use it to compile the test case with -O2. The
29122 native compilation still uses no optimization.
29123 * gdb.base/mips_pro.c: Remove inline assembly code since
29124 it is compiled PIC by default, which results in assembler
29125 warnings that make the testsuite think the compilation
29126 was unsuccessful.
29127
29128Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29129
29130 * gdb.c++/misc.exp: Add note to message for
29131 "print s.a for foo struct" that this is a known gcc 2.7.2
29132 and earlier bug.
29133
29134Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29135
29136 * gdb.base/break.exp: Fix pattern for matching "Delete all
29137 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29138 setup_xfail for deleting all breakpoints test. Fix various
29139 timeout messages to include "(timeout)".
29140 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29141 for "p t_float_values2(3.14159,float_val2)".
29142 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29143 for "continue to call2g" when gcc compiled.
29144 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29145 "up to foo in langs.exp", "show language at foo in langs.exp",
29146 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29147 and "show language at fsub in langs.exp".
29148 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29149 "list line 1 in include file", "list message for lines past EOF",
29150 "list function in include file", "list list0.h:foo", and
29151 "list filename:function; nonexistant function".
29152 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29153 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29154 and "ptype t_char_array" to be for native cc only.
d63a86f8 29155
c906108c
SS
29156Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29157
d63a86f8 29158 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 29159 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 29160 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
29161
29162Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29163
29164 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29165 "bt in signals.exp". This problem only appears when running
29166 the testsuite, and then only intermittently.
29167
29168Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29169
29170 * gdb.base/return.exp (return_tests): Differentiate between
29171 two tests of continuing.
29172
29173Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29174
29175 * */Makefile.in (maintainer-clean): Remove config.log.
29176 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29177 * gdb.c++/Makefile.in (PROGS): Add inherit.
29178 (clean): Remove *.ci.
29179
29180Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29181
29182 * gdb.c++/misc.cc: Add test code from Mike Stump.
29183 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29184
29185Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29186
29187 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29188 to "alpha-*-osf2*" and add comment.
29189 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
29190 setup_xfail for "step over execarg initialization" and
29191 "step over corearg initialization".
c906108c
SS
29192 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29193 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29194 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 29195 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
29196 "print func2::coremaker_local", and "backtrace in corefile.exp".
29197 * gdb.base/signals.exp: Build and source signals.ci.
29198 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29199 to be for gcc only.
29200 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 29201
c906108c
SS
29202Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29203
29204 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29205 Feb 3 procfs.c change.
29206
29207Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29208
29209 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29210
29211Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29212
29213 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29214 from dejagnu's apparent default of 10 seconds, which gives random
29215 results when running the tests over NFS on moderately loaded systems.
29216 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29217
29218Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29219
29220 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29221 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 29222 result reports.
c906108c
SS
29223
29224Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29225
29226 * configure.in (CY_AC_PATH_TCLH): Remove.
29227 * configure: Regenerate.
29228
29229Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29230
29231 * gdb.c++/Makefile.in (clean): Add missing '{'.
29232
29233Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29234
29235 * lib/gdb.exp: Provide a default value for noinferior.
29236
29237 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29238 Load libgloss.exp.
29239
29240Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29241
29242 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29243 the executable, not the .o to run the tests from.
29244
29245Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29246
29247 * gdb.base/break.exp: Don't test for program exit or exit status
29248 if $noresults if nonzero.
29249 * gdb.base/langs.exp: Likewise.
29250 * gdb.base/watchpoint.exp: Likewise.
29251
29252 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29253 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29254 trying to compile the testcase.
29255
29256Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29257
29258 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29259 * gdb.base/signals.exp (continue to handler): Likewise.
29260
29261Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29262
29263 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29264
29265 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29266
29267Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29268
29269 * gdb.base/corefile.exp: Recognize "not found" as failure
29270 when trying to determine if a core file was generated.
29271 If no core file was generate the first time, try again without
29272 the ulimit -c to work around braindamaged shells.
29273
29274Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29275
29276 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29277 [] tests with "test" and enclose string in quotes.
29278 * gdb.stabs/configure: Rebuild
d63a86f8 29279
c906108c
SS
29280Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29281
29282 Changes in sync with expect:
29283 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29284 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29285 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29286 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29287 argument to AC_REQUIRE.
29288 * configure: Regenerated.
29289
29290Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29291
29292 * gdb.base/corefile.exp: When generating a core, discard any
29293 error messages about ulimit not found and the "core dumped"
29294 message from the shell that runs the coredumper.
29295
29296Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29297
29298 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29299
29300 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29301 which sed script to run. Expect failure for v_comb test
29302 on PA targets too.
d63a86f8 29303
c906108c
SS
29304Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29305
29306 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 29307 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
29308
29309Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29310
29311 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29312 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 29313 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
29314 * lib/gdb.exp (default_gdb_start): Fix typo.
29315 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29316 messages to not include the full program name that caused
29317 the core dump since some systems (such as solaris) apparently
29318 truncate this path to about 80 characters.
29319 When generating a core file first try increasing the core file
29320 size limit to unlimited since some systems may default it to
29321 zero, and it is harmless to try it. Move the test for failing
29322 to generate a core file to where it will actually get executed.
29323 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29324 new gdb result from g++ debug info improvements and make old
29325 pattern obsolescent. Also account for size_t differences
29326 (may be int or long).
29327 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29328 initialization before function call is placed in the delay slot
29329 and thus appears to be skipped over by commands such as "next".
29330
29331Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29332
29333 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29334
29335Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29336
29337 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29338 input source file; fix code to compile test to deal with this
29339 convention.
29340 * gdb.c++/*.exp: Likewise.
29341
29342Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29343
29344 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29345 "bt in signals.exp".
29346
29347Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29348
29349 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29350 "step over execarg initialization" and
889bf7c5 29351 "step over corearg initialization".
c906108c
SS
29352
29353Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29354
29355 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29356 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29357
29358Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29359
29360 From Rob Savoye (rob@poseidon.cygnus.com)
29361 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29362 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
29363 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29364 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29365 configure.in}: Major reworking for autoconfig.
c906108c
SS
29366 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29367 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 29368 New files.
c906108c
SS
29369 * config/unix-gdb.exp: Make GDB global.
29370 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
29371 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29372 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29373 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29374 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29375 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 29376 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
29377 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29378 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29379 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29380 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 29381 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
29382 to returns as necessary, arrange for test to compile own testcase
29383 executable.
c906108c 29384 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 29385
c906108c
SS
29386Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29387
29388 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 29389 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
29390 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29391 "backtrace through signal handler".
29392
29393Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29394
29395 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29396 continuing from a job control stop signal.
29397 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29398
29399Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29400
29401 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29402 * gdb.base/corefile.exp: Likewise.
29403 * gdb.base/funcargs.exp: Likewise.
29404
29405Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29406
29407 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29408 * config/monitor.exp: Add support for setting baud rate.
29409
29410Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29411
29412 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29413 i*86-*-linux* xfails for "backtrace through signal handler".
29414 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29415 "print func2::coremaker_local".
29416 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 29417 alpha-dec-osf2* xfail for
c906108c
SS
29418 "delete all breakpoints when none".
29419
29420Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29421
29422 * gdb.base/break.exp: Change test that deletes all breakpoints
29423 when no user breakpoints are installed. A post 4.15 change
29424 causes gdb to no longer prompt in this case.
29425
29426Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29427
29428 * gdb.base/return.exp (return_tests): Change xfail for test
29429 "correct value returned double test" to stop xfailing at
29430 Solaris 2.5. Apparently the bug has been fixed.
29431
29432Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29433
29434 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29435 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29436
29437Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29438
29439 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29440 * gdb.disasm/hppa.s: Corresponding changes.
29441
29442Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29443
29444 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29445 makefile fragment.
29446 * config/mt-hpux: Deleted.
29447
29448Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29449
d63a86f8 29450 * Many files: When warning about suppressed tests due to a
c906108c
SS
29451 nonexistant test binary, avoid incrementing the warning count.
29452
29453Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29454
29455 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 29456
c906108c
SS
29457Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29458
29459 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29460 "sparc-*-solaris2*".
29461
29462Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29463
29464 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29465 Add global and local variables and initialize them.
29466 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29467 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29468 extracts the file name and terminating signal from the core file.
29469 * TODO: Remove note about tests for correct mapping of corefile.
29470 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29471 from optimizing it away.
29472 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29473 handles common blocks.
29474
29475Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29476
29477 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29478 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29479
29480Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29481
29482 * Makefile.in (maintainer-clean): New target, synonym for
29483 realclean.
29484 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29485 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29486 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29487 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29488 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29489 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29490
29491Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29492
29493 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29494 xfails when not gcc compiled for "print foo::funclocal".
29495 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29496 "print foo::funclocal at foo",
29497 "print 'scope1.c'::foo::funclocal at foo",
29498 "print foo::funclocal_bss at foo",
29499 "print 'scope1.c'::foo::funclocal_bss at foo",
29500 "print foo::funclocal_ro at foo",
29501 "print 'scope1.c'::foo::funclocal_ro at foo",
29502 "print bar::funclocal at foo" and
29503 "print 'scope1.c'::bar::funclocal at foo".
29504 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29505 gcc compiled for "print foo::funclocal at bar".
29506 Expand all messages to ensure that they identify that
29507 the test is at bar().
29508 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29509 gcc compiled for:
29510 "ptype on opaque struct pointer (statically)",
29511 "ptype on opaque struct tagname (statically)",
29512 "ptype on opaque struct pointer (dynamically) 1",
29513 "ptype on opaque struct tagname (dynamically) 1",
29514 "ptype on opaque struct pointer (dynamically) 2" and
29515 "ptype on opaque struct tagname (dynamically) 2
29516 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29517 gcc compiled for:
29518 "p datalocal"
29519 "whatis datalocal",
29520 "ptype datalocal",
29521 "p bsslocal",
29522 "whatis bsslocal", and
29523 "ptype bsslocal".
29524 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29525 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29526 when not gcc compiled.
29527 * gdb.base/funcargs.exp (float_and_integral_args): Add
29528 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29529 compiled.
29530 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29531 "backtrace from call6a" when not gcc compiled.
29532 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29533 "backtrace from call7a" when not gcc compiled.
29534 * gdb.base/callfuncs.exp (do_function_calls):
29535 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29536 "p t_char_array_values(char_array_val2,char_array_val1)",
29537 "p t_char_array_values(char_array_val1,char_array_val2)",
29538 "p t_char_array_values("carray 1","carray 2")",
29539 "p t_char_array_values("carray 1",char_array_val2)",
29540 "p t_char_array_values(char_array_val1,"carray 2")",
29541 "p sum_args(1,{2})",
29542 "p sum_args(2,{2,3})",
29543 "p sum_args(3,{2,3,4})",
29544 "p sum_args(4,{2,3,4,5})"
29545 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29546 "backtrace in corefile.exp" when not gcc compiled.
29547
29548Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29549
29550 * gdb.base/signals.exp: Rewrite `handle all print' test as
29551 a procedure. Accept blanks or TABs as whitespace, increase
29552 timeout and expect input buffer size for the large output
29553 from the command. Remove "i*86-*-bsdi2.0" xfail.
29554
29555Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29556
29557 * gdb.base/setvar.exp: Add new testcases for truncation when
29558 assigning invalid values to bitfields.
29559
29560Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29561
d63a86f8 29562 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
29563 mips-sgi-irix* xfail for
29564 "call inferior func with struct - returns char *"
29565 and fix test so that an optional (unsigned char *) cast is
889bf7c5 29566 accepted in the result.
c906108c
SS
29567
29568Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29569
29570 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29571 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29572 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29573 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29574 that accidentally got checked in.
29575
29576Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29577
d63a86f8 29578 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
29579 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29580 compiled test.
29581 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29582 Add mips-sgi-irix5* xfail for not gcc compiled.
29583 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
29584 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29585 compiled for "p top", "whatis top", "p middle", and "whatis
29586 middle".
c906108c
SS
29587 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29588 "whatis signed char" for not gcc compiled.
29589 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29590 "set variable signed char=-1 (-1)" and
29591 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29592 * gdb.base/funcargs.exp (float_and_integral_args):
29593 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29594 Add mips-sgi-irix* xfail when not gcc compiled for
29595 "continue to call2b".
29596 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29597 "continue to call2g".
6fdff2c5
PA
29598 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29599 compiled for "backtrace from call6a"
29600 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29601 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29602 when not gcc compiled for "backtrace from call7a".
c906108c
SS
29603 (localvars_after_alloca): Fix gdb_test cmds for
29604 "print * after runto ...".
29605 Remove rs6000-*-* xfails for
29606 "print i after runto localvars_after_alloca" and
29607 "print l after runto localvars_after_alloca"
29608 for all compilers.
29609 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 29610 when not compiled with gcc, for:
c906108c
SS
29611 "print signed char == (minus)",
29612 "print signed char != (minus)",
29613 "print signed char < (minus)",
29614 "print signed char > (minus)".
29615 * gdb.base/callfuncs.exp (do_function_calls):
29616 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29617 "call inferior func with struct - returns char *".
d63a86f8 29618 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
29619 "correct value returned double test" to include Solaris 2.4.
29620 * gdb.base/funcargs.exp (float_and_integral_args):
29621 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 29622
c906108c
SS
29623Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29624
29625 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29626 enumeration bitfields if compiling with GNU C.
29627 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29628 to empty' prompt.
29629
29630Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29631
29632 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29633 test for PRO targets.
29634
29635 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29636 breakpoints in the inferior at any given time by making
29637 two groups of breakpoints for call2*, call6* and call7*
29638 tests.
29639
29640Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29641
29642 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29643 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29644 from optimizing it away.
29645 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29646 "call inferior func with struct".
29647
29648Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29649
29650 * configure.in: Only configure gdb.chill for particular targets.
29651
29652Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29653
29654 * gdb.base/Makefile.in: Add action to .c.o transformation
29655 rule that generates a .ci file for each .o file and remove
29656 explicit .c.o rules except for callfuncs.o.
29657 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29658 generates a .ci file for each .o file and remove explicit
29659 .cc.o rules.
29660 (clean): Remove *.tmp *.ci files.
29661 (EXECUTABLES): Remove templ-info.exp.
29662 * gdb.base/compiler.c: New file.
29663 * gdb.c++/compiler.cc: New file
29664 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29665 Change rs6000-*-* xfail for
29666 "print 'scope0.c'::filelocal_ro" and
29667 "print 'scope1.c'::filelocal" and
29668 "print 'scope1.c'::filelocal_bss" and
29669 "print 'scope1.c'::filelocal_ro" and
29670 "print 'scope1.c'::foo::funclocal" and
29671 "print 'scope1.c'::foo::funclocal_ro" and
29672 "print 'scope1.c'::bar::funclocal" and
29673 "print 'scope0.c'::filelocal_ro" and
29674 "print 'scope1.c'::filelocal at foo" and
29675 "print 'scope1.c'::filelocal_bss at foo" and
29676 "print 'scope1.c'::filelocal_ro at foo" and
29677 "print 'scope1.c'::foo::funclocal at foo" and
29678 "print 'scope1.c'::foo::funclocal_bss at foo" and
29679 "print 'scope1.c'::foo::funclocal_ro at foo" and
29680 "print 'scope1.c'::bar::funclocal at foo" and
29681 "print 'scope0.c'::filelocal_ro" and
29682 "print 'scope1.c'::filelocal" and
29683 "print 'scope1.c'::filelocal_bss" and
29684 "print 'scope1.c'::filelocal_ro" and
29685 "print 'scope1.c'::foo::funclocal" and
29686 "print 'scope1.c'::foo::funclocal_bss" and
29687 "print 'scope1.c'::foo::funclocal_ro" and
29688 "print 'scope1.c'::bar::funclocal" and
29689 "print 'scope1.c'::bar::funclocal_bss"
29690 to only be xfail'd when not compiled with gcc.
d63a86f8 29691 Add rs6000-*-* xfail for
c906108c
SS
29692 "print 'scope0.c'::filelocal_bss before run"
29693 when compiled with gcc.
29694 (test_at_main): Add rs6000-*-* xfail for
29695 "print filelocal_ro in test_at_main"
29696 when compiled with gcc.
29697 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 29698 Add rs6000-*-aix* xfail for
c906108c
SS
29699 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29700 "ptype t_char_array", not compiled with gcc.
29701 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29702 xfail for "list foo (in include file)" when gcc compiled.
29703 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 29704 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
29705 "run to call0a" if not compiled with gcc.
29706 (unsigned_integral_args): Add rs6000-*-* xfail for
29707 "run to call1a" if not compiled with gcc.
29708 (float_and_integral_args): Add rs6000-*-* xfail for
29709 "run to call2a" if not compiled with gcc and for
29710 "continue to call2b" for any compiler.
29711 Add rs6000-*-* xfail to
29712 "print f1 after run to call2a" for gcc compiled.
29713 (discard_and_shuffle): Add rs6000-*-* xfail for
29714 "run to call6a".
29715 (shuffle_round_robin): Add rs6000-*-* xfail for
29716 "backtrace from call7a" if not compiled with gcc.
29717 Add rs6000-*-* xfail for
29718 "backtrace from call7b" if compiled with gcc.
29719 (call_after_alloca): Add rs6000-*-* xfail for
29720 "print c in call_after_alloca" and
29721 "print s in call_after_alloca" and
29722 "backtrace from call_after_alloca_subr"
29723 if not compiled with gcc.
29724 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29725 "print c in localvars_in_indirect_call" and
29726 "print c in localvars_in_indirect_call" and
29727 "backtrace in indirectly called function" and
29728 "stepping into indirectly called function"
29729 if not compiled with gcc.
29730 (localvars_after_alloca): Add rs6000-*-* xfail for
29731 "print c after runto localvars_after_alloca" and
29732 "print s after runto localvars_after_alloca" and
29733 "print i after runto localvars_after_alloca" and
29734 "print l after runto localvars_after_alloca"
29735 for all compilers.
29736 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29737 than whatis-info.exp.
29738 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29739 than opaque-info.exp.
29740 Setup rs6000-*-* xfail for
d63a86f8 29741 "ptype on opaque struct pointer (statically)" and
c906108c
SS
29742 "ptype on opaque struct pointer (dynamically)" when
29743 not compiled with gcc.
29744 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29745 rather than callf-info.exp.
29746 (do_function_calls): Add clear_xfail for rs6000-*-* for
29747 "p t_float_values2(3.14159,float_val2)". Seems to work
29748 fine there, both with xlc and gcc. Need to find out what
29749 it is doing right and fix other platforms.
29750 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29751 "call inferior func with struct - returns int",
29752 "call inferior func with struct - returns long",
29753 "call inferior func with struct - returns float",
29754 "call inferior func with struct - returns double",
29755 "call inferior func with struct - returns char *",
29756 but only if not gcc compiled (presumes xlc compiled).
29757 Change rs6000-*-* xfails for
29758 "call inferior func with struct - returns char" and
29759 " call inferior func with struct - returns short" to only
29760 xfail if not using gcc.
29761 (clean mostlyclean): Remove *.ci and *.tmp files.
29762 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29763 than templ-info.exp.
29764 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29765 Add rs6000-*-* xfail for "up to foo in langs.exp"
29766 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 29767 when not gcc compiled.
d63a86f8 29768
c906108c
SS
29769Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29770
29771 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29772 * gdb.base/corefile.exp: Likewise.
29773 * gdb.base/list.exp: Likewise.
29774 * gdb.base/scope.exp: Likewise.
29775 * gdb.base/siganls.exp: Likewise.
29776
29777 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29778 compiler output.
29779 * gdb.base/whatis.exp: Likewise.
29780
29781Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29782
29783 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29784 failure (opcode table has been fixed to match reality).
29785
29786Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29787
29788 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29789 "call inferior func with struct - returns char",
29790 "call inferior func with struct - returns short"
29791
29792 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29793 "print 'scope0.c'::filelocal at main",
29794 "print 'scope0.c'::filelocal_bss in test_at_main",
29795 "print 'scope0.c'::filelocal at foo",
29796 "print 'scope0.c'::filelocal_bss in test_at_foo",
29797 "print 'scope0.c'::filelocal at bar",
29798 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29799
c906108c
SS
29800 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29801 in source file 1". This bug seems to have been fixed with both
29802 gcc and native cc (was native assembler bug?).
29803
29804Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29805
29806 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29807 "backtrace through signal handler" to "i*86-*-sysv4*".
29808 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29809 continue" case. Add "known SVR4 bug" to fail message.
29810 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29811 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29812 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29813 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29814 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29815 "up to foo in langs.exp", "show language at foo in
29816 langs.exp", "up to cppsub_ in langs.exp", "show
29817 language at cppsub_ in langs.exp", "up to fsub in
29818 langs.exp", and "show language at fsub in langs.exp".
29819 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29820 "bactrace in corefile.exp".
29821 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29822 "call inferior function with struct - returns float" and
29823 "call inferior function with struct - returns double".
d63a86f8 29824
c906108c
SS
29825Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29826
29827 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29828 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29829 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29830 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29831
29832Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29833
29834 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29835 (or overriden) "CHILL" macro rather then bare "gcc".
29836 Also look for ../../gcc/xgcc since that is what we will
29837 actually need, not "Makefile". Remove following assignment
29838 of CHILL to CHILL_FOR_TARGET because that results in
29839 recursive definition.
29840
29841Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29842
29843 * gdb.base/corefile.exp: Change xfail for backtrace in
29844 corefile.exp from linuxaout to all linux.
29845 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29846 cases where we miss the breakpoint at the signal handler
29847 for some reason. Setup xfail for linuxoldld/linuxaout and
29848 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29849 hitting SIGURG breakpoint.
29850 * gdb.base/signals.exp: Setup xfail for "next" acting like
29851 continue to add linuxoldld. Setup xfail for all linux for
29852 "next to handler in signals_tests_1", "backtrace in
29853 signals_tests_1", "continue to func1", "pass SIGUSR1",
29854 and continue to handler".
29855
29856Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29857
29858 * Update all FSF addresses except those in COPYING* files.
29859
29860Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29861
29862 * gdb.base/a2-run.exp: Change messages to be more explicit about
29863 the status of args, and quote binfile in results.
29864
29865Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29866
29867 * gdb.base/callfuncs.exp: Add tests for passing structs to
29868 inferior functions and return various types.
29869 * gdb.base/callfuncs.c: Add functions to receive a struct
29870 and return a member of the struct, in various types.
29871
29872Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29873
29874 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29875
29876Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29877
29878 * config/vxworks29k.exp: New file, sources vxworks.exp.
29879
29880Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29881
29882 * config/gdbremote.exp: New file. Testing framework using
29883 gdbserver.
29884
29885Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29886
29887 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29888 "call function when asleep" and "send end of file".
29889 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29890 for "backtrace in corefile.exp".
29891 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29892 for "backtrace through signal handler".
29893 * gdb.base/corefile.exp: Make sure we actually generate a core file
29894 before trying the core tests. Some systems allow the user to suppress
29895 generation of core files and default to that (linux for example).
29896 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29897 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29898
29899Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29900
29901 * gdb.threads: New directory with some crude multi-threaded
29902 gdb tests (step.exp and step2.exp).
29903 * config/mt-lynx (STEP_EXECUTABLE): Define.
29904 (THREADFLAGS): Define.
29905
29906Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29907
29908 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29909
29910 * gdb.base/signals.exp: Disable whole file for lynx until
29911 further notice.
29912
29913 * gdb.base/signals.exp: xfail test where "next" acts like
29914 "continue" for lynx.
29915
29916 * gdb.base/interrupt.exp: xfail test for calling function while
29917 inferior is asleep for lynx.
29918
29919 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29920 than one cr-lf after each command.
29921
29922Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29923
29924 * configure.in: Reinstate setting of stabsdirs variable, fix
29925 typo in setting up configdirs for native builds.
29926
29927 * gdb.base/return.exp: Fix typo in return double test.
29928 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29929 compiler from optimizing them away.
29930
29931Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29932
29933 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29934 sequences to be echo'd by gdb when using gdb_test.
29935 * gdb.chill/chexp.exp: Likewise.
29936 * gdb.fortran/exprs.exp: Likewise
29937
29938Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29939
29940 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29941 after the inferior gdb has started.
29942
29943 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29944 after each command.
29945 * gdb.base/funcargs.exp: Likewise.
29946 * gdb.base/gdbvars.exp: Likewise.
29947 * gdb.base/interrupt.exp: Likewise.
29948 * gdb.base/list.exp: Likewise.
29949 * gdb.base/watchpoint.exp: Likewise.
29950 * gdb.c++/demangle.exp: Likewise.
29951 * gdb.c++/inherit.exp: Likewise.
29952 * gdb.chill/chexp.exp: Likewise.
29953 * gdb.fortran/exprs.exp: Likewise.
29954
29955 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29956 test if we can't handle IO to/from the inferior.
29957
29958 * gdb.c++/misc.exp: Always check for a program already being
29959 started after sending a "run" command to gdb.
29960
29961 * gdb.base/twice.exp: Start with a fresh gdb.
29962
29963 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29964 only depend on gdb's expression code, not the chill runtime.
29965
29966 * gdb.base/return.c: Put return values into variables so we
29967 can have gdb print them rather than depending on the program
29968 to print them.
29969 * gdb.base/return.exp: Corresponding changes.
29970
29971 * lib/gdb.exp: Provide default value for noinferiorio.
29972 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29973 the inferior.
29974
29975 * gdb.base/break.exp: Always check for a program already being
29976 started after sending a "run" command to gdb.
29977 (text_next_with_recursion): Don't check the output from the
29978 program's printf statement. Instead just make sure the program
29979 exited.
29980
29981 * gdb.base/commands.exp: Protect tests which need arguments with
29982 $noargs conditionals.
29983
29984Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29985
29986 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29987 of structure member arrays to match gdb/valops.c:value_addr change.
29988
29989Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29990
29991 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29992 cases.
29993
29994Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29995
29996 * configure.in (configdirs): Remove gdb.chill from default list
29997 of subdirs and then add it back in only if doing a native build.
29998 The current chill compiler does not yet work in any cross build.
29999 * Revert all signal changes from Jul 6.
30000 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30001 for sh-hms targets, allowing these tests to link, with no other
30002 changes. Testing is suppressed by setting "nosignals" in site.exp.
30003
30004Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30005
30006 * configure.in (signaldirs): Define and add to configdirs for all
30007 targets except some specific ones that are known to not support signals.
30008 Also clean up formatting.
30009 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30010 (signals, sigall): Remove rules to build.
30011 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30012 Moved to new gdb.signals directory.
30013 * gdb.signals: New test directory.
30014 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30015 signals.c signals.exp}: New or moved files.
30016
30017Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30018
30019 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30020
30021Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30022
30023 * gdb.base/return.exp: Xfail `return double' test failure
30024 on at least Solaris 2.3 and handle future/past versions on
30025 a case by case basis as appropriate. Also update message
30026 to include i*86 failures.
30027
30028Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30029
30030 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30031
30032 * lib/gdb.exp: Fix comment which erroneously identified
30033 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30034 gdb_file_cmd not gdb_load).
30035 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30036
30037 * gdb.base/setvar.exp: Make test names consistent between pass and
30038 fail cases. Use gdb_test more.
30039
30040Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30041
30042 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30043
30044Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30045
30046 * gdb.base/help.exp: Fix expected help string for `show commands'.
30047
30048Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30049
30050 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30051
30052 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30053 of a text section.
30054
30055Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30056
30057 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30058 that loop eventually terminates. Fix Connection refused logic so
30059 that testsuite will expire nicely.
30060
30061Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30062
30063 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30064 config/rom68k.exp: New tcl glue for the appropriate monitors.
30065 These all just end up calling monitor.exp.
30066 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30067 refused' by retrying. Cleanup some timeout issues.
30068 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30069 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30070 callers don't have to set/restore global timeout variable.
30071
30072 * The following set of changes centralizes management of the global
30073 timeout variable. This way, it can be set in one target dependent
30074 place instead of dozens of places scattered throughout the test suite.
30075 If you need to lengthen a timeout, then you should either set timeout
30076 in one of the config/{target}.exp files, or multiply it by a factor.
30077 Setting it to an absolute value is always going to lose for some
30078 targets.
30079 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30080 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30081 * gdb.base/funcargs.exp: Don't set timeout.
30082 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30083 * gdb.base/printcmds.exp (test_print_string_constants
30084 test_print_array_constants): Don't set timeout.
30085 * gdb.base/ptype.exp: Don't set timeout.
30086 * gdb.base/recurse.exp: Don't set timeout.
30087 * gdb.base/return.exp: Don't set timeout.
30088 * gdb.base/watchpoint.exp: Don't set timeout.
30089 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30090 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30091
30092Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30093
30094 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30095
30096Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30097
30098 * lib/gdb.exp: Disable chill tests for irix5.
30099
30100Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30101
30102 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30103 each test pass or fail.
30104
30105Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30106
30107 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30108 xlc not gcc.
30109
30110Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30111
30112 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30113
30114Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30115
30116 * config/est.exp: Fix copyright and comments. Remove dead code.
30117 Use targetname, serialport and baud variables instead of fixed
30118 constants.
30119 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30120 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30121
30122Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30123
30124 * gdb.base/watchpoint.exp: Don't run
30125 test_watchpoint_triggered_in_syscall for sunos.
30126
30127Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30128
30129 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30130 they don't seem to exist. Do include stdio.h.
30131
30132Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30133
30134 * gdb.base/a1-selftest.exp: Add alpha xfail.
30135
30136Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30137
30138 * gdb.base/watchpoint.c (main): Prompt before calling read().
30139 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30140 Revise accordingly. Remove cruft about sending "123" several
30141 times, until it gets noticed. Clean up the "print buf[0]" stuff
30142 so that it passes or fails, and waits for prompts in the usual way.
30143
30144Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30145
30146 * gdb.base/recurse.exp: Fix comment.
30147
30148 * TODO: Remove item about printing variables in nodebug.exp. Add
30149 item about enabling tests which are only run on some targets.
30150
30151 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30152 fail, make test names unique, use new gdb_test convention
30153 regarding pattern, use gdb_test more, etc.).
30154
30155 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30156 fail, make test names unique, etc.).
30157
30158Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30159
30160 * gdb.base/nodebug.c: Change return type of top and middle to
30161 short.
30162 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30163 are fixed by the recent mdebugread.c changes. Allow `short ()'
30164 as type for top and middle.
30165
30166Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30167
30168 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30169 nearly as I can tell, the whole thing was an accident in Stu's
30170 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30171 to replace a send/expect pair with gdb_test, but ended up only
30172 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30173 of 30 Mar 1995 took care of it, but left this vestigial comment
30174 which I am now nuking.
30175
30176Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30177
30178 * gdb.base/break.exp: Look for different line number for
30179 breakpoint at main depending on usestubs.
30180
30181Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30182
30183 * gdb.base/list.exp: Adjust some alternate expect patterns to
30184 match recent list0.c change. Add alternate expect pattern for
30185 output from `list default lines around main' for optimizing
30186 compilers.
30187
30188Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30189
30190 * lib/gdb.exp: If nosignals is not set, set it to 0.
30191
30192Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30193
30194 * config/slite-gdb.exp: Responds to load symbol table prompt.
30195 * gdb.base/break.exp: Adjust line number, fix rerun.
30196 * gdb.base/langs0.c: Add #ifdef usestubs.
30197
30198Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30199
30200 * gdb.base/list.exp: Adjust line contents after adding new lines in
30201 list0.c. Also fix a syntax error.
30202
30203 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30204 * gdb.base/break.exp: ditto.
30205 * gdb.base/list.exp: ditto.
30206 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30207 * gdb.base/run.c: ditto.
30208 * gdb.base/list0.c: ditto.
30209 * gdb.base/funcargs.c: ditto.
30210
30211Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30212
30213 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30214 $targetname, $serialport and $baud instead of hardwired variables.
30215 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30216 target doesn't support signals.
30217
30218Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30219
30220 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30221
30222Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30223
30224 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30225 Don't rely on the value of an auto variable before it has been
30226 initialized. Use gdb_test more.
30227
30228Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30229
30230 * lib/gdb.exp (default_gdb_version): A version number must start
30231 with a digit, but other than that contains all characters up to
30232 the first whitespace character.
30233
30234Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30235
30236 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30237
30238Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30239
30240 * gdb.c++/*.exp: Warn if executable does not exist. The original
30241 reason for skipping the warning was that configure.in sometimes
30242 intentionally skipped building the executables but the tcl code
30243 had no way of knowing. That (a) was always bogus with respect to
30244 error handling, (b) is no longer true (right now there is no way
30245 to skip C++ tests).
30246
30247 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30248
30249Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30250
30251 * gdb.base/list.exp: Add expect patterns for output from
30252 SunPRO compiled executables.
30253 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30254 types.
30255
30256Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30257
30258 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30259 number (we are already testing that the correct source line text
30260 gets printed).
30261
30262 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30263 that is what is intended, but something needed to be done to get
30264 sunos4 native working again.
30265
30266 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30267
30268 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30269 apparently went with a (very) old xfail.
30270
30271Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30272
30273 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30274 runto_main is a proc in gdb.exp that will do 'step' for target use
30275 stubs.
30276 * gdb.base/exprs.exp: ditto.
30277 * gdb.base/interrupt.exp: ditto.
30278 * gdb.base/opaque.exp: ditto.
30279 * gdb.base/printcmds.exp: ditto.
30280 * gdb.base/ptype.exp: ditto.
30281 * gdb.base/scope.exp: ditto.
30282 * gdb.base/setvar.exp: ditto.
30283 * gdb.base/signals.exp: ditto.
30284 * gdb.base/twice.exp: ditto.
30285 * gdb.c++/classes.exp: ditto.
30286 * gdb.c++/inherit.exp: ditto.
30287 * gdb.c++/templates.exp: ditto.
30288 * gdb.base/break.exp: no run and hit main for stubs. Change line
30289 numbers for breakpoints and info breakpoint.
30290 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30291 breakpoint().
30292 * gdb.base/callfuncs.c: ditto.
30293 * gdb.base/exprs: ditto.
30294 * gdb.base/interrupt.c: ditto.
30295 * gdb.base/opaque0.c: ditto.
30296 * gdb.base/printcmds.c: ditto.
30297 * gdb.base/ptype.c: ditto.
30298 * gdb.base/scope0.c: ditto.
30299 * gdb.base/setvar.c: ditto.
30300 * gdb.base/signals.c: ditto.
30301 * gdb.base/twice.c: ditto.
30302 * gdb.c++/misc.cc: ditto.
30303 * gdb.c++/templates.cc: ditto.
30304
30305Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30306
30307 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30308
30309 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30310 somewhere between `read' and `main.c'. I'm pretty sure the
30311 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30312 and it isn't particularly useful.
30313
30314 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30315
30316Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30317
30318 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30319
30320Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30321
30322 * config/mt-slite: add LIBS and -nostdlib.
30323 * config/slite-gdb.exp: add this new file to support sparclite target.
30324
30325Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30326
30327 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30328
30329 * gdb.base/a2-run.exp: Change argument to istarget from
30330 "*-*-vxworks" to "*-*-vxworks*".
30331 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30332
30333Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30334
30335 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30336 will not runto main but do a 'step' to step out of breakpoint().
30337 * config/mt-slite: add -Dusestubs.
30338
30339Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30340
30341 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30342 instead of just @.
30343
30344 * gdb.base/signals.exp: Add test for "handle all print".
30345 * TODO: Remove "handle all print". Also remove item about
30346 checking copyright date (I don't like the idea of a spurious FAIL
30347 based on when we run the tests).
30348
30349 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30350 for SunOS4 (reason for failure not investigated). Remove
30351 redundant test for $binfile.
30352
30353 * gdb.base/nodebug.c (array_index): Call malloc.
30354
30355 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30356
30357Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30358
30359 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30360 conventions and slightly simplify the matching regexp.
30361
30362Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30363
30364 * gdb.base/break.exp: Update gdb_test invocation to use new
30365 convention.
30366
30367 * lib/gdb.exp: If noargs is not set, set it to 0.
30368
30369 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30370 tests unique.
30371
30372 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30373
30374Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30375
30376 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30377 one argument of type "<non-float parameter>".
30378
30379Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30380
30381 * config/rom68k.exp: New file to support Motorola IDP board.
30382 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30383 * gdb.base/break.c: Change things around so that this program
30384 doesn't depend upon args. This is necessary to make remote
30385 targets work (in general, they can't take args).
30386 * gdb.base/break.exp: Don't try to send args to program. Don't
30387 expect output. Also, replace lots of code with gdb_test.
30388
30389Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30390
30391 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30392 printing of '\'' (which is what the comment says we are testing,
30393 even though we were not), not '''.
30394 (test_integer_literals_rejected): Test that printing ''' is an error.
30395
30396 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30397 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30398 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30399 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30400 Use gdb_test not test_print_accept.
30401 * lib/gdb.exp: Remove test_print_accept.
30402
30403 * gdb.base/signals.exp (signal_tests_1): Make pass message
30404 consistent with fail message.
30405
30406 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30407 unsigned char; the bug (PR 1821) is fixed.
30408
30409 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30410
30411 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30412 successful tests--makes xfailing them work right.
30413
30414Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30415
30416 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30417 only \r\n, not .*. The test can pass .* as the last thing in
30418 $pattern if that is what it wants. In addition to providing this
30419 flexibility, this change should speed up pattern matching in cases
30420 where the pattern already ended with .* (there were a number of
30421 them). This change also helps catch bad patterns--in the old
30422 scheme the typo "char \*" instead of "char \\*" would pass. Now
30423 it is caught.
30424 * Many .exp files: Update callers.
30425
30426 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30427 clearer and does not spuriously match multiple ('s. Likewise for
30428 ) and *.
30429
30430 * gdb.base/nodebug.exp: Test ability to call a function and pass
30431 it a string (even with no debugging info).
30432
30433 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30434 "p '\'", which is the same as "p ''" once tcl gets done with
30435 quoting, to "p '\\'", which I suspect is what is intended (one
30436 backslash gets sent to GDB).
30437
30438 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30439
30440Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30441
30442 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30443 1817) was fixed literally years ago.
30444
30445Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30446
30447 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30448 test, it causes stepping out of call_after_alloca_subr with
30449 optimizing compilers.
30450 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30451 fails.
30452
30453 * gdb.c++/templates.exp: Source templ-info.exp only if
30454 the templates executable exists.
30455
30456 * gdb.c++/misc.cc (class Contains_static_instance,
30457 class Contains_nested_static_instance),
30458 gdb.c++/classes.exp (test_static_members): Test printing of
30459 a class that contains a static instance of the class.
30460
30461Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30462
30463 * gdb.base/langs2.c (cppsub_): Don't prototype.
30464 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30465 only, I believe).
30466
30467Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30468
30469 * lib/gdb.exp (skip_chill_tests): New procedure.
30470
30471 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30472
30473Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30474
30475 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30476 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30477
30478Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30479
30480 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30481
30482 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30483 disassemble 8, not 16, instructions for part 4.
30484
30485 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30486 support the latter anymore.
30487
30488 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30489 -DNO_PROTOTYPES.
30490 * gdb.base/callfuncs.c: Control use of prototypes based on
30491 NO_PROTOTYPES, not __STDC__.
30492 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30493 t_float_values2 tests if prototypes in use.
30494
30495 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30496 t_double_values): When checking differences against DELTA, check
30497 that difference is within the range (-DELTA,DELTA), not just
30498 (-infinity,DELTA).
30499
30500Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30501
30502 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30503 'file' command firts, then 'target', then 'load', this is due to gdb
30504 target set up.
30505 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30506
30507Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30508
30509 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30510 FP load/store variants.
30511 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30512
30513Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30514
30515 * gdb.base/term.exp: Do not give a warning if not native, it is
30516 not an abnormal condition.
30517
30518Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30519
30520 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30521 t_char_array".
30522
30523Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30524
30525 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30526 are getting the version number.
30527
30528 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30529 if not native, it is not an abnormal condition.
30530
30531Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30532
30533 * lib/gdb.exp: Just use "file exists", rather than undocumented
30534 dejagnu procedure "findfile".
30535
30536Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30537
30538 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30539 (LDFLAGS): Set to -Xlinker -Ur.
30540
30541 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30542 Removed, these values are set by lib/gdb.exp.
30543
30544 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30545
30546Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30547
30548 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30549 of replicating gdb startup code.
30550
30551 * config/mt-vxworks (LDFLAGS): Set to -r.
30552 (CFLAGS_FOR_TARGET): Removed.
30553
30554 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30555 (gdb) and gdb for vxworks uses (vxgdb).
30556
30557 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30558 executable is not in the tree and host != target, use sed and
30559 program_transform_name to determine the gdb name used by the
30560 target.
30561
30562 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30563 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30564
30565Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30566
30567 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30568 floats, chars, and shorts where there are ANSI-style function
30569 definitions.
30570
30571 * gdb.base/langs.exp, gdb.base/langs*: New test.
30572 * gdb.base/Makefile.in: Build it.
30573 * TODO: Remove item about checking that C names don't get C++
30574 demangling applied; this test tests it.
30575
30576Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30577
30578 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30579 went with the const70 xfail. The xfail went away a year ago.
30580
30581 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30582
30583 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30584 for hp300.
30585
30586 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30587
30588 * gdb.base/a1-selftest.exp: Don't run on hp300.
30589
30590Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30591
30592 * Makefile.in (site.exp): Set host_alias and target_alias as well
30593 as host_triplet and target_triplet.
30594
30595Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30596
30597 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30598
30599 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30600 places as other ecoff systems).
30601
30602 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30603 ultrix.
30604
30605Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30606
30607 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30608 remove them.
30609 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30610 variable and "variable" in addition to "data variable".
30611 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30612
30613 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30614 2.
30615 * gdb.base/list1.c (long_line): Add additional statement at start
30616 of function.
30617 * gdb.base/list.exp (test_forward_search): Update line number to
30618 reflect new statement.
30619
30620Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30621
30622 * gdb.base/signals.exp: Reinitialize searched source directories
30623 after gdb_start call.
30624
30625Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30626
30627 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30628 * gdb.stabs/Makefile.in: Likewise.
30629
30630 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30631 change. Instead split the tests into smaller pieces.
30632 * gdb.disasm/hppa.s: Corresponding changes.
30633
30634Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30635
30636 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30637 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30638
30639 * gdb.base/funcargs.exp: Modify many tests so that every test
30640 either passes or fails. Make some test names unique.
30641
30642Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30643
30644 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30645 Call stty to set interrupt character.
30646
30647 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30648 for HP assembler versus GNU assembler based on actual behavior of
30649 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30650
30651 * TODO: Suggest a few more stepping tests.
30652
30653Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30654
30655 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30656 restart GDB for h8300 after a continue.
30657 (return): Add pattern to match a29k-udi behavior.
30658 * gdb.base/nodebug.exp: Remove obsolete comment.
30659 * gdb.base/regs.exp: New file, testing of register displays.
30660 * gdb.base/return.exp: Fix typo in reference to $objdir.
30661 * gdb.base/whatis.exp: Always start with a fresh GDB.
30662
30663Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30664
30665 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30666 higher, these tests generate a lot of output.
30667
30668Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30669
30670 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30671 code following the catch silently ignored some errors; without the
30672 catch they should be thrown like any other tcl error. Also, the
30673 catch used "" instead of {} which meant all the callers who wanted
30674 to include one of the characters "[]$ had to quote it an extra time.
30675 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30676 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30677 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30678 Remove extra quoting.
30679
30680Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30681
30682 * gdb.base/commands.exp: Make test names unique; every test either
30683 passes or fails. Update some comments.
30684
30685 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30686
30687Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30688
30689 The following fixes a FAIL caused by the fact that the alpha stabs
30690 configuration didn't use the ".if alpha" code in weird.def.
30691 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30692 bit pointer, so the 32 bit version works even on the alpha.
30693 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30694 Remove the stuff which allowed us to have separate versions for
30695 alpha and everything else.
30696
30697 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30698 regexp which "info func operator\[\](" is supposed to match. Fix
30699 string to send to GDB. Note that GDB still doesn't work right. Add a
30700 new test for "info func .perator\[\](" which GDB does handle correctly.
30701
30702 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30703
30704Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30705
30706 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30707 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30708 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30709 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30710 it makes the tests harder to understand and confuses test-o-matic.
30711 The preferred style is that each test provides a PASS or a FAIL,
30712 and has a unique message (e.g. "continue #54" not just "continue")
30713 which is the same for the pass and the fail.
30714 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30715 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30716 to lib/gdb.exp.
30717 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30718 prt_accept which was basically the same thing. Likewise for
30719 test_print_reject and prt_reject.
30720 * lib/gdb.exp (test_print_reject): Add some more error message
30721 patterns to match from the former printcmds.exp (prt_reject).
30722 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30723 One defect of the passcount stuff is that some of it failed to
30724 report XPASS where appropriate.
30725 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30726 stuff before and after arg in expected pattern.
30727 (test_paddr_operator_functions): Re-do test without print_addr_of;
30728 this is the only test which seems to want extra stuff there.
30729
30730Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30731
30732 * gdb.base/nodebug.exp: Update new tests to reflect improved
30733 wording of gdb output.
30734
30735 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30736 and "ptype" work on variables in files compiled without -g.
30737 Replaces commented out "maint print msymbol" tests.
30738
30739Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30740
30741 * gdb.base/setvar.c (dummy): Call malloc.
30742
30743 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30744 losing with the irix4 sed.
30745
30746 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30747 ALRM" on irix4.
30748
30749Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30750
30751 * TODO: Remove items about corefile.exp testing new exec-file and
30752 backtrace; both are now done. Add items about printing enums.
30753
30754Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30755
30756 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30757 "get signal $thissig" test fails.
30758
30759 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30760
30761Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30762
30763 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30764 compiler warning with dec alpha compiler.
30765
30766 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30767 extra \n from gdb_test call (this explains why the prompt test
30768 that I removed yesterday was there).
30769 (user_defined_command_test): Remove extra \n and prompt test.
30770
30771 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30772 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30773 doesn't exist.
30774 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30775 Also remove alpha workaround, which turns out to be because
30776 SIGABRT == SIGLOST.
30777
30778 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30779
30780 * gdb.base/help.exp: Don't test "help show".
30781
30782Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30783
30784 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30785 "set print address" is on.
30786 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30787 pass prompt to gdb_test; gdb_test already looks for the prompt.
30788
30789 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30790
30791 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30792 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30793 was to make sure that gdb can read a core file. But (a) the "read
30794 the corefile" part didn't make it to a1-selftest.exp, we just
30795 delete the corefile after creating it, and (b) we test reading
30796 corefiles in corefile.exp anyway. Also, this test left around a
30797 xgdb process on Solaris.
30798
30799 * gdb.base/corefile.exp: Also test backtrace.
30800
30801Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30802
30803 * gdb.base/commands.exp: Test a simple user defined command with
30804 arguments and if/while statements; verify the full user command is
30805 printed by "show user".
30806
30807 * gdb.base/commands.exp: Test if/while commands as part of a
30808 breakpoint command list; verify they appear in breakpoint
30809 information.
30810
30811Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30812
30813 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30814 than by dividing by zero.
30815
30816Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30817
30818 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30819 performing an inferior call with watchpoints enabled.
30820 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30821 call.
30822
30823Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30824
30825 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30826 of "file" command.
30827
30828 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30829 Add additional pattern for when "int operator int(void);" appears
30830 in a different order.
30831
30832Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30833
30834 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30835
30836 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30837 and "signal" with ".*".
30838
30839Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30840
30841 * TODO: Add note about "handle all nostop".
30842
30843 * gdb.base/{sigall.c, sigall.exp}: New test.
30844 * gdb.base/Makefile.in: Add it.
30845
30846Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30847
30848 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30849 when invoking GDB, suppresses any windowing interface.
30850
30851Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30852
30853 * config/sim-gdb: New file, simulator testing support.
30854
30855Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30856
30857 * gdb.base/interrupt.exp: Test calling func1 twice.
30858
30859Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30860
30861 * gdb.base/list.exp (test_forward_search): Set timeout higher
30862 when we'll be getting lots of output from gdb.
30863
30864 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30865 "init_malloc" to after the expect statement. Run it if that
30866 regexp is taken, but also for two others which happen if source
30867 cannot be found.
30868
30869Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30870
30871 * gdb.base/printcmds.exp: New test, for printing register before
30872 program is running.
30873
30874Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30875
30876 * gdb.base/list.exp: Correct some alternate expect patterns
30877 to reflect changes in list1.c.
30878
30879Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30880
30881 * TODO: Add item regarding large frames.
30882
30883 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30884
30885 * TODO: Remove item about enabling return.exp; it
30886 is enabled. Suggest a few more "return" tests.
30887
30888Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30889
30890 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30891 anonymous unions.
30892
30893Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30894
30895 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30896 and pr-5646.o, so "make" is the same as "make all", not "make
30897 pr-4975.o".
30898
30899Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30900
30901 * gdb.base/list.exp: Adjust expectations to reflect changes in
30902 list1.c.
30903 (test_forward_search): New test proc.
30904 * gdb.base/list1.c (long_line): New function, has long source line.
30905
30906Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30907
30908 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30909 additional line of code that was added.
30910
30911Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30912
30913 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30914 tests so as not to overflow expect's input buffers.
30915 * gdb.disasm/hppa.exp: Corresponding changes.
30916
30917Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30918
30919 Beginnings of template debugging tests.
30920 * gdb.c++/templ-info.cc: New file to test for template
30921 debugging capability of the compiler.
30922 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30923 templ-info.cc.
30924 * gdb.c++/templates.cc: Add explicit template instantiations
30925 to enable compiling with -fno-implicit-templates. Add destructor
30926 and 'value' method to T5 class for template tests.
30927 * gdb.c++/templates.exp: Add testcases for printing of template
30928 types, setting breakpoints on template methods and calling a
d63a86f8 30929 template method.
c906108c
SS
30930
30931Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30932
30933 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30934 branch target since some assemblers (gas-2.5) may emit a
30935 relocation for the branch instead of resolving it in the
30936 assembler.
30937
30938Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30939
30940 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30941 through signal handler.
30942
30943Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30944
30945 * configure.in (*-*-netware): Use config/mt-netware.
30946
30947 * config/mt-netware: New file.
30948 * config/mt-i386-netware: Removed, separate configs for different
30949 netware architectures are no longer needed now that we have
30950 --with-headers.
30951
30952Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30953
30954 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30955 by the recent changes to use ANSI C arithmetic conversions.
30956
30957Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30958
30959 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30960 bug involving using inferior_pid to figure out whether to select a
30961 frame.
30962
30963Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30964
30965 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30966 match the current disassembler output.
30967
30968Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30969
30970 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30971 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30972 types, expect "int" as type of integer values (for now).
30973
30974Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30975
30976 * gdb.base/commands.exp: New tests for if/while commands.
30977
30978Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30979
30980 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30981 by .*, since hex values have different syntax in Chill mode.
30982
30983Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30984
30985 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30986 linefeed from expect pattern for repeated types with indices > 9.
30987
30988Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30989
30990 First part of Fortran test suite.
30991 * gdb.fortran: New directory.
30992 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30993
30994Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30995
30996 * gdb.base/default.exp: Update expect pattern for load command
30997 without arguments.
30998
30999Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31000
31001 * configure.in: Change i386 to i[345]86.
31002 * gdb.base/configure.in: Likewise.
31003 * gdb.c++/configure.in: Likewise.
31004 * gdb.chill/configure.in: Likewise.
31005
31006Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31007
31008 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31009 patterns, since that is not a valid context for comments.
31010
31011Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31012
31013 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31014 repeated types and repeated types with indices > 9.
31015
31016Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31017
31018 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31019 2417; old bug has been fixed.
31020
31021Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31022
31023 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31024 send the newline ourselves instead of assuming gdb_test will do
31025 so when passed an empty input string.
31026
31027 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31028 stabs testcode.
31029
31030Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31031
31032 * lib/gdb.exp (gdb_test): Don't send anything if the first
31033 argument is an empty string. This makes cases where we want to
31034 match output that is already in expect's buffers (for example,
31035 matching a breakpoint after gdb_run_cmd has been called) work
31036 reliably.
31037
31038Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31039
31040 * config/netware.exp: New file.
31041
31042Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31043
31044 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31045 the -B and -L prefixes so we can find the debugging stub.
31046
31047 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31048 there and we are using the gcc from the tree.
31049
31050 * gdb.base/types.c: Removed.
31051
31052 * gdb.base/configure.in: Look for makefile fragments in ../config.
31053 Recognize i386-*-netware.
31054 * gdb.c++/configure.in: Likewise.
31055
31056Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31057
31058 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31059 the correct TCL syntax.
31060
31061Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31062
31063 * gdb.base/opaque.exp: use runto instead of messing around with
31064 breakpoints. Simplify by using gdb_test.
31065
31066 * gdb.base/bitfields.exp: restart between tests on netware targets
31067 because breakpoints aren't relocated after target death. Run
31068 processes to completion.
31069
31070 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31071
31072Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31073
31074 * Makefile.in: Remove extra tabs that confuse some versions
31075 of "make". Use the newly built gdb to test with by default,
31076 rather than the first one in the tester's search path.
31077
31078Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31079
31080 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31081
31082 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31083 condition help.
31084
31085Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31086
31087 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31088
31089 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31090 running.
31091 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31092 * gdb.base/funcargs.exp: Likewise.
31093
31094 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31095 * gdb.base/funcargs.exp: Likewise.
31096
31097 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31098 message is "".
31099
31100Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31101
31102 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31103 return,signals,twice}.exp: Handle non-existant binaries
31104 consistantly.
31105
31106 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31107 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31108 might testing a cross development system.
31109
31110Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31111
31112 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31113 runtest script is relative to ${srcdir}, not ${rootdir}.
31114
31115Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31116
31117 * gdb.base/signals.exp: Allow for optionality of breakpoint
31118 address.
31119
31120Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31121
31122 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31123
31124Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31125
31126 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31127 for size_t definition.
31128 * gdb.c++/templates.cc: Likewise
31129
31130 * config/mt-i386-netware: New file.
31131
31132 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31133 defined.
31134
31135 * gdb.base/Makefile.in: Added support for systems that name core
31136 files by appending "core" to the program name.
31137 * gdb.base/a1-selftest.exp: Likewise.
31138
31139Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31140
31141 * gdb.base/return.exp: Add comment and message for `return double'
31142 test failure on Sparc Solaris.
31143
31144Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31145
31146 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31147
31148Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31149
31150 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31151 from optimizing them away.
31152 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31153 patterns to include default constructors and assignment operators,
31154 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31155 character in the output of the virtual base pointer.
31156
31157Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31158
31159 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31160 expression match in print_addr_of to avoid unintented matches.
31161 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31162 versions up to 2.5.8.
31163
31164Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31165
31166 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31167 included file to run under newer versions of expect.
31168 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31169 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31170 Remove xfail for the virtual table of BDDHookV.
31171
31172Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31173
31174 * lib/gdb.exp (string_to_regexp): Set a default result.
31175 (default_gdb_start): Fix misleading message.
31176
31177Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31178
31179 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31180 Remove all CC, etc definitions.
31181 * config/mt-hpux: New file.
31182 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31183 (CFLAGS, LDFLAGS): Define.
31184 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31185
31186 * Makefile.in (site.exp): Don't insert host_os, etc.
31187 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31188 (distclean): Check existence of subdir.
31189 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31190 * gdb.base/Makefile.in: General cleanup and simplification.
31191 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31192 to build executables. Use default rule to build .o files.
31193 (EXPECT, RUNTEST, CC): Fix relative pathname.
31194 (site.exp): Don't insert host_os, etc.
31195 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31196 and/or SIGUSR1 defined.
31197 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31198 * gdb.c++/Makefile.in: General cleanup and simplification.
31199 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31200 (CFLAGS): Remove.
31201 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31202
31203Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31204
31205 * gdb.base/recurse.exp: Misc changes to get tests running again
31206 after Kung's changes to the watchpoint code.
31207 * gdb.base/watchpoint.exp: Likewise.
31208
31209Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31210
31211 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31212
31213Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31214
31215 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31216 * lib/gdb.exp (default_gdb_start): Define.
31217 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31218 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31219 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31220 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31221 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31222 Don't call gdb_target_udi in between tests.
31223
31224Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31225
31226 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31227 (which was basically just a local version of the same thing). In
31228 addition to avoiding duplication, gdb_test_exact is faster.
31229 * lib/gdb.exp (gdb_test_exact): Fix typo.
31230
31231 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31232 don't give an error.
31233
31234 * gdb.base/term.exp: Call delete_breakpoints before starting.
31235
31236 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31237 (t10): Add comment.
31238
31239Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31240
31241 Reorganization of the GDB Test Suite.
31242
31243 * gdb.base: New directory, contains all the basic tests.
31244 * gdb.c++: New directory, tests specific to C++.
31245 * gdb.chill: New directory, tests specific to Chill.
31246 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31247 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31248 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31249 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31250 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31251 t30-31 to chill).
31252 * */gdbme.*: Rename to match appropriate expect scripts.
31253 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31254 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31255 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31256 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31257 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31258 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31259 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31260 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31261 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31262 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31263 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31264 gdb.c++/virtfunc.cc: New names of C++ files.
31265 * gdb.chill/chillvars.ch: New name of Chill file.
31266 * gdb.base/configure.in, gdb.c++/configure.in,
31267 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31268 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31269 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31270 * configure.in (configdirs): Update to reflect directory changes.
31271 (target_abbrev): No longer define for any configuration.
31272 * Makefile.in: Cosmetic improvements to header comments.
31273
31274Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31275
31276 Various changes to gdb.t31:
31277
31278 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31279 * gdbme.ch: Make all key-words and predefineds be upper-case.
31280 * chillvars.exp: Expect key-words and predefinds in upper-case.
31281
31282 * chillvars.exp: Use gdb_test_exact many places.
31283 Change expected output for arrays (which now includes index labels).
31284
31285 * pr-5020.exp, gdme.ch (module PR_5020):
31286 New test, for PR-5020.
31287
31288Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31289
31290 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31291 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31292
31293Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31294
31295 * Makefile.in: Fix bit-rot in definitions of CHILL,
31296 CHILL_FOR_TARGET and Chill_LIB.
31297 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31298 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31299 CHILL, and CHILL_LIB.
31300
31301Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31302
31303 * Revert the previous changes. Please see Rob's directory
31304 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31305
31306Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31307
31308 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
31309 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31310 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31311 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
31312 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31313 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31314 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31315 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31316 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31317 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31318 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31319 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31320 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31321 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31322 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31323 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31324 changes from 94Q1.
31325
31326Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31327
31328 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31329 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31330 Rob's new testing fragments.
31331
31332Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31333
31334 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 31335 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
31336
31337Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31338
31339 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31340 version also, match on casted version strings, and match on
31341 gdb startup case where the line numbers might be messed up.
31342
31343Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31344
31345 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 31346 (CFLAGS): Delete it from here.
c906108c
SS
31347
31348Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31349
31350 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31351
31352Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31353
31354 * Makefile.in (RUNTEST): Default to just "runtest".
31355
31356Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31357
31358 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31359 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31360 the code has been restructured.
31361
31362Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31363
31364 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31365 \n, not just one of each.
31366
31367 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31368 /bin/cc gives a warning if you do.
31369
31370Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31371
d63a86f8 31372 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
31373 __t10ListS_link1ZUiRCUiPT0
31374
31375Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31376
31377 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31378 on local variables in recursive functions.
31379
31380 * gdb.t07/Makefile.in: Build the new test.
31381
31382Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31383
31384 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31385 directly. Instead compare the return values from actual calls.
31386
31387Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31388
31389 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31390
31391Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31392
31393 * From Peter Schauer with minor modifications.
a9c64011
AS
31394 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31395 stops in mid-line in the caller. Add xfail for returning a float
31396 value on X86 targets.
c906108c
SS
31397
31398Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31399
31400 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31401 to avoid expect lossage.
31402 (fmem_LRbug_tests): Likewise.
31403 * gdb.disasm/hppa.s: Corresponding changes.
31404
31405 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31406 conditions to work with latest dejagnu/expect.
31407
31408 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31409 expected to fail on the PA.
31410 (backtrace in call with trampolines): Explicitly require main
31411 to be frame #1 (no trampolines should show up in backtrace).
31412
31413 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31414 "continue -expect".
31415 * gdb.t06/break.exp: Likewise.
31416 * gdb.t07/watchpoint.exp: Likewise.
31417 * gdb.t13/bitfields.exp: Likewise.
31418 * gdb.t15/{funcargs,return}.exp: Likewise.
31419 * gdb.stabs/weird.exp: Likewise.
31420 * config/{mips,udi}-gdb.exp: Likewise.
31421
31422 * hppa.sed: Enclose comments within a sed command to avoid
31423 losing with the old OSF1 sed.
31424
31425Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31426
31427 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31428 sequent dynix.
31429 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31430 * gdb.t15/funcargs.exp: Conditionally step again to really
31431 finish from marker_call_with_trampolines. Handle the case where
31432 the first step from within call_with_trampolines already steps
31433 us back to main.
31434 * gdb.t15/gdbme.c: Add comment to closing brace of
31435 call_with_trampolines for funcargs.exp.
31436
31437Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31438
d63a86f8 31439 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
31440 Fix typo(s).
31441
31442Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31443
31444 * gdb.t07/gdbme.c: More code for watchpoint testing.
31445
31446 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31447 "Hardware watchpoint" throughout file.
31448 (test_watchpoint_triggered_in_syscall): New test.
31449 (test_complex_watchpoint): New test.
31450
31451Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31452
31453 * gdbme.c (call_with_trampolines): New function to try and step
31454 into. Tests trampoline problems on the PA.
31455
31456 * funcargs.exp (localvars_in_indirect_call): No longer expect
31457 stepping into indirect call to fail on PAs.
31458 (test_stepping_over_trampolines): New test.
31459
31460Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31461
31462 * TODO: Add suggestions for static member function tests, and
31463 completion tests.
31464
31465Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31466
31467 * TODO: Add suggestions for "p/a" tests.
31468
31469 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31470 (default_gdb_exit): Replace all the hair with sending "quit" to
31471 the process with a simple close.
31472
31473Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31474
31475 * TODO: Add suggestions for shared library tests.
31476
31477Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31478
31479 * TODO: Add suggestions for x/s tests.
31480
31481Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31482
31483 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31484 "enable once", and "enable breakpoints once" with ".*".
31485
31486Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31487
31488 * TODO: Add suggestions about structure passing tests.
31489
31490Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31491
31492 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31493 the primary1 test, use work around if __GNUC__ < 2.
31494 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31495 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31496 Test for bad output rather than waiting for timeout. Issue
31497 second continue only if first continue failed.
31498
31499Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31500
31501 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31502 operator[] test with gdb_test because the old code didn't seem to
31503 be getting the quoting right with the new dejagnu.
31504
31505Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31506
31507 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31508 one from the path.
31509 * Makefile.in: Use a fresh expect if there is one, use runtest
31510 from the src tree if there is one.
d63a86f8 31511
c906108c
SS
31512Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31513
31514 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31515 next over recursive call. Revise the tests from that point on
31516 (which had been skipped) to match GDB's actual (correct) output.
31517
31518 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31519 with next over a breakpoint whose condition is false.
31520
31521 * gdb.t00/help.exp: Comment out "help set print" tests just like
31522 (and for same reason as) "help set" test.
31523
31524Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31525
31526 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31527 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31528
31529Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31530
31531 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31532 necessary gdb_target_udi.
31533
31534 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31535
31536 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31537 1838 and 2417; they are fixed.
31538
31539 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31540 gdb.t03/ptype.exp (ptype structure, ptype union):
31541 Remove xfails; the test is looser than when the xfails were added.
31542
31543 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31544 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31545
31546 * gdb.t01/run.exp: Only run shell test if isnative.
31547
31548 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31549 since "run" automatically loads if necessary. Call gdb_target_udi
31550 after the "file" since "file" kills any execution target.
31551
31552 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31553 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31554 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31555 argument for UDI.
31556
31557Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31558
31559 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31560
31561 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31562
31563Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31564
31565 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31566 properly quoting regexps. This makes the second argument to
31567 demangle a fixed string, which matches the callers, instead of a
31568 shell-style pattern which is what the previous implementation
31569 used. Update some of the callers.
31570
31571Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31572
31573 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31574 (comib_nullified_tests): Fix typo.
31575 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31576 strings. No longer expected to fail.
31577
31578 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31579 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31580 strings. No longer expected to fail.
31581
31582 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31583 string. No longer expected to fail.
31584
31585Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31586
31587 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31588 No longer expected to fail.
31589
31590 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31591 string. No longer expected to fail.
31592
31593Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31594
31595 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31596 only in the names (I probably got most of them). I was even
31597 generous with some which differed in underscores in names, and
31598 probably missed a few, and I *still* was able to remove almost a
31599 third of the file with almost no impact on testsuite coverage.
31600
31601Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31602
31603 * gdb.t00/default.exp: Match udi_attach error message as well as
31604 the one from child_attach.
31605
31606 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31607
31608 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31609
31610 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31611 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31612
31613 * Move test with enums and partial symbols back to
31614 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31615 Reverts the change of 26 May 93. Per today's change to
31616 stabs.texinfo, the behavior that weird.exp was expecting was
31617 unreasonable; what is important is that the compiler+gdb get
31618 things right, which happens with a recent gcc. Also fix the test
31619 to deal with native compilers which put out the stab gdb can't
31620 deal with.
31621
31622Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31623
31624 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31625 in the names. The main thing these accomplish is to slow things down.
31626 Many more such duplicates surely remain.
31627
31628 * gdb.t00/help.exp: Comment out "help support" test just like
31629 (and for same reason as) "help set" test.
31630
31631Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31632
31633 * gdb.t06/break.exp: Remove setup_xfails for
31634 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31635 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31636 about known bug in gcc to include up through 2.5.8.
31637 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31638 well as "_vb$".
31639 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31640 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31641 with latest gcc and gdb.
31642 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31643 well as "_vb$".
31644
31645Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31646
31647 * configure.in (hppa*-*-*): Also configure and build stabs-only
31648 tests.
31649
31650Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31651
31652 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31653 * gdb.t10/configure.in (hppa*-*-*): Use it.
31654
31655Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31656
31657 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31658
31659Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31660
31661 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31662 versions prior to 1.13.5.
31663
31664Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31665
31666 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31667 the prompt is at the start of a line.
31668
31669Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31670
31671 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31672 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31673 in the copr tests now.
31674 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31675 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31676 expected to fail.
31677
31678Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31679
31680 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31681 gdb.t31/chillvars.exp, lib/gdb.exp:
31682 Tweak to run under either version of expect.
31683 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31684 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31685 * gdb.t11/list.exp: Remove extraneous whitespace.
31686
31687Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31688
31689 * gdb.t16/printcmds.exp (test_print_strings): Accept
31690 "(unsigned char *) " before the string.
31691
31692 * TODO: Add notes about printing of fancy types and GDB expressions.
31693
31694Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31695
31696 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31697 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 31698 if doing mips-idt-ecoff.
c906108c
SS
31699
31700Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31701
31702 * Most .exp files: Tweak to run under either version of expect.
31703
31704Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31705
31706 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31707 xfails; I'm not sure why they are failing, but not because of PR 1806.
31708
31709Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31710
31711 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31712 defined in lib/gdb.exp.
31713
31714Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31715
31716 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31717 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31718 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31719 have to be typeless.
31720
31721Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31722
31723 * TODO: Add suggestion for copyright year test.
31724
31725Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31726
31727 * configure.in (*-*-lynxos*): Add stabs tests.
31728
31729Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31730
31731 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31732 so insert a tab before any assembler directive in column zero.
31733
31734 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31735 stores.
31736 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31737 stores.
31738 (fpu_short_memory_tests): Likewise.
31739
31740Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31741
31742 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31743 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31744 .stabs directives in comments.
31745
31746Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31747
31748 * TODO: New file, describing tests we could write.
31749 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31750
31751Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31752
31753 * gdb.t06/signals.exp: Add kludge to force re-sync.
31754
31755 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31756 to xgdb instead of gdb, get out of gdb.
31757
31758Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31759
31760 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31761 for info.
31762
31763Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31764
31765 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31766 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31767 * gdb.stabs/hppa.sed: New sed script for the PA.
31768
31769Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31770
31771 * gdb.stabs: Re-write weird.def and configuration to use sed
31772 instead of cpp. sed is portable and POSIX; cpp is neither.
31773
31774Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31775
31776 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31777
31778Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31779
31780 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31781
31782Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31783
31784 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31785 "_vb$".
31786 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31787 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31788
31789Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31790
31791 * lib/gdb.exp: Comment out code which depends on non-existent
31792 `transform' procedure.
31793
31794Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31795
31796 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31797 * lib/gdb.exp: Transform tool name.
31798 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31799 1.1's new error handling system.
31800
31801Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31802
31803 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31804
31805Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31806
31807 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31808 They made pattern matching so slow that timeouts happened on
31809 heavily loaded systems. Now any output from "show print" which
31810 gets us back to the GDB prompt is a PASS.
31811
31812Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31813
31814 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31815
31816Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31817
31818 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31819
31820 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31821 It is not from PR 3220.
31822
31823Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31824
31825 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31826 just started failing because they depended on the order the
31827 subcommands are presented, or exact docstring text. This kind of
31828 test is a pain and has minimal benefit.
31829
31830Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31831
31832 * gdb.t09/corefile.exp: At end of test, use "core" command with
31833 no arguments.
31834
31835Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31836
31837 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31838 17}/Makefile.in: Make it possible to run the testsuite with Sun
31839 make and CC = cross gcc by adding explicit build rules for .o
31840 files.
31841
31842Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31843
31844 * gdb.t15/funcargs.exp: Don't put comments on same line as
31845 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31846
c906108c
SS
31847Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31848
31849 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31850
31851Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31852
31853 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31854 * gdb.t20/inherit.exp: remove three dumplicate entries.
31855
31856Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31857
31858 * gdb.t06/break.exp: For "next over recursive call", fail on any
31859 incorrect output, not just on "factorial (value=2)".
31860
31861Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31862
31863 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31864 working now. Add an xfail if accesing a bss variable causes
31865 a memory error if the target is not yet run.
31866
31867Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31868
31869 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31870 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31871 name of __st* demangling (2 strings). Did Kung really get the
31872 more than 95 others right without testing them?
31873
31874Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31875
31876 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31877
31878Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31879
31880 * configure.in (configdirs): Add gdb.disasm
31881 * gdb.disasm: New directory for GDB disassembler tests.
31882 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31883
31884Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31885
31886 * gdb.t00/help.exp: Don't test "help set".
31887
31888 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31889 from within expect statements. None of these happen anymore and
31890 they cause regressions to be silently unnoticed.
31891
31892 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31893 messages) about known failures with gcc cygnus-2.4.5-930417.
31894
31895 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31896 comp-info.exp so it gets built if it doesn't exist.
31897
31898 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31899 it is no longer used.
31900 * gdb.t13/comp-info.c: Removed.
31901
31902Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31903
31904 * gdb.t06/signals.exp: Add xfail for sun3.
31905
31906Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31907
31908 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31909 relevant because ^C doesn't get sent but failure can be reproduced
31910 interactively).
31911
31912Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31913
31914 * gdb.stabs/alpha.mt: New configuration file for alpha.
31915 * gdb.stabs/configure.in: Use it.
31916 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31917 sharing with alpha.mt, redefine long to word via preprocessor.
31918 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31919 for alpha.
31920 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31921 native cc.
31922 * gdb.t00/teststrategy.exp: Change expect string so that we
31923 consume the `(xgdb)' from the command echo and from the gdb prompt.
31924 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31925 gdb currently compares all values as long, so this failure probably
31926 applies to any configuration where LONGEST is bigger than a target int.
31927 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31928 with gcc.
31929 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31930 to handle opaque pointers, gcc is.
31931 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31932 as first argument. Include <sys/types.h> and change all operator
31933 new definitions to use size_t.
31934 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31935 now that we use size_t.
31936
31937Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31938
a9c64011 31939 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31940 a long or float array cast all array members to the same type.
a9c64011 31941 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31942 with 64 bit longs.
a9c64011 31943 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31944 on alpha.
a9c64011 31945 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31946
31947Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31948
31949 * gdb.t24 (demangle.exp): Constructors of templates have names like
31950 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31951 section 14.6 of the ARM.
31952
31953 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31954 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31955 accomplish little and slow down the testsuite.
31956
31957 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31958 Accept spaces various places.
31959
31960Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31961
31962 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31963 with watchpoint enabled.
31964
31965 * Makefile.in: Remove definition of CC and remove the second
31966 definition of CXX (the "CXX = gcc" one remains). These definitions
31967 were causing backquotes to be expanded within backquotes, which
31968 doesn't work.
31969
31970Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31971
31972 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31973
31974Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31975
a9c64011
AS
31976 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31977 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31978 by mips cc and contains no stabs entries.
31979
31980Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31981
31982 * config/vx-gdb.exp: Use fake device to load files rather than
31983 NFS.
31984 * lib/gdb.exp: New proc to do "file" command.
31985 * config/unix-gdb.exp: Use new "file" proc.
31986
31987Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31988
31989 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31990 Rework board rebooting slightly.
31991 (gdb_exit): Don't exit from the remote shell; there isn't one.
31992 * gdb.stabs/weird.exp: If a program is being debugged already,
31993 kill it.
31994 * gdb.t04/setvar.exp: Stop and restart gdb.
31995 * gdb.t05/expr.exp: Likewise.
31996 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31997 restart gdb and reload the program.
31998 * gdb.t08/opaque.exp: Likewise.
31999 * gdb.t12/scope.exp: Likewise.
32000 * gdb.t13/bitfields.exp: Likewise.
32001 * gdb.t15/funcargs.exp: Likewise.
32002 * gdb.t20/classes.exp: Likewise.
32003 * gdb.t03/ptype.exp: Increase timeout.
32004 * gdb.t16/printcmds.exp (test_print_string_constants,
32005 test_print_array_constants): Likewise.
32006 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32007 * gdb.t20/classes.exp (do_tests): Likewise.
32008 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32009
32010Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32011
32012 * gdb.stabs: Renamed *wierd* to *weird*.
32013
32014Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32015
32016 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32017 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32018
32019Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32020
32021 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32022 (do_tests): Remove xfail for whatis on one_var and two_var.
32023
32024Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32025
32026 * Makefile.in: Made cross building work better by adding
32027 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32028
32029Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32030
32031 * gdb.t15/{return.c,return.exp,Makefile.in}:
32032 New test, currently commented out.
32033
32034Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32035
32036 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32037 still running and removes the leftover named socket so GDb can do
32038 clean restarts.
32039
32040Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32041
32042 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32043 console, not GDB.
32044 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32045 cross testing works better with "make check"
32046 * config/unix-gdb: Use default procedures for exit and version.
32047 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32048 with the newest VxWorks.
32049
32050Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32051
32052 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32053 old form.
32054
32055 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32056 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32057
32058 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32059
32060 * config/unix-gdb.exp: Remove this version of gdb_exit
32061 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32062 Rob says he'll look at it when he gets back to testing boards.
32063
32064Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32065
32066 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32067 an expected fail for certain ptype commands.
32068
32069 * gdb.t20/classes.exp: Update expected results of "ptype class
32070 Base1" to account for the constructor that now appears in the type.
32071
32072Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32073
32074 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32075 disappeared from list.
32076 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32077 "alldone" proc with call to cleanup and exit.
32078 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32079 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32080 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32081 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32082 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32083 "alldone" proc with simple returns that suppress remaining
32084 tests. The alldone proc went away many months ago.
32085
32086Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32087
32088 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32089
32090 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32091
32092Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32093
32094 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32095 as vax gdb will display them.
32096
32097Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32098
32099 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32100 optimizers.
32101
32102 * scope.exp: Change "bad value for localval" messages so each one
32103 is unique.
32104
32105 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32106 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32107
32108 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32109
32110Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32111
32112 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32113 doesn't exist (due to optimization).
32114
32115Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32116
32117 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32118 contains \r because the filename is long.
32119
32120 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32121 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32122
32123Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32124
32125 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32126 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32127 Ultrix.
32128 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32129 int tests.
32130 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32131
32132Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32133
32134 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32135
32136 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 32137 to match does not match the passing case but still matches the
c906108c
SS
32138 failing case.
32139
32140Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32141
32142 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32143
32144Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32145
32146 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32147 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32148 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32149 Remove various versions of gdb_exit.
32150 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32151 gdb_exit.
32152 * config/unix-gdb.exp: gdb_exit remains here, and should override
32153 the generic version, since it's doing a lot of wierd stuff that
32154 the other versions aren't. FIXME, fold it in, or abandon this
32155 version.
32156
32157Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32158
32159 * gdb.t24/demangle.exp: Add tests for PR 3220.
32160
32161Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32162
32163 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32164
32165Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32166
32167 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32168 "i386-*-*". Works for i486 as well.
32169
32170 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32171 bug, and expand domain of xfail to all SVR4 systems, since the
32172 actual problem is likely to be in generic SVR4 /proc support.
32173
32174Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32175
32176 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32177
32178Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32179
32180 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32181 xfails for other systems. Match a missing 'Continuing.' as an
32182 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32183
32184 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32185 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32186 Only issue warning for missing executables if -all option is used.
32187
32188 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32189 file if -all option is used. It's like an unpredictable XFAIL.
32190
32191Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32192
32193 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32194 for dynamically linked binaries.
32195
32196 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32197
32198Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32199
32200 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32201 to state that this is a known bug in old versions of g++.
32202
32203Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32204
32205 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32206 while waiting for `Continuing'.
32207
32208Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32209
32210 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32211 in text, data, and bss.
32212 * gdb.t10/nodebug.c: Add local and global test variables for
32213 initialized and uninitialized data.
32214
32215Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32216
32217 * config/unix-gdb.exp (gdb_exit): Add "wait".
32218
32219Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32220
32221 * gdb.t06/signals.exp: xfail the continue from the handler for all
32222 targets.
32223
32224 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32225 function with watchpoints enabled, the i386 call dummy starts with
32226 a call.
32227
32228 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32229 386 bsd names its corefiles.
32230
32231Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32232
32233 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32234 compilers don't grok it.
32235 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32236 with small octal ints rather than character constants, which
32237 are signed and might not fit if first promoted to int.
32238
32239Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32240
32241 * gdb.t09/Makefile.in (clean): Remove corefile.
32242
32243Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32244
32245 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32246
32247Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32248 and Jim Kingdon (kingdon@cygnus.com)
32249
32250 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32251 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32252 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32253
32254Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32255
32256 * gdb.t17/interrupt.exp: Add xfail for hppa.
32257
32258Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32259
32260 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32261 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32262 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32263 to determine signed-ness of bitfields and use the result to setup
32264 the xfail.
32265 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32266 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32267 call line is reached if necessary.
32268
32269Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32270
32271 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32272
32273Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32274
32275 * gdb.t06/break.exp: Also test `clear' command.
32276
32277Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32278
32279 * gdb.t00/teststrategy.exp: Remove extra quote.
32280
32281 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32282 watchpoint enabled to be for all non-68k machines.
32283
32284 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32285
32286Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32287
32288 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32289 targets use aout.mt instead of ecoff.mt as gas understands
32290 standard aout format.
32291
32292Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32293
32294 * lib/gdb.exp (runto): Don't insist that function we are running to
32295 was compiled with -g.
32296
32297 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32298
32299 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32300 to get back into the read system call.
32301 Accept leading newline in case where we woke it up.
32302
32303Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32304
32305 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32306 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32307 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32308 enable ecoff configuration.
32309
32310Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32311
32312 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32313
32314Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32315
32316 * gdb.t16/printcmds.exp: Add another printf test.
32317
32318Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32319
32320 * configure.in: If configured -with-stabs on any target, add
32321 stabsdirs to configdirs.
32322
32323Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32324
32325 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32326 fun" so pattern does not match the command itself.
32327
32328Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32329
32330 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32331
32332Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32333
32334 * gdb.t17/interrupt.exp: Test for more things.
32335
32336Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32337
32338 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32339 compiler arranges the code and line numbers.
32340
32341 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32342
32343Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32344
32345 * gdb.t00/help.exp: Increase expect input buffer size.
32346
32347Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32348
32349 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32350
32351 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32352
32353 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32354
32355 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32356 [0-9]*, not just [0-9].
32357
32358Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32359
32360 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32361
32362 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32363
32364Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32365
32366 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32367
32368Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32369
32370 * gdb.t06/signals.c: Add xfails for sun3.
32371
32372 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32373
32374 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32375 test_stepping tests.
32376
32377Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32378
32379 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32380
32381 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32382
32383 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32384 rather than actually putting it through cpp twice.
32385
32386 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32387
32388Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32389
32390 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32391 no longer needed.
32392
32393Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32394
32395 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32396
32397 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32398 C++ features prints as "struct", make it a pass, not an xfail.
32399
32400Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32401
32402 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32403 Don't require VA to print as "class" rather than "struct".
32404
32405Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32406
32407 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32408
32409Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32410
32411 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32412
32413Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32414
32415 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32416 order.
32417
32418Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32419
32420 * gdb.t16/printcmds.exp: Add printf tests.
32421
32422 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32423
32424 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32425
32426Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32427
32428 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32429 pass counts, to counteract any existing or future setup_xfails.
32430
32431Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32432
32433 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32434 {BEGIN,END}_COMMON for common block instead of STAB.
32435 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32436
32437 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32438 intp_var should be N_GSYM not N_LSYM.
32439 wierd-aout.S: Use a label for the value of the N_SO.
32440 wierd.def: Remove all backslashes.
32441 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32442
32443Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32444
32445 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32446 get the expected next to inheritance3.
32447
32448Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32449
32450 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32451 now that gcc-2.4 gets it right.
32452
32453Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32454
32455 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32456
32457 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32458 generating comp-info.exp which works for cross-compilation.
32459
32460Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32461
32462 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32463 "*-*-sysv4.*".
32464
32465Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32466
32467 * gdb.t01/run.exp: Start with a fresh gdb.
32468 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32469 SVR4.x.
32470
32471Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32472
32473 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32474 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32475 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32476 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32477 things to remove.
32478
32479Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32480
32481 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32482 test cases from bug reports.
32483
32484Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32485
32486 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32487 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32488 avoid spurious xfails.
32489 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32490 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32491 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32492
32493Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32494
32495 * gdb.t00/teststrategy.exp: Rework to provide more useful
32496 description of each test, fix problem with systems that define
32497 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32498 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32499 results for "next over recursive call" so timeouts aren't taken
32500 by error.
32501
32502Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32503
32504 * gdb.t12/scope.exp: Test printing of variables before run.
32505
32506 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32507 printed in wrong order due to sorting.
32508
32509Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32510
32511 * gdb.t00/teststrategy.exp: Fix expected results for printing
32512 user entered string constant. Is array of char, prints with no
32513 address.
32514
32515 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32516 commands.
32517 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32518 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32519 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32520 of struct of char arrays.
32521 * gdb.t00/radix.exp: New tests for radix commands.
32522
32523Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32524
32525 * gdb.t16/printcmd.exp: Print a variable before running program
32526 (with xfail for AIX).
32527
32528Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32529
32530 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32531
32532 * gdb.t16/printcmd.exp: Don't print variables before running program.
32533
32534 * gdb.t06/break.exp: Don't require envp argument to main.
32535
32536 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32537
32538 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32539 Add xfails for rs6000.
32540
32541 * gdb.t02/whatis.exp: Change other tests not to re-test something
32542 we already tested.
32543
32544 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32545 each type used has a variable of that type.
32546
32547Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32548
32549 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32550
32551Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32552
32553 * configure.in: change srctrigger to be a file, not a directory
32554
32555Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32556
32557 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32558
32559 * gdb.t11/list.exp: Fixed a couple of typos.
32560
32561Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32562
32563 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32564 is fixed and PR is closed.
32565 * gdb.t16 (gdbme.c): Add simple test string variable.
32566 * gdb.t16 (printcmds.exp): Add tests with simple test string
32567 variable, primarily for boundaries on "set print elements".
32568
32569Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32570
32571 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32572 Make leading 0's optional and don't expect a tab in the middle
32573 of the number.
32574
32575 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32576
32577 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32578 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32579 don't end command passed to gdb_test with newline.
32580
32581 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32582 signed keyword away, don't expect signed bitfields to be signed.
32583
32584 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32585 printing with only as many 1's as are in the field as well as printing
32586 with 32 1's (see comment).
32587
32588Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32589
32590 * gdb.t00/default.exp: Start with a fresh gdb.
32591 * configure.in (configdirs): Remove gdb.t31 until the chill
32592 compiler works again. It no longer is able to find chillrt0
32593 since it isn't in libchill.a anymore.
32594 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32595 wierd.o, make more modular.
32596 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32597 spurious newlines that caused problems.
32598
32599Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32600
32601 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32602 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32603 gdb.stabs/wierd.{exp,def}: Many new tests.
32604
32605 * gdb.t00/default.exp: update info line for new message.
32606
32607 * gdb.t02/{whatis.exp,gdbme.c}:
32608 Test that "char *" doesn't print as "caddr_t".
32609
32610Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32611
32612 * gdb.t00/help.exp: Use .* in place of some help messages which
32613 just changed.
32614 gdb.t00/default.exp: Update "info frame" test for new message.
32615 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32616 Remove some xfails
32617
32618Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32619
32620 * gdb.t03/{gdbme.c,ptype.exp}:
32621 Add tests for typedef'd struct and union without tags.
32622 Also check "whatis" on a variable of a typedef'd enum without a tag.
32623
32624 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32625 PRMS 1823; the bug still exists but isn't reproduced by this test
32626 anymore), and remove rs6000 XFAIL (the bug is fixed).
32627
32628 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32629 duplicated from whatis.exp. For those that are left, accept
32630 "long", "long int", or "int" for long variables (whatis.exp already
32631 has an XFAIL for "int", so no need to fail it here).
32632
32633 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32634 Deal with GCC's names for types now that GDB uses the compiler's names.
32635
32636 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32637 setup_xfail's for sunos4. If we #defined the signed keyword away,
32638 don't expect GDB to know that char it is signed.
32639
32640 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32641
32642Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32643
32644 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32645 should work on any system, regardless of debugging format.
32646 * gdb.t21/demangle.exp: Move to gdb.t24.
32647 * gdb.t24/demangle.exp: Move from gdb.t21.
32648 * gdb.t24/{Makefile.in, configure.in}: New files.
32649
32650Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32651
32652 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32653 * gdb.stabs: New directory.
32654
32655Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32656
32657 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32658 not just "Quit anyway?".
32659
32660Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32661
32662 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32663 that all setup_xfails are immediately followed by clear_xfails.
32664
32665Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32666
32667 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32668 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32669 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32670 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32671 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32672 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32673 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32674 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32675 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32676 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32677 gdb.t31/chillvars.exp, lib/gdb.exp:
32678 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32679 bug-gdb@prep.ai.mit.edu.
32680
32681Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32682
32683 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32684 with 0.0, not integer 0.
32685
32686Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32687
32688 * gdb.t06/break.exp: Update for "Kill the program" message change.
32689
32690Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32691
32692 * Makefile.in (GDBFLAGS): Set to -nx.
32693 * Makefile.in (site.exp): Use GDBFLAGS.
32694
32695Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32696
32697 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32698 Makefiles.
32699 (check): depend on just-check.
32700 (just-check): added so that tests can be run without a noop
32701 build pass.
32702
32703Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32704
32705 Switch to using configure's configdirs.
32706 * Makefile.in (Makefile): add configure.in dependency.
32707 (SUBDIRS): removed redundant assignment.
32708 * configure.in: switch subdirs assignment to configdirs.
32709 * gdb.t*/configure.in: new files.
32710
32711Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32712
32713 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32714 works.
32715
32716Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32717
32718 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32719 in explicit rules. Apparently this is not supported by some makes.
32720
32721Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32722
32723 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32724
32725Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32726
32727 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32728 disappeared.
32729
32730Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32731
32732 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32733
32734Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32735
32736 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32737 watchpoint problem that is now fixed.
32738 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32739 uninitialized convenience variables.
32740 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32741 structures.
32742
32743Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32744
32745 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32746 which causes expect to get out of sync with gdb on long output
32747 from help set.
32748 * gdb.t09/corefile.exp: Make expected pattern for core file
32749 failing signal and frame output format less sun specific.
32750
32751Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32752
32753 * gdb.t31/chillvars.exp: Add and remove initial dummy
32754 breakpoint, so that symbol table is forced in.
32755 (Needed at least on Sunos4, though it seems not SVR4.)
32756 * gdb.t31/chillvars.exp: Update for changed output format.
32757
32758Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32759
a9c64011 32760 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
32761
32762Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32763
32764 * Makefile.in: Added --srcdir when invoking runtest, removed the
32765 need for a local config file. (optional now)
32766
32767Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32768
32769 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32770 failure count used to force early termination. Add some more
32771 expected failures for gnu style demangling.
32772
32773Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32774
32775 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32776 pmi variable from gdb.t20/gdbme to get optimized away.
32777 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32778 Check for written corefile upon timeout _and_ eof.
32779
32780Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32781
32782 * config/unix-gdb.exp: Add missing return 0.
32783
32784Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32785
32786 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32787 test termination.
32788
32789Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32790
32791 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32792 disappeared.
32793
32794Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32795
32796 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32797 time as i860 support works.
32798
d63a86f8 32799 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32800 "backtrace 100\r" rather than just "backtrace\r", to match last
32801 change.
32802
32803Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32804
32805 * config/udi-gdb.exp (gdb_exit): Remove close command.
32806 (gdb_target_udi): New procedure to set the UDI target.
32807 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32808 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32809 Added waits for prompts after several question responses. Added
32810 some more responses used by a29k-amd-udi-gdb.
32811 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32812 pass different arguments, restart UDI connection after program
32813 completion.
32814 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32815 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32816 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32817 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32818 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32819 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32820 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32821 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32822 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32823 after program completion.
32824 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32825 compiled with a SELECT_VECS setting.
32826 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32827 infinite recursion.
32828
32829 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32830 Added checks for COFF results, and made them expected failures for
32831 all targets. It would be better to make them expected failures
32832 for COFF targets only.
32833
32834Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32835
32836 * Makefile.in: add null dvi target, don't bother to recurse
32837 through test directories for info and install-info; rename
32838 $(datadir) to be dejagnu instead of deja-gnu
32839
32840Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32841
32842 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32843 compiler to coredump.
32844 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32845 code.
32846
32847Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32848
32849 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32850 coredump.
32851 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32852 code.
32853
32854Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32855
32856 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32857 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32858 which in a shell. Deletes xgdb when done.
32859 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32860 Tests the return from the "set height" or "set width" commands.
32861 Added a few return codes where needed.
32862
32863Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32864
32865 * Makefile.in (SUBDIRS): Add gdb.t17.
32866 * configure.in (subdirs): Add gdb.t17.
32867 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32868 files to test gdb's calling of functions in the inferior with
32869 the correct arguments and gdb's ability to retrieve any
32870 result returned.
32871
32872Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32873
32874 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32875 may be called after gdb goes away. Previous versions of expect
32876 needed these to avoid file descriptor leaks, but they cause
32877 errors with the current revision of expect.
32878 * gdb.t00/gdbvars.exp: Use -re on expected output after
32879 setting sevenbit-strings.
32880 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32881 to set sevenbit-strings consistent across tests.
32882 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32883 set sevenbit-strings consistent across tests.
32884
32885Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32886
32887 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32888 expected output to match current "expect" expectations.
32889
32890Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32891
32892 * gdb.t00/default.exp: Change expected output for default "source"
32893 command, to match new gdb behavior which requires a filename to
32894 source.
32895
32896Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32897
32898 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32899 expected fail for i486-*-* that misses the marker2 function.
32900 * gdb.t10/crossload.exp (bfddefault): Allow successful
32901 recognition of a format to pass even if no symbols are found.
32902 Explicitly catch failures where the format is not recognized
32903 or is ambiguous, and add the reason to the fail message.
32904 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32905 the cause is and invalid target and add reason to failure message.
32906 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32907 elf32-i386, elf32-sparc, and elf32-i860.
32908 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32909 Set up expected failure for 'filename'::variable scope resolution,
32910 which is now apparently broken on all targets.
32911 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32912 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32913 gdb.t23/templates.exp: Change failure for missing binfile into
32914 just a warning.
32915 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32916 references.
32917
32918Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32919
32920 * gdb.t00/default.exp: Add expected output for default "source"
32921 command, to match new gdb behavior.
32922 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32923
32924Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32925
32926 * config/*-gdb.exp: returns an error, rather than exiting on
32927 internal errors.
32928
32929Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32930
32931 * gdb.t03/gdbme.c: Add pointer to struct variable.
32932 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32933 referencing struct members.
32934
32935Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32936
32937 * configure.in (mips-idt-ecoff): New target.
32938 * config/mips-gdb.exp: New file for remote board using MIPS remote
32939 debugging protocol.
32940
32941 * Redid configuration scheme. Removed gdb.t*/configure.in.
32942 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32943 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32944 distclean targets. Built executables via .o files. Adjusted
32945 tests to account for source files in $(srcdir) rather than
32946 $(objdir).
32947 * lib/gdb.exp (runto): Don't expect () after the function name,
32948 because it may have arguments.
32949
32950Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32951
32952 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32953 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32954 expected failures for mips-idt-* and mips-sgi-*.
32955 * gdb.t00/default.exp (attach): Kill process if requested.
32956 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32957 that does not read core files.
32958 * gdb.t01/run.exp: Removed checks for exit status code.
32959 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32960 it is linked in.
32961 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32962 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32963 appropriate, rather than doing it by hand.
32964 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32965 execution.
32966 * gdb.t10/crossload.exp: Kill existing program if needed.
32967 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32968 appropriate, rather than doing it by hand. Always increase
32969 timeout for this test, not just for VxWorks.
32970
32971Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32972
32973 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32974 of Chill STRUCT types and STRUCT values.
32975 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32976 than "char".
32977 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32978 struct2): New struct definitions and initializations to test
c906108c
SS
32979 simple Chill STRUCT types.
32980
32981Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32982
32983 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32984 the null byte at the end of strings.
32985 * gdb.t00/default.exp: Make show version insensitive to copyright
32986 date.
32987 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32988 to avoid dependencies on target char signedness.
32989 * gdb.t16/printcmds.exp: Update expected results for explicitly
32990 unsigned char.
32991 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32992 now work.
32993 * gdb.t21/demangle.exp: Add many more patterns for template
32994 demangling, most of them being expected failures.
32995 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32996 string we are matching for, to match on the whole string.
32997 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32998 and fix a whole bunch that had incorrect expected output but were
32999 passing anyway because of the bug in "proc demangle".
33000 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33001 type.
33002 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33003
33004Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33005
a9c64011
AS
33006 * gdb/testsuite: made modifications to testcases, etc., to allow
33007 them to work properly given the reorganization of deja-gnu and the
33008 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
33009
33010Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33011
33012 * gdb/testsuite: Initial creation of gdb/testsuite.
33013 Migrated dejagnu testcases and support files for testing nm to
33014 gdb/testsuite from deja-gnu. These files were moved "as is"
33015 with no modifications. This migration is part of a major overhaul
33016 of dejagnu. The modifications to these testcases, etc., which
33017 will allow them to work with the new version of dejagnu will be
33018 made in a future update.
48efe704 33019
8d8cb839 33020 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 33021\f
8d8cb839
EZ
33022;; Local Variables:
33023;; mode: change-log
33024;; left-margin: 8
33025;; fill-column: 74
33026;; version-control: never
33027;; End:
902f2ccb 33028
28e7fd62 33029 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
33030 Copying and distribution of this file, with or without modification,
33031 are permitted provided the copyright notice and this notice are preserved.