]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
fix some simple thinkos in the test suite
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5030a410
TT
12013-11-04 Tom Tromey <tromey@redhat.com>
2
3 * gdb.base/gcore-buffer-overflow.exp: Use
4 standard_output_file, not standard_testfile.
5 * gdb.base/twice.exp: Use standard_testfile, not
6 standard_output_file. Use gdb_remote_download.
7
95d7853e
TT
82013-11-04 Tom Tromey <tromey@redhat.com>
9
10 * lib/gdb.exp (get_compiler_info): Use log_file -info and
11 restore from that.
12
eab88b54
MR
132013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
14
15 * gdb.cp/derivation.exp: s/perrro/perror/
16
a1b0fbee
MR
172013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
18
19 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
20 `debugdir'.
21
638aa5a1
AB
222013-10-31 Andrew Burgess <aburgess@broadcom.com>
23
24 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
25 tests and update expected error message.
26 (test_watch_register_location): New tests.
27 (do_tests): Call test_watch_register_location.
28 * gdb.base/watchpoints.exp: Update expected error message.
29
055e608a
UW
302013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
31
32 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
33 the patterns in gdb_test_multiple.
34
9ac69859
NB
352013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
36
37 * gdb.base/sym-file-lib.c: New file.
38 * gdb.base/sym-file-loader.c: New file.
39 * gdb.base/sym-file-loader.h: New file.
40 * gdb.base/sym-file-main.c: New file.
41 * gdb.base/sym-file.exp: New file.
42 * lib/gdb.exp (is_elf_target): New function.
43
24ba476b
PA
442013-10-29 Pedro Alves <palves@redhat.com>
45
46 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
47 variable setting change-log-default-name to ChangeLog-mi.
48
f69d9aef
AB
492013-10-29 Andrew Burgess <aburgess@broadcom.com>
50
51 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
52 Expect <unavailable> pattern.
53
71193121
TV
542013-10-28 Tom de Vries <tom@codesourcery.com>
55
56 * gdb.arch/thumb2-it.S (it_8): Fix typo.
57
38095c27
AK
582013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
59
60 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
61 remote stubs where exit() behaviour is unreliable.
62
686d4def
PA
632013-10-25 Pedro Alves <palves@redhat.com>
64
65 * gdb.cp/m-static.exp: Adjust expected output of printing a
66 nonexistent or optimized out static field. Also test printing the
67 the "container" object.
68
a35cfb40
MR
692013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
70
71 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
72 if in the persistent mode.
73 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
74
bbe769cc
MR
752013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
76
77 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
78 support core file generation" reply.
79
95e4302a
JM
802013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
81
82 PR gdb/15986
83 * gdb.base/run.c (main): gdb_get_line_number tag added for
84 commands.exp.
85 (factorial): Likewise.
86
87 * gdb.base/commands.exp (watchpoint_command_test): Use
88 gdb_get_line_number in order to determine the locations in run.c
89 where local_var is detected to go out of scope.
90
4c406179
JM
912013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
92
93 * gdb.base/gnu_vector.exp: Care about endianness when casting
94 scalars to vectors.
95
bb6216d8
TT
962013-10-18 Tom Tromey <tromey@redhat.com>
97
98 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
99 of "binfile".
100
e8369a73
AB
1012013-10-18 Andrew Burgess <aburgess@broadcom.com>
102
103 * gdb.base/watchpoints.exp: Add test for setting software
104 watchpoints of different types before starting the inferior.
105
776f04fa
PA
1062013-10-18 Pedro Alves <palves@redhat.com>
107
108 PR gdb/16062
109 * gdb.threads/stepi-random-signal.c: New file.
110 * gdb.threads/stepi-random-signal.exp: New file.
111
e4b8388f
MR
1122013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
113
114 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
115 Fix comment typo.
116 * lib/gdb.exp (gdb_init): Likewise.
117
50b34a18
TT
1182013-10-17 Tom Tromey <tromey@redhat.com>
119
120 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
121
3db258f5
TT
1222013-10-14 Tom Tromey <tromey@redhat.com>
123
124 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
125 name to gdb_test_no_output.
126
4856b6bc
JK
1272013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
128
129 Canonicalize directories for EXEC_FILENAME.
130 * gdb.base/argv0-symlink.exp
131 (kept file symbolic link name for info inferiors): New.
132 (kept directory symbolic link name): Setup kfail.
133 (kept directory symbolic link name for info inferiors): New.
134
9772d074
UW
1352013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
136
137 * gdb.arch/s390-multiarch.exp: New file.
138 * gdb.arch/s390-multiarch.c: New file.
139
2a3be966
JB
1402013-10-11 Joel Brobecker <brobecker@adacore.com>
141
142 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
143 use the appropriate GDB/MI command instead, and verify
144 the test output.
145
7c647d61
JB
1462013-10-11 Joel Brobecker <brobecker@adacore.com>
147
148 * gdb.base/source-nofile.gdb: New file.
149 * gdb.base/source.exp: Add two tests verifying the behavior when
150 the "source" command is given a non-existant filename.
151
bb66bd51
YQ
1522013-10-11 Yao Qi <yao@codesourcery.com>
153
154 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
155 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
156 and 'dlclose'.
157 [!__WIN32__]: Include "dlfcn.h".
158 * gdb.mi/mi-catch-load.exp: Set up kfail.
159
4f424bb1
AK
1602013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
161
162 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
163 generated corefile" by argument "$test".
164
578d3588
PA
1652013-10-09 Pedro Alves <palves@redhat.com>
166
167 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
168 output.
169
eb4ca471
PA
1702013-10-09 Pedro Alves <palves@redhat.com>
171
172 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
173 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
174 (test_catch_syscall_with_wrong_args)
175 (test_catch_syscall_restarting_inferior)
176 (test_catch_syscall_fail_nodatadir)
177 (test_catch_syscall_without_args_noxml)
178 (test_catch_syscall_with_args_noxml)
179 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
180
dc294be5
TT
1812013-10-08 Tom Tromey <tromey@redhat.com>
182
183 * gdb.dwarf2/dwzbuildid.exp: New file.
184 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
185 parameters.
186 (Dwarf::_defer_output): Change "section" parameter to
187 "section_spec"; update.
188 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
189 procs.
190
c968bd18
JB
1912013-10-08 Joel Brobecker <brobecker@adacore.com>
192
193 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
194
f44eeb11
TT
1952013-10-07 Tom Tromey <tromey@redhat.com>
196
197 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
198 to 0.
199
0c557179
SDJ
2002013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
201
202 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
203 $_exitcode is void when opening a corefile.
204 * gdb.base/exitsignal.exp: New file.
205 * gdb.base/segv.c: Likewise.
206 * gdb.base/normal.c: Likewise.
207
5713b9b5
JB
2082013-10-04 Joel Brobecker <brobecker@adacore.com>
209
210 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
211
3f983d47
YZ
2122013-10-02 Vidya Praveen <vidyapraveen@arm.com>
213
214 * gdb.trace/entry-values.exp: Modify regular expression to scan for
215 'bl' instruction instead of 'call' for ARM and AArch64 targets.
216
901461f8
PA
2172013-10-02 Pedro Alves <palves@redhat.com>
218
219 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
220 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
221 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
222 (not_saved_pattern): New.
223 Replace use of the former with the latter.
224
b477a5e6
PA
2252013-10-02 Pedro Alves <palves@redhat.com>
226
227 * README (Board Settings): Document "exit_is_reliable".
228 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
229 running to exit reliably reports program exits.
230 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
231 info.
232 * boards/native-stdio-gdbserver.exp: Likewise.
233
a49bed3a
DE
2342013-10-01 Doug Evans <dje@google.com>
235
236 * gdb.python/python.exp: Remove redundant print-stack tests.
237 Make all print-stack test names unique. Fix spelling of print-stack.
238
2ed2ad44
YQ
2392013-09-29 Yao Qi <yao@codesourcery.com>
240
241 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
242 is remote.
243
7d760051
UW
2442013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
245
246 PR shlibs/8882
247 * gdb.base/corefile.exp: Add a check to assure warning-free
248 core-file load.
249
82bf32bc
JK
2502013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 * gdb.dwarf2/dwp-symlink.c: New file.
253 * gdb.dwarf2/dwp-symlink.exp: New file.
254
4fa7d390
DE
2552013-09-20 Doug Evans <dje@google.com>
256
6b4646ce
DE
257 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
258 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
259 file.
260 * gdb.dwarf2/fission-loclists.S: Ditto.
261 * gdb.dwarf2/fission-reread.S: Ditto.
262 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
263 build_executable_from_fission_assembler.
264 * gdb.dwarf2/fission-loclists.exp: Ditto.
265 * gdb.dwarf2/fission-reread.exp: Ditto.
266
4fa7d390
DE
267 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
268 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
269 (gdb_gnu_strip_debug): Ditto.
270 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
271 * gdb.arch/altivec-abi.exp: Ditto.
272 * gdb.base/attach-pie-misread.exp: Ditto.
273 * gdb.base/comprdebug.exp: Ditto.
274 * gdb.base/dup-sect.exp: Ditto.
275 * gdb.base/gnu-debugdata.exp: Ditto.
276 * gdb.base/step-symless.exp: Ditto.
277 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
278 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
279 * gdb.dwarf2/gdb-index.exp: Ditto.
280
e4c6a2c4
AB
2812013-09-18 Andrew Burgess <aburgess@broadcom.com>
282
283 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
284 register to "<optimized out>", and also print the registers.
285
a205fbfc
PA
2862013-09-18 Pedro Alves <palves@redhat.com>
287
288 PR server/15967
289 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
290 change text.
291
ee47b2f8
YQ
2922013-09-18 Yao Qi <yao@codesourcery.com>
293
294 * gdb.server/wrapper.c: New.
295 * gdb.server/wrapper.exp: New.
296
49fa26b0
PA
2972013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
298 Jan Kratochvil <jan.kartochvil@redhat.com>
299 Pedro Alves <palves@redhat.com>
300
301 PR gdb/11568
302 * gdb.thread/thread-specific-bp.c: New file.
303 * gdb.thread/thread-specific-bp.exp: New file.
304
e83b28bc
SDJ
3052013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
306
307 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
308 convenience function.
309
08d72866
PA
3102013-09-17 Pedro Alves <palves@redhat.com>
311
312 PR gdb/15911
313 * gdb.threads/info-threads-cur-sal-2.c: New file.
314 * gdb.threads/info-threads-cur-sal.c: New file.
315 * gdb.threads/info-threads-cur-sal.exp: New file.
316
57b0d98e
YQ
3172013-09-17 Yao Qi <yao@codesourcery.com>
318
319 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
320 [__WIN32__]: Include "windows.h" and define macro dlopen
321 and dlclose.
322 [!__WIN32__]: Include "dlfcn.h".
323 * gdb.base/catch-load.exp (one_catch_load_test): Match
324 directory separator.
325
0295a32e
DE
3262013-09-16 Doug Evans <dje@google.com>
327
a587b477
DE
328 * lib/gdb.exp (using_fission): New proc.
329 * gdb.base/info-macros.exp: Skip test if using Fission.
330
0295a32e
DE
331 * gdb.base/break-interp.exp: Fix indentation.
332
a280dbd1
SDJ
3332013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
334
335 * gdb.base/gdbvars.c (foo_void): New function.
336 (foo_int): Likewise.
337 * gdb.base/gdbvars.exp (test_convenience_functions): New
338 function. Call it.
339
4ac33720
UW
3402013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
341
342 * gdb.arch/s390-tdbregs.c: New file.
343 * gdb.arch/s390-tdbregs.exp: New file.
344
b866c52d
SS
3452013-09-12 Stan Shebs <stan@codesourcery.com>
346
347 * README: New file.
348
dc59cba6
DE
3492013-09-12 Doug Evans <dje@google.com>
350
351 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
352 added code to print event.inferior.
353
edf9f00c
JK
3542013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
357 debug part of the binary.
358
5423b017
JK
3592013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
360
361 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
362 (addlink): Add comment.
363
9295cf6f
SA
3642013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
365
366 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
367 canonical pathname.
368
89e63ee4
DE
3692013-09-04 Doug Evans <dje@google.com>
370
314bb8c3
DE
371 * gdb.python/py-events.py (exit_handler): Verify we get the expected
372 event.
373 (continue_handler, new_objfile_handler): Ditto.
374 (test_events): Rename command to "test-events".
375 (test_newobj_events): Rename command to "test-objfile-events".
376 * gdb.python/py-events.exp: Update.
377 * gdb.python/py-evsignal.exp: Update.
378 * gdb.python/py-evthreads.exp: Update.
379
89e63ee4
DE
380 * gdb.base/enumval.c (ZERO): New enum value.
381 (main): Use it
382 * gdb.base/enumval.exp: Test ability to print ZERO.
383
3842013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
385 Pedro Alves <palves@redhat.com>
386
387 * gdb.base/relocate.exp: Check that invalid options are
388 rejected.
389
26c2b53c
AB
3902013-08-30 Andrew Burgess <aburgess@broadcom.com>
391
392 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
393 (my_static_symbol): Add comment.
394 (main): Reference my_bss_symbol.
395
96d9056e
PM
3962013-08-30 Phil Muldoon <pmuldoon@redhat.com>
397
398 * gdb.python/py-arch.exp: Tests for invalid architecture.
399
489d4f4d
SA
4002013-08-29 Sterling Augustine <saugustine@google.com>
401
402 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
403 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
404 said conditional.
405
5b791bb5
PM
4062013-08-29 Phil Muldoon <pmuldoon@redhat.com>
407
408 * gdb.python/py-arch.exp: Load gdb-python.exp.
409
8f28f522
PM
4102013-08-29 Phil Muldoon <pmuldoon@redhat.com>
411
412 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
413 itertools for imap attribute. Otherwise use map().
414 (ElidingIterator): Define wrapper function __next__.
415 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
416 use exec (open (read ())) instead.
417 * gdb.python/py-framefilter.exp: Ditto.
418 * gdb.python/py-arch.exp: Update print based test to Python 3.x
419 compliance.
420 * gdb.python/py-frame.exp: Ditto.
421 * gdb.python/py-type.exp: Ditto.
422
1f0c4988
JK
4232013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
424
425 PR gdb/15415
426 * gdb.base/argv0-symlink.c: New file.
427 * gdb.base/argv0-symlink.exp: New file.
428
7893c162
TT
4292013-08-28 Tom Tromey <tromey@redhat.com>
430
431 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
432 when saving index.
433
6211c335
YQ
4342013-08-27 Yao Qi <yao@codesourcery.com>
435
436 * gdb.trace/entry-values.exp: Test unavailable entry value is
437 not shown when option '--skip-unavailable' is specified.
438 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
439 Add tests for new option '--skip-unavailable'.
440
ce4ea2bb
YQ
4412013-08-27 Yao Qi <yao@codesourcery.com>
442
443 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
444 remote_download if it is empty.
445
6e45f158
DE
4462013-08-26 Doug Evans <dje@google.com>
447
779bd270
DE
448 PR symtab/15885
449 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
450 (clean): rm -f *.gdb-index *.with-index.
451 * gdb.dwarf2/gdb-index.exp: New testcase.
452
6e45f158
DE
453 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
454 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
455 run_on_host. All callers updated.
456
b1224238
YQ
4572013-08-24 Yao Qi <yao@codesourcery.com>
458
459 * gdb.trace/entry-values.c (end): New
460 (main): Call end.
461 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
462 tracepoint and collect data. Test entry value is unavailable.
463
b39a8faf
YQ
4642013-08-24 Yao Qi <yao@codesourcery.com>
465
466 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
467 * gdb.trace/entry-values.c: New.
468 * gdb.trace/entry-values.exp: New.
469
9eaabc75
MW
4702013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
471
472 PR gdb/15501
473 * gdb.base/ena-dis-br.exp: Add test to verify
474 enable/disable commands work correctly with
475 multiple arguments that include multiple locations.
476
9f948660
SDJ
4772013-08-22 Samuel Bronson <naesten@gmail.com>
478
479 ARM Linux support for `catch syscall'.
480 * gdb.base/catch-syscall.exp: Test this on ARM now.
481 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
482
e630b974
TT
4832013-08-22 Tom Tromey <tromey@redhat.com>
484
485 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
486 default addr_size.
487 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
488
f3a76454
TT
4892013-08-22 Tom Tromey <tromey@redhat.com>
490
491 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
492 standard_temp_file.
493
de5f37e1
TT
4942013-08-22 Tom Tromey <tromey@redhat.com>
495
496 * gdb.arch/amd64-byte.exp: Use standard_testfile,
497 clean_restart.
498 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
499 * gdb.arch/amd64-dword.exp: Use standard_testfile,
500 clean_restart.
501 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
502 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
503 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
504 * gdb.arch/amd64-word.exp: Use standard_testfile,
505 clean_restart.
506 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
507 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
508 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
509 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
510 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
511 * gdb.arch/i386-signal.exp: Use standard_testfile.
512 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
513 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
514 * gdb.arch/i386-unwind.exp: Use standard_testfile.
515 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
516
8448e842
TT
5172013-08-22 Tom Tromey <tromey@redhat.com>
518
519 * gdb.python/py-error.exp: Use gdb_remote_download.
520 * gdb.python/py-mi.exp: Use gdb_remote_download.
521 * gdb.python/py-objfile-script.exp: Use standard_output_file.
522 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
523 (run_lang_tests): Likewise.
524 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
525 filename.
526 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
527 compiling. Use gdb_remote_download. Update some tests.
528 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
529 standard_output_file.
530 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
531 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
532 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
533 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
534 standard_output_file.
535
16cfcbc2
TT
5362013-08-22 Tom Tromey <tromey@redhat.com>
537
538 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
539
44ee8174
TT
5402013-08-22 Tom Tromey <tromey@redhat.com>
541
542 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
543 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
544 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
545 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
546 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
547 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
548 * lib/gdb.exp (gdb_remote_download): New proc.
549
7a218f88
TT
5502013-08-22 Tom Tromey <tromey@redhat.com>
551
552 * gdb.dwarf2/clztest.exp: Use standard_testfile.
553 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
554 * gdb.dwarf2/fission-base.S: Remove directory from
555 DW_AT_GNU_dwo_name.
556 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
557 debug-file-directory.
558 * gdb.dwarf2/fission-reread.S: Remove directory from
559 DW_AT_GNU_dwo_name.
560 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
561 debug-file-directory.
562
70cc1c23
DE
5632013-08-16 Doug Evans <dje@google.com>
564
565 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
566 prelink complains about an unhandled DWARF version.
567
61884d20
DE
5682013-08-14 Cary Coutant <ccoutant@google.com>
569
570 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
571
5e92f71a
TT
5722013-08-13 Tom Tromey <tromey@redhat.com>
573 Yao Qi <yao@codesourcery.com>
574
575 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
576 * lib/gdb.exp: Handle GDB_PARALLEL.
577 (default_gdb_version): Kill inotify_pid if it exists.
578 (default_gdb_exit): Emit warning if the inotify log is not
579 empty.
580 (standard_output_file): Respect GDB_PARALLEL.
581 (standard_temp_file): Likewise.
582 (gdb_init): Start inotifywait if requested.
583
5c30d39a
AB
5842013-08-13 Andrew Burgess <aburgess@broadcom.com>
585
586 * gdb.base/printcmds.exp (test_printf): Add test for printf of
587 pointer with various flags.
588
17e1c970
TT
5892013-08-13 Tom Tromey <tromey@redhat.com>
590
591 * lib/cache.exp: New file.
592 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
593 * lib/gdb.exp: Load cache.exp.
594 (support_complex_tests, is_ilp32_target, is_lp64_target)
595 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
596 (gdb_skip_xml_test): Use gdb_caching_proc.
597 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
598
4e234898
TT
5992013-08-13 Tom Tromey <tromey@redhat.com>
600
601 * lib/gdb.exp (standard_temp_file): New proc.
602 (support_complex_tests, is_ilp32_target, is_lp64_target)
603 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
604 standard_temp_file.
605
53e981d9
TT
6062013-08-13 Tom Tromey <tromey@redhat.com>
607
608 * lib/gdb.exp (build_id_debug_filename_get): Use
609 standard_output_file.
610 * lib/prelink-support.exp (section_get)
611 (build_executable_own_libs): Use standard_output_file.
612
3f539315
TT
6132013-08-12 Tom Tromey <tromey@redhat.com>
614
615 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
616
b4013987
AA
6172013-08-12 Ali Anwar <alianwar@codesourcery.com>
618
619 * gdb.base/break.exp: Test break via convenience variable
620 with file name.
621
f61d5529
DE
6222013-08-09 Doug Evans <dje@google.com>
623
624 * lib/future.exp (gdb_find_ldd): New proc.
625 * lib/prelink-support.exp (build_executable_own_libs): Call it.
626 Make "/usr/sbin/" in prelink path optional.
627
1ed8d800
YQ
6282013-08-09 Yao Qi <yao@codesourcery.com>
629
630 * gdb.trace/collection.exp (gdb_collect_args_test): Set
631 "only" and "both" to 'print entry-values' before selecting
632 trace frame.
633
82a0a75f
YQ
6342013-08-08 Yao Qi <yao@codesourcery.com>
635
636 * gdb.trace/mi-trace-unavailable.exp: Don't set
637 "print entry-values" to "no".
638 (test_trace_unavailable): Set various values to
639 "print entry-values" to test that the output of
640 '-stack-list-locals' is not affected, and then set
641 set "print entry-values" to "no".
642
ac52f9a2
DE
6432013-08-07 Doug Evans <dje@google.com>
644
645 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
646 * gdb.python/py-value-cc.exp: Update.
647 * gdb.python/py-value.exp: Use different names for .o files for
648 C and C++. Only perform C++ tests if !skip_cplus_tests.
649
bf6d8a91
TT
6502013-08-07 Tom Tromey <tromey@redhat.com>
651
652 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
653
f9125b6c
TT
6542013-08-07 Tom Tromey <tromey@redhat.com>
655
656 * gdb.dwarf2/dwz.exp: New file.
657
3a1115a0
TT
6582013-08-02 Tom Tromey <tromey@redhat.com>
659
660 * gdb.base/watchpoint.c (struct foo5): New.
661 (nullptr): New global.
662 * gdb.base/watchpoint.exp (test_watch_location): Add test.
663
b846d303
DE
6642013-08-01 Doug Evans <dje@google.com>
665
7ee85ab1
DE
666 PR symtab/15691
667 * gdb.dwarf2/fission-mix.exp: New file.
668 * gdb.dwarf2/fission-mix.h: New file.
669 * gdb.dwarf2/fission-mix.c: New file.
670 * gdb.dwarf2/fission-mix2.c: New file.
671
b846d303
DE
672 PR symtab/15695
673 * gdb.base/func-ptr.exp: New file.
674 * gdb.base/func-ptr.c: New file.
675
67d21849
YQ
6762013-08-01 Yao Qi <yao@codesourcery.com>
677
678 * gdb.python/py-sync-interp.c: New.
679 * gdb.python/py-sync-interp.exp: New.
680
de74e63a
YQ
6812013-07-31 Yao Qi <yao@codesourcery.com>
682
683 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
684 'tdump' on stack frame 0 and 1 respectively.
685
680558e8
YQ
6862013-07-31 Yao Qi <yao@codesourcery.com>
687
688 PR gdb/13443
689 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
690 'traceframe'. Wrap test with with_test_prefix.
691 (top level): Update.
692
48bbe0bf
YQ
6932013-07-31 Yao Qi <yao@codesourcery.com>
694
695 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
696 'gdb_start'.
697 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
698 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
699
11b4b7cc
AB
7002013-07-30 Andrew Burgess <aburgess@broadcom.com>
701
702 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
703 when printing an optimized out value. Expect an error when using
704 an optimized out value in an expression.
705
b0c54aa5
AB
7062013-07-30 Andrew Burgess <aburgess@broadcom.com>
707
708 * gdb.dwarf2/pieces-optimized-out.exp: New file.
709 * gdb.dwarf2/pieces-optimized-out.c: New file.
710 * gdb.dwarf2/pieces-optimized-out.S: New file.
711
97c85fc6
MB
7122013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
713
714 PR gdb/15715
715 * gdb.base/setshow.exp: Test that relative paths passed to
716 'set history filename' are converted to absolute paths.
717
5b32ae97
KS
7182013-07-26 Keith Seitz <keiths@redhat.com>
719
720 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
721 of f77.
722 Allow for compiler variations of integer types.
723 Use mi_create_varobj.
724 Use mi_list_varobj_children for the immediate children of `array'.
725 Add "has_more" attribute for grandchildren test.
726
6f64ef53
PA
7272013-07-26 Pedro Alves <palves@redhat.com>
728
729 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
730 files.
731
fdc8aae8
AB
7322013-07-25 Andrew Burgess <aburgess@broadcom.com>
733
734 * gdb.mi/mi-reg-undefined.exp: New file.
735 * gdb.mi/mi-reg-undefined.c: Likewise.
736 * gdb.mi/mi-reg-undefined.S: Likewise.
737
6fbe845e
AB
7382013-07-25 Andrew Burgess <aburgess@broadcom.com>
739
740 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
741 z, o, and t output formats.
742 * gdb.base/display.exp: Use 'k' as an undefined format now that
743 'z' is defined.
744
7b79b135
DE
7452013-07-24 Doug Evans <dje@google.com>
746
747 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
748 "--" to switch.
749
a0607b84
YQ
7502013-07-24 Yao Qi <yao@codesourcery.com>
751
752 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
753 host.
754 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
755 Likewise. If host is remote, copy ${binfile} to host.
756
2eb14a9b
YQ
7572013-07-23 Yao Qi <yao@codesourcery.com>
758
759 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
760 message.
761
5d0a3b53
WN
7622013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
763
764 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
765 instructions and enable disp-step-syscall for arm targets.
766
9a5911c0
WN
7672013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
768
769 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
770 assembler errors on arm.
771 * gdb.dwarf2/mac-fileno.S: Likewise.
772 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
773 * gdb.dwarf2/pr13961.S: Likewise.
774
fa876972
HZ
7752013-07-19 Hui Zhu <hui@codesourcery.com>
776
777 PR gdb/15692
778 * gdb.mi/mi-dprintf.exp: Add double quotes test.
779
1527aea8
YQ
7802013-07-19 Yao Qi <yao@codesourcery.com>
781
782 * gdb.trace/read-memory.exp (test_from_remote): Update test.
783 (teset_from_exec): Likewise.
784
73c1d57e
YQ
7852013-07-19 Yao Qi <yao@codesourcery.com>
786
787 * gdb.trace/read-memory.c: New.
788 * gdb.trace/read-memory.exp: New.
789
a075c3e5
YQ
7902013-07-19 Yao Qi <yao@codesourcery.com>
791
792 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
793 $dest to link options if host is remote. Move the
794 generated file to $dest.a on host if host is remote.
795
623cc285
WN
7962013-07-18 Will Newton <will.newton@linaro.org>
797
798 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
799 to ensure the test is linked against pthreads.
800 * gdb.threads/tls-var-main.c: Likewise.
801 * gdb.threads/tls-shared.c: Likewise.
802
1f74d3b5
YQ
8032013-07-18 Yao Qi <yao@codesourcery.com>
804
805 * lib/future.exp (gdb_default_target_compile): Use tail name
806 of $destfile as the output name of compile. Move the
807 generated file to $destfile on build.
808
f6dc277e
YQ
8092013-07-18 Yao Qi <yao@codesourcery.com>
810
811 * lib/gdb.exp (gdb_compile): Set
812 gdb_saved_set_unbuffered_mode_obj to
813 set_unbuffered_mode_saved.o if host is remote. Invoke
814 remote_download to copy $unbuf_obj to host.
815
e7045703
DE
8162013-07-17 Doug Evans <dje@google.com>
817
818 * gdb.python/py-frame-args.c: New file.
819 * gdb.python/py-frame-args.py: New file.
820 * gdb.python/py-frame-args.exp New file.
821
5ea5559b
AB
8222013-07-16 Andrew Burgess <aburgess@broadcom.com>
823
824 * gdb.base/printcmds.exp (test_printf): Add tests for format
825 strings with missing format specifier.
826
4229ca0e
TT
8272013-07-16 Tom Tromey <tromey@redhat.com>
828
829 * gdb.ada/info_types.exp: Use standard_testfile.
830
5ee657d5
TT
8312013-07-16 Tom Tromey <tromey@redhat.com>
832
833 * gdb.mi/mi-basics.exp: Use standard_output_file.
834 (test_dir_specification, test_cwd_specification)
835 (test_path_specification): Use testsubdir, not subdir and objdir.
836
20e3d738
TT
8372013-07-16 Tom Tromey <tromey@redhat.com>
838
839 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
840
7d7c6477
JB
8412013-07-09 Joel Brobecker <brobecker@adacore.com>
842
843 * gdb.ada/small_reg_param.exp: Accept optional entry value
844 for parameter "w".
845
52cd8b7d
JB
8462013-07-09 Joel Brobecker <brobecker@adacore.com>
847
848 * gdb.ada/small_reg_param.exp: Remove trailing space.
849
2a998fc0
DE
8502013-07-09 Doug Evans <dje@google.com>
851
852 * gdb.base/default.exp: Update expected output of "show print array"
853 and "show print pretty".
854
0329e9fb
UW
8552013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
856
857 * gdb.threads/wp-replication.exp: Stop counting available hardware
858 watchpoints after NR_THREADS iterations.
859
1953058f
AB
8602013-07-08 Andrew Burgess <aburgess@broadcom.com>
861
862 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
863
7c0de741
YQ
8642013-07-07 Yao Qi <yao@codesourcery.com>
865
866 * boards/native-gdbserver.exp: Move invoke of
867 process_multilib_options to gdbserver-base.exp.
868 Move set_board_info 'compiler', 'gdb,noinferiorio',
869 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
870 gdbserver-base.exp.
871 Move proc ${board}_download, ${board}_upload and
872 ${board}_file to gdbserver-base.exp.
873 * boards/native-extended-gdbserver.exp: Likewise.
874 * boards/native-stdio-gdbserver.exp: Likewise.
875 * boards/gdbserver-base.exp: New file.
876
497a4c48
LM
8772013-07-05 Luis Machado <lgustavo@codesourcery.com>
878
879 * gdb.base/dump.exp: Remove arch-specific tests and do a
880 generic data address check to set is64bitonly correctly.
881
bb3f62fc
LM
8822013-07-05 Luis Machado <lgustavo@codesourcery.com>
883
884 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
885 the register number instead of expecting only 0.
886
005faa9d
WN
8872013-07-05 Will Newton <will.newton@linaro.org>
888
889 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
890 in asm syntax to allow building on ARM.
891
4767856f
YQ
8922013-07-05 Yao Qi <yao@codesourcery.com>
893
894 * boards/local-remote-host.exp: Remove obsolete comments.
895 * boards/native-extended-gdbserver.exp: Likewise.
896 * boards/native-gdbserver.exp: Likewise.
897 * boards/native-stdio-gdbserver.exp: Likewise.
898
691a26f5
AB
8992013-07-04 Andrew Burgess <aburgess@broadcom.com>
900
901 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
902 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
903 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
904
4d142eaa
JK
9052013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
906
907 * gdb.base/break-on-linker-gcd-function.exp: Replace
908 prepare_for_testing by build_executable_from_specs and clean_restart.
909
62cef515
TT
9102013-06-27 Tom Tromey <tromey@redhat.com>
911
912 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
913 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
914 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
915 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
916 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
917 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
918 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
919 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
920 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
921 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
922 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
923 Use standard_testfile, standard_output_file, prepare_for_testing,
924 clean_restart.
925
0ab77f5f
TT
9262013-06-27 Tom Tromey <tromey@redhat.com>
927
928 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
929 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
930 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
931 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
932 gdb.base/shreloc.exp, gdb.base/sigall.exp,
933 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
934 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
935 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
936 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
937 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
938 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
939 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
940 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
941 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
942 gdb.base/solib-weak.exp, gdb.base/source.exp,
943 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
944 gdb.base/stap-probe.exp, gdb.base/start.exp,
945 gdb.base/step-break.exp, gdb.base/step-bt.exp,
946 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
947 gdb.base/step-test.exp, gdb.base/structs.exp,
948 gdb.base/structs2.exp, gdb.base/structs3.exp,
949 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
950 standard_output_file, prepare_for_testing, clean_restart.
951
822bd149
TT
9522013-06-27 Tom Tromey <tromey@redhat.com>
953
954 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
955 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
956 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
957 gdb.base/pending.exp, gdb.base/permissions.exp,
958 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
959 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
960 gdb.base/printcmds.exp, gdb.base/prologue.exp,
961 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
962 gdb.base/ptype.exp, gdb.base/randomize.exp,
963 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
964 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
965 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
966 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
967 standard_testfile, standard_output_file, prepare_for_testing,
968 clean_restart.
969
f8b41b00
TT
9702013-06-27 Tom Tromey <tromey@redhat.com>
971
a8c97a87
TT
972 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
973 gdb.base/huge.exp, gdb.base/included.exp,
974 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
975 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
976 gdb.base/info-os.exp, gdb.base/info-proc.exp,
977 gdb.base/info-target.exp, gdb.base/infoline.exp,
978 gdb.base/interp.exp, gdb.base/interrupt.exp,
979 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
980 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
981 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
982 gdb.base/logical.exp, gdb.base/long_long.exp,
983 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
984 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
985 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
986 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
987 standard_testfile, standard_output_file, prepare_for_testing,
988 clean_restart.
989
289f9037
TT
9902013-06-27 Tom Tromey <tromey@redhat.com>
991
a8c97a87
TT
992 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
993 gdb.base/enumval.exp, gdb.base/environ.exp,
994 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
995 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
996 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
997 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
998 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
999 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1000 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1001 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1002 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1003 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1004 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1005 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1006 gdb.base/gnu_vector.exp: Use standard_testfile,
1007 standard_output_file, prepare_for_testing, clean_restart.
289f9037 1008
f76495c8
TT
10092013-06-27 Tom Tromey <tromey@redhat.com>
1010
a8c97a87
TT
1011 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1012 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1013 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1014 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1015 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1016 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1017 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1018 gdb.base/commands.exp, gdb.base/completion.exp,
1019 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1020 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1021 gdb.base/constvars.exp, gdb.base/corefile.exp,
1022 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1023 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1024 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1025 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1026 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
1027 standard_output_file, prepare_for_testing, clean_restart.
1028
a64d2530
TT
10292013-06-27 Tom Tromey <tromey@redhat.com>
1030
a8c97a87
TT
1031 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1032 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1033 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1034 gdb.base/async-shell.exp, gdb.base/async.exp,
1035 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1036 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1037 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1038 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1039 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1040 gdb.base/break-on-linker-gcd-function.exp,
1041 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
1042 standard_output_file, prepare_for_testing, clean_restart.
1043
aaff8d73
YQ
10442013-06-26 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.trace/mi-trace-frame-collected.exp: New.
1047
a0743c90
YQ
10482013-06-25 Yao Qi <yao@codesourcery.com>
1049
1050 * boards/native-extended-gdbserver.exp: Set board_info
1051 'gdb,predefined_tsv'.
1052 * boards/native-gdbserver.exp: Likewise.
1053 * boards/native-stdio-gdbserver.exp: Likewise.
1054 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1055 uploaded TSVs if target supports tracing.
1056 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1057 tracing and target has predefined tsv.
1058
9d6e6e84
HZ
10592013-06-25 Yao Qi <yao@codesourcery.com>
1060 Hui Zhu <hui@codesourcery.com>
1061 Pedro Alves <palves@redhat.com>
1062
1063 PR breakpoints/15075
1064 PR breakpoints/15434
1065 * gdb.base/dprintf-next.c: New file.
1066 * gdb.base/dprintf-next.exp: New file.
1067 * gdb.base/dprintf-non-stop.c: New file.
1068 * gdb.base/dprintf-non-stop.exp: New file.
1069 * gdb.base/dprintf.exp: Don't check "continue" in the output
1070 of "info breakpoints".
1071 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1072 Don't check "continue" in script field.
1073
e7ab3185
TT
10742013-06-21 Tom Tromey <tromey@redhat.com>
1075
1076 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1077 name in a test name.
1078
c898adb7
YQ
10792013-06-20 Yao Qi <yao@codesourcery.com>
1080
1081 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1082 and set an action.
1083 (test_trace_unavailable): Test command -data-list-register-values
1084 in the context of traceframe and with option --skip-unavailable.
1085 * gdb.trace/trace-unavailable.c (foo): New.
1086 (main): Call it.
1087 * gdb.mi/gdb2549.exp: Update matching pattern.
1088
4d157a3d
MF
10892013-06-19 Mike Frysinger <vapier@gentoo.org>
1090
1091 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1092 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1093 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1094 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1095 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1096
d69cace4
LM
10972013-06-19 Luis Machado <lgustavo@codesourcery.com>
1098
1099 * gdb.base/subst.exp: Delete default rules before further
1100 tests.
1101
9bdd0636
YQ
11022013-06-19 Yao Qi <yao@codesourcery.com>
1103
1104 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1105 unsupported if it is not registered.
1106
427cd150
TT
11072013-06-18 Tom Tromey <tromey@redhat.com>
1108
1109 * gdb.base/random-signal.c: New file.
1110 * gdb.base/random-signal.exp: New file.
1111
6de7c271
WN
11122013-06-18 Will Newton <will.newton@linaro.org>
1113
1114 * gdb.base/skip.c: Use comma to evaluate results of foo()
1115 and bar() before passing to baz().
1116 * gdb.base/skip.c: baz() now takes one argument instead of
1117 two.
1118
5bd1ef56
TT
11192013-06-18 Tom Tromey <tromey@redhat.com>
1120
1121 * gdb.dwarf2/implptrpiece.exp: New file.
1122 * gdb.dwarf2/implptrconst.exp (d): New variable.
1123 Print d.
1124 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1125
e379b391
TT
11262013-06-18 Tom Tromey <tromey@redhat.com>
1127
1128 * lib/selftest-support.exp (do_self_tests): Reject remote or
1129 non-native targets.
1130 * gdb.gdb/complaints.exp: Remove check.
1131 * gdb.gdb/observer.exp: Remove check.
1132 * gdb.gdb/xfullpath.exp: Remove check.
1133 * gdb.gdb/complaints.exp: Remove check.
1134
4ec70201
PA
11352013-06-07 Pedro Alves <palves@redhat.com>
1136
1137 * boards/native-extended-gdbserver.exp: Remove semicolon.
1138 * config/arm-ice.exp: Likewise.
1139 * config/bfin.exp: Likewise.
1140 * config/cygmon.exp: Likewise.
1141 * config/h8300.exp: Likewise.
1142 * config/monitor.exp: Likewise.
1143 * config/sid.exp: Likewise.
1144 * config/sim.exp: Likewise.
1145 * config/slite.exp: Likewise.
1146 * config/vx.exp: Likewise.
1147 * gdb.arch/i386-bp_permanent.exp: Likewise.
1148 * gdb.asm/asm-source.exp: Likewise.
1149 * gdb.base/args.exp: Likewise.
1150 * gdb.base/attach-pie-misread.exp: Likewise.
1151 * gdb.base/auxv.exp: Likewise.
1152 * gdb.base/bigcore.exp: Likewise.
1153 * gdb.base/bitfields2.exp: Likewise.
1154 * gdb.base/bitfields.exp: Likewise.
1155 * gdb.base/break.exp: Likewise.
1156 * gdb.base/break-interp.exp: Likewise.
1157 * gdb.base/callfuncs.exp: Likewise.
1158 * gdb.base/call-sc.exp: Likewise.
1159 * gdb.base/commands.exp: Likewise.
1160 * gdb.base/corefile.exp: Likewise.
1161 * gdb.base/dbx.exp: Likewise.
1162 * gdb.base/ending-run.exp: Likewise.
1163 * gdb.base/exprs.exp: Likewise.
1164 * gdb.base/funcargs.exp: Likewise.
1165 * gdb.base/hbreak2.exp: Likewise.
1166 * gdb.base/huge.exp: Likewise.
1167 * gdb.base/list.exp: Likewise.
1168 * gdb.base/memattr.exp: Likewise.
1169 * gdb.base/overlays.exp: Likewise.
1170 * gdb.base/printcmds.exp: Likewise.
1171 * gdb.base/recurse.exp: Likewise.
1172 * gdb.base/remotetimeout.exp: Likewise.
1173 * gdb.base/reread.exp: Likewise.
1174 * gdb.base/savedregs.exp: Likewise.
1175 * gdb.base/scope.exp: Likewise.
1176 * gdb.base/sepdebug.exp: Likewise.
1177 * gdb.base/setshow.exp: Likewise.
1178 * gdb.base/setvar.exp: Likewise.
1179 * gdb.base/sigaltstack.exp: Likewise.
1180 * gdb.base/siginfo-addr.exp: Likewise.
1181 * gdb.base/siginfo.exp: Likewise.
1182 * gdb.base/siginfo-obj.exp: Likewise.
1183 * gdb.base/sigrepeat.exp: Likewise.
1184 * gdb.base/sigstep.exp: Likewise.
1185 * gdb.base/structs.exp: Likewise.
1186 * gdb.base/testenv.exp: Likewise.
1187 * gdb.base/twice.exp: Likewise.
1188 * gdb.base/valgrind-db-attach.exp: Likewise.
1189 * gdb.base/valgrind-infcall.exp: Likewise.
1190 * gdb.base/varargs.exp: Likewise.
1191 * gdb.base/watchpoint.exp: Likewise.
1192 * gdb.cp/gdb1355.exp: Likewise.
1193 * gdb.cp/misc.exp: Likewise.
1194 * gdb.disasm/hppa.exp: Likewise.
1195 * gdb.disasm/t01_mov.exp: Likewise.
1196 * gdb.disasm/t02_mova.exp: Likewise.
1197 * gdb.disasm/t03_add.exp: Likewise.
1198 * gdb.disasm/t04_sub.exp: Likewise.
1199 * gdb.disasm/t05_cmp.exp: Likewise.
1200 * gdb.disasm/t06_ari2.exp: Likewise.
1201 * gdb.disasm/t07_ari3.exp: Likewise.
1202 * gdb.disasm/t08_or.exp: Likewise.
1203 * gdb.disasm/t09_xor.exp: Likewise.
1204 * gdb.disasm/t10_and.exp: Likewise.
1205 * gdb.disasm/t11_logs.exp: Likewise.
1206 * gdb.disasm/t12_bit.exp: Likewise.
1207 * gdb.disasm/t13_otr.exp: Likewise.
1208 * gdb.gdb/selftest.exp: Likewise.
1209 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1210 * gdb.mi/mi-reverse.exp: Likewise.
1211 * gdb.pascal/floats.exp: Likewise.
1212 * gdb.python/py-inferior.exp: Likewise.
1213 * gdb.threads/attach-into-signal.exp: Likewise.
1214 * gdb.threads/pthreads.exp: Likewise.
1215 * gdb.threads/thread_events.exp: Likewise.
1216 * gdb.threads/watchthreads.exp: Likewise.
1217 * gdb.trace/actions-changed.exp: Likewise.
1218 * gdb.trace/actions.exp: Likewise.
1219 * gdb.trace/ax.exp: Likewise.
1220 * gdb.trace/backtrace.exp: Likewise.
1221 * gdb.trace/change-loc.exp: Likewise.
1222 * gdb.trace/deltrace.exp: Likewise.
1223 * gdb.trace/disconnected-tracing.exp: Likewise.
1224 * gdb.trace/ftrace.exp: Likewise.
1225 * gdb.trace/infotrace.exp: Likewise.
1226 * gdb.trace/passc-dyn.exp: Likewise.
1227 * gdb.trace/passcount.exp: Likewise.
1228 * gdb.trace/pending.exp: Likewise.
1229 * gdb.trace/qtro.exp: Likewise.
1230 * gdb.trace/range-stepping.exp: Likewise.
1231 * gdb.trace/report.exp: Likewise.
1232 * gdb.trace/save-trace.exp: Likewise.
1233 * gdb.trace/status-stop.exp: Likewise.
1234 * gdb.trace/strace.exp: Likewise.
1235 * gdb.trace/tfile.exp: Likewise.
1236 * gdb.trace/tfind.exp: Likewise.
1237 * gdb.trace/trace-break.exp: Likewise.
1238 * gdb.trace/tracecmd.exp: Likewise.
1239 * gdb.trace/trace-mt.exp: Likewise.
1240 * gdb.trace/tspeed.exp: Likewise.
1241 * gdb.trace/tsv.exp: Likewise.
1242 * gdb.trace/while-stepping.exp: Likewise.
1243 * lib/gdb.exp: Likewise.
1244 * lib/gdbserver-support.exp: Likewise.
1245 * lib/java.exp: Likewise.
1246 * lib/mi-support.exp: Likewise.
1247 * lib/pascal.exp: Likewise.
1248 * lib/prompt.exp: Likewise.
1249 * lib/trace-support.exp: Likewise.
1250
47d48711
PA
12512013-06-07 Pedro Alves <palves@redhat.com>
1252
1253 * gdb.ada/info_types.c: Fix formating in copyright header.
1254 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1255 * gdb.base/float.c: Likewise.
1256 * gdb.base/inferior-died.c: Likewise.
1257 * gdb.base/interp.c: Likewise.
1258 * gdb.base/jit-main.c: Likewise.
1259 * gdb.base/jit-solib.c: Likewise.
1260 * gdb.base/long_long.c: Likewise.
1261 * gdb.base/longjmp.c: Likewise.
1262 * gdb.base/nextoverexit.c: Likewise.
1263 * gdb.base/pr11022.c: Likewise.
1264 * gdb.base/prelink-lib.c: Likewise.
1265 * gdb.base/prelink.c: Likewise.
1266 * gdb.base/prologue.c: Likewise.
1267 * gdb.base/restore.c: Likewise.
1268 * gdb.base/sigchld.c: Likewise.
1269 * gdb.base/solib-search-lib1.c: Likewise.
1270 * gdb.base/solib-search-lib2.c: Likewise.
1271 * gdb.base/solib-search.c: Likewise.
1272 * gdb.base/solib-search.h: Likewise.
1273 * gdb.base/whatis.c: Likewise.
1274 * gdb.cp/abstract-origin.cc: Likewise.
1275 * gdb.cp/anon-struct.cc: Likewise.
1276 * gdb.cp/baseenum.cc: Likewise.
1277 * gdb.cp/bs15503.cc: Likewise.
1278 * gdb.cp/call-c-1.c: Likewise.
1279 * gdb.cp/call-c.cc: Likewise.
1280 * gdb.cp/class2.cc: Likewise.
1281 * gdb.cp/classes.cc: Likewise.
1282 * gdb.cp/cttiadd.cc: Likewise.
1283 * gdb.cp/cttiadd1.cc: Likewise.
1284 * gdb.cp/cttiadd2.cc: Likewise.
1285 * gdb.cp/cttiadd3.cc: Likewise.
1286 * gdb.cp/derivation.cc: Likewise.
1287 * gdb.cp/derivation2.cc: Likewise.
1288 * gdb.cp/dispcxx.cc: Likewise.
1289 * gdb.cp/exception.cc: Likewise.
1290 * gdb.cp/gdb2384-base.cc: Likewise.
1291 * gdb.cp/gdb2384-base.h: Likewise.
1292 * gdb.cp/gdb2384.cc: Likewise.
1293 * gdb.cp/gdb2495.cc: Likewise.
1294 * gdb.cp/mb-inline.h: Likewise.
1295 * gdb.cp/mb-inline1.cc: Likewise.
1296 * gdb.cp/mb-inline2.cc: Likewise.
1297 * gdb.cp/member-name.cc: Likewise.
1298 * gdb.cp/member-ptr.cc: Likewise.
1299 * gdb.cp/misc.cc: Likewise.
1300 * gdb.cp/namespace1.cc: Likewise.
1301 * gdb.cp/nextoverthrow.cc: Likewise.
1302 * gdb.cp/pr-574.cc: Likewise.
1303 * gdb.cp/pr9631.cc: Likewise.
1304 * gdb.cp/printmethod.cc: Likewise.
1305 * gdb.cp/psmang1.cc: Likewise.
1306 * gdb.cp/psmang2.cc: Likewise.
1307 * gdb.cp/psymtab-parameter.cc: Likewise.
1308 * gdb.cp/ptype-flags.cc: Likewise.
1309 * gdb.cp/ref-params.cc: Likewise.
1310 * gdb.cp/ref-types.cc: Likewise.
1311 * gdb.cp/smartp.cc: Likewise.
1312 * gdb.cp/try_catch.cc: Likewise.
1313 * gdb.cp/userdef.cc: Likewise.
1314 * gdb.cp/using-crash.cc: Likewise.
1315 * gdb.cp/virtfunc.cc: Likewise.
1316 * gdb.cp/virtfunc2.cc: Likewise.
1317 * gdb.dwarf2/callframecfa.S: Likewise.
1318 * gdb.dwarf2/dw2-ranges.c: Likewise.
1319 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1320 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1321 * gdb.dwarf2/dw2-restore.S: Likewise.
1322 * gdb.dwarf2/pieces.S: Likewise.
1323 * gdb.dwarf2/valop.S: Likewise.
1324 * gdb.java/jnpe.java: Likewise.
1325 * gdb.mi/mi-stepn.c: Likewise.
1326 * gdb.mi/mi-var-cp.cc: Likewise.
1327 * gdb.mi/mi-var-rtti.cc: Likewise.
1328 * gdb.mi/ns-stale-regcache.c: Likewise.
1329 * gdb.mi/pr11022.c: Likewise.
1330 * gdb.mi/solib-lib.c: Likewise.
1331 * gdb.mi/solib-main.c: Likewise.
1332 * gdb.python/py-arch.c: Likewise.
1333 * gdb.python/py-block.c: Likewise.
1334 * gdb.python/py-breakpoint.c: Likewise.
1335 * gdb.python/py-events.c: Likewise.
1336 * gdb.python/py-evthreads.c: Likewise.
1337 * gdb.python/py-explore.c: Likewise.
1338 * gdb.python/py-explore.cc: Likewise.
1339 * gdb.python/py-finish-breakpoint.c: Likewise.
1340 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1341 * gdb.python/py-symbol.c: Likewise.
1342 * gdb.threads/execl.c: Likewise.
1343 * gdb.threads/execl1.c: Likewise.
1344
88ab5684
WN
13452013-06-07 Will Newton <will.newton@linaro.org>
1346
1347 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1348
42daa7a0
WN
13492013-06-07 Will Newton <will.newton@linaro.org>
1350
1351 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1352 and "starting".
1353
f4059ef3
WN
13542013-06-07 Will Newton <will.newton@linaro.org>
1355
1356 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1357 destructor prototypes for ARM ABI.
1358 * gdb.cp/m-static.exp: Likewise.
1359
8cb5cc78
YQ
13602013-06-07 Yao Qi <yao@codesourcery.com>
1361
1362 * gdb.trace/mi-trace-unavailable.exp: New.
1363 * gdb.trace/trace-unavailable.c: New.
1364
c6cf1712
DE
13652013-06-06 Doug Evans <dje@google.com>
1366
1367 * gdb.cp/derivation.exp: Make tests have unique names.
1368
bf6be0f4
TT
13692013-06-06 Tom Tromey <tromey@redhat.com>
1370
1371 * gdb.base/dump.exp (capture_value): Don't put expression into
1372 test name if arguments passed in.
1373 Rename a couple more tests to make them unique.
1374
ebb022fa
TT
13752013-06-06 Tom Tromey <tromey@redhat.com>
1376
1377 * gdb.base/break-always.exp: Explicitly specify test name.
1378
69fc87c2
DE
13792013-06-05 Doug Evans <dje@google.com>
1380 Keith Seitz <keiths@redhat.com>
1381
1382 * gdb.cp/derivation2.cc: New file.
1383 * gdb.cp/derivation.cc (main): Call foo2.
1384 * gdb.cp/derivation.exp: Add tests for typedefs in another
1385 file, and when there's an active block.
1386
f993f39e
LM
13872013-06-05 Luis Machado <lgustavo@codesourcery.com>
1388
1389 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1390 from targets that use function descriptors in the virtual tables.
1391 Handle presence of dot symbols.
1392
afacd7f3
GB
13932013-06-04 Gary Benson <gbenson@redhat.com>
1394
1395 * gdb.base/break-probes.exp: New file.
1396 * gdb.base/break-probes.c: Likewise.
1397 * gdb.base/break-probes-solib.c: Likewise.
1398 * gdb.base/info-shared.exp: New file.
1399 * gdb.base/info-shared.c: Likewise.
1400 * gdb.base/info-shared-solib1.c: Likewise.
1401 * gdb.base/info-shared-solib2.c: Likewise.
1402
a29a3fb7
GB
14032013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1404 Gary Benson <gbenson@redhat.com>
1405
1406 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1407 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1408 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1409 to be set to "no" to indicate that no ld.so copy should be made.
1410 * gdb.base/break-interp.exp (solib_bp): New constant.
1411 (reach_1): Use the above instead of "_dl_debug_state".
1412 (test_attach): Likewise.
1413 (test_ld): Likewise.
1414 * gdb.threads/dlopen-libpthread.exp: New file.
1415 * gdb.threads/dlopen-libpthread.c: Likewise.
1416 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1417 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1418
62a813cc
YQ
14192013-05-30 Yao Qi <yao@codesourcery.com>
1420
1421 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1422 Add a test that no MI notification is emitted when executing
1423 -exec-arguments.
1424
8f56dad4
JK
14252013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1426
1427 PR testsuite/12649
1428 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1429 $mi_gdb_prompt expectation by mi_expect_stop.
1430 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1431 (mi info dprintf second time): Replace them by mi_send_resuming_command
1432 and mi_expect_stop.
1433
c588eb20
GB
14342013-05-24 Gary Benson <gbenson@redhat.com>
1435
1436 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1437 backslash.
1438 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1439 backslashes.
1440 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1441 backslash.
1442
c0ea94eb
YQ
14432013-05-24 Yao Qi <yao@codesourcery.com>
1444
1445 * gdb.trace/tfile.exp: Test inferior and thread.
1446
db1ac436
YQ
14472013-05-24 Yao Qi <yao@codesourcery.com>
1448 Pedro Alves <palves@redhat.com>
1449
1450 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1451 test fails.
1452 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1453 Return 0 if the test passes, otherwise return 1.
1454
b6abb10c
DE
14552013-05-23 Doug Evans <dje@google.com>
1456
1457 * boards/fission-dwp.exp: New file.
1458
bc5065a7
PA
14592013-05-23 Yao Qi <yao@codesourcery.com>
1460 Pedro Alves <palves@redhat.com>
1461
1462 * gdb.base/range-stepping.c: New file.
1463 * gdb.base/range-stepping.exp: New file.
1464 * gdb.trace/range-stepping.c: New file.
1465 * gdb.trace/range-stepping.exp: New file.
1466 * lib/range-stepping-support.exp: New file.
1467
5f2e6b00
TT
14682013-05-22 Tom Tromey <tromey@redhat.com>
1469
1470 * gdb.cp/class2.cc (main): New local 'aref'.
1471 * gdb.cp/class2.exp: Check printing of 'aref'.
1472
e6ba475a
DE
14732013-05-22 Doug Evans <dje@google.com>
1474
1475 * gdb.threads/wp-replication.c (main): Insert some code at the start
1476 to ensure the breakpoint on main is only hit once. Fix comment.
1477
52c935b6
KS
14782013-05-21 Keith Seitz <keiths@redhat.com>
1479 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1482 gdb_expect.
1483 Add test to flush the remaining input buffer so that this
1484 file passes testsuite/12649.
1485
bd9673a4
PW
14862013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1487
1488 * gdb.base/catch-signal-fork.exp: New file.
1489 * gdb.base/catch-signal-fork.c: New file.
1490
69a97597
SA
14912013-05-21 Sterling Augustine <saugustine@google.com>
1492
1493 * boards/remote-stdio-gdbserver.exp: New file.
1494
44e97363
JK
14952013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1496
1497 PR testsuite/12649
1498 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1499 racy matches.
1500
02392865
CG
15012013-05-21 Christian Groessler <chris@groessler.org>
1502
1503 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1504 since it's not supported in all shells.
1505
c5867ab6
HZ
15062013-05-21 Hui Zhu <hui@codesourcery.com>
1507
1508 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1509 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1510
6c9e2db4
DE
15112013-05-20 Doug Evans <dje@google.com>
1512
1513 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1514 (_handle_DW_TAG): Use it.
1515 (cu, tu): Replace parameters is_64, version, addr_size with options.
1516 All callers updated. Add Fission support.
1517 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1518 * gdb.dwarf2/method-ptr.exp: Ditto.
1519 * gdb.dwarf2/nostaticblock.exp: Ditto.
1520 * gdb.dwarf2/subrange.exp: Ditto.
1521 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1522
4a6e676c
TT
15232013-05-20 Tom Tromey <tromey@redhat.com>
1524
1525 * gdb.gdb/python-selftest.exp: New file.
1526
e19d3afb
DE
15272013-05-20 Doug Evans <dje@google.com>
1528
1529 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1530 -fdebug-types-section.
1531
4d804846
JB
15322013-05-20 Joel Brobecker <brobecker@adacore.com>
1533
1534 * gdb.ada/float_param: New testcase.
1535
8d324e83
DE
15362013-05-17 Doug Evans <dje@google.com>
1537
7d0c9981
DE
1538 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1539 Add tests for "maint check-symtabs", "maint expand-symtabs".
1540
8d324e83
DE
1541 * gdb.base/maint.exp: Remove testing of individual maint command
1542 help output.
1543
177aadc4
PA
15442013-05-16 Pedro Alves <palves@redhat.com>
1545
1546 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1547 comment. Use gdb_test_no_output.
1548
b8fea896
JB
15492013-05-16 Joel Brobecker <brobecker@adacore.com>
1550
1551 * gdb.ada/complete.exp: Add test verifying completion using
1552 the "tab" key.
1553
52c935b6
KS
15542013-05-15 Keith Seitz <keiths@redhat.com>
1555
1556 * gdb.base/filesym.exp: New completer test.
1557 * gdb.base/filesym.c: New file.
1558
ed0f00b8
PA
15592013-05-15 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/fixsection.c: Remove attribution.
1562 * gdb.base/watch-read.exp: Ditto.
1563
55fb6d27
TT
15642013-05-13 Tom Tromey <tromey@redhat.com>
1565
1566 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1567 size and change type sizes to 4 bytes.
1568
ac1ca910
TT
15692013-05-13 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.base/exprs.exp (test_expr): Add regression test.
1572 * gdb.base/exprs.c (null_t_struct): New global.
1573
8414efef
MB
15742013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1575
1576 * gdb.base/default.exp: Disable history saving.
1577 * gdb.base/setshow.exp: Likewise.
1578
9779ab84
PA
15792013-05-10 Pedro Alves <palves@redhat.com>
1580
1581 PR remote/15455
1582
1583 * gdb.trace/qtro.c: New file.
1584 * gdb.trace/qtro.exp: New file.
1585
1e611234
PM
15862013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1587
1588 * gdb.python/py-framefilter.py: New File.
1589 * gdb.python/py-framefilter-mi.exp: Ditto.
1590 * gdb.python/py-framefilter.c: Ditto.
1591 * gdb.python/py-framefilter-mi.exp: Ditto.
1592 * gdb.python/py-framefilter-mi.c: Ditto,
1593 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1594
5e4c3ac4
TT
15952013-05-08 Tom Tromey <tromey@redhat.com>
1596
1597 * gdb.base/solib-search.exp: Set test name for "set
1598 solib-search-path" test.
1599
993654a9
HAQ
16002013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1601
1602 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1603 (set_a_tracepoint): Set tracepoint before prologue.
1604 (run_trace_experiment): Test setup_tracepoints and 'break end'
1605 in it.
1606 (trace_buffer_normal): Remove.
1607 (gdb_trace_circular_tests): Remove. Move tests to...
1608 (top level): ...here. Call 'runto_main' before checking for
1609 trace support. Use commands to check the support for circular
1610 trace buffer and changing of trace buffer size. Add test
1611 to calculate size of single frame. Use this size to
1612 calculate the size of trace buffer. Use 'tfind pc func9'
1613 instead of 'tfind 9'. Use 'with_test_prefix'.
1614
c95aea6b
TT
16152013-05-07 Tom Tromey <tromey@redhat.com>
1616
1617 * lib/selftest-support.exp: New file.
1618 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1619 do_self_tests.
1620 (setup_test, find_gdb): Remove.
1621 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1622 do_self_tests.
1623 (setup_test, find_gdb): Remove.
1624 (test_observer): Don't call setup_test. Remove argument.
1625 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1626 (find_gdb): Remove.
1627 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1628 do_self_tests.
1629 (setup_test, find_gdb): Remove.
1630 (test_with_self): Don't call setup_test. Remove argument.
1631
1f031429
PA
16322013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633
1634 * gdb.arch/system-gcore.exp: Remove.
1635 * gdb.arch/gcore.c: Remove.
1636 * gdb.base/gcore.exp: Add "info reg system".
1637
58ce7251
SDJ
16382013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1639
1640 PR breakpoints/15413:
1641 * gdb.base/pending.exp: Add test for completion of the "condition"
1642 command for pending breakpoints.
1643 * gdb.linespec/linespec.ex: Add test for completion of the
1644 "condition" command when dealing with multiple locations.
1645
aacbb8a5
LM
16462013-05-07 Luis Machado <lgustavo@codesourcery.com>
1647
1648 * gdb.threads/wp-replication.c: New file.
1649 * gdb.threads/wp-replication.exp: New file.
1650
2dd6254d
SL
16512013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1652
1653 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1654
c2a96e8c
DE
16552013-05-06 Doug Evans <dje@google.com>
1656
b903e17e
DE
1657 * gdb.base/solib-search-lib1.c: New file.
1658 * gdb.base/solib-search-lib2.c: New file.
1659 * gdb.base/solib-search.c: New file.
1660 * gdb.base/solib-search.h: New file.
1661 * gdb.base/solib-search.exp: New file.
1662
fac51dd9
DE
1663 * lib/gdb.exp (gdb_core_cmd): New function.
1664 * gdb.arch/system-gcore.exp: Use it.
1665 * gdb.arch/vsx-regs.exp: Ditto.
1666 * gdb.base/gcore.exp: Ditto.
1667 * gdb.threads/gcore-thread.exp: Ditto.
1668
c2a96e8c
DE
1669 * gdb.reverse/shr.h: New file.
1670 * gdb.reverse/shr1.c: New file.
1671 * gdb.reverse/shr2.c: #include "shr.h".
1672 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1673 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1674 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1675 Update tests using sleep/printf to use shr2.sl instead.
1676 * gdb.reverse/solib-reverse.exp: Ditto.
1677
b6807d98
TT
16782013-05-06 Tom Tromey <tromey@redhat.com>
1679
1680 * gdb.dwarf2/implptrconst.c: New file.
1681 * gdb.dwarf2/implptrconst.exp: New file.
1682 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1683 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1684 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1685
96f7d3f1
PW
16862013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1687
1688 * gdb.base/catch-sig.c (main): Raise SIGINT.
1689 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1690
1ebff1fd
HAQ
16912013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1692
1693 * status-stop.exp (test_tstart_tstart): Check for error
1694 returned by the second 'tstart' command.
1695
f92b06da
WT
16962013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1697
1698 * gdb.xml/maint_print_struct.exp: New file.
1699 * gdb.xml/maint_print_struct.xml: New file.
1700
ff546935
TT
17012013-04-25 Tom Tromey <tromey@redhat.com>
1702
1703 * gdb.dwarf2/nostaticblock.exp: New file.
1704
bf9e4d0c
MB
17052013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1706
1707 PR gdb/10462
1708 * gdb.base/setshow.exp: Add test case.
1709
a11cfd87
HZ
17102013-04-23 Hui Zhu <hui@codesourcery.com>
1711
1712 PR gdb/15293
a11cfd87
HZ
1713 * gdb.base/dprintf.exp: Add ignore command.
1714
2d9442cc
HZ
17152013-04-23 Hui Zhu <hui@codesourcery.com>
1716
1717 PR gdb/15165
2d9442cc
HZ
1718 * gdb.base/save-bp.exp: Add test for dprintf.
1719
0f3305ed
TT
17202013-04-22 Tom Tromey <tromey@redhat.com>
1721
1722 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1723 notice_open_fds.
1724
d504301e
SDJ
17252013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1726
1727 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1728 ldflags.
1729
9991b207
SDJ
17302013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1731
1732 * gdb.arch/arm-bl-branch-dest.c: New file.
1733 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1734
433730c9
PA
17352013-04-19 Vladimir Kargov <kargov@gmail.com>
1736 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.arch/i386-float.S: New file.
1739 * gdb.arch/i386-float.exp: New file.
1740
9a908334
LM
17412013-04-18 Luis Machado <lgustavo@codesourcery.com>
1742
1743 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1744 type void *.
1745
4f22ed5c
DE
17462013-04-17 Doug Evans <dje@google.com>
1747
1748 * lib/dwarf.exp (Dwarf): New proc "tu".
1749 * gdb.dwarf2/missing-sig-type.exp: New file.
1750
a0d3f2f5
SCR
17512013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1752
1753 Add option to link testcases with Pthreads library when
1754 using 'prepare_for_testing' in tests.
1755
1756 * lib/gdb.exp (build_executable_from_specs): Use
1757 gdb_compile_pthreads to compile if option "pthreads" is
1758 specified.
1759
cc16e6c9
TT
17602013-04-15 Tom Tromey <tromey@redhat.com>
1761
1762 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1763
72f1fe8a
TT
17642013-04-15 Tom Tromey <tromey@redhat.com>
1765
1766 * gdb.base/default.exp: Update for $_exception.
1767 * gdb.cp/exceptprint.cc: New file.
1768 * gdb.cp/exceptprint.exp: New file.
1769 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1770
6e72ca20
TT
17712013-04-15 Tom Tromey <tromey@redhat.com>
1772
1773 * gdb.cp/typeid.cc: New file.
1774 * gdb.cp/typeid.exp: New file.
1775
591f19e8
TT
17762013-04-15 Tom Tromey <tromey@redhat.com>
1777
1778 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1779
da9160e4
YQ
17802013-04-13 Yao Qi <yao@codesourcery.com>
1781
1782 * gdb.base/completion.exp: Test completion of command
1783 'target ctf' if target ctf is supported.
1784
f81d1120
PA
17852013-04-10 Pedro Alves <palves@redhat.com>
1786
1787 * gdb.base/completion.exp: Test "set height", "set listsize" and
1788 "set trace-buffer-size" completion.
1789 * gdb.base/setshow.exp: Test "set height unlimited".
1790 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1791 unlimited".
1792
393fd4c3
YQ
17932013-04-10 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.trace/actions.exp: Save trace data to CTF.
1796 Change to ctf target if GDB supports, read CTF data in ctf
1797 target, and check the actions of tracepoints.
1798 * gdb.trace/while-stepping.exp: Likewise.
1799 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1800 format and read CTF trace file if GDB supports.
1801 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1802 target is supported, change to ctf target, read trace data and
1803 check output of command "tstatus".
1804 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1805 read CTF data by target ctf and call check_tsv.
1806
b7a273f8
YQ
18072013-04-10 Yao Qi <yao@codesourcery.com>
1808
1809 * gdb.trace/actions.exp (check_tracepoint): New.
1810 (top level): Start the tracing and check the actions of
1811 tracepoints. Save trace data to tfile format. Restart GDB
1812 and read trace file in tfile target. Check the actions of
1813 tracepoints again.
1814 * gdb.trace/while-stepping.exp: Likewise.
1815
f3786771
YQ
18162013-04-10 Yao Qi <yao@codesourcery.com>
1817
1818 * gdb.trace/report.exp: Use standard_output_file for saved
1819 trace file.
1820
5c2b4418
HZ
18212013-04-10 Hui Zhu <hui@codesourcery.com>
1822
1823 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1824 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1825 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1826
f7543f0a
JK
18272013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1828
1829 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1830 response.
1831
f6de8ec2
PA
18322013-04-08 Pedro Alves <palves@redhat.com>
1833
1834 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1835 the location.
1836
b8abfd58
SL
18372013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1838
1839 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1840 for breakpoint location.
1841
156bffd0
SL
18422013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1843
1844 * gdb.linespec/linespec.exp: Make dir/file:line tests
1845 conditional for non-remote hosts only.
1846
c9a6ce02
PA
18472013-04-04 Stan Shebs <stan@codesourcery.com>
1848 Pedro Alves <palves@redhat.com>
1849
1850 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1851 * gdb.trace/actions-changed.c: New file.
1852 * gdb.trace/actions-changed.exp: New file.
1853 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1854 (gdb_trace_setactions_command): ... this. Add "actions_command"
1855 parameter, and handle it.
1856 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1857
4bd05f24
YQ
18582013-04-04 Yao Qi <yao@codesourcery.com>
1859
1860 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1861 'step'.
1862
3758b5ce
YQ
18632013-04-03 Yao Qi <yao@codesourcery.com>
1864
1865 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1866 "tfile-basic.tf".
1867 (test_tfind_tfile): Likewise.
1868
1dcaed0d
YQ
18692013-04-03 Yao Qi <yao@codesourcery.com>
1870
1871 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1872 "tfile-basic.tf" instead of "basic.tf".
1873 (write_error_trace_file): Pass argument "tfile-error.tf"
1874 instead of "error.tf".
1875 * gdb.trace/tfile.exp: Update tfile names to
1876 "tfile-basic.tf" and "tfile-error.tf".
1877
0e7a53fc
SL
18782013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1879
1880 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1881 empty directory in file for breakpoint hit.
1882
9852c492
YQ
18832013-03-29 Yao Qi <yao@codesourcery.com>
1884
1885 * gdb.base/completion.exp: Test completion of commands
1886 "target core", "target tfile" and "target exec".
1887 * gdb.trace/tfile.exp: Test completion of command
1888 "target tfile".
1889
af312be7
JB
18902013-03-28 Joel Brobecker <brobecker@adacore.com>
1891
1892 * gdb.ada/win_fu_syms: New testcase.
1893
e4a48d9d
DE
18942013-03-28 Doug Evans <dje@google.com>
1895
1896 * gdb.base/maint.exp (maint print statistics): Update expected output.
1897
7f7cc265
PA
18982013-03-28 Pedro Alves <palves@redhat.com>
1899
1900 PR gdb/15294
1901
1902 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1903 mean unlimited instead of $arg < 0.
1904 (test_listsize): Remove "listsize of 0 suppresses output" test.
1905 Test that "set listsize 0" ends up with an unlimited listsize.
1906
fc0da894
PA
19072013-03-28 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.base/list.exp (last_line): New global.
1910 (last_line_re): New global.
1911 (test_listsize, test_list_function, test_list_forward)
1912 (test_repeat_list_command, test_list_range)
1913 (test_list_filename_and_function): Use them.
1914 * gdb.base/list0.c: Comment the last line of the file with "last
1915 line".
1916
abe7b711
PA
19172013-03-28 Pedro Alves <palves@redhat.com>
1918
1919 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1920 list the whole file.
1921
15b3979c
PA
19222013-03-28 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1925 "set listsize".
1926
96811e3b
KS
19272013-03-26 Keith Seitz <keiths@redhat.com>
1928
1929 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1930 from passing.
1931
4043f22b
PA
19322013-03-26 Pedro Alves <palves@redhat.com>
1933
1934 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1935 until after GDB has run.
1936
14a1aa17
YQ
19372013-03-26 Yao Qi <yao@codesourcery.com>
1938
1939 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1940 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1941
99c819ee
MM
19422013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1943
1944 * gdb.btrace/enable.exp: Add regression test.
1945
24955f63
TT
19462013-03-25 Tom Tromey <tromey@redhat.com>
1947
1948 * gdb.cp/m-static.exp: Add destructor-printing tests.
1949
fce632b6
TT
19502013-03-25 Tom Tromey <tromey@redhat.com>
1951
1952 * gdb.cp/m-static.exp: Add constructor ptype tests.
1953 * gdb.cp/m-static.cc (single_constructor): New class.
1954 (main): Make instance of single_constructor.
1955
598d3636
JK
19562013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1957 Pedro Alves <palves@redhat.com>
1958
1959 * gdb.server/server-kill.c: New file.
1960 * gdb.server/server-kill.exp: New file.
1961
c12440c9
PA
19622013-03-21 Pedro Alves <palves@redhat.com>
1963
1964 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1965 Expect $gdb_prompt in gdb_test_multiple.
1966
bd712aed
DE
19672013-03-21 Doug Evans <dje@google.com>
1968
1969 * gdb.base/maint.exp: Update tests for per-command stats.
1970
b2f83c08
TT
19712013-03-21 Tom Tromey <tromey@redhat.com>
1972
1973 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1974 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1975
ef0026f0
PA
19762013-03-20 Pedro Alves <palves@redhat.com>
1977
1978 PR gdb/15289
1979
1980 * gdb.base/remote.exp: Test
1981 "set remote hardware-watchpoint-limit -1",
1982 "set remote hardware-breakpoint-limit -1",
1983 "set remote hardware-watchpoint-limit 2147483647" and
1984 "set remote hardware-breakpoint-limit 2147483647".
1985
3f1175a9
PA
19862013-03-20 Pedro Alves <palves@redhat.com>
1987 Yao Qi <yao@codesourcery.com>
1988
1989 * gdb.trace/tfile.c: Add comments.
1990 (nonconstglob): New global.
1991 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1992 global that is not covered by the trace frame. Test
1993 disassembling.
1994
a09ae1c1
JK
19952013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 * gdb.base/valgrind-infcall.exp
1998 (continue #$continue_count) <remote connection closed>
1999 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2000 $valgrind_pid.
2001
9ce98649
TT
20022013-03-15 Tom Tromey <tromey@redhat.com>
2003
2004 * gdb.cp/overload.cc (intintfunc): New.
2005 * gdb.cp/overload.exp: Add regression test.
2006
0a251e08
YQ
20072013-03-15 Yao Qi <yao@codesourcery.com>
2008
2009 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2010 using with_test_prefix.
2011 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2012 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2013 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2014 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2015 * gdb.base/break-interp.exp (test_core): Likewise.
2016 (test_attach_gdb): Likewise.
2017 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2018 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2019 Likewise.
2020 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2021 * gdb.base/jit.exp (one_jit_test): Likewise.
2022 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2023 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2024 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2025 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2026 Likewise.
2027 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2028 Likewise.
2029 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2030 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2031 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2032 (tracepoint_change_loc_2): Likewise.
2033 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2034 Likewise.
2035 (disconnected_tfind): Likewise.
2036 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2037 Likewise.
2038 (test_tfind_remote): Likewise.
2039 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2040 Likewise.
2041 (test_pending_resolved): Likewise.
2042 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2043 Likewise.
2044 (test_upload_tsv): Likewise.
2045 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2046 Likewise.
2047 (pending_tracepoint_works): Likewise.
2048 * gdb.trace/report.exp (use_collected_data): Likewise.
2049 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2050 Likewise.
2051 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2052 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2053 (strace_trace_on_same_addr): Likewise.
2054 (strace_trace_on_diff_addr): Likewise.
2055 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2056 (gdb_collect_locals_test): Likewise.
2057 (gdb_unavailable_registers_test): Likewise.
2058 (gdb_collect_globals_test): Likewise.
2059
2c415c0f
YQ
20602013-03-15 Yao Qi <yao@codesourcery.com>
2061
2062 * gdb.base/condbreak.exp: Add semicolon back which was removed
2063 by my previous commit.
2064
ae59b1da
YQ
20652013-03-14 Yao Qi <yao@codesourcery.com>
2066
2067 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2068 'return'.
2069 (gdb_target_monitor, gdb_load): Likewise.
2070 * config/sid.exp (gdb_load): Likewise.
2071 * config/slite.exp (gdb_load): Likewise.
2072 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2073 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2074 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2075 (single_step_until): Likewise.
2076 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2077 * gdb.arch/system-gcore.exp: Likewise.
2078 * gdb.base/bigcore.exp (extract_heap): Likewise.
2079 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2080 * gdb.base/call-ar-st.exp: Likewise.
2081 * gdb.base/call-rt-st.exp: Likewise.
2082 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2083 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2084 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2085 * gdb.base/corefile.exp: Likewise.
2086 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2087 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2088 * gdb.base/fixsection.exp: Likewise.
2089 * gdb.base/funcargs.exp: Likewise.
2090 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2091 * gdb.base/gcore-relro.exp: Likewise.
2092 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2093 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2094 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2095 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2096 * gdb.base/list.exp: Likewise.
2097 (set_listsize): Likewise.
2098 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2099 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2100 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2101 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2102 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2103 * gdb.base/setvar.exp: Likewise.
2104 (test_set): Likewise.
2105 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2106 * gdb.base/solib-overlap.exp: Likewise.
2107 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2108 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2109 * gdb.base/watchpoint.exp (initialize): Likewise.
2110 (test_simple_watchpoint): Likewise.
2111 (test_disabling_watchpoints): Likewise.
2112 (test_watchpoint_triggered_in_syscall): Likewise.
2113 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2114 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2115 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2116 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2117 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2118 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2119 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2120 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2121 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2122 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2123 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2124 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2125 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2126 * gdb.mi/gdb792.exp: Likewise.
2127 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2128 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2129 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2130 * gdb.threads/gcore-thread.exp: Likewise.
2131 (load_core): Likewise.
2132 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2133 (test_startup, check_control_c): Likewise.
2134 * gdb.threads/sigstep-threads.exp: Likewise.
2135 * gdb.threads/thread_check.exp: Likewise.
2136 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2137 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2138 (set_a_tracepoint, trace_buffer_normal): Likewise.
2139 (gdb_trace_circular_tests): Likewise.
2140 * gdb.trace/collection.exp: Likewise.
2141 * gdb.trace/disconnected-tracing.exp: Likewise.
2142 * gdb.trace/infotrace.exp: Likewise.
2143 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2144 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2145 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2146 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2147 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2148 * gdb.trace/stap-trace.exp: Likewise.
2149 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2150 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2151 * gdb.trace/trace-buffer-size.exp: Likewise.
2152 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2153 * gdb.trace/unavailable.exp: Likewise.
2154 * gdb.trace/while-dyn.exp: Likewise.
2155 * lib/fortran.exp (set_lang_fortran): Likewise.
2156 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2157 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2158 (default_gdb_start, get_compiler_info): Likewise.
2159 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2160 (get_debug_format, setup_xfail_format): Likewise.
2161 (rerun_to_main, gdb_skip_float_test): Likewise.
2162 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2163 * lib/java.exp (set_lang_java): Likewise.
2164 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2165 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2166 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2167 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2168 * lib/objc.exp (set_lang_objc): Likewise.
2169 * lib/pascal.exp (set_lang_pascal): Likewise.
2170 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2171 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2172 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2173
bb869963
SDJ
21742013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2175
2176 PR c++/15203
2177 PR c++/15210
2178 * gdb.cp/m-static.cc (keepalive_int): New function.
2179 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2180 * gdb.cp/m-static.exp: New test for `sintvar'.
2181
e2be70a0
YQ
21822013-03-14 Yao Qi <yao@codesourcery.com>
2183
2184 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2185 of 'tstatus' into tstatus_output.
2186 (top level): Save the trace data to tfile. Read trace file in
2187 tfile target. Check the trace status.
2188
8ddb1965
YQ
21892013-03-13 Yao Qi <yao@codesourcery.com>
2190
2191 * gdb.trace/tsv.exp (check_tsv): New.
2192 (top level): Save a tfile on current trace session. Call
2193 check_tsv on live target. Load the tfile with target tfile
2194 and call check_tsv again.
2195
045dd51f
YQ
21962013-03-13 Yao Qi <yao@codesourcery.com>
2197
2198 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2199 Replace some "gdb_test" with "gdb_test_no_output".
2200
82d049ab
PH
22012013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2202
2203 * gdb.ada/expr_delims.exp: New file.
2204 * gdb.ada/expr_delims/foo.adb: New file.
2205 * gdb.ada/expr_delims/pck.ads: New file.
2206 * gdb.ada/expr_delims/pck.adb: New file.
2207
cb8ea32b
KS
22082013-03-11 Keith Seitz <keiths@redhat.com>
2209
2210 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2211 both condition and thread. Then delete the watchpoint.
2212
2f1d9bdd
MM
22132013-03-11 Christian Himpel <christian.himpel@intel.com>
2214
2215 * Makefile.in: Add btrace testsuite.
2216 * configure: Regenerated.
2217 * configure.ac: Add btrace testsuite.
2218 * gdb.btrace/Makefile.in: New file.
2219 * gdb.btrace/enable.c: New file.
2220 * gdb.btrace/enable.exp: New file.
2221 * gdb.btrace/function_call_history.c: New file.
2222 * gdb.btrace/function_call_history.exp: New file.
2223 * gdb.btrace/instruction_history.c: New file.
2224 * gdb.btrace/instruction_history.exp: New file.
2225 * gdb.btrace/instruction_history.S: New file.
2226 * lib/gdb.exp: Add btrace skip proc.
2227
05c56a9d
JK
22282013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 Fix entry-values if the callee called a noreturn function.
2231 * gdb.arch/amd64-tailcall-noret.S: New file.
2232 * gdb.arch/amd64-tailcall-noret.c: New file.
2233 * gdb.arch/amd64-tailcall-noret.exp: New file.
2234
9112db09
JK
22352013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 Fix entry-values in C++ across CUs.
2238 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2239 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2240 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2241 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2242 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2243
be9a119c 22442013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
2245 Hafiz Abid Qadeer <abidh@codesourcery.com>
2246
2247 gdb/testsuite/
2248 * gdb.trace/trace-buffer-size.exp: New file.
2249 * gdb.trace/trace-buffer-size.c: New file.
2250
049109b0
PA
22512013-03-06 Pedro Alves <palves@redhat.com>
2252
2253 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2254 doesn't support the tested optional feature, call "unsupported"
2255 with the same test message as the "pass" case, instead of calling
2256 "pass" with a different message. Use the same text for the "fail"
2257 cases too.
2258
4aa54120
YQ
22592013-03-06 Yao Qi <yao@codesourcery.com>
2260
2261 * gdb.trace/tstatus.exp: Remove the invocation of
2262 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2263 (test_tracepoints): Don't set fast tracepoint.
2264 (top level): Don't check agent library is loaded or not.
2265
b8b71e63
YQ
22662013-03-06 Yao Qi <yao@codesourcery.com>
2267
2268 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2269 parentheses by "\\".
2270
33f448b1
JK
22712013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2272
2273 * gdb.linespec/base/one/thefile.cc (twodup): New.
2274 (m): Call it.
2275 * gdb.linespec/base/two/thefile.cc (dupname): New.
2276 (n): Call it.
2277 * gdb.linespec/break-ask.exp: New file.
2278 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2279
1c942fb9
YQ
22802013-02-28 Yao Qi <yao@codesourcery.com>
2281
2282 * gdb.trace/report.exp: Move some code to ...
2283 (use_collected_data): New.
2284 (top level): Call use_collected_data once on the live target.
2285 Save at file of the current trace session, load it with target
2286 tfile, and call use_collected_data again.
2287
5b967901
JK
22882013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2289
2290 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2291
6447023f
JK
22922013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2295 Add final kill of ${valgrind_pid}.
2296
9f44fbc0
SCR
22972013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2298
2299 * gdb.python/py-arch.c: New test case
2300 * gdb.python/py-arch.exp: New tests to test
2301 gdb.Architecture.disassemble
2302 * gdb.python/Makefile.in: Add py-arch to the list of
2303 EXECUTABLES.
2304
4c9ad8c2
TT
23052013-02-18 Tom Tromey <tromey@redhat.com>
2306
2307 * gdb.dwarf2/subrange.exp: New file.
2308
f5911ea1
HAQ
23092013-02-15 Pedro Alves <pedro@codesourcery.com>
2310 Hafiz Abid Qadeer <abidh@codesourcery.com>
2311
2312 * gdb.trace/tfile.exp: Add test for -trace-status command.
2313
420f4384
JK
23142013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2315
2316 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2317 nanosleep by sleep.
2318
4819b3f8
PA
23192013-02-14 Pedro Alves <palves@redhat.com>
2320
2321 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2322
1773c82c
HAQ
23232013-02-14 Pedro Alves <pedro@codesourcery.com>
2324 Hafiz Abid Qadeer <abidh@codesourcery.com>
2325
2326 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2327
e234dfaf
TT
23282013-02-12 Tom Tromey <tromey@redhat.com>
2329
2330 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2331 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2332
6c01dd94
PA
23332013-02-12 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/catch-signal.c: Update copyright years.
2336 * gdb.base/catch-signal.exp: Update copyright years.
2337 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2338 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2339 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2340 * gdb.dwarf2/dw2-error.S: Update copyright years.
2341 * gdb.dwarf2/dw2-error.c: Update copyright years.
2342 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2343 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2344 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2345
595fc67f
PA
23462013-02-12 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2349 message.
2350 * gdb.base/sigaltstack.exp: Ditto.
2351 * gdb.base/siginfo.exp: Ditto.
2352 * gdb.base/sizeof.exp: Ditto.
2353
17282693
PA
23542013-02-12 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.mi/mi-basics.exp: Tweak intro comment.
2357 * gdb.mi/mi-break.exp: Tweak intro comment.
2358 * gdb.mi/mi-console.exp: Tweak intro comment.
2359 * gdb.mi/mi-file.exp: Tweak intro comment.
2360 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2361 * gdb.mi/mi-return.exp: Tweak intro comment.
2362 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2363 * gdb.mi/mi-until.exp: Tweak intro comment.
2364 * gdb.mi/mi-watch.exp: Tweak intro comment.
2365
8a4ac37e
PA
23662013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2367
2368 * gdb.server/no-thread-db.exp: New file.
2369 * gdb.server/no-thread-db.c: New file.
2370 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2371
c2792f5a
DE
23722013-02-11 Doug Evans <dje@google.com>
2373
2374 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2375 two decfloats.
2376
d9e98382
SDJ
23772013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2378
2379 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2380 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2381
a321661a
JK
23822013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2383
2384 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2385
134a2066
YQ
23862013-02-06 Yao Qi <yao@codesourcery.com>
2387
2388 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2389 to ...
2390 (test_create_delete_modify_tsv): ... here. New test on modifying
2391 the initial value of a tsv.
2392
5a2dc60a
JK
23932013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2396 (cd .../rdir): ... here.
2397
233d95b5
JK
23982013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2399
2400 * gdb.linespec/base/one/header.h: New file.
2401 * gdb.linespec/base/two/header.h: New file.
2402 * gdb.linespec/macro-relative.c: New file.
2403 * gdb.linespec/macro-relative.exp: New file.
2404
fbd9ab74
JK
24052013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2406
2407 * gdb.base/fullpath-expand-func.c: New file.
2408 * gdb.base/fullpath-expand.c: New file.
2409 * gdb.base/fullpath-expand.exp: New file.
2410 * gdb.base/realname-expand-real.c: New file.
2411 * gdb.base/realname-expand.c: New file.
2412 * gdb.base/realname-expand.exp: New file.
2413
1b56eb55
JK
24142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2415
2416 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2417 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2418
af529f8f
JK
24192013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2420
2421 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2422 (compare_filenames_for_search does not match)
2423 (compare_filenames_for_search does match): New tests.
2424
f5b95b50
JK
24252013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2426
2427 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2428
d47921b9
JK
24292013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2430
2431 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2432
8a92335b
JK
24332013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2434
2435 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2436 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2437 ${binfile}.mini_debuginfo-debuglink and
2438 ${binfile}.mini_debuginfo-debuglink.xz.
2439
17f2157d
TT
24402013-02-01 Tom Tromey <tromey@redhat.com>
2441
2442 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2443 attributes.
2444
d65f0a9c
TT
24452013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2446 Tom Tromey <tromey@redhat.com>
2447
2448 * gdb.dwarf2/method-ptr.exp: Link with c++.
2449 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2450
f25c0135
TT
24512013-01-31 Tom Tromey <tromey@redhat.com>
2452
2453 * gdb.base/jit.exp (compile_jit_test): New proc.
2454 Add PIE tests.
2455
7078baeb
TT
24562013-01-31 Tom Tromey <tromey@redhat.com>
2457
2458 * gdb.dwarf2/method-ptr.cc: New file.
2459 * gdb.dwarf2/method-ptr.exp: New file.
2460
1d24041a
TT
24612013-01-31 Tom Tromey <tromey@redhat.com>
2462
2463 * lib/dwarf.exp (namespace Dwarf): New.
2464
8d9878a4
TT
24652013-01-29 Tom Tromey <tromey@redhat.com>
2466
2467 * gdb.dwarf2/fission-reread.exp: Add unload test.
2468
bed911e5
DE
24692013-01-28 Doug Evans <dje@google.com>
2470
2471 * gdb.dwarf2/fission-loclists.exp: New file.
2472 * gdb.dwarf2/fission-loclists.S: New file.
2473
e229648e
JK
24742013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2475
2476 Code cleanup.
2477 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2478 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2479 and prepare_for_testing.
2480 * gdb.base/store.exp: Likewise.
2481
86700f00
TT
24822013-01-25 Tom Tromey <tromey@redhat.com>
2483
2484 * gdb.python/py-explore.exp: Expect the gdb prompt.
2485
8954db33
AB
24862013-01-25 Andrew Burgess <aburgess@broadcom.com>
2487
2488 * gdb.base/gnu_vector.c: New variable for use in tests.
2489 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2490 changes in scalar to vector casting and widening.
2491 * gdb.python/py-type.c: New variables for use in tests.
2492 * gdb.python/py-type.exp: Update vector related tests to reflect
2493 changes in scalar to vector casting and widening.
2494
2077afdd
TD
24952013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2496
2497 * gdb.base/prologue-include.c: New file.
2498 * gdb.base/prologue-include.exp: New file.
2499 * gdb.base/prologue-include.h: New file.
2500
d7499464
HAQ
25012013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2502
2503 PR gdb/13443
2504 * gdb.mi/mi-var-block.exp: Make test messages unique.
2505
e2a3e0f1
TT
25062013-01-23 Tom Tromey <tromey@redhat.com>
2507
2508 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2509
152fcc9c
TT
25102013-01-23 Tom Tromey <tromey@redhat.com>
2511
2512 * gdb.cp/converts.cc (main): Initialize 'a'.
2513
bea883fd
SCR
25142013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2515
2516 * testsuite/gdb.python/frame.exp: Add a test for
2517 gdb.Frame.architecture() method.
2518
0928e93d
PA
25192013-01-22 Pedro Alves <palves@redhat.com>
2520
2521 * gdb.base/annota1.exp (signal sent): No longer expect
2522 breakpoints-invalid.
2523 * gdb.cp/annota2.exp (continue until exit)
2524 (watch triggered on a.x): Ditto.
2525
9c97429f
PA
25262013-01-22 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2529 Adjust tests to breakpoints-invalid changes.
2530 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2531 variables.
2532 Adjust tests to breakpoints-invalid changes.
2533
187d10dd
PA
25342013-01-22 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.base/annota1.exp (annotate ignore count change): Add
2537 expected output for failure case.
2538
ea3aedcb
TT
25392013-01-22 Tom Tromey <tromey@redhat.com>
2540
2541 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2542 call.
2543
998580f1
MK
25442013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2545
2546 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 2547 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
2548 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2549 Also handle 'thread' field.
2550 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2551 * gdb.mi/mi-watch.exp: Ditto.
2552 * lib/mi-support.exp: Ditto.
2553
8f1d5693
MK
25542013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2555
2556 * gdb.python/py-explore.exp: Improve a test
2557
2d8c5d7c
DB
25582013-01-18  David Blaikie  <dblaikie@gmail.com>
2559
2560 * gdb.base/label.c (main): Correct the type of the second
2561 parameter.
2562
46f35228
TT
25632013-01-18 Tom Tromey <tromey@redhat.com>
2564
2565 * gdb.dwarf2/trace-crash.s: New file.
2566 * gdb.dwarf2/trace-crash.exp: New file.
2567
5965d69d
HAQ
25682013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2569
43aaf8b6
PA
2570 PR gdb/13443
2571 * gdb.base/checkpoint.exp: Update test messages to make them
2572 unique.
5965d69d 2573
5ae4861a
YQ
25742013-01-18 Yao Qi <yao@codesourcery.com>
2575
2576 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2577 output of 'info tracepoints'.
2578 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2579 Likewise.
2580 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2581 * gdb.trace/disconnected-tracing.c (struct foo): New.
2582
d84fca2c
JK
25832013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 * gdb.dwarf2/dw2-dos-drive.S: New file.
2586 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2587
aebb1cc9
DE
25882013-01-17 Doug Evans <dje@google.com>
2589
2782d512
DE
2590 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2591 CXX_FOR_TARGET.
2592
aebb1cc9
DE
2593 * boards/cc-with-tweaks.exp: New file.
2594
db2b2972
TT
25952013-01-17 Tom Tromey <tromey@redhat.com>
2596
2597 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2598
96343774
PA
25992013-01-17 Pedro Alves <palves@redhat.com>
2600
2601 Merge dg-extract-results.sh from upstream (svn 195224).
2602
2603 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2604 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
2605
2606 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2607 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
2608
2609 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2610 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
2611
2612 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2613 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2614 of grep -q.
2615
675921c0
SD
26162012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2617
2618 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2619 interface.
2620 * gdb.base/jithost.c: New file.
2621 * gdb.base/jithost.h: New file.
2622 * gdb.base/jitreader.c : New file.
2623 * gdb.base/jit-protocol.h: New file.
2624
ab04a2af
TT
26252013-01-16 Tom Tromey <tromey@redhat.com>
2626
2627 * gdb.base/catch-signal.c: New file.
2628 * gdb.base/catch-signal.exp: New file.
2629
8ac3646f
TT
26302013-01-16 Tom Tromey <tromey@redhat.com>
2631
2632 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2633
22fc223e
JK
26342013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2635
2636 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2637
44478ab3
TT
26382013-01-14 Tom Tromey <tromey@redhat.com>
2639
2640 * gdb.base/completion.exp: Add "set gnutarget" test.
2641
06d66ee9
TT
26422013-01-14 Tom Tromey <tromey@redhat.com>
2643
2644 * gdb.dwarf2/dw2-restrict.S: New file.
2645 * gdb.dwarf2/dw2-restrict.c: New file.
2646 * gdb.dwarf2/dw2-restrict.exp: New file.
2647
c9bf0622
TT
26482013-01-14 Tom Tromey <tromey@redhat.com>
2649
2650 * gdb.dwarf2/dw2-error.exp: New file.
2651 * gdb.dwarf2/dw2-error.c: New file.
2652 * gdb.dwarf2/dw2-error.S: New file.
2653
5b12a61c
JK
26542013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2655
2656 * gdb.cp/parse-lang.cc: New file.
2657 * gdb.cp/parse-lang.exp: New file.
2658
f0a4b570
JK
26592013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2660
2661 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2662 (set substitute-path): New test.
2663 (fullname present): Remove content.
2664 (substituted fullname): New test.
2665
f751cc97
JB
26662013-01-13 Joel Brobecker <brobecker@adacore.com>
2667
2668 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2669 check. Move $gdb_py_is_py24 value check right after.
2670
04164e8e
JK
26712013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2674 targets.
2675
5bf480a5
YQ
26762013-01-11 Yao Qi <yao@codesourcery.com>
2677
2678 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2679 for dprintf.
2680 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2681 Check the fields in "=breakpoint-created" for dprintf.
2682
f35a17b5
JK
26832012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2684
2685 * gdb.mi/mi-fullname-deleted.exp: New file.
2686
85817405
JK
26872012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2690 expected output.
2691 (info skip with pending file): Remove.
2692 (ignoring function in solib, info skip for function multiply): Update
2693 the expected output.
2694 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2695 (info skip (delete 1), info skip after disabling all)
2696 (info skip after enabling all, info skip after disabling 4 2-3)
2697 (info skip after enabling 2-3, info skip 2-3)
2698 (info skip after deleting 2 3): Update the expected output.
2699 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2700 statement to its initialization and return.
2701 * gdb.linespec/skip-two.exp: New file.
2702
27210e12
DE
27032012-12-19 Doug Evans <dje@google.com>
2704
2705 * gdb.base/maint.exp: Handle testing with .gdb_index.
2706
bb627a12
JB
27072012-12-19 Joel Brobecker <brobecker@adacore.com>
2708
2709 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2710 Cavium to FSF.
2711
7785b880
JB
27122012-12-19 Joel Brobecker <brobecker@adacore.com>
2713
2714 * dg-extract-results.sh: Update contact info in copyright notice.
2715 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2716 GPL v3 or later. Update contact info.
2717 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2718 gdb.threads/watchpoint-fork-mt.c,
2719 gdb.threads/watchpoint-fork-parent.c,
2720 gdb.threads/watchpoint-fork-st.c,
2721 gdb.threads/watchpoint-fork.h: Likewise.
2722
f2a8bc8a
YQ
27232012-12-15 Yao Qi <yao@codesourcery.com>
2724
2725 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2726 'installed' field in '=breakpoint-modified'.
2727 (test_reconnect): Check 'installed' field in
2728 '=breakpoint-modified' and '=breakpoint-created'.
2729
2730 * gdb.trace/actions.exp: Update test for 'installed' field.
2731 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2732 (tracepoint_change_loc_2): Likewise.
2733 Check 'info tracepoint' display nothing else.
2734 * gdb.trace/deltrace.exp: Likewise.
2735 * gdb.trace/infotrace.exp: Likewise.
2736 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2737 Likewise.
2738 * gdb.trace/passcount.exp: Likewise.
2739 * gdb.trace/tracecmd.exp: Likewise.
2740 * gdb.trace/while-stepping.exp: Likewise.
2741
6592e36f
TT
27422012-12-14 Tom Tromey <tromey@redhat.com>
2743
2744 * gdb.cp/member-name.exp: New file.
2745 * gdb.cp/member-name.cc: New file.
2746
7d27a96d
TT
27472012-12-14 Tom Tromey <tromey@redhat.com>
2748
2749 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2750
f8c05d0d
DE
27512012-12-14 Doug Evans <dje@google.com>
2752
2753 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2754 DW_OP_GNU_implicit_pointer is section-relative.
2755
451b7c33
TT
27562012-12-14 Tom Tromey <tromey@redhat.com>
2757
43aaf8b6 2758 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 2759
10e339df
PA
27602012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2761
6fdff2c5 2762 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 2763
e780d813
DE
27642012-12-13 Doug Evans <dje@google.com>
2765
2766 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2767 * gdb.multi/multi-arch.exp: Ditto.
2768
ca3dbcc8 27692012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 2770
ca3dbcc8
MG
2771 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2772 catch load test library source file.
2773 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2774 load test source file.
2775 * gdb.mi/mi-catch-load.exp: New. Test file for
2776 basic MI -catch-load and -catch-unload tests.
2777
2960a434
PK
27782012-12-11 Paul Koning <paul_koning@dell.com>
2779
2780 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2781 exception.
2782 (_iterator_except): New function.
2783 (ArrayPrinter): Use _iterator function instead of local _iterator
2784 class for Python 3 compatibility.
2785 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2786 _iterator.
2960a434
PK
2787 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2788 execfile for Python 3 compatibility.
2789 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2790 format in error_prompt test.
6fdff2c5 2791
9325cb04
PK
27922012-12-10 Paul Koning <paul_koning@dell.com>
2793
2794 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2795 compatibility.
9325cb04
PK
2796 * gdb.python/py-block.exp: Ditto.
2797 * gdb.python/py-breakpoint.exp: Ditto.
2798 * gdb.python/py-cmd.exp: Ditto.
2799 * gdb.python/py-events.py: Ditto.
2800 * gdb.python/py-finish-breakpoint.py: Ditto.
2801 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2802 * gdb.python/py-finish-breakpoint2.py: Ditto.
2803 * gdb.python/py-frame-inline.exp: Ditto.
2804 * gdb.python/py-frame.exp: Ditto.
2805 * gdb.python/py-infthread.exp: Ditto.
2806 * gdb.python/py-objfile.exp: Ditto.
2807 * gdb.python/py-parameter.exp: Ditto.
2808 * gdb.python/py-progspace.exp: Ditto.
2809 * gdb.python/py-prompt.exp: Ditto.
2810 * gdb.python/py-symbol.exp: Ditto.
2811 * gdb.python/py-symtab.exp: Ditto.
2812 * gdb.python/py-template.exp: Ditto.
2813 * gdb.python/py-value-cc.exp: Ditto.
2814 * gdb.python/python.exp: Ditto.
2815 * gdb.python/source2.py: Ditto.
2816 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2817 compatibility.
9325cb04
PK
2818 Use sorted() function rather than sort() method.
2819 Accept either int or long values for enum values.
2820 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2821 execfile for Python 3 compatibility.
2822 * gdb.python/py-evsignal.exp: Ditto.
2823 * gdb.python/py-evthreads.exp: Ditto.
2824 * gdb.python/py-mi.exp: Ditto.
2825 * gdb.python/py-pp-maint.exp: Ditto.
2826 * gdb.python/py-prettyprint.exp: Ditto.
2827 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2828 Python 3 compatibility.
9325cb04
PK
2829 Skip tests for Python 2.4.
2830 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2831 Python 3 compatibility.
9325cb04
PK
2832 Use byte string rather than character string in memory write test
2833 if Python 3.
2834 * gdb.python/py-pp-maint.py: Change class declarations to "new
2835 class" syntax.
2836 * gdb.python/py-prettyprint.py: Change iterator class to generator
2837 function for Python 3 compatibility.
2838 Make all classes "new style".
2839 Fix indentation issue and stray semicolon.
2840 * gdb.python/py-shared.expChange print syntax for Python 3
2841 compatibility.
2842 Define "long" if Python 3.
2843 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2844 compatibility.
9325cb04
PK
2845 Accept either int or long values for enum values.
2846 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2847 compatibility.
9325cb04
PK
2848 Skip "long" and "unicode" tests if Python 3.
2849 Accept either "type" or "class" in type checks.
2850 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2851 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2852
8b9737bf
TT
28532012-12-10 Tom Tromey <tromey@redhat.com>
2854
2855 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2856 (test): Add "two_cu" argument.
2857 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2858 for types; allow two CUs.
2859
1b80a9fa
JK
28602012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2861
2862 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2863 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2864
f0b6d50a
YQ
28652012-12-08 Yao Qi <yao@codesourcery.com>
2866 Pedro Alves <palves@redhat.com>
2867
2868 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2869 '=breakpoint-created' when GDB merges the tracepoints of both
2870 sides.
2871
2f68a895
TT
28722012-12-07 Tom Tromey <tromey@redhat.com>
2873
2874 * gdb.base/break1.c (enum some_enum, union some_union): New.
2875 (some_enum_global, some_union_global, some_value): New globals.
2876 * gdb.base/completion.exp: Add tag completion tests.
2877
4fc5d43e
TT
28782012-12-07 Tom Tromey <tromey@redhat.com>
2879
2880 * gdb.base/completion.exp: Add tests for ptype and whatis
2881 completion.
2882
6559e013
JB
28832012-12-07 Joel Brobecker <brobecker@adacore.com>
2884
2885 * gdb.base/stale-infcall.exp: Fix copyright line.
2886
ae2b630d
JB
28872012-12-07 Joel Brobecker <brobecker@adacore.com>
2888
2889 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2890
0ba2eb0f
TT
28912012-12-06 Pedro Alves <palves@redhat.com>
2892 Tom Tromey <tromey@redhat.com>
2893
2894 * gdb.base/exprs.exp: Add tests for cast to void.
2895
731145cb
TT
28962012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2897
2898 * gdb.python/py-mi.exp: Correct expected results for attribute
2899 "dynamic" returned by -var-update.
2900 Add test case for correct handling of "diplayhint" for children
2901 of dynamic varobjs.
2902 * gdb.python/py-prettyprint.c (set_itme): New function.
2903 (bug_14741) New function.
2904 (main) Add call to bug_14741().
2905 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2906
e58fcc15
UW
29072012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2908
2909 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2910 ${binfile}.funcsyms list.
2911
e9eb0d14
YQ
29122012-12-04 Yao Qi <yao@codesourcery.com>
2913
2914 PR gdb/13443
2915 * gdb.trace/actions.exp: Make test messages unique.
2916
4983028c
TT
29172012-11-29 Tom Tromey <tromey@redhat.com>
2918
2919 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2920
ea5e6b0e
UW
29212012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2922
2923 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2924 * gdb.opencl/datatypes.exp: Likewise.
2925 * gdb.opencl/operators.exp: Likewise.
2926 * gdb.opencl/vec_comps.exp: Likewise.
2927
cdde3dfb
JG
29282012-11-29 Jerome Guitton <guitton@adacore.com>
2929
2930 * gdb.ada/iwide: New testcase.
2931
b50d69b5
JG
29322012-11-29 Jerome Guitton <guitton@adacore.com>
2933
2934 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2935 ptype test.
2936
c2d3fccf
JG
29372012-11-29 Jerome Guitton <guitton@adacore.com>
2938
2939 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2940 form {VARIANT_TYPE}ADDRESS.
2941
5edf51fe
YQ
29422012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2943
2944 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2945 (func): New function.
2946 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2947 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2948 pointers to members with pointer-to-function type.
2949
608e2dbb
TT
29502012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2951 Tom Tromey <tromey@redhat.com>
2952
2953 * gdb.base/gnu-debugdata.exp: New file.
2954 * gdb.base/gnu-debugdata.c: New file.
2955 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2956 (gdb_unload): Return 0 on success.
2957
4648e588
JK
29582012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2959
2960 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2961
17d6efc4
JB
29622012-11-26 Joel Brobecker <brobecker@adacore.com>
2963
2964 * gdb.base/empty_exe.exp: New testcase.
2965
ace21957
MF
29662012-11-20 Mike Frysinger <vapier@gentoo.org>
2967
2968 * gdb.base/completion.exp: Add test for help aliases completion.
2969
5c401a0a
YQ
29702012-11-20 Yao Qi <yao@codesourcery.com>
2971
2972 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2973 Don't test 'maint set show-debug-regs'.
2974 Use command 'set remotecache' instead of
2975 'set circular-trace-buffer'.
2976
8dea366b
KS
29772012-11-16 Keith Seitz <keiths@redhat.com>
2978
2979 PR c++/13615
2980 * gdb.cp/baseenum.cc: New file.
2981 * gdb.cp/baseenum.exp: New file.
2982 * gdb.cp/derivation.cc (A): Add copyright.
2983 Add a typedef.
2984 (B): Use A::value_type instead of int. Change all references.
2985 (D): Use value_type instead of int. Change all references.
2986 (E): Likewise.
2987 (F); Likewise.
2988 (Z): New class.
2989 (ZZ): New class.
6fdff2c5 2990 (N, Base, Derived): New namespace and classes.
8dea366b
KS
2991 (main): Add instances of Z and ZZ.
2992 Make sure all symbols from N are kept.
2993 * gdb.cp/derivation.exp: Update typedef changes in tests.
2994 Add tests for class typedefs both before and after starting
2995 the inferior.
2996 Add tests for searching for a typedef while stopped in a
2997 method.
2998
5e34c6c3
LM
29992012-11-14 Luis Machado <lgustavo@codesourcery.com>
3000
3001 * gdb.mi/mi-var-create-rtti.c: New file.
3002 * gdb.mi/mi-var-create-rtti.exp: New file.
3003
5e487a5f
LM
30042012-11-14 Luis Machado <lgustavo@codesourcery.com>
3005
3006 * gdb.base/structs3.exp: Run to main before doing any tests.
3007
6d67b990
AB
30082012-11-14 Andrew Burgess <aburgess@broadcom.com>
3009
3010 * gdb.python/py-type.exp: Uniquify test names.
3011
e5d98164
YQ
30122012-11-14 Yao Qi <yao@codesourcery.com>
3013
3014 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3015 (thread_function) [DEBUG]: Call 'printf'.
3016 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3017 command line if 'DEBUG=1' is passed to test.
3018 Remove a pattern to match inferior's output.
3019
62747a60
TT
30202012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3021
3022 * gdb.mi/mi-fill-memory.exp: New test.
3023
18a9fc12
TT
30242012-11-12 Tom Tromey <tromey@redhat.com>
3025
3026 * gdb.base/completion.exp: Update for "info type-printers".
3027 * gdb.python/py-typeprint.cc: New file.
3028 * gdb.python/py-typeprint.exp: New file.
3029 * gdb.python/py-typeprint.py: New file.
3030
bd69fc68
TT
30312012-11-12 Tom Tromey <tromey@redhat.com>
3032
3033 * gdb.base/call-sc.exp: Use "ptype/r".
3034 * gdb.base/volatile.exp: Don't expect "int".
3035 * gdb.cp/ptype-flags.cc: New file.
3036 * gdb.cp/ptype-flags.exp: New file.
3037 * gdb.cp/templates.exp: Use ptype/r.
3038 (test_ptype_of_templates, test_template_typedef): Likewise.
3039 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3040 argument. Handle template names and template parameters.
3041 * gdb.mi/mi-var-cmd.exp: Accept "long".
3042 * gdb.mi/mi-var-child.exp: Accept "long".
3043 * gdb.mi/mi-var-display.exp: Accept "long".
3044 * gdb.mi/mi2-var-child.exp: Accept "long".
3045
b3720c3a
TT
30462012-11-12 Tom Tromey <tromey@redhat.com>
3047
3048 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3049 "ptype" from calls to cp_test_ptype_class.
3050 (test_enums): Likewise.
3051 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3052 cp_test_ptype_class.
3053 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3054 calls to cp_test_ptype_class.
3055 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3056 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3057 from calls to cp_test_ptype_class.
3058 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3059 command here. Change "in_command" argument to "in_exp".
3060
0d63ecda
KS
30612012-11-10 Keith Seitz <keiths@redhat.com>
3062
3063 PR gdb/14288
3064 * gdb.base/printcmds.c: Add invalid_XXX globals
3065 for repeated byte tests.
3066 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3067 * gdb.base/wchar.c (main): Add and construct a wchar_t
3068 array with repeated characters.
3069 * gdb.base/wchar.exp: Add repeated character tests.
3070
ed8a1c2d
AB
30712012-11-09 Andrew Burgess <aburgess@broadcom.com>
3072
3073 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3074 disassembly output.
3075
9107fc8d
PA
30762012-11-09 Pedro Alves <palves@redhat.com>
3077
3078 PR gdb/14306
3079
3080 * gdb.multi/multi-arch-exec.c: New file.
3081 * gdb.multi/multi-arch-exec.exp: New file.
3082
558a9d82
YQ
30832012-11-09 Yao Qi <yao@codesourcery.com>
3084
3085 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3086 (top level): Call it.
3087
e714f336
YQ
30882012-11-09 Yao Qi <yao@codesourcery.com>
3089
3090 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3091 typo.
3092
6ecd4729
PA
30932012-11-09 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.multi/multi-arch.exp: New.
3096
9015683b
TT
30972012-11-08 Tom Tromey <tromey@redhat.com>
3098
3099 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3100 core files, if possible.
3101 * gdb.base/siginfo-thread.c: New file
3102 * gdb.base/siginfo-thread.exp: New file
3103
ea9f10bb
TT
31042012-11-08 Tom Tromey <tromey@redhat.com>
3105
3106 * gdb.base/comprdebug.exp: New file.
3107
f6592439
PA
31082012-11-06 Pedro Alves <palves@redhat.com>
3109
3110 PR gdb/14810
3111
3112 * gdb.base/disabled-location.c: New file.
3113 * gdb.base/disabled-location.exp: New file.
3114
2d338fa9
TT
31152012-11-06 Tom Tromey <tromey@redhat.com>
3116
3117 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3118 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3119 gdb_gcore_cmd.
3120 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3121 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3122 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3123 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3124 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3125 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3126 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3127 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3128 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3129
68c9da30
PA
31302012-11-05 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3133 procedure.
3134 (do_vfork_and_follow_child_tests_exec)
3135 (do_vfork_and_follow_child_tests_exit): Call it.
3136
a7c8c931
PA
31372012-11-05 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3140 fails.
3141
6f6484cd
YQ
31422012-11-03 Yao Qi <yao@codesourcery.com>
3143
3144 Fix PR gdb/14617.
3145 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3146 Remove setup_kfail, and update test.
3147
b45627a0
TT
31482012-11-02 Tom Tromey <tromey@redhat.com>
3149
3150 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3151 test.
3152
f50f4e56
PA
31532012-11-02 Pedro Alves <palves@redhat.com>
3154
3155 PR gdb/14766
3156
3157 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3158 setup_kfail.
3159 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3160 get registers".
3161
71ce889d
PA
31622012-11-02 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.base/foll-vfork-exit.c: New file.
3165 * gdb.base/foll-vfork.exp (top level): New file-describing
3166 comment.
3167 (vfork_child_follow_to_exit): New procedure.
3168 (tcatch_vfork_then_child_follow): Rename as ...
3169 (tcatch_vfork_then_child_follow_exec): ... this.
3170 (tcatch_vfork_then_child_follow_exit): New procedure.
3171 (do_vfork_and_follow_parent_tests): New procedure, factored out
3172 from do_vfork_and_exec_tests.
3173 (do_vfork_and_follow_child_tests_exec): Ditto.
3174 (do_vfork_and_exec_tests): Delete.
3175 (do_vfork_and_follow_child_tests_exit): New procedure.
3176 (top level): Run tests with both the program that has the vfork
3177 child execing, and the program has the vfork child exiting.
3178
1e35b1a9
PA
31792012-11-02 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3182 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3183 (vfork_parent_follow_to_bp): Call it.
3184 (kill_child): Delete.
3185 (vfork_and_exec_child_follow_to_main_bp)
3186 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3187 longer call kill_child.
3188 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3189 (do_vfork_and_exec_tests): Don't runto_main before calling each
3190 test procedure.
3191 (top level): Don't clean restart and set verbose before running
3192 each test procedure.
3193
31942012-11-02 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3197 (vfork_parent_follow_to_bp)
3198 (vfork_and_exec_child_follow_to_main_bp)
3199 (vfork_and_exec_child_follow_through_step)
3200 (tcatch_vfork_then_parent_follow)
3201 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3202 Use with_test_prefix.
3203
32042012-11-02 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/foll-vfork.c: Add copyright header.
3207 * gdb.base/vforked-prog.c: Add copyright header.
3208
32092012-11-02 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.base/foll-vfork.exp
3212 (vfork_and_exec_child_follow_through_step): Don't skip on
3213 non-HP/UX targets. Expect the next to only step one line on
3214 non-HP/UX targets, rather than stopping only after the exec.
3215
32162012-11-02 Pedro Alves <palves@redhat.com>
3217
3218 Don't hard code line numbers.
3219
3220 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3221 Expect text from the sources instead of a line number.
3222 (vfork_parent_follow_to_bp)
3223 (vfork_and_exec_child_follow_to_main_bp)
3224 (vfork_and_exec_child_follow_through_step)
3225 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3226 Use gdb_get_line_number.
3227
32282012-11-02 Pedro Alves <palves@redhat.com>
3229
3230 Modernize.
3231
3232 * gdb.base/foll-vfork.exp: Use standard_testfile and
3233 build_executable. Pass descriptive string to untested.
3234 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3235 (vfork_and_exec_child_follow_to_main_bp)
3236 (vfork_and_exec_child_follow_through_step)
3237 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3238 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3239 of send_gdb/gdb_expect.
3240
3241 (kill_child): New procedure.
3242 (vfork_and_exec_child_follow_to_main_bp)
3243 (vfork_and_exec_child_follow_through_step): Use it.
3244
f0559fff
YQ
32452012-11-02 Yao Qi <yao@codesourcery.com>
3246
3247 * gdb.base/setvar.exp: Test setting nested struct.
3248 * gdb.base/setvar.c (v_struct3): New.
3249
c207c6da
DE
32502012-11-01 Doug Evans <dje@google.com>
3251
3252 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3253 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3254 use them.
3255
2f27adfe
AB
32562012-10-31 Andrew Burgess <aburgess@broadcom.com>
3257
3258 PR cli/14772
3259 * gdb.base/gnu_vector.c (union_with_vector_1)
3260 (struct_with_vector_1): Add new struct and union for testing
3261 ptype.
3262 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3263 structs / unions containing vectors.
3264
bb662ca6
YQ
32652012-10-25 Yao Qi <yao@codesourcery.com>
3266
3267 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3268 'setup_kfail' instead of 'setup_kfail_for_target'.
3269 * gdb.base/varargs.exp: Likewise.
3270 * lib/gdb.exp (setup_kfail_for_target): Remove.
3271
635d23ff
MK
32722012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3273
3274 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3275
afdb064f
MK
32762012-10-25 Mark Kettenis <kettenis@gnu.org>
3277
3278 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3279
d99dcf51
JB
32802012-10-24 Joel Brobecker <brobecker@adacore.com>
3281
3282 * gdb.ada/set_wstr: New testcase.
3283
32560274
JB
32842012-10-24 Joel Brobecker <brobecker@adacore.com>
3285
3286 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3287
5ded5331
JB
32882012-10-24 Joel Brobecker <brobecker@adacore.com>
3289
3290 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3291
d8d84291
MK
32922012-10-24 Mark Kettenis <kettenis@gnu.org>
3293
3294 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3295
6e933c51
JK
32962012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3297
3298 * gdb.base/callfuncs.exp (do_function_calls): Fix
3299 setup_kfail_for_target for -m32 mode.
3300
274bd000
MK
33012012-10-23 Mark Kettenis <kettenis@gnu.org>
3302
3303 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3304 are now fixed.
3305
545f743d
YQ
33062012-10-23 Yao Qi <yao@codesourcery.com>
3307
3308 * gdb.base/info-os.exp: Resume the inferior until it exits.
3309
48b56b6a 33102012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3311
99c7d5a8 3312 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3313 * gdb.base/print-file-var.exp: Likewise.
3314 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 3315
8de0566d
YQ
33162012-10-17 Yao Qi <yao@codesourcery.com>
3317
3318 * gdb.mi/mi-memory-changed.exp: New.
3319
44883546
YQ
33202012-10-16 Yao Qi <yao@codesourcery.com>
3321
3322 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3323 returns true.
3324 Call gdb_load_shlibs.
3325 * gdb.reverse/solib-reverse.exp: Likewise.
3326
345f514a
KS
33272012-10-15 Keith Seitz <keiths@redhat.com>
3328
3329 * lib/cp-support.exp (cp_test_ptype_class): Add support
3330 for class typedefs.
3331
3332 * gdb.cp/derivation.exp: Add tests for g_instance.
3333
9e3a7d65
JK
33342012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 Fix entry values resolving in inlined frames.
3337 * gdb.arch/amd64-entry-value-inline.S: New file.
3338 * gdb.arch/amd64-entry-value-inline.c: New file.
3339 * gdb.arch/amd64-entry-value-inline.exp: New file.
3340
21a7b089
JK
33412012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3342 Doug Evans <dje@google.com>
3343
3344 Fix recent gdb_breakpoint regression.
3345 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3346 braces from the parameter.
3347 * gdb.java/jprint.exp: Likewise.
3348
2c47921e
DE
33492012-10-15 Doug Evans <dje@google.com>
3350
3351 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3352
89398707
JB
33532012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3354
3355 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3356
801e4185
TT
33572012-10-15 Tom Tromey <tromey@redhat.com>
3358
3359 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3360
74f910c8
TT
33612012-10-15 Tom Tromey <tromey@redhat.com>
3362
3363 * gdb.python/py-symbol.exp: Test symbol destructor.
3364
91567807
YQ
33652012-10-14 Yao Qi <yao@codesourcery.com>
3366
3367 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3368 * gdb.mi/mi-cli.exp: New.
3369
3370 * gdb.mi/mi2-basics.exp: Remove.
3371 * gdb.mi/mi2-break.exp: Remove.
3372 * gdb.mi/mi2-console.exp: Remove.
3373 * gdb.mi/mi2-disassemble.exp: Remove.
3374 * gdb.mi/mi2-eval.exp: Remove.
3375 * gdb.mi/mi2-file.exp: Remove.
3376 * gdb.mi/mi2-hack-cli.exp: Remove.
3377 * gdb.mi/mi2-pthreads.exp: Remove.
3378 * gdb.mi/mi2-read-memory.exp: Remove.
3379 * gdb.mi/mi2-regs.exp: Remove.
3380 * gdb.mi/mi2-return.exp: Remove.
3381 * gdb.mi/mi2-simplerun.exp: Remove.
3382 * gdb.mi/mi2-stack.exp: Remove.
3383 * gdb.mi/mi2-stepi.exp: Remove.
3384 * gdb.mi/mi2-syn-frame.exp: Remove.
3385 * gdb.mi/mi2-until.exp: Remove.
3386 * gdb.mi/mi2-watch.exp: Remove.
3387 * gdb.mi/mi2-var-block.exp: Remove.
3388 * gdb.mi/mi2-var-cmd.exp: Remove.
3389 * gdb.mi/mi2-var-display.exp: Remove.
3390
87332029
YQ
33912012-10-12 Yao Qi <yao@codesourcery.com>
3392
3393 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3394 trail '.*' on matching patterns.
3395
11fc9057
L
33962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3397
3398 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3399 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3400 * gdb.arch/i386-disp-step.exp: Likewise.
3401 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3402 * gdb.arch/i386-prologue.exp: Likewise.
3403 * gdb.arch/i386-size-overlap.exp: Likewise.
3404 * gdb.arch/i386-size.exp: Likewise.
3405 * gdb.arch/i386-unwind.exp: Likewise.
3406
7d46bcdc
L
34072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3410 * gdb.arch/i386-word.exp: Likewise.
3411
31224d9d
L
34122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3415 is_ilp32_target to set nr_regs.
3416 * gdb.arch/i386-sse.exp: Likewise.
3417
5b7d0050
DE
34182012-10-11 Doug Evans <dje@google.com>
3419
7c09e5a0
DE
3420 PR breakpoints/14643.
3421 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3422 * gdb.linespec/thread.c: New file.
3423 * gdb.linespec/thread.exp: New file.
3424
5b7d0050
DE
3425 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3426 Recognize "message" -> print pass and fail. Add eof case.
3427 (runto): Recognize message, no-message. Print pass/fail if requested,
3428 with same treatment as gdb_breakpoint.
3429 (runto_main): Pass no-message to runto.
3430 (gdb_internal_error_resync): Add log message.
3431 (gdb_file_cmd): Tweak internal error fail text for consistency.
3432
2e24f4aa
JK
34332012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3434
3435 Fix crash during stepping on ppc32.
3436 * gdb.base/step-symless.c: New file.
3437 * gdb.base/step-symless.exp: New file.
3438
aa14df25
DE
34392012-10-03 Doug Evans <dje@google.com>
3440
3441 PR symtab/14601
3442 * gdb.cp/using-crash.exp: New file.
3443 * gdb.cp/using-crash.cc: New file.
3444
975531db
DE
34452012-10-02 Doug Evans <dje@google.com>
3446
3447 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3448 more consistent.
3449 (runto,gdb_debug_format): Ditto.
3450 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3451 Clean up logging and error messages.
3452
b3dc46ff
AB
34532012-10-01 Andrew Burgess <aburgess@broadcom.com>
3454
3455 Test find command on unmapped memory.
3456 * gdb.base/find-unmapped.c: New file.
3457 * gdb.base/find-unmapped.exp: New file.
3458
45814d45
YQ
34592012-09-29 Yao Qi <yao@codesourcery.com>
3460
3461 * gdb.trace/mi-tracepoint-changed.exp: New.
3462 * gdb.mi/mi-breakpoint-changed.exp: New.
3463 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3464 * gdb.mi/pendshr2.c: New.
3465
4c2786ba
YQ
34662012-09-28 Yao Qi <yao@codesourcery.com>
3467
3468 * gdb.mi/pr11022.exp: New.
3469 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3470
7977e5d2
TT
34712012-09-27 Tom Tromey <tromey@redhat.com>
3472
3473 * gdb.cp/derivation.exp: Add regression test.
3474 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3475 V_derived): New.
3476 (vderived): New global.
3477
0971de02
TT
34782012-09-26 Tom Tromey <tromey@redhat.com>
3479
3480 * gdb.dwarf2/dw2-common-block.S: New file.
3481 * gdb.dwarf2/dw2-common-block.exp: New file.
3482
4357ac6c
TT
34832012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3484
3485 * gdb.fortran/common-block.exp: New file.
3486 * gdb.fortran/common-block.f90: New file.
3487
6f380991
AB
34882012-09-26 Andrew Burgess <aburgess@broadcom.com>
3489
3490 * gdb.base/duplicate-bp.c: New file.
3491 * gdb.base/duplicate-bp.exp: New file.
3492
8ae551cf
YQ
34932012-09-26 Yao Qi <yao@codesourcery.com>
3494
3495 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3496
3497 Revert:
3498 2012-09-21 Yao Qi <yao@codesourcery.com>
3499
3500 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3501
318102b9
SP
35022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3503
3504 * gdb.base/longest-types.c: New test case.
3505 * gdb.base/longest-types.exp: New test case.
3506
a1e5fd69
YQ
35072012-09-25 Yao Qi <yao@codesourcery.com>
3508
3509 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3510
04e7407c
JK
35112012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3512
3513 Fix internal error on canonicalization of clang types.
3514 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3515 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3516 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3517
9bf4bce9
JK
35182012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3519
3520 Fix disassemble without parameters in tailcall frame.
3521 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3522
2603f7ee
AB
35232012-09-21 Andrew Burgess <aburgess@broadcom.com>
3524
3525 * gdb.dwarf2/dw2-op-out-param.S: New file.
3526 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3527
a3569abd
YQ
35282012-09-21 Yao Qi <yao@codesourcery.com>
3529
3530 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3531
a065d7af
YQ
35322012-09-21 Yao Qi <yao@codesourcery.com>
3533
3534 * gdb.mi/mi-cli.exp: Remove.
3535 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3536
15544bd9
YQ
35372012-09-21 Yao Qi <yao@codesourcery.com>
3538
3539 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3540 "=record-started" notification.
3541
82a90ccf
YQ
35422012-09-21 Yao Qi <yao@codesourcery.com>
3543
3544 * gdb.mi/mi-record-changed.exp: New.
3545 * gdb.mi/mi-reverse.exp: Adjust expected output.
3546
d7de8e3c
TT
35472012-09-20 Tom Tromey <tromey@redhat.com>
3548
3549 * gdb.python/python.exp: Test atexit.register.
3550
1aa99537
DE
35512012-09-20 Doug Evans <dje@google.com>
3552
05eade73
DE
3553 * boards/dwarf4-gdb-index.exp: New file.
3554
1aa99537
DE
3555 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3556 while running the tests.
3557
4ae24af0
JB
35582012-09-18 Joel Brobecker <brobecker@adacore.com>
3559
3560 * gdb.ada/bp_reset: New testcase.
3561
bb25a15c
YQ
35622012-09-18 Yao Qi <yao@codesourcery.com>
3563
3564 * gdb.trace/mi-tsv-changed.exp: New.
3565
201b4506
YQ
35662012-09-18 Yao Qi <yao@codesourcery.com>
3567
3568 * gdb.trace/mi-traceframe-changed.exp: New.
3569
6fc1c773
YQ
35702012-09-17 Yao Qi <yao@codesourcery.com>
3571
3572 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3573 when it is less than 0.
3574
1ab3b62c
JK
35752012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3576
3577 PR 14119
3578 * gdb.arch/amd64-tailcall-ret.S: New file.
3579 * gdb.arch/amd64-tailcall-ret.c: New file.
3580 * gdb.arch/amd64-tailcall-ret.exp: New file.
3581 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3582 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3583 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3584
acf9414f
JK
35852012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3586
3587 PR 14548
3588 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3589 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3590 * gdb.reverse/singlejmp-reverse.S: New file.
3591 * gdb.reverse/singlejmp-reverse.c: New file.
3592 * gdb.reverse/singlejmp-reverse.exp: New file.
3593
666b578b
JK
35942012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 Fix compatibility with old GCC (~4.1).
3597 * gdb.cp/converts.cc (my_enum_var): New variable.
3598
42056501
AB
35992012-09-14 Andrew Burgess <aburgess@broadcom.com>
3600
3601 * gdb.xml/tdesc-regs.exp: Update expected output for new
3602 vector_size syntax of vector types.
3603
b9516fa1
YPK
36042012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3605
3606 Refactor Python "gdb" module into a proper Python package, by
3607 introducing a new "_gdb" module for code implemented in C, and
3608 using reload/__import__ instead of exec.
3609 * gdb.python/python.exp (Test stderr location): Update module
3610 location of GDB-specific sys.stderr.
3611 (Test stdout location): Ditto for sys.stdout.
3612
18dc9ad8
JK
36132012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3616
ea3a9873
KS
36172012-09-12 Keith Seitz <keiths@redhat.com>
3618
3619 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3620 conversion statement.
3621
5941debb
DE
36222012-09-12 Doug Evans <dje@google.com>
3623
3624 * gdb.base/help.exp: Remove testing of individual command help text,
3625 too much of a maintenance burden. Instead, test the functionality
3626 of "help" itself.
3627
cfc35e02
DE
36282012-09-11 Doug Evans <dje@google.com>
3629
3a0ed5d7
DE
3630 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3631 breakpoint.
3632
cfc35e02
DE
3633 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3634 * gdb.dwarf2/fission-reread.S: Ditto.
3635 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3636 * gdb.dwarf2/fission-reread.exp: Ditto.
3637
350b1b26
AB
36382012-09-11 Andrew Burgess <aburgess@broadcom.com>
3639
3640 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3641
2fa15f23
JB
36422012-09-10 Joel Brobecker <brobecker@adacore.com>
3643
3644 * gdb.ada/optim_drec: New testcase.
3645
09be558e
DE
36462012-09-10 Doug Evans <dje@google.com>
3647
3648 * boards/fission.exp: Explicitly mark "board" as not remote.
3649
5b4f6e25
KS
36502012-09-10 Keith Seitz <keiths@redhat.com>
3651
3652 PR gdb/13483
3653 * gdb.cp/converts.cc (A::A): Add ctor.
3654 (A::member_): Add member.
3655 (enum my_enum): New enumeration.
3656 (main): Add calls to foo1_7 with various
3657 permitted arguments.
3658 * gdb.cp/converts.exp: Add tests for boolean
3659 conversions permitted by the standard.
3660
b4ca5ed9
YPK
36612012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3662
3663 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3664 avoid spurious results due to ~/.gdbinit.
3665 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3666 $INTERNAL_GDBFLAGS in run command.
3667 * gdb.gdb/observer.exp (setup_test): Ditto.
3668 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3669 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3670
d54b30bb
DE
36712012-09-06 Doug Evans <dje@google.com>
3672
14910956
DE
3673 * boards/fission.exp: New file.
3674
d54b30bb
DE
3675 * gdb.python/py-value.exp: Use clean_restart.
3676
91b253e1
DE
36772012-09-05 Doug Evans <dje@google.com>
3678
3679 * gdb.base/info-macros.c: Fix whitespace.
3680
1292279a
PA
36812012-08-28 Pedro Alves <palves@redhat.com>
3682
3683 PR gdb/14428
3684
3685 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3686
1c8cdcb1
JK
36872012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3688
3689 * gdb.base/break-caller-line.c: New file.
3690 * gdb.base/break-caller-line.exp: New file.
3691
1e8e8b51
JK
36922012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3693
3694 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3695 * gdb.arch/i386-cfi-notcurrent.S: New file.
3696 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3697
1591a1e8
PA
36982012-08-27 Wei-cheng Wang <cole945@gmail.com>
3699 Yao Qi <yao@codesourcery.com>
3700 Pedro Alves <palves@redhat.com>
3701
3702 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3703 New procedures.
3704 (top level): Add overlap checking tests.
3705
4442ada7
TT
37062012-08-24 Tom Tromey <tromey@redhat.com>
3707
3708 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3709 gdb_test_multiple fails for other reasons.
3710
e7d50cc9
YQ
37112012-08-24 Yao Qi <yao@codesourcery.com>
3712
3713 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3714
dfbd5e7b
PA
37152012-08-23 Pedro Alves <palves@redhat.com>
3716
3717 * gdb.base/help.exp: Adjust to "handle" help text change.
3718
8d735b87
YQ
37192012-08-23 Yao Qi <yao@codesourcery.com>
3720
3721 * gdb.trace/disconnected-tracing.c (start, end): New.
3722 (main): Call start and end.
3723 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3724 existing tests into this proc.
3725 (disconnected_tfind): New.
3726
61b1d759
YQ
37272012-08-23 Yao Qi <yao@codesourcery.com>
3728
3729 * boards/native-gdbserver.exp (${board}_upload): New.
3730 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3731 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3732 Execute tfile on remote target.
3733 Copy trace file from target to host.
3734
6ca1b147
JM
37352012-08-22 Joseph Myers <joseph@codesourcery.com>
3736
3737 * gdb.arch/thumb-bx-pc.S: New file.
3738 * gdb.arch/thumb-bx-pc.exp: New file.
3739
706e3705
TT
37402012-08-22 Tom Tromey <tromey@redhat.com>
3741
3742 * gdb.base/maint.exp: Update.
3743
b4893d48
TT
37442012-08-22 Tom Tromey <tromey@redhat.com>
3745
3746 * lib/gdb.exp (skip_unwinder_tests): New proc.
3747 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3748 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3749
45b7da81
TT
37502012-08-21 Tom Tromey <tromey@redhat.com>
3751
3752 * gdb.hp/gdb.aCC/exception.exp: Remove.
3753
f94363d7
AP
3754012-08-19 Andrew Pinski <apinski@cavium.com>
3755
3756 * gdb.arch/mips-octeon-bbit.c: New file.
3757 * gdb.arch/mips-octeon-bbit.exp: New Test.
3758
e5afdbd7
KS
3759012-08-19 Keith Seitz <keiths@redhat.com>
3760
3761 PR c++/14365
3762 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3763 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3764
c29e8b64
JK
37652012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3768 verbose -log by more specific untested call.
3769
15a7e7bc
YQ
37702012-08-18 Yao Qi <yao@codesourcery.com>
3771
3772 * gdb.trace/tfind.exp: Move tests on various command help before
3773 checking target supports trace.
3774 Fix the expected output of 'help tfind end'.
3775
a451cb65
KS
37762012-08-17 Keith Seitz <keiths@redhat.com>
3777
3778 PR c++/13356
3779 * gdb.base/default.exp: Update all "check type" tests.
3780 * gdb.base/help.exp: Likewise.
3781 * gdb.base/setshow.exp: Likewise.
3782 * gdb.cp/converts.cc (foo1_type_check): New function.
3783 (foo2_type_check): New function.
3784 (foo3_type_check): New function.
3785 (main): Call new functions.
3786 * converts.exp: Add tests for integer-to-pointer conversions
3787 with/without strict type-checking.
3788
dbf6a605
MF
37892012-08-16 Mike Frysinger <vapier@gentoo.org>
3790
3791 * gdb.base/help.exp: Update expected output.
3792
0c92d8c1
JB
37932012-08-16 Joel Brobecker <brobecker@adacore.com>
3794
3795 * gdb.ada/rdv_wait: New testcase.
3796
e56f7f42
JK
37972012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3798
3799 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3800
f47f77df
DE
38012012-08-13 Doug Evans <dje@google.com>
3802
e202d6e8 3803 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3804 * gdb.base/default.exp: Update expected output of "show convenience".
3805
a72c3253
DE
38062012-08-10 Doug Evans <dje@google.com>
3807
3808 * gdb.python/py-strfns.c: New file.
3809 * gdb.python/py-strfns.exp: New file.
3810 * gdb.python/py-type.exp (test_fields): Add vector tests.
3811
de0bea00
MF
38122012-08-10 Mike Frysinger <vapier@gentoo.org>
3813
3814 PR cli/10436:
3815 * gdb.base/completion.exp: Add tests for handle completion.
3816
5b9afe8a
YQ
38172012-08-09 Yao Qi <yao@codesourcery.com>
3818
3819 * gdb.mi/mi-cmd-param-changed.exp: New.
3820 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3821 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3822 * gdb.mi/mi2-prompt.exp: Likewise.
3823
4f485ebc
DE
38242012-08-08 Doug Evans <dje@google.com>
3825
3826 * gdb.base/debug-expr.c: New file.
3827 * gdb.base/debug-expr.exp: New file.
3828 * gdb.base/exprs.exp: Test {type} casts.
3829 * gdb.cp/debug-expr.exp: New file.
3830
5888842d
JK
38312012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3834 global variable loop, not a 'break'. Add loop count limit to 100.
3835 Add new fail case for terminated vgdb.
3836
4f69f4c2
JK
38372012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3838 Jean-Marc Saffroy <saffroy@gmail.com>
3839
3840 PR 11804
3841 * gdb.base/gcore-relro.exp: New file.
3842 * gdb.base/gcore-relro-main.c: New file.
3843 * gdb.base/gcore-relro-lib.c: New file.
3844
e2de5390
JK
38452012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3846
3847 Do not false FAIL with old GCCs.
3848 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3849 GCC < 4.5 in $no_hw mode.
3850
606603c5
JK
38512012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3852
3853 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3854
777f26c2
JK
38552012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3856
3857 * gdb.base/list.exp (test_only_end): New function.
3858 Call it.
3859
2c12abee
TT
38602012-08-06 Tom Tromey <tromey@redhat.com>
3861
3862 * gdb.python/py-mi.exp: Add test for printer whose children
3863 are a list.
3864 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3865 (main): New variable children_as_list.
3866 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3867 New.
3868 (register_pretty_printers): Register new printer.
3869
0eae2cf4
EBM
38702012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3871
3872 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3873 symbols. Abort if vgdb remote connection is closed.
3874
09e0881d
DE
38752012-08-02 Doug Evans <dje@google.com>
3876
3877 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3878
b40f514f
SDJ
38792012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3880
3881 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3882 s390x, PowerPC 64 and m68k-linux.
3883
11315ae0
UW
38842012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3885
3886 * gdb.base/annota1.exp: Accept no frames-invalid notification
3887 when starting up the program.
3888 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3889 show a symbolic value as well.
3890 * gdb.server/server-exec-info.exp: Skip test when skipping
3891 gdbserver test and/or when skipping shared library tests.
3892 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3893 avoid name conflicts with other tests.
3894
0547eeed
UW
38952012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3896
3897 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3898 Fix wrong output on big-endian systems.
3899 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3900 4-byte pointer types on 64-bit s390x.
3901
bdddb4de
UW
39022012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3903
3904 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3905 marker comment at the beginning (after intialization).
3906 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3907 breakpoint on marker comment instead of function begin.
3908 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3909 PowerPC.
3910 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3911 or 64-bit PowerPC.
3912 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3913 gdb,no_hardware_watchpoints flag is set.
3914 (initialize): Remove now redundant can-use-hw-watchpoints change.
3915
5d206025
YQ
39162012-08-02 Yao Qi <yao@codesourcery.com>
3917 Pedro Alves <palves@redhat.com>
3918
3919 * boards/local-remote-host.exp: New.
3920
4f665099
UW
39212012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3922
3923 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3924 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3925 * gdb.base/print-file-var.exp: Likewise.
3926 * gdb.server/solib-list.exp: Skip on remote targets.
3927
b62e2b27
UW
39282012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3929
3930 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3931 watchpoints on ARM. When expecting software watchpoints, tolerate
3932 (remote) targets that report unsupported hardware watchpoint only
3933 at continue time.
3934 (test_wide_location_2): Likewise.
3935
a967a851
JK
39362012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3937
3938 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3939 valgrind versions.
3940
75d9f9ff 39412012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3942
3943 * gdb.base/valgrind-infcall.c: New file.
3944 * gdb.base/valgrind-infcall.exp: New file.
3945
75d9f9ff
JK
3946 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3947
1c9f2ed2
KS
39482012-07-30 Keith Seitz <keiths@redhat.com>
3949
3950 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3951 linespecs.
3952
7f9b2034
DE
39532012-07-30 Doug Evans <dje@google.com>
3954
85220e01
DE
3955 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3956 * gdb.dwarf2/pr13961.S: Ditto.
3957
7f9b2034
DE
3958 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3959
4e969b4f
AB
39602012-07-30 Andrew Burgess <aburgess@broadcom.com>
3961
3962 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3963 change its format immediately after reloading the binary.
3964
e7de8362
JK
39652012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3966
3967 Fix testsuite regression after --use-deprecated-index-sections removal.
3968 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3969 string.
3970 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3971
7255706c
YQ
39722012-07-27 Yao Qi <yao@codesourcery.com>
3973
3974 KFAIL for PR remote/14161.
3975 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3976 Cleanup socket files.
3977 (strace_info_marker): Detach inferior.
3978
f2e8016f
TT
39792012-07-26 Tom Tromey <tromey@redhat.com>
3980
6fdff2c5 3981 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3982
f66713d2
JK
39832012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3984
3985 * gdb.python/py-inferior.c (thread): New function.
3986 (check_threads): New function.
3987 (test_threads): New function.
3988 * gdb.python/py-inferior.exp: Added test.
3989 Replaced runto with continue to breakpoint.
3990
8223e12c
TT
39912012-07-26 Tom Tromey <tromey@redhat.com>
3992
3993 * lib/ada.exp (standard_ada_testfile): New proc.
3994 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3995 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3996 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3997 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3998 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3999 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4000 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4001 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4002 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4003 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4004 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4005 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4006 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4007 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4008 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4009 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4010 * gdb.ada/complete.exp: Use standard_ada_testfile.
4011 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4012 standard_output_file.
4013 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4014 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4015 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4016 standard_output_file.
4017 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4018 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4019 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4020 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4021 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4022 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4023 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4024 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4025 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4026 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4027 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4028 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4029 * gdb.ada/interface.exp: Use standard_ada_testfile.
4030 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4031 standard_output_file
4032 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4033 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4034 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4035 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4036 * gdb.ada/nested.exp: Use standard_ada_testfile.
4037 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4038 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4039 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4040 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4041 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4042 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4043 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4044 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4045 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4046 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4047 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4048 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4049 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4050 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4051 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4052 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4053 * gdb.ada/start.exp: Use standard_ada_testfile.
4054 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4055 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4056 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4057 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4058 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4059 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4060 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4061 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4062 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4063 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4064 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4065 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4066 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4067 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4068
bbec57e4
JK
40692012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4070
4071 Fix testsuite regression after --use-deprecated-index-sections removal.
4072 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4073
9cc8e32c
JK
40742012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4075
4076 Fix compatibility with Tcl before 7.5.
4077 * lib/future.exp (lreverse): New function if it does not exist.
4078
ea5ca7b5
MK
40792012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4080
4081 * gdb.mi/mi-pending.c: New method to set a second pending
4082 breakpoint.
4083 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4084 condition.
4085
64776a0b
PA
40862012-07-20 Pedro Alves <palves@redhat.com>
4087
4088 PR threads/11692
4089 PR gdb/12203
4090
4091 * gdb.threads/create-fail.c: New file.
4092 * gdb.threads/create-fail.exp: New file.
4093
13e4e967
PA
40942012-07-19 Pedro Alves <palves@redhat.com>
4095
4096 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4097 * config/vx.exp (gdb_start): Likewise.
4098 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4099 * gdb.base/setvar.exp (test_set): Likewise.
4100 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4101 * gdb.reverse/sigall-precsave.exp: Likewise.
4102 * gdb.reverse/sigall-reverse.exp: Likewise.
4103
b7aefa4d
PA
41042012-07-19 Pedro Alves <palves@redhat.com>
4105
4106 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4107 handler before recording.
4108
608b4967
TT
41092012-07-19 Tom Tromey <tromey@redhat.com>
4110
4111 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4112 * gdb.cp/casts.cc (decltype): New function.
4113 (main): Use it.
4114
b1e0c0fa
PA
41152012-07-19 Pedro Alves <palves@redhat.com>
4116
4117 * gdb.base/sigall.exp (signals): New list.
4118 <top level>: Loop over signals in the $signals list instead of
4119 calling a test function once per signal.
4120 * gdb.reverse/sigall-precsave.exp (signals): New list.
4121 <top level>: Loop over signals in the $signals list instead of
4122 calling a test function once per signal.
4123 * gdb.reverse/sigall-reverse.exp (signals): New list.
4124 <top level>: Loop over signals in the $signals list instead of
4125 calling a test function once per signal.
4126
6ace3df1
YQ
41272012-07-19 Yao Qi <yao@codesourcery.com>
4128
4129 * gdb.base/setshow.exp: Test 'set args ~'.
4130
263a0f8c
JK
41312012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4132
4133 * gdb.base/store.exp (check_set): Import gdb_prompt.
4134 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4135 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4136
8f043999
JK
41372012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4138
4139 PR 11914
4140 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4141 (main): Call eval_sub.
4142 * gdb.python/py-prettyprint.exp:
4143 (python execfile ('py-prettyprint.py')): Move it earlier.
4144 New breakpoint for eval-break.
4145 (continue to breakpoint: eval-break, info locals): New test.
4146 (python execfile ('py-prettyprint.py')): Move it from here.
4147 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4148 (register_pretty_printers): Register pp_eval_type.
4149
725c7b66
JK
41502012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4151
4152 Fix a testcase regression by me.
4153 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4154 DW_FORM_data4.
4155
4359dff1
JK
41562012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4157 Doug Evans <dje@google.com>
4158
4159 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4160 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4161
61e44cfa
JK
41622012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 Fix gdbserver run regression.
4165 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4166
93c0ef37
TT
41672012-07-12 Tom Tromey <tromey@redhat.com>
4168
4169 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4170 (clean_restart): Likewise.
4171 (core_find): Use standard_output_file.
4172
76027ef5
TT
41732012-07-12 Tom Tromey <tromey@redhat.com>
4174
4175 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4176 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4177 prepare_for_testing_full.
4178 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4179 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4180 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4181 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4182 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4183 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4184 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4185 prepare_for_testing_full.
4186 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4187 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4188 prepare_for_testing_full.
4189 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4190 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4191 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4192
85b4440a
TT
41932012-07-12 Tom Tromey <tromey@redhat.com>
4194
4195 * lib/gdb.exp (build_executable_from_specs): New proc, from
4196 build_executable.
4197 (build_executable): Use it.
4198 (prepare_for_testing_full): New proc.
4199
55baab26
TT
42002012-07-11 Tom Tromey <tromey@redhat.com>
4201
4202 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4203 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4204 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4205 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4206 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4207 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4208 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4209 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4210 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4211 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4212
298a9cf0
TT
42132012-07-10 Tom Tromey <tromey@redhat.com>
4214
4215 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4216 standard_output_file.
4217 * gdb.mi/gdb2549.exp: Use standard_testfile.
4218 * gdb.mi/gdb669.exp: Use standard_testfile.
4219 * gdb.mi/gdb701.exp: Use standard_testfile.
4220 * gdb.mi/gdb792.exp: Use standard_testfile.
4221 * gdb.mi/mi-async.exp: Use standard_testfile.
4222 * gdb.mi/mi-basics.exp: Use standard_testfile.
4223 * gdb.mi/mi-break.exp: Use standard_testfile.
4224 * gdb.mi/mi-cli.exp: Use standard_testfile.
4225 * gdb.mi/mi-console.exp: Use standard_testfile.
4226 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4227 * gdb.mi/mi-eval.exp: Use standard_testfile.
4228 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4229 * gdb.mi/mi-file.exp: Use standard_testfile.
4230 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4231 * gdb.mi/mi-logging.exp: Use standard_testfile.
4232 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4233 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4234 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4235 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4236 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4237 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4238 * gdb.mi/mi-pending.exp: Use standard_testfile,
4239 standard_output_file.
4240 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4241 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4242 * gdb.mi/mi-regs.exp: Use standard_testfile.
4243 * gdb.mi/mi-return.exp: Use standard_testfile.
4244 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4245 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4246 * gdb.mi/mi-solib.exp: Use standard_testfile,
4247 standard_output_file.
4248 * gdb.mi/mi-stack.exp: Use standard_testfile.
4249 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4250 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4251 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4252 * gdb.mi/mi-until.exp: Use standard_testfile.
4253 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4254 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4255 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4256 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4257 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4258 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4259 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4260 standard_output_file.
4261 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4262 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4263 * gdb.mi/mi-watch.exp: Use standard_testfile.
4264 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4265 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4266 * gdb.mi/mi2-break.exp: Use standard_testfile.
4267 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4268 * gdb.mi/mi2-console.exp: Use standard_testfile.
4269 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4270 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4271 * gdb.mi/mi2-file.exp: Use standard_testfile.
4272 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4273 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4274 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4275 * gdb.mi/mi2-return.exp: Use standard_testfile.
4276 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4277 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4278 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4279 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4280 * gdb.mi/mi2-until.exp: Use standard_testfile.
4281 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4282 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4283 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4284 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4285 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4286
f5f3a911
TT
42872012-07-10 Tom Tromey <tromey@redhat.com>
4288
4289 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4290 * gdb.cp/ambiguous.exp: Use standard_testfile,
4291 prepare_for_testing.
4292 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4293 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4294 * gdb.cp/anon-ns.exp: Use standard_testfile.
4295 * gdb.cp/anon-struct.exp: Use standard_testfile.
4296 * gdb.cp/anon-union.exp: Use standard_testfile,
4297 prepare_for_testing.
4298 * gdb.cp/arg-reference.exp: Use standard_testfile,
4299 prepare_for_testing.
4300 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4301 * gdb.cp/breakpoint.exp: Use standard_testfile,
4302 prepare_for_testing.
4303 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4304 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4305 standard_output_file.
4306 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4307 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4308 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4309 (test_static_members): Update.
4310 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4311 * gdb.cp/converts.exp: Use standard_testfile.
4312 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4313 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4314 prepare_for_testing.
4315 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4316 * gdb.cp/cplabel.exp: Use standard_testfile.
4317 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4318 prepare_for_testing.
4319 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4320 * gdb.cp/derivation.exp: Use standard_testfile,
4321 prepare_for_testing.
4322 * gdb.cp/destrprint.exp: Use standard_testfile.
4323 * gdb.cp/dispcxx.exp: Use standard_testfile.
4324 * gdb.cp/exception.exp: Use standard_testfile,
4325 prepare_for_testing.
4326 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4327 * gdb.cp/extern-c.exp: Use standard_testfile,
4328 prepare_for_testing.
4329 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4330 prepare_for_testing.
4331 * gdb.cp/fpointer.exp: Use standard_testfile.
4332 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4333 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4334 standard_output_file.
4335 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4336 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4337 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4338 standard_output_file.
4339 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4340 (do_tests): Update.
4341 * gdb.cp/koenig.exp: Use standard_testfile.
4342 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4343 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4344 * gdb.cp/m-static.exp: Use standard_testfile,
4345 prepare_for_testing.
4346 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4347 * gdb.cp/mb-inline.exp: Use standard_testfile,
4348 prepare_for_testing.
4349 * gdb.cp/mb-templates.exp: Use standard_testfile,
4350 prepare_for_testing.
4351 * gdb.cp/member-ptr.exp: Use standard_testfile,
4352 prepare_for_testing.
4353 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4354 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4355 * gdb.cp/method2.exp: Use standard_testfile.
4356 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4357 standard_output_file.
4358 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4359 (do_tests): Update.
4360 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4361 prepare_for_testing.
4362 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4363 prepare_for_testing.
4364 * gdb.cp/namespace.exp: Use standard_testfile,
4365 prepare_for_testing.
4366 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4367 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4368 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4369 * gdb.cp/nsimport.exp: Use standard_testfile,
4370 prepare_for_testing.
4371 * gdb.cp/nsnested.exp: Use standard_testfile.
4372 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4373 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4374 prepare_for_testing.
4375 * gdb.cp/nsstress.exp: Use standard_testfile,
4376 prepare_for_testing.
4377 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4378 * gdb.cp/operator.exp: Use standard_testfile.
4379 * gdb.cp/oranking.exp: Use standard_testfile.
4380 * gdb.cp/overload-const.exp: Use standard_testfile.
4381 * gdb.cp/overload.exp: Use standard_testfile,
4382 prepare_for_testing.
4383 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4384 * gdb.cp/ovsrch.exp: Use standard_testfile.
4385 * gdb.cp/paren-type.exp: Use standard_testfile.
4386 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4387 prepare_for_testing.
4388 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4389 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4390 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4391 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4392 * gdb.cp/pr10728.exp: Use standard_testfile,
4393 standard_output_file.
4394 * gdb.cp/pr12028.exp: Use standard_testfile.
4395 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4396 * gdb.cp/pr9167.exp: Use standard_testfile.
4397 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4398 * gdb.cp/printmethod.exp: Use standard_testfile,
4399 prepare_for_testing.
4400 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4401 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4402 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4403 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4404 standard_output_file.
4405 * gdb.cp/readnow-language.exp: Use standard_testfile.
4406 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4407 (gdb_start_again): Use clean_restart.
4408 * gdb.cp/ref-types.exp: Use standard_testfile,
4409 prepare_for_testing.
4410 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4411 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4412 * gdb.cp/smartp.exp: Use standard_testfile.
4413 * gdb.cp/static-method.exp: Use standard_testfile.
4414 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4415 * gdb.cp/temargs.exp: Use standard_testfile.
4416 * gdb.cp/templates.exp: Use standard_testfile,
4417 prepare_for_testing.
4418 (do_tests): Update.
4419 * gdb.cp/try_catch.exp: Use standard_testfile,
4420 prepare_for_testing.
4421 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4422 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4423 * gdb.cp/virtbase.exp: Use standard_testfile,
4424 prepare_for_testing.
4425 * gdb.cp/virtfunc.exp: Use standard_testfile,
4426 prepare_for_testing.
4427 (do_tests): Update.
4428 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4429 prepare_for_testing.
4430
686f09d0
TT
44312012-07-10 Tom Tromey <tromey@redhat.com>
4432
4433 * lib/gdb.exp (standard_testfile): Unset output variables from
4434 earlier invocations.
4435
9357e021
YQ
44362012-07-10 Yao Qi <yao@codesourcery.com>
4437
4438 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4439 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4440 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4441 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4442 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4443 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4444 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4445 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4446 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4447 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4448 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4449 * gdb.mi/mi-var-display.exp: Likewise.
4450 * gdb.mi/mi-var-invalidate.exp: Likewise.
4451 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4452 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4453 * gdb.mi/mi2-console.exp: Likewise.
4454 * gdb.mi/mi2-disassemble.exp: Likewise.
4455 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4456 * gdb.mi/mi2-read-memory.exp: Likewise.
4457 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4458 * gdb.mi/mi2-simplerun.exp: Likewise.
4459 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4460 * gdb.mi/mi2-syn-frame.exp: Likewise.
4461 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4462 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4463 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4464
e314d629
TT
44652012-07-09 Tom Tromey <tromey@redhat.com>
4466
4467 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4468 * gdb.base/callfuncs.exp: Add cast-based test.
4469 * gdb.base/callfuncs.c (voidfunc): New function.
4470
06928b3f
DE
44712012-07-08 Doug Evans <dje@google.com>
4472
4473 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4474
32f11bad
JK
44752012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 Fix XFAIL compatibility with old i386 systems.
4478 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4479 Check also 'Cannot insert breakpoint 0'.
4480
76b83c51
JK
44812012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 PR 14321
4484 * gdb.base/find.exp
4485 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4486
a6fb9c08
TT
44872012-07-06 Tom Tromey <tromey@redhat.com>
4488
4489 * gdb.base/whatis.exp: Add test.
4490
71918a86
TT
44912012-07-06 Tom Tromey <tromey@redhat.com>
4492
4493 * gdb.base/whatis.exp: Add regression test.
4494
fcde5961
TT
44952012-07-06 Tom Tromey <tromey@redhat.com>
4496
4497 * gdb.base/whatis.exp: Add tests.
4498
f9cf0f4a
JK
44992012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4500
4501 PR 12649
4502 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4503 gdb_test_multiple $gdb_prompt terminator.
4504
979ade8b
PA
45052012-07-04 Pedro Alves <palves@redhat.com>
4506
4507 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4508 supports_process_record.
4509
8a980b44
PA
45102012-07-04 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4513 endings.
4514 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4515
855ba978
SS
45162012-07-03 Stan Shebs <stan@codesourcery.com>
4517
4518 * gdb.base/info-os.c (main): Retry resource acquisition until an
4519 available one is found.
4520 * gdb.base/info-os.exp: Collect resource keys from the program
4521 and use them in matching.
4522
fcb44371
JK
45232012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4526 Wrap the test into loop for corefile and core0file.
4527
08a67be6
JK
45282012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4529
4530 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4531 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4532 .note.GNU-stack.
4533
0f3c2347
JK
4534 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4535
ff4a4500
SDJ
45362012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4539 break): Include help message for the new `-probe' and `-probe-stap'
4540 options.
4541
d3ce09f5
SS
45422012-07-02 Stan Shebs <stan@codesourcery.com>
4543
4544 * gdb.base/dprintf.exp: Add agent style tests.
4545
a1624241
JK
45462012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * gdb.base/stale-infcall.c (infcall): New label test-next.
4549 (main): New labels test-pass and test-fail.
4550 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4551 $test_fail_bpnum to test-fail.
4552 (test system longjmp tracking support): New test.
4553 Delete $test_fail_bpnum.
4554 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4555 breakpoint.
4556
42e7ad6c
DE
45572012-06-30 Doug Evans <dje@google.com>
4558
4559 * gdb.dwarf2/fission-reread.S: New file.
4560 * gdb.dwarf2/fission-reread.exp: New file.
4561
37ce89eb
SS
45622012-06-28 Stan Shebs <stan@codesourcery.com>
4563
4564 * gdb.mi/mi-logging.exp: New file.
4565
e5ef252a
PA
45662012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4567 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.threads/siginfo-threads.exp: New file.
4570 * gdb.threads/siginfo-threads.c: New file.
4571 * gdb.threads/sigstep-threads.exp: New file.
4572 * gdb.threads/sigstep-threads.c: New file.
4573
22f1fbae
TT
45742012-06-28 Tom Tromey <tromey@redhat.com>
4575
4576 * gdb.go/package.exp: Partially revert earlier patch; use
4577 gdb_compile again. Use standard_output_file.
4578
2e3cf129
DE
45792012-06-27 Doug Evans <dje@google.com>
4580
4581 * gdb.dwarf2/fission-base.c: New file.
4582 * gdb.dwarf2/fission-base.S: New file.
4583 * gdb.dwarf2/fission-base.exp: New file.
4584
785fd303
JK
45852012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4586
4587 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4588
1bb9788d
TT
45892012-06-27 Tom Tromey <tromey@redhat.com>
4590
4591 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4592 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4593
c83ee902
TT
45942012-06-27 Tom Tromey <tromey@redhat.com>
4595
4596 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4597 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4598 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4599 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4600 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4601 prepare_for_testing.
4602 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4603 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4604 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4605 standard_testfile.
4606 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4607 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4608 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4609 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4610 prepare_for_testing.
4611 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4612 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4613 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4614 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4615 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4616 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4617 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4618 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4619 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4620 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4621 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4622 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4623 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4624 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4625 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4626 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4627 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4628 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4629 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4630 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4631 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4632 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4633 standard_output_file.
4634 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4635 standard_output_file.
4636 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4637 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4638 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4639 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4640 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4641 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4642 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4643 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4644 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4645 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4646 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4647 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4648 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4649 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4650 * gdb.dwarf2/valop.exp: Use standard_testfile,
4651 prepare_for_testing.
4652
5204774b
TT
46532012-06-27 Tom Tromey <tromey@redhat.com>
4654
4655 * gdb.python/python.exp: Fix regexps in pagination tests.
4656
ee0bf529
SCR
46572012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4658
4659 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4660 'last' of gdb.Symtab_and_line.
4661 * gdb.python/py-symbol.c: Move break point comment to enable
4662 testing of gdb.Symtab_and_line.last.
4663
14fcc022
TT
46642012-06-26 Tom Tromey <tromey@redhat.com>
4665
4666 * gdb.threads/step.c: Remove.
4667 * gdb.threads/step.exp: Remove.
4668 * gdb.threads/step2.exp: Remove.
4669
0efbbabc
TT
46702012-06-26 Tom Tromey <tromey@redhat.com>
4671
4672 * gdb.threads/watchpoint-fork.exp (test): Use
4673 standard_output_file. Don't declare objdir.
4674 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4675 standard_output_file.
4676 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4677 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4678 clean_restart. Remove incdir.
4679 * gdb.threads/corethreads.exp: Use standard_testfile.
4680 * gdb.threads/execl.exp: Use standard_testfile,
4681 standard_output_file, clean_restart.
4682 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4683 clean_restart.
4684 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4685 clean_restart.
4686 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4687 incdir.
4688 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4689 clean_restart. Remove incdir.
4690 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4691 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4692 clean_restart. Remove incdir.
4693 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4694 Remove incdir.
4695 * gdb.threads/leader-exit.exp: Use standard_testfile.
4696 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4697 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4698 clean_restart.
4699 * gdb.threads/manythreads.exp: Use standard_testfile,
4700 clean_restart. Remove incdir.
4701 * gdb.threads/multi-create.exp: Use standard_testfile,
4702 clean_restart.
4703 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4704 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4705 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4706 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4707 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4708 * gdb.threads/pending-step.exp: Use standard_testfile,
4709 clean_restart. Remove incdir.
4710 * gdb.threads/print-threads.exp: Use standard_testfile,
4711 clean_restart. Remove incdir.
4712 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4713 clean_restart. Remove incdir.
4714 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4715 Remove incdir.
4716 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4717 incdir.
4718 * gdb.threads/sigthread.exp: Use standard_testfile,
4719 clean_restart.
4720 * gdb.threads/staticthreads.exp: Use standard_testfile,
4721 clean_restart. Remove incdir.
4722 * gdb.threads/switch-threads.exp: Use standard_testfile,
4723 clean_restart. Remove incdir.
4724 * gdb.threads/thread-execl.exp: Use standard_testfile,
4725 clean_restart. Remove incdir.
4726 * gdb.threads/thread-find.exp: Use standard_testfile,
4727 clean_restart.
4728 * gdb.threads/thread-specific.exp: Use standard_testfile,
4729 clean_restart. Remove incdir.
4730 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4731 clean_restart. Remove incdir.
4732 * gdb.threads/thread_check.exp: Use standard_testfile,
4733 clean_restart. Remove incdir.
4734 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4735 incdir.
4736 * gdb.threads/threadapply.exp: Use standard_testfile,
4737 clean_restart. Remove incdir.
4738 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4739 clean_restart. Remove incdir.
4740 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4741 clean_restart.
4742 * gdb.threads/tls-shared.exp: Use standard_testfile,
4743 clean_restart, standard_output_file.
4744 * gdb.threads/tls-var.exp: Use standard_testfile,
4745 standard_output_file.
4746 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4747 Remove incdir.
4748 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4749 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4750 incdir.
4751 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4752 clean_restart. Remove incdir.
4753
497a5eb0
TT
47542012-06-26 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.trace/actions.exp: Use standard_testfile.
4757 * gdb.trace/ax.exp: Use standard_testfile.
4758 * gdb.trace/backtrace.exp: Use standard_testfile.
4759 * gdb.trace/change-loc.exp: Use standard_testfile.
4760 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4761 * gdb.trace/collection.exp: Use standard_testfile,
4762 prepare_for_testing.
4763 * gdb.trace/deltrace.exp: Use standard_testfile.
4764 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4765 * gdb.trace/ftrace.exp: Use standard_testfile.
4766 * gdb.trace/infotrace.exp: Use standard_testfile.
4767 * gdb.trace/packetlen.exp: Use standard_testfile.
4768 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4769 * gdb.trace/passcount.exp: Use standard_testfile.
4770 * gdb.trace/pending.exp: Use standard_testfile.
4771 * gdb.trace/report.exp: Use standard_testfile.
4772 * gdb.trace/save-trace.exp: Use standard_testfile.
4773 * gdb.trace/stap-trace.exp: Use standard_testfile.
4774 * gdb.trace/status-stop.exp: Use standard_testfile.
4775 * gdb.trace/strace.exp: Use standard_testfile.
4776 * gdb.trace/tfile.exp: Use standard_testfile.
4777 * gdb.trace/tfind.exp: Use standard_testfile.
4778 * gdb.trace/trace-break.exp: Use standard_testfile.
4779 * gdb.trace/trace-mt.exp: Use standard_testfile.
4780 * gdb.trace/tracecmd.exp: Use standard_testfile.
4781 * gdb.trace/tspeed.exp: Use standard_testfile.
4782 * gdb.trace/tstatus.exp: Use standard_testfile.
4783 * gdb.trace/tsv.exp: Use standard_testfile.
4784 * gdb.trace/unavailable.exp: Use standard_testfile,
4785 prepare_for_testing.
4786 * gdb.trace/while-dyn.exp: Use standard_testfile.
4787 * gdb.trace/while-stepping.exp: Use standard_testfile.
4788
7686c074
TT
47892012-06-26 Tom Tromey <tromey@redhat.com>
4790
4791 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4792 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4793 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4794 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4795 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4796 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4797 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4798 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4799 prepare_for_testing.
4800 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4801 prepare_for_testing.
4802 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4803 prepare_for_testing.
4804 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4805 prepare_for_testing.
4806 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4807 prepare_for_testing
4808 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4809 * gdb.reverse/machinestate.exp: Use standard_testfile.
4810 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4811 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4812 build_executable.
4813 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4814 build_executable.
4815 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4816 standard_output_file.
4817 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4818 standard_output_file.
4819 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4820 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4821 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4822 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4823 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4824 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4825
481fc100
TT
48262012-06-26 Tom Tromey <tromey@redhat.com>
4827
4828 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4829 standard_output_file.
4830 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4831 prepare_for_testing. Remove directory-checking code.
4832
7bb18ae2
TT
48332012-06-25 Tom Tromey <tromey@redhat.com>
4834
4835 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4836 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4837 build_executable, not prepare_for_testing.
4838 * gdb.multi/base.exp: Use standard_output_file. Use
4839 build_executable, not prepare_for_testing.
4840
cf09b3e4
TT
48412012-06-25 Tom Tromey <tromey@redhat.com>
4842
4843 * gdb.fortran/subarray.exp: Use standard_testfile,
4844 prepare_for_testing.
4845 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4846 * gdb.fortran/module.exp: Use standard_testfile.
4847 * gdb.fortran/logical.exp: Use standard_testfile.
4848 * gdb.fortran/library-module.exp: Use standard_testfile,
4849 standard_output_file.
4850 * gdb.fortran/derived-type.exp: Use standard_testfile,
4851 prepare_for_testing.
4852 * gdb.fortran/complex.exp: Use standard_testfile,
4853 prepare_for_testing.
4854 * gdb.fortran/charset.exp: Use standard_testfile.
4855 * gdb.fortran/array-element.exp: Use standard_testfile,
4856 prepare_for_testing.
4857
18b5ff1b
KS
48582012-06-25 Keith Seitz <keiths@redhat.com>
4859
4860 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4861 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4862
17b77626
TT
48632012-06-25 Tom Tromey <tromey@redhat.com>
4864
4865 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4866 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4867 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4868 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4869
f91e3dc1
TT
48702012-06-25 Tom Tromey <tromey@redhat.com>
4871
4872 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4873 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4874 * gdb.linespec/linespec.exp: Use standard_testfile.
4875
a884434d
TT
48762012-06-25 Tom Tromey <tromey@redhat.com>
4877
4878 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4879 prepare_for_testing.
4880
efc9d70a
TT
48812012-06-25 Tom Tromey <tromey@redhat.com>
4882
4883 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4884 prepare_for_testing.
4885 * gdb.opt/inline-break.exp: Use standard_testfile,
4886 prepare_for_testing.
4887 * gdb.opt/inline-bt.exp: Use standard_testfile,
4888 prepare_for_testing.
4889 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4890 prepare_for_testing.
4891 * gdb.opt/inline-locals.exp: Use standard_testfile,
4892 prepare_for_testing.
4893
e2fc92c6
TT
48942012-06-25 Tom Tromey <tromey@redhat.com>
4895
4896 * gdb.asm/asm-source.exp: Use standard_output_file,
4897 standard_testfile. Construct .o files in proper subdir.
4898
b0963d73
TT
48992012-06-25 Tom Tromey <tromey@redhat.com>
4900
4901 * gdb.server/ext-attach.exp: Use standard_testfile,
4902 prepare_for_testing.
4903 * gdb.server/ext-run.exp: Use standard_testfile,
4904 build_executable.
4905 * gdb.server/file-transfer.exp: Use standard_testfile,
4906 prepare_for_testing.
4907 * gdb.server/server-exec-info.exp: Use standard_testfile.
4908 * gdb.server/server-mon.exp: Use standard_testfile,
4909 prepare_for_testing.
4910 * gdb.server/server-run.exp: Use standard_testfile,
4911 build_executable.
4912 * gdb.server/solib-list.exp: Use standard_testfile,
4913 standard_output_file.
4914
8a3e1f8d
TT
49152012-06-25 Tom Tromey <tromey@redhat.com>
4916
4917 * lib/gdb.exp (standard_output_file): Use "file join".
4918 * gdb.go/chan.exp: Use standard_testfile.
4919 * gdb.go/handcall.exp: Use standard_testfile.
4920 * gdb.go/hello.exp: Use standard_testfile.
4921 * gdb.integers/chan.exp: Use standard_testfile.
4922 * gdb.go/methods.exp: Use standard_testfile.
4923 * gdb.go/package.exp: Use standard_testfile.
4924 * gdb.go/strings.exp: Use standard_testfile.
4925 * gdb.go/types.exp: Use standard_testfile.
4926 * gdb.go/unsafe.exp: Use standard_testfile.
4927
944a9061
MGD
49282012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4929
4930 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4931
1c06bd58
JK
49322012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4933
4934 Fix regression by the previous commit.
4935 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4936
b4a58790
TT
49372012-06-22 Tom Tromey <tromey@redhat.com>
4938
4939 * gdb.python/lib-types.exp: Use standard_testfile,
4940 prepare_for_testing.
4941 * gdb.python/py-block.exp: Use standard_testfile.
4942 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4943 * gdb.python/py-events.exp: Use standard_testfile,
4944 standard_output_file.
4945 * gdb.python/py-evsignal.exp: Use standard_testfile.
4946 * gdb.python/py-evethreads.exp: Use standard_testfile.
4947 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4948 * gdb.python/py-explore.exp: Use standard_testfile.
4949 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4950 standard_output_file.
4951 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4952 prepare_for_testing.
4953 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4954 * gdb.python/py-frame.exp: Use standard_testfile.
4955 * gdb.python/py-inferior.exp: Use standard_testfile.
4956 * gdb.python/py-infthread.exp: Use standard_testfile.
4957 * gdb.python/py-mi.exp: Use standard_testfile.
4958 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4959 build_executable.
4960 * gdb.python/py-objfile.exp: Use standard_testfile.
4961 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4962 prepare_for_testing.
4963 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4964 * gdb.python/py-progspace.exp: Use standard_testfile,
4965 build_executable.
4966 * gdb.python/py-prompt.exp: Use standard_testfile,
4967 build_executable.
4968 * gdb.python/py-section-script.exp: Use standard_testfile,
4969 build_executable.
4970 * gdb.python/py-shared.exp: Use standard_testfile,
4971 standard_output_file, clean_restart.
4972 * gdb.python/py-symbol.exp: Use standard_output_file,
4973 prepare_for_testing.
4974 * gdb.python/py-symtab.exp: Use standard_output_file,
4975 prepare_for_testing
4976 * gdb.python/py-template.exp: Use standard_testfile.
4977 * gdb.python/py-type.exp: Use standard_testfile.
4978 * gdb.python/py-value-cc.exp: Use standard_testfile.
4979 * gdb.python/py-value.exp: Use standard_testfile.
4980 * gdb.python/python.exp: Use standard_testfile, build_executable.
4981
2c44deac
TT
49822012-06-22 Tom Tromey <tromey@redhat.com>
4983
4984 * gdb.objc/basicclass.exp: Use standard_testfile.
4985 (do_objc_tests): Don't declare objdir.
4986 * gdb.objc/nondebug.exp: Use standard_testfile.
4987 (do_objc_tests): Don't declare objdir.
4988 * gdb.objc/objcdecode.exp: Use standard_testfile.
4989 (do_objc_tests): Don't declare objdir.
4990
c24ccbce
TT
49912012-06-22 Tom Tromey <tromey@redhat.com>
4992
4993 * gdb.java/jmain.exp: Use standard_testfile.
4994 * gdb.java/jmisc.exp: Use standard_testfile.
4995 * gdb.java/jnpe.exp: Use standard_testfile.
4996 * gdb.java/jprint.exp: Use standard_testfile.
4997
0a6d0306
TT
49982012-06-22 Tom Tromey <tromey@redhat.com>
4999
5000 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5001 (standard_output_file, standard_testfile): New procs.
5002 (build_executable, clean_restart): Use standard_output_file.
5003
6ea815ef
YQ
50042012-06-22 Yao Qi <yao@codesourcery.com>
5005
5006 * boards/native-gdbserver.exp: New proc ${board}_exec.
5007 * boards/native-stdio-gdbserver.exp: Likewise.
5008
4c93b1db
TT
50092012-06-21 Tom Tromey <tromey@redhat.com>
5010
5011 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5012 (build_executable): Update.
5013 (get_compiler_info): Remove 'binfile' argument.
5014 * gdb.ada/arrayidx.exp: Update.
5015 * gdb.ada/null_array.exp: Update.
5016 * gdb.arch/altivec-abi.exp: Update.
5017 * gdb.arch/altivec-regs.exp: Update.
5018 * gdb.arch/amd64-byte.exp: Update.
5019 * gdb.arch/amd64-dword.exp: Update.
5020 * gdb.arch/amd64-word.exp: Update.
5021 * gdb.arch/i386-avx.exp: Update.
5022 * gdb.arch/i386-byte.exp: Update.
5023 * gdb.arch/i386-sse.exp: Update.
5024 * gdb.arch/i386-word.exp: Update.
5025 * gdb.arch/ppc-dfp.exp: Update.
5026 * gdb.arch/ppc-fp.exp: Update.
5027 * gdb.arch/vsx-regs.exp: Update.
5028 * gdb.base/all-bin.exp: Update.
5029 * gdb.base/annota1.exp: Update.
5030 * gdb.base/async.exp: Update.
5031 * gdb.base/attach.exp: Update.
5032 * gdb.base/break-interp.exp: Update.
5033 * gdb.base/call-ar-st.exp: Update.
5034 * gdb.base/call-rt-st.exp: Update.
5035 * gdb.base/call-sc.exp: Update.
5036 * gdb.base/callfuncs.exp: Update.
5037 * gdb.base/catch-load.exp: Update.
5038 * gdb.base/completion.exp: Update.
5039 * gdb.base/complex.exp: Update.
5040 * gdb.base/condbreak.exp: Update.
5041 * gdb.base/consecutive.exp: Update.
5042 * gdb.base/constvars.exp: Update.
5043 * gdb.base/corefile.exp: Update.
5044 * gdb.base/eval-skip.exp: Update.
5045 * gdb.base/expand-psymtabs.exp: Update.
5046 * gdb.base/exprs.exp: Update.
5047 * gdb.base/fileio.exp: Update.
5048 * gdb.base/fixsection.exp: Update.
5049 * gdb.base/funcargs.exp: Update.
5050 * gdb.base/gdb11530.exp: Update.
5051 * gdb.base/gdb1555.exp: Update.
5052 * gdb.base/gnu-ifunc.exp: Update.
5053 * gdb.base/gnu_vector.exp: Update.
5054 * gdb.base/info-macros.exp: Update.
5055 * gdb.base/jit-simple.exp: Update.
5056 * gdb.base/jit-so.exp: Update.
5057 * gdb.base/jit.exp: Update.
5058 * gdb.base/langs.exp: Update.
5059 * gdb.base/list.exp: Update.
5060 * gdb.base/logical.exp: Update.
5061 * gdb.base/long_long.exp: Update.
5062 * gdb.base/longjmp.exp: Update.
5063 * gdb.base/macscp.exp: Update.
5064 * gdb.base/mips_pro.exp: Update.
5065 * gdb.base/miscexprs.exp: Update.
5066 * gdb.base/morestack.exp: Update.
5067 * gdb.base/nodebug.exp: Update.
5068 * gdb.base/opaque.exp: Update.
5069 * gdb.base/pc-fp.exp: Update.
5070 * gdb.base/pending.exp: Update.
5071 * gdb.base/permissions.exp: Update.
5072 * gdb.base/pointers.exp: Update.
5073 * gdb.base/prelink.exp: Update.
5074 * gdb.base/printcmds.exp: Update.
5075 * gdb.base/psymtab.exp: Update.
5076 * gdb.base/ptype.exp: Update.
5077 * gdb.base/relational.exp: Update.
5078 * gdb.base/scope.exp: Update.
5079 * gdb.base/setvar.exp: Update.
5080 * gdb.base/shlib-call.exp: Update.
5081 * gdb.base/shreloc.exp: Update.
5082 * gdb.base/signals.exp: Update.
5083 * gdb.base/sizeof.exp: Update.
5084 * gdb.base/so-impl-ld.exp: Update.
5085 * gdb.base/so-indr-cl.exp: Update.
5086 * gdb.base/solib-disc.exp: Update.
5087 * gdb.base/solib-display.exp: Update.
5088 * gdb.base/solib-nodir.exp: Update.
5089 * gdb.base/solib-overlap.exp: Update.
5090 * gdb.base/solib-symbol.exp: Update.
5091 * gdb.base/solib-weak.exp: Update.
5092 * gdb.base/solib.exp: Update.
5093 * gdb.base/store.exp: Update.
5094 * gdb.base/structs.exp: Update.
5095 * gdb.base/structs2.exp: Update.
5096 * gdb.base/type-opaque.exp: Update.
5097 * gdb.base/unload.exp: Update.
5098 * gdb.base/varargs.exp: Update.
5099 * gdb.base/volatile.exp: Update.
5100 * gdb.base/watch_thread_num.exp: Update.
5101 * gdb.base/watchpoint-solib.exp: Update.
5102 * gdb.base/watchpoint.exp: Update.
5103 * gdb.base/watchpoints.exp: Update.
5104 * gdb.base/whatis.exp: Update.
5105 * gdb.cell/arch.exp: Update.
5106 * gdb.cell/break.exp: Update.
5107 * gdb.cell/bt.exp: Update.
5108 * gdb.cell/core.exp: Update.
5109 * gdb.cell/data.exp: Update.
5110 * gdb.cell/ea-cache.exp: Update.
5111 * gdb.cell/f-regs.exp: Update.
5112 * gdb.cell/fork.exp: Update.
5113 * gdb.cell/gcore.exp: Update.
5114 * gdb.cell/mem-access.exp: Update.
5115 * gdb.cell/ptype.exp: Update.
5116 * gdb.cell/registers.exp: Update.
5117 * gdb.cell/sizeof.exp: Update.
5118 * gdb.cell/solib-symbol.exp: Update.
5119 * gdb.cell/solib.exp: Update.
5120 * gdb.cp/ambiguous.exp: Update.
5121 * gdb.cp/breakpoint.exp: Update.
5122 * gdb.cp/bs15503.exp: Update.
5123 * gdb.cp/casts.exp: Update.
5124 * gdb.cp/class2.exp: Update.
5125 * gdb.cp/cpexprs.exp: Update.
5126 * gdb.cp/cplusfuncs.exp: Update.
5127 * gdb.cp/ctti.exp: Update.
5128 * gdb.cp/dispcxx.exp: Update.
5129 * gdb.cp/gdb1355.exp: Update.
5130 * gdb.cp/gdb2384.exp: Update.
5131 * gdb.cp/gdb2495.exp: Update.
5132 * gdb.cp/infcall-dlopen.exp: Update.
5133 * gdb.cp/local.exp: Update.
5134 * gdb.cp/m-data.exp: Update.
5135 * gdb.cp/m-static.exp: Update.
5136 * gdb.cp/mb-ctor.exp: Update.
5137 * gdb.cp/mb-inline.exp: Update.
5138 * gdb.cp/mb-templates.exp: Update.
5139 * gdb.cp/member-ptr.exp: Update.
5140 * gdb.cp/method.exp: Update.
5141 * gdb.cp/namespace.exp: Update.
5142 * gdb.cp/nextoverthrow.exp: Update.
5143 * gdb.cp/nsdecl.exp: Update.
5144 * gdb.cp/nsrecurs.exp: Update.
5145 * gdb.cp/nsstress.exp: Update.
5146 * gdb.cp/nsusing.exp: Update.
5147 * gdb.cp/pr-1023.exp: Update.
5148 * gdb.cp/pr-1210.exp: Update.
5149 * gdb.cp/pr-574.exp: Update.
5150 * gdb.cp/pr9631.exp: Update.
5151 * gdb.cp/printmethod.exp: Update.
5152 * gdb.cp/psmang.exp: Update.
5153 * gdb.cp/re-set-overloaded.exp: Update.
5154 * gdb.cp/rtti.exp: Update.
5155 * gdb.cp/shadow.exp: Update.
5156 * gdb.cp/templates.exp: Update.
5157 * gdb.cp/try_catch.exp: Update.
5158 * gdb.dwarf2/dw2-ranges.exp: Update.
5159 * gdb.dwarf2/pr10770.exp: Update.
5160 * gdb.fortran/library-module.exp: Update.
5161 * gdb.hp/gdb.aCC/optimize.exp: Update.
5162 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5163 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5164 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5165 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5166 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5167 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5168 * gdb.hp/gdb.compat/xdb1.exp: Update.
5169 * gdb.hp/gdb.compat/xdb2.exp: Update.
5170 * gdb.hp/gdb.compat/xdb3.exp: Update.
5171 * gdb.hp/gdb.defects/bs14602.exp: Update.
5172 * gdb.hp/gdb.defects/solib-d.exp: Update.
5173 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5174 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5175 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5176 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5177 * gdb.mi/gdb792.exp: Update.
5178 * gdb.mi/mi-pending.exp: Update.
5179 * gdb.mi/mi-solib.exp: Update.
5180 * gdb.mi/mi-var-cp.exp: Update.
5181 * gdb.opt/clobbered-registers-O2.exp: Update.
5182 * gdb.opt/inline-bt.exp: Update.
5183 * gdb.opt/inline-cmds.exp: Update.
5184 * gdb.opt/inline-locals.exp: Update.
5185 * gdb.python/py-events.exp: Update.
5186 * gdb.python/py-finish-breakpoint.exp: Update.
5187 * gdb.python/py-type.exp: Update.
5188 * gdb.reverse/solib-precsave.exp: Update.
5189 * gdb.reverse/solib-reverse.exp: Update.
5190 * gdb.server/solib-list.exp: Update.
5191 * gdb.stabs/weird.exp: Update.
5192 * gdb.threads/attach-into-signal.exp: Update.
5193 * gdb.threads/attach-stopped.exp: Update.
5194 * gdb.threads/tls-shared.exp: Update.
5195 * gdb.trace/change-loc.exp: Update.
5196 * gdb.trace/strace.exp: Update.
5197
95c391b6
TT
51982012-06-19 Tom Tromey <tromey@redhat.com>
5199
5200 * gdb.base/whatis.exp: Add tests.
5201
e910f0b6
TT
52022012-06-19 Tom Tromey <tromey@redhat.com>
5203
5204 * gdb.cp/m-static.cc (keepalive): New function.
5205 (gnu_obj_1::method): Use it.
5206
422d65e7
DE
52072012-06-18 Doug Evans <dje@google.com>
5208
5209 * gdb.base/info-fun.exp: New file.
5210 * gdb.base/info-fun.c: New file.
5211 * gdb.base/info-fun-solib.c: New file.
5212
e2e4d78b
JK
52132012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 Remove stale dummy frames.
5216 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5217 (maintenance info breakpoints): New tests.
5218 * gdb.base/stale-infcall.c: New file.
5219 * gdb.base/stale-infcall.exp: New file.
5220
1788b2d3
JK
52212012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5222
5223 * gdb.arch/amd64-entry-value-param.S: New file.
5224 * gdb.arch/amd64-entry-value-param.c: New file.
5225 * gdb.arch/amd64-entry-value-param.exp: New file.
5226
663b969e
TT
52272012-06-15 Tom Tromey <tromey@redhat.com>
5228
5229 * gdb.cp/namespace.exp: Add "show lang" test.
5230
8e09ad05
IS
52312012-06-15 Iain Sandoe <iain@codesourcery.com>
5232
5233 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5234 case. (top level): Use gdb_file_cmd instead of gdb_load.
5235
f85e18ee
JK
52362012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5237
5238 PR tdep/14222
5239 * gdb.arch/i386-sse-stack-align.S: New file.
5240 * gdb.arch/i386-sse-stack-align.c: New file.
5241 * gdb.arch/i386-sse-stack-align.exp: New file.
5242
f3b5e280
KS
52432012-06-13 Keith Seitz <keiths@redhat.com>
5244
5245 PR breakpoints/13798 and mi/11541
5246 * gdb.linespec/ls-errs.exp: Add a few more tests for
5247 filenames with spaces and colons.
5248
50af5481
JK
52492012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5250
5251 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5252 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5253 (test_function): Call CV_f.
5254 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5255 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5256 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5257 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5258 (p CV_f(CV::i)): New tests.
5259
d55637df
TT
52602012-06-13 Tom Tromey <tromey@redhat.com>
5261
5262 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5263
cc80f267
JK
52642012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 Fix regression by the "ambiguous linespec" series.
5267 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5268 tests.
5269
bb2af9cc
JK
52702012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5271
5272 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5273 missing.
5274
e81a37f7
TT
52752012-06-11 Tom Tromey <tromey@redhat.com>
5276
5277 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5278 location...
5279 (main): ...here.
5280
8efd7788
YQ
52812012-06-07 Yao Qi <yao@codesourcery.com>
5282
5283 * gdb.trace/strace.exp: Shorten some too-long lines.
5284
359f5fe6
PA
52852012-06-06 Pedro Alves <palves@redhat.com>
5286
5287 * gdb.threads/clone-new-thread-event.c: New file.
5288 * gdb.threads/clone-new-thread-event.exp: New file.
5289
7b2fe205
YQ
52902012-06-06 Yao Qi <yao@codesourcery.com>
5291
5292 * gdb.base/dprintf.c (main): Add extra parameter when calling
5293 printf and fprintf.
5294 (bar): New function. It is a dead function, but to ensure
5295 'malloc' is linked explicitly.
5296
3eca55e8
YQ
52972012-06-06 Yao Qi <yao@codesourcery.com>
5298
5299 * gdb.base/info-proc.exp: Return if target doesn't support
5300 'info proc'.
5301
91cc9324
JK
53022012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5303
5304 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5305 (run program with breakpoint commands): XFAIl if it is not.
5306
c56e7c43
JB
53072012-06-05 Joel Brobecker <brobecker@adacore.com>
5308
5309 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5310 and add comment.
5311 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5312 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5313 "STOP" marker. Adjust testing strategy to make it work on
5314 all targets.
5315
5316 * gdb.base/print-file-var-main.c (main): Rewrite using local
5317 variables and adjust get_version_2's return value check.
5318 Add small comment.
5319 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5320 marker. Adjust testing strategy to make it work on all targets.
5321
ccab2054
JB
53222012-06-05 Joel Brobecker <brobecker@adacore.com>
5323
5324 * gdb.ada/bad-task-bp-keyword: New testcase.
5325
d0d86158
JK
53262012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5327
5328 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5329 Simplify it to ...
5330 (symbol-file ${testfile1}): ... here.
5331 (test eliminated var my_global_symbol)
5332 (test eliminated var my_static_symbol)
5333 (test eliminated var my_global_func, get address of main): Wrap them to
5334 'single psymtabs' and 'single symtabs'
5335 (get address of my_global_symbol, get address of my_static_symbol)
5336 (get address of my_global_func, get address of main): Wrap them to
5337 'order1' and 'order2'.
5338
952cf74c
JK
5339 * gdb.base/code_elim.exp
5340 (add-symbol-file ${testfile1} 0x100000)
5341 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5342 'order2'.
5343 (order1: add-symbol-file ${testfile1} 0x100000)
5344 (order1: add-symbol-file ${testfile2} 0x200000)
5345 (order2: add-symbol-file ${testfile2} 0x200000)
5346 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5347 .bss as appropriate.
5348
0c5bf5a9
JK
53492012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5350
5351 * gdb.server/solib-list-lib.c: New file.
5352 * gdb.server/solib-list-main.c: New file.
5353 * gdb.server/solib-list.exp: New file.
5354
4196f325
MR
53552012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5356
5357 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5358 for 'set print symbol' change.
5359
bfb05775
JK
53602012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5361
5362 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5363 .debug_abbrev_seg3.
5364
685b1105
JK
53652012-05-24 John Steele Scott <toojays@toojays.net>
5366
5367 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5368 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5369 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5370
f3e0e960
SS
53712012-05-23 Stan Shebs <stan@codesourcery.com>
5372
5373 * gdb.mi/mi-info-os.exp: New file.
5374
11eb1b4d
KS
53752012-05-23 Keith Seitz <keiths@redhat.com>
5376
5377 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5378 return -1 to suppress the rest of the tests.
5379 (compile_stap_bin): Return boolean success value.
5380
b1af9e97
TT
53812012-05-21 Tom Tromey <tromey@redhat.com>
5382
5383 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5384 Remove kfails.
5385 (test_print_mi_member_types): Likewise.
5386
248537e3
TT
53872012-05-21 Tom Tromey <tromey@redhat.com>
5388
5389 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5390 print symbol' change.
5391
d791e155
TJB
53922012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5393
5394 * gdb.python/py-prompt.exp: Quit if the target is remote.
5395
e77afa2e
JK
53962012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5397
5398 Fix ERROR: internal buffer is full.
5399 * gdb.base/info-os.exp (expect_multiline): New function.
5400 (get process list, get process groups, get threads)
5401 (get file descriptors, get internet-domain sockets)
5402 (get shared-memory regions, get semaphores, get message queues): Use
5403 it for these tests.
5404
9cb709b6
TT
54052012-05-18 Tom Tromey <tromey@redhat.com>
5406
5407 * gdb.mi/mi-var-cmd.exp: Update.
5408 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5409 * gdb.cp/virtbase.exp: Update.
5410 * gdb.cp/classes.exp (test_static_members): Update.
5411 * gdb.cp/casts.exp: Update.
5412 * gdb.base/pointers.exp: Update.
5413 * gdb.base/funcargs.exp (pointer_args): Update.
5414 (structs_by_reference): Update.
5415 * gdb.base/find.exp: Update.
5416 * gdb.base/call-strs.exp: Send "set print symbol off".
5417 * gdb.base/call-ar-st.exp: Update.
5418 * gdb.ada/fun_addr.exp: Update.
5419 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5420 Call it.
5421 (test_print_repeats_10, test_print_strings)
5422 (test_print_char_arrays): Update.
5423
b012acdd
TT
54242012-05-18 Tom Tromey <tromey@redhat.com>
5425
5426 * gdb.base/charset.exp (string_display): Update.
5427
1d51a733
TT
54282012-05-18 Tom Tromey <tromey@redhat.com>
5429
5430 * gdb.mi/mi2-var-display.exp: Update.
5431 * gdb.mi/mi-var-display.exp: Update.
5432 * gdb.mi/mi-var-child.exp: Update.
5433 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5434 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5435
957df313
DE
54362012-05-17 Doug Evans <dje@google.com>
5437
682c7f7b
DE
5438 * info-macros.exp: Pass "debug" to prepare_for_testing.
5439
957df313
DE
5440 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5441 * gdb.ada/Makefile.in (clean): Ditto.
5442 * gdb.arch/Makefile.in (clean): Ditto.
5443 * gdb.asm/Makefile.in (clean): Ditto.
5444 * gdb.base/Makefile.in (clean): Ditto.
5445 * gdb.cell/Makefile.in (clean): Ditto.
5446 * gdb.cp/Makefile.in (clean): Ditto.
5447 * gdb.disasm/Makefile.in (clean): Ditto.
5448 * gdb.dwarf2/Makefile.in (clean): Ditto.
5449 * gdb.fortran/Makefile.in (clean): Ditto.
5450 * gdb.go/Makefile.in (clean): Ditto.
5451 * gdb.hp/Makefile.in (clean): Ditto.
5452 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5453 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5454 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5455 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5456 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5457 * gdb.java/Makefile.in (clean): Ditto.
5458 * gdb.linespec/Makefile.in (clean): Ditto.
5459 * gdb.mi/Makefile.in (clean): Ditto.
5460 * gdb.modula2/Makefile.in (clean): Ditto.
5461 * gdb.multi/Makefile.in (clean): Ditto.
5462 * gdb.objc/Makefile.in (clean): Ditto.
5463 * gdb.opencl/Makefile.in (clean): Ditto.
5464 * gdb.opt/Makefile.in (clean): Ditto.
5465 * gdb.pascal/Makefile.in (clean): Ditto.
5466 * gdb.python/Makefile.in (clean): Ditto.
5467 * gdb.reverse/Makefile.in (clean): Ditto.
5468 * gdb.server/Makefile.in (clean): Ditto.
5469 * gdb.stabs/Makefile.in (clean): Ditto.
5470 * gdb.threads/Makefile.in (clean): Ditto.
5471 * gdb.trace/Makefile.in (clean): Ditto.
5472 * gdb.xml/Makefile.in (clean): Ditto.
5473
abc9d0dc
TT
54742012-05-16 Tom Tromey <tromey@redhat.com>
5475
5476 * gdb.base/macscp1.c (macscp_expr): Add comment.
5477 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5478
6a3a010b
MR
54792012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5480
5481 * gdb.base/return-nodebug.exp: Also test float and double types.
5482
01429c8e
JK
54832012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 PR testsuite/12649
5486 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5487
54115cd4
JK
5488 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5489
0c5f383f
SDJ
54902012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5491
5492 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5493 `rerun_to_main'.
5494 (stap_test_no_debuginfo): Likewise.
5495
e7e0cddf
SS
54962012-05-14 Stan Shebs <stan@codesourcery.com>
5497
5498 * gdb.base/dprintf.c: New file.
5499 * gdb.base/dprintf.exp: New file.
5500
c772f8e7
HZ
55012012-05-14 Hui Zhu <hui_zhu@mentor.com>
5502
5503 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5504 * gdb.trace/disconnected-tracing.c: New file.
5505 * gdb.trace/disconnected-tracing.exp: New file.
5506
7efc75aa
SCR
55072012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5508
5509 * gdb.python/python.c: Add a new breakpoint comment.
5510 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5511
85d4a676
SS
55122011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5513
5514 * gdb.base/info-os.exp: New file.
5515 * gdb.base/info-os.c: New file.
5516
64ea88dc
JB
55172012-05-10 Joel Brobecker <brobecker@adacore.com>
5518
4647ab1b
JB
5519 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5520 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5521 New files.
64ea88dc 5522
afba63f1
JB
55232012-05-10 Joel Brobecker <brobecker@adacore.com>
5524
5525 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5526 gdb.base/ctxobj.exp: New files.
5527
9d198b1e
TT
55282012-05-09 Tom Tromey <tromey@redhat.com>
5529
5530 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5531
9bfee719
MR
55322012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5533
5534 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5535
3a7341d8
MR
55362012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5537
5538 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5539 before using it.
5540
52b3699b
TG
55412012-05-04 Tristan Gingold <gingold@adacore.com>
5542
5543 * gdb.base/set-noassign.exp: New test.
5544
a20ee7a4
SCR
55452012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5546
5547 * gdb.python/py-symbol.exp: Add tests to test the new methods
5548 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5549 * gdb.python/py-symbol.c: Add new struct to help test
5550 gdb.Symtab.static_block().
5551
bf2f0858
DE
55522012-05-03 Doug Evans <dje@google.com>
5553
5554 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5555 commented out.
5556
2d4e0376
YQ
55572012-05-03 Yao Qi <yao@codesourcery.com>
5558
5559 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5560 doesn't support.
5561 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5562 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5563
6d0bb9f3
YQ
55642012-05-03 Yao Qi <yao@codesourcery.com>
5565
5566 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5567
fd820528
DE
55682012-04-30 Doug Evans <dje@google.com>
5569
5570 PR testsuite/13961
5571 * gdb.dwarf2/pr13961.S: New file.
5572 * gdb.dwarf2/pr13961.exp: New file.
5573
b9e219b9
YQ
55742012-04-29 Yao Qi <yao@codesourcery.com>
5575
5576 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5577
3019eac3
DE
55782012-04-28 Doug Evans <dje@google.com>
5579
5580 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5581 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5582 All uses updated.
5583 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5584 "ptype func_cu1" to expand cu2 before cu1.
5585
62e5f89c
SDJ
55862012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5587 Tom Tromey <tromey@redhat.com>
5588
5589 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5590 variables.
5591 * gdb.base/stap-probe.c: New file.
5592 * gdb.base/stap-probe.exp: New file.
5593 * gdb.trace/stap-trace.c: New file.
5594 * gdb.trace/stap-trace.exp: New file.
5595 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5596 libgcc's unwinder.
5597
14132e89
MR
55982012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5599
5600 * gdb.arch/mips16-thunks-inmain.c: New file.
5601 * gdb.arch/mips16-thunks-main.c: New file.
5602 * gdb.arch/mips16-thunks-sin.c: New file.
5603 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5604 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5605 * gdb.arch/mips16-thunks-sinmain.c: New file.
5606 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5607 * gdb.arch/mips16-thunks.exp: New file.
5608
a766d390
DE
56092012-04-25 Doug Evans <dje@google.com>
5610
5611 * configure.ac: Create gdb.go/Makefile.
5612 * configure: Regenerate.
5613 * gdb.base/default.exp: Add "go" to "set language" testing.
5614 * gdb.go/Makefile.in: New file.
5615 * gdb.go/basic-types.exp: New file.
5616 * gdb.go/chan.exp: New file.
5617 * gdb.go/chan.go: New file.
5618 * gdb.go/handcall.exp: New file.
5619 * gdb.go/handcall.go: New file.
5620 * gdb.go/hello.exp: New file.
5621 * gdb.go/hello.go: New file.
5622 * gdb.go/integers.exp: New file.
5623 * gdb.go/integers.go: New file.
5624 * gdb.go/methods.exp: New file.
5625 * gdb.go/methods.go: New file.
5626 * gdb.go/package.exp: New file.
5627 * gdb.go/package1.go: New file.
5628 * gdb.go/package2.go: New file.
5629 * gdb.go/print.exp: New file.
5630 * gdb.go/strings.exp: New file.
5631 * gdb.go/strings.go: New file.
5632 * gdb.go/types.exp: New file.
5633 * gdb.go/types.go: New file.
5634 * gdb.go/unsafe.exp: New file.
5635 * gdb.go/unsafe.go: New file.
5636 * lib/future.exp: Add Go support.
5637 (gdb_find_go, gdb_find_go_linker): New procs.
5638 (gdb_default_target_compile): Add Go support.
5639 * lib/gdb.exp (skip_go_tests): New proc.
5640 * lib/go.exp: New file.
5641
e65f9ffb
TT
56422012-04-25 Tom Tromey <tromey@redhat.com>
5643
5644 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5645
14e75d8e
JK
56462012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5647 Jan Kratochvil <jan.kratochvil@redhat.com>
5648
5649 PR symtab/7259:
5650 * gdb.base/enumval.c: New test case.
5651 * gdb.base/enumval.exp: New test case.
5652 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5653 field.bitpos.
5654
f3525b70
PA
56552012-04-17 Pedro Alves <palves@redhat.com>
5656
5657 * Makefile.in (site.exp): Make site.exp source
5658 $srcdir/lib/append_gdb_boards_dir.exp.
5659 * lib/append_gdb_boards_dir.exp: New file.
5660
bccbefd2
JK
56612012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5662
5663 New option "set auto-load safe-path".
5664 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5665 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5666
bf88dd68
JK
56672012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5668
5669 auto-load: Implementation.
5670 * gdb.base/help.exp (test set height): Increase the height.
5671 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5672 to ...
5673 (info auto-load python-scripts): ... here.
5674 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5675 to ...
5676 (info auto-load python-scripts *): ... here.
5677
c0d4d1c0
YQ
56782012-04-16 Yao Qi <yao@codesourcery.com>
5679
5680 * lib/trace-support.exp (get_in_proc_agent): New.
5681 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5682 of in process trace agent.
5683 * gdb.trace/ftrace.exp: Likewise.
5684 * gdb.trace/pending.exp: Likewise.
5685 * gdb.trace/trace-break.exp: Likewise.
5686 * gdb.trace/trace-mt.exp
5687 * gdb.trace/tspeed.exp: Likewise.
5688 * gdb.trace/tstatus.exp
5689 * gdb.trace/strace.exp: Likewise.
5690
cbf68a60
TS
56912012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5692
dd6d3b70
TS
5693 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5694 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5695
cbf68a60
TS
5696 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5697
8264ba82
AG
56982012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5699
5700 PR mi/13393
5701 * gdb.mi/mi-var-rtti.cc: New file.
5702 * gdb.mi/mi-var-rtti.exp: New file.
5703 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5704 function.
5705 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5706
de0919f8 57072012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
5708
5709 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5710 EXECUTABLES.
5711 * gdb.python/py-explore.c: C program used for testing the new
5712 'explore' command on C constructs.
5713 * gdb.python/py-explore.cc: C++ program used for testing the new
5714 'explore' command on C++ constructs.
5715 * gdb-python/py-explore.exp: Tests for the new 'explore'
5716 command on C constructs.
5717 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5718 command on C++ constructs.
5719
a82da7dd
MK
57202012-04-07 Mark Kettenis <kettenis@gnu.org>
5721
5722 * gdb.base/funcargs.exp (complex_args): Fix typo.
5723
e127cba8
JK
57242012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5725
5726 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5727 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5728
40e084e1
KS
57292012-04-05 Keith Seitz <keiths@redhat.com>
5730
5731 * gdb.base/advance.exp: Update error message for
5732 "advance malformed" test.
5733 * gdb.base/break.exp: Likewise for "breakpoint with
5734 trailing garbage" test.
5735 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5736 with trailing garbage" test.
5737 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5738 trailng garbage" test.
5739 * gdb.base/until.exp: Likewise for "malformed until" test.
5740 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5741 for "breakpoint info (after setting on all)".
5742 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5743 tests.
5744 * gdb.cp/cplabel.cc: New file.
5745 * gdb.cp/cplabel.exp: New test.
5746 * gdb.linespec/ls-errs.c: New file.
5747 * gdb.linespec/ls-errs.exp: New test.
5748
a72c8f6a
JK
57492012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5750
5751 * gdb.trace/unavailable.exp
5752 (collect globals: print object on: print derived_partial)
5753 (collect globals: print object on: print derived_whole)
5754 (collect globals: print object off: print derived_partial)
5755 (collect globals: print object off: print derived_whole): Update
5756 expected output.
5757
f87a3023
KS
57582012-03-30 Keith Seitz <keiths@redhat.com>
5759
5760 * gdb.python: Add test for linespecs with commas.
5761
e2171b3c
KS
57622012-03-28 Keith Seitz <keiths@redhat.com>
5763
5764 * gdb.linespec/ls-dollar.cc: New file.
5765 * gdb.linespec/ls-dollar.exp: New test.
5766
57672012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
5768
5769 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5770 starting with the global namespace.
5771
2f4e0a80
DE
57722012-03-23 Doug Evans <dje@google.com>
5773
5774 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5775
7b282c5a
SCR
57762012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5777
5778 * gdb.python/py-value.cc: Add test case for testing the
5779 methodology exposing C++ values to Python.
5780 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5781 exposing C++ values to Python.
5782 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5783
2e98ca53
JK
57842012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5785 Siddhesh Poyarekar <siddhesh@redhat.com>
5786
5787 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5788 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5789 (generate native core dump): Make the test unsupported if core cannot
5790 be generated.
5791
8320cc4f
JK
57922012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5793
5794 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5795 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5796 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5797
3a69ffb2
JK
57982012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5799
5800 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5801
8fabffee
DE
58022012-03-17 Doug Evans <dje@google.com>
5803
5804 * dg-extract-results.sh: Handle KFAILs.
5805
ab260dad
JK
58062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5807
5808 PR symtab/13777
5809 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5810
53ba8333
JB
58112012-03-16 Joel Brobecker <brobecker@adacore.com>
5812
5813 * gdb.ada/set_pckd_arr_elt: New testcase.
5814
481860b3
GB
58152012-03-16 Gary Benson <gbenson@redhat.com>
5816
5817 PR breakpoints/10738
5818 * gdb.opt/inline-break.exp: New file.
5819 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5820 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5821 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5822 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5823 * gdb.base/async-shell.exp: Likewise.
5824 * lib/mi-support.exp (library_loaded_re): Likewise.
5825
410528f0
TT
58262012-03-15 Tom Tromey <tromey@redhat.com>
5827
5828 * gdb.cp/virtfunc2.exp: Update expected output.
5829 * gdb.cp/pr9631.exp: Update expected output.
5830 * gdb.cp/member-ptr.exp: Update expected output.
5831 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5832 output.
5833 * gdb.cp/casts.exp: Update expected output.
5834
c4aeac85
TT
58352012-03-15 Tom Tromey <tromey@redhat.com>
5836
5837 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5838 (test_info_vtbl): Likewise.
5839 (do_tests): Call test_info_vtbl.
5840 * gdb.cp/virtfunc.cc (va): New global.
5841
856d06f9
TS
58422012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5843
5844 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5845 describing DWARF data structures.
5846 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5847 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5848 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5849 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5850 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5851 * gdb.dwarf2/dw2-param-error.S: Likewise.
5852 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5853 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5854 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5855 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5856 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5857 * gdb.dwarf2/pr11465.S: Likewise.
5858
e837f12a
JK
58592012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 * gdb.mi/mi2-prompt.exp: New file.
5862
ccbb4f28
JB
58632012-03-13 Joel Brobecker <brobecker@adacore.com>
5864
5865 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5866
32039130
JB
58672012-03-13 Joel Brobecker <brobecker@adacore.com>
5868
5869 * gdb.ada/bp_range_type: New testcase.
5870
16899756
DE
58712012-03-13 Doug Evans <dje@google.com>
5872
5873 * gdb.base/default.exp: Delete tests for symbol-reloading.
5874 * gdb.base/help.exp: Ditto.
5875 * gdb.base/setshow.exp: Ditto.
5876 * gdb.base/gdb_history: Delete references to symbol-reloading.
5877
87b0bb13
JK
58782012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5879
5880 * gdb.base/attach-twice.c: New files.
5881 * gdb.base/attach-twice.exp: New files.
5882
0d7941a9
KS
58832012-03-08 Keith Seitz <keiths@redhat.com>
5884
5885 * lib/gdb.exp (gdb_get_line_number): Throw an
5886 error instead of returning -1.
5887 * gdb.base/break.exp: Remove unused variable
5888 bp_location5.
5889 * gdb.base/hbreak2.exp: Likewise.
5890 * gdb.base/sepdebug.exp: Likewise.
5891
f4647387
YQ
58922012-03-08 Yao Qi <yao@codesourcery.com>
5893 Pedro Alves <palves@redhat.com>
5894
5895 Fix PR server/13392.
5896 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5897 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5898 download tracepoints.
5899 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5900 (pending_tracepoint_resolved_during_trace): Likewise.
5901 (pending_tracepoint_installed_during_trace): Likewise.
5902 (pending_tracepoint_with_action_resolved): Likewise.
5903
83c532cb
KS
59042012-03-08 Keith Seitz <keiths@redhat.com>
5905
5906 * gdb.ada/array_bounds.exp: Get breakpoint for line
5907 with "START", not "STOP".
5908 * gdb.python/py-infthread.exp: Do not continue to
5909 line marked "Break here.", which is undefined.
5910
d6b6bbb7
LM
59112012-03-08 Luis Machado <lgustavo@codesourcery.com>
5912
5913 Revert:
5914
5915 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5916
5917 Implement testsuite workaround for PR breakpoints/13781.
5918 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5919 (set breakpoint condition-evaluation host): New conditional command.
5920
7fe25d9b
JK
59212012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5922
5923 Fix CU relative vs. absolute DIE offsets.
5924 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5925 one.
5926
51898c15
JK
59272012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5928
5929 Fix false FAIL on distros with relro linkage as default.
5930 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5931 -Wl,-z,norelro first.
5932
8131799e
JB
59332012-03-06 Joel Brobecker <brobecker@adacore.com>
5934
5935 * gdb.ada/bp_on_var: New testcase.
5936
ba241969
JB
59372012-03-06 Joel Brobecker <brobecker@adacore.com>
5938
5939 * gdb.ada/bp_enum_homonym: New testcase.
5940
abe49676
YQ
59412012-03-06 Yao Qi <yao@codesourcery.com>
5942
5943 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5944 x86_64-*-* and i?86-*-*.
5945 Set up KFAIL for gdb/13808.
5946
d8df103b
TT
59472012-03-05 Tom Tromey <tromey@redhat.com>
5948
5949 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5950 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5951
b7b189f3
TT
59522012-03-05 Tom Tromey <tromey@redhat.com>
5953
5954 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5955
69dc1c4d
YQ
59562012-03-04 Yao Qi <yao@codesourcery.com>
5957
5958 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5959 messages for KFAIL.
5960
3f20c47f
JK
59612012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5962
5963 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5964 (print one_two_three, indexes off, print few_reps, indexes off)
5965 (print many_reps, indexes off, print empty, indexes off)
5966 (print one_two_three, print few_reps, print many_reps, print empty):
5967 Call setup_xfail if $gcc_old.
5968
abf1152a
JK
59692012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5970
5971 Implement testsuite workaround for PR breakpoints/13781.
5972 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5973 (set breakpoint condition-evaluation host): New conditional command.
5974
a06715f8
JK
59752012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5976
5977 Code cleanup.
5978 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5979 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5980 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5981 number 1 by $bpnum. Four times.
5982
5808517f
YQ
59832012-03-03 Yao Qi <yao@codesourcery.com>
5984
5985 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5986
dfe2ac14
JK
59872012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5988
5989 Setup KFAIL for PR server/13796.
5990 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5991
8bbc467a
JB
59922012-03-02 Joel Brobecker <brobecker@adacore.com>
5993
5994 * gdb.ada/operator_bp: New testcase.
5995
c0eac87f
JB
59962012-03-02 Joel Brobecker <brobecker@adacore.com>
5997
5998 * gdb.ada/info_locals_renaming: New testcase.
5999
4f42c881
TT
60002012-03-02 Tom Tromey <tromey@redhat.com>
6001
6002 * gdb.base/nextoverexit.c: New file.
6003 * gdb.base/nextoverexit.exp: New file.
6004
7380c0c9
EBM
60052012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6006
6007 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6008 parameter.
6009
1faeff08
MR
60102012-03-01 Maciej W. Rozycki <macro@mips.com>
6011
6012 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6013 core registers.
6014
320b6f49 60152012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
6016 Maciej W. Rozycki <macro@codesourcery.com>
6017 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
6018
6019 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6020
ad5f7d6e
PA
60212012-03-01 Pedro Alves <palves@redhat.com>
6022
6023 PR gdb/13767
6024
6025 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6026 (gdb_collect_globals_test): Call it.
6027
d3dc44a6
KS
60282012-03-01 Keith Seitz <keiths@redhat.com>
6029
6030 * gdb.cp/method2.exp: Output of overload menu is now
6031 alphabetized. Update tests for "break A::method".
6032 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6033 of hard-coding them.
6034 Overload menu is alphabetized: rewrite to accommodate.
6035 Unset variables LINE and TYPES which are used in other tests.
6036 Compute the output of "info break".
6037 Update the breakpoint table after all breakpoints are deleted.
6038 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6039 compute ACTUALS and the method body based on parameters.
6040 Update expected output accordingly.
6041 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6042 unique comments to allow the use of gdb_get_line_number.
6043
60442012-03-01 Keith Seitz <keiths@redhat.com>
6045
6046 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6047 some Tcl syntax.
6048 * gdb.cp/ovldbreak.exp: Likewise.
6049
7949c2a0
KS
60502012-03-01 Keith Seitz <keiths@redhat.com>
6051
6052 * gdb.base/help.exp (help show user): Update expected result
6053 for new doc string changes (add "non-python").
6054
7d74f244
DE
60552012-03-01 Scott J. Goldman <scottjg@vmware.com>
6056
6057 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6058 be put in the user-defined category and that the commands appear in
6059 "help user-defined".
6060
1b611343
JB
60612012-02-29 Joel Brobecker <brobecker@adacore.com>
6062
6063 * gdb.ada/tagged_not_init: New testcase.
6064
99b1c762
JB
60652012-02-29 Joel Brobecker <brobecker@adacore.com>
6066
6067 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6068 * gdb.ada/enum_idx_packed: New testcase.
6069
2d4a02ee
JB
60702012-02-29 Joel Brobecker <brobecker@adacore.com>
6071
6072 * gdb.ada/aliased_array: New testcase.
6073
2e6fda7d
JB
60742012-02-29 Joel Brobecker <brobecker@adacore.com>
6075
6076 * gdb.ada/whatis_array_val: New testcase.
6077
9a7f938f
JK
60782012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6079
6080 Fix disp-step-syscall.exp: fork: single step over fork.
6081 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6082 whitespaces.
6083 (single step over $syscall): Remove its check.
6084 (single step over $syscall final pc): New check.
6085
8703a944
JK
60862012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6087
6088 Support processors without SSSE3.
6089 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6090 pabsd into ...
6091 (ssse3_test): ... a new function.
6092 (main): Call ssse3_test.
6093 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6094 Update expected values everywhere.
6095 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6096 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6097 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6098 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6099 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6100 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6101 Move these tests lower.
6102 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6103 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6104 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6105 New tests.
6106
c03e6ccc
YQ
61072012-02-29 Yao Qi <yao@codesourcery.com>
6108 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.trace/trace-mt.c: New.
6111 * gdb.trace/trace-mt.exp: New.
6112
7964b62a
TS
61132012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6114
2c8910ba
TS
6115 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6116 numbers instead of hardcoding them.
6117 * gdb.base/annota1.c: Provide suitable markers.
6118 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6119 numbers instead of hardcoding them.
6120 * gdb.base/annota3.c: Provide suitable markers.
6121
6122 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6123 * gdb.base/annota3.c: Likewise.
6124 * gdb.base/sigall.c: Likewise.
6125 * gdb.base/signals.c: Likewise.
6126 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 6127
5a41c0b7
MR
61282012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6129
6130 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6131 failure return path.
6132
ebbbe5c5
LM
61332012-02-27 Luis Machado <lgustavo@codesourcery.com>
6134
6135 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6136
8d126d8a
LM
61372012-02-24 Luis Machado <lgustavo@codesourcery.com>
6138
6139 * gdb.base/cond-eval-mode.exp: New file.
6140
11337c2f
PA
61412012-02-24 Pedro Alves <palves@redhat.com>
6142
6143 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6144 (top level): Use with_test_prefix.
6145
13fc3e3c
PA
61462012-02-24 Pedro Alves <palves@redhat.com>
6147
6148 * gdb.threads/attach-into-signal.exp (corefunc): Use
6149 with_test_prefix.
6150
07c1b626
JK
61512012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6152
6153 Fix false FAILs on old CPUs without SSE.
6154 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6155 Return untested for Illegal instruction.
6156
596ba138
JK
61572012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6158
6159 Fix false FAILs with glibc debug infos installed.
6160 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6161 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6162
aeaa2474
SA
61632012-02-22 Sterling Augustine <saugustine@google.com>
6164
6165 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6166 constant with cast.
6167
aed555c9
PA
61682012-02-21 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6171
78afebb4
PA
61722012-02-21 Pedro Alves <palves@redhat.com>
6173
6174 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6175
fdcfef12
PA
61762012-02-21 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6179 with_test_prefix.
6180
0f4d39d5
PA
61812012-02-21 Pedro Alves <palves@redhat.com>
6182
6183 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6184 with_test_prefix here.
6185 (top level): Do it here instead. Remove `:' from the
6186 with_test_prefix string.
6187 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6188 the suffix `:' from the with_test_prefix prefix string.
6189 * gdb.base/break-interp.exp: Ditto.
6190 * gdb.base/catch-load.exp: Ditto.
6191 * gdb.base/disp-step-syscall.exp: Ditto.
6192 * gdb.base/jit-so.exp: Ditto.
6193 * gdb.base/jit.exp: Ditto.
6194 * gdb.base/sepdebug.exp: Ditto.
6195 * gdb.base/solib-display.exp: Ditto.
6196 * gdb.base/solib-overlap.exp: Ditto.
6197 * gdb.base/watch-cond-infcall.exp: Ditto.
6198 * gdb.base/watchpoint.exp: Ditto.
6199 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6200 * gdb.mi/mi-watch.exp: Ditto.
6201 * gdb.mi/mi2-watch.exp: Ditto.
6202 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6203 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6204 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6205 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6206 * gdb.threads/watchpoint-fork.exp: Ditto.
6207 * gdb.threads/watchthreads-reorder.exp: Ditto.
6208 * gdb.trace/change-loc.exp: Ditto.
6209 * gdb.trace/pending.exp: Ditto.
6210 * gdb.trace/status-stop.exp: Ditto.
6211 * gdb.trace/strace.exp: Ditto.
6212 * gdb.trace/trace-break.exp: Ditto.
6213 * gdb.trace/unavailable.exp: Ditto.
6214 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6215 suffix with colon. Adjust leading comments.
6216
6a5870ce
PA
62172012-02-21 Pedro Alves <palves@redhat.com>
6218 Tom Tromey <tromey@redhat.com>
6219
6220 * lib/gdb.exp: Add description of test prefixes.
6221 (with_test_prefix): New procedure.
6222 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6223 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6224 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6225 instead of lappend to append to pf_prefix.
6226 * gdb.base/catch-load.exp: Use with_test_prefix.
6227 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6228 * gdb.base/jit-so.exp: Use with_test_prefix.
6229 * gdb.base/jit.exp: Use with_test_prefix.
6230 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6231 lappend to append to pf_prefix.
6232 * gdb.base/sepdebug.exp: Use with_test_prefix.
6233 * gdb.base/solib-display.exp: Use with_test_prefix.
6234 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6235 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6236 * gdb.base/watchpoint.exp: Use with_test_prefix.
6237 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6238 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6239 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6240 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6241 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6242 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6243 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6244 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6245 append instead of lappend to append to pf_prefix.
6246 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6247 * gdb.trace/change-loc.exp: Use with_test_prefix.
6248 * gdb.trace/pending.exp: Use with_test_prefix.
6249 * gdb.trace/status-stop.exp: Use with_test_prefix.
6250 * gdb.trace/strace.exp: Use with_test_prefix.
6251 * gdb.trace/trace-break.exp: Use with_test_prefix.
6252 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6253 instead of lappend to append to pf_prefix.
6254
35dc4a6b
JK
62552012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6256
6257 Fix racy FAILs.
6258 * gdb.base/inferior-died.c (main): Add return of 0.
6259 * gdb.base/inferior-died.exp (continue): Fix expectation of
6260 asynchronous events.
6261 (p 1): New test.
6262
c5a006e6
PA
62632012-02-20 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6266 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6267 gdb's internal debug output. For the non-threaded case, look for
6268 "Program received signal SIGLARM", for the threaded case, peek at
6269 the thread's siginfo.
6270
cc51a170
PA
62712012-02-20 Pedro Alves <palves@redhat.com>
6272
6273 General cleanup, make output test messages unique, and build
6274 different executable files for the non-threaded and threaded
6275 cases.
6276
6277 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6278 Delete.
6279 (executable_nothr, executable_thr): New globals.
6280 (top level): Adjust to delete both executables.
6281 (corefunc): New parameter $executable. Set $pf_prefix instead of
6282 hand writing a prefix in tests. Issue a clean_restart and enable
6283 lin-lwp debug output here.
6284 (top level): Adjust. Use build_executable. Don't start gdb here,
6285 and don't enable lin-lwp debug output here.
6286 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6287
c755f03d
JK
62882012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6289
6290 Fix racy FAILs.
6291 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6292 "continue" command.
6293
6bec5e0a
JK
62942012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6295
6296 Fix for gdbserver non-extended mode.
6297 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6298 and gdb_run_cmd.
6299
2e8265fd
TT
63002012-02-17 Tom Tromey <tromey@redhat.com>
6301
6302 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6303 * gdb.python/py-events.exp: Check 'dir' output.
6304 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6305
9e507076
YQ
63062012-02-17 Yao Qi <yao@codesourcery.com>
6307
6308 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6309
32d22ab1
TT
63102012-02-16 Tom Tromey <tromey@redhat.com>
6311
6312 * gdb.base/inferior-died.c: Don't include stdio.h.
6313
9addecb9
TT
63142012-02-16 Tom Tromey <tromey@redhat.com>
6315
6316 * gdb.base/inferior-died.c: New file.
6317 * gdb.base/inferior-died.exp: New file.
6318
4cb6da1c
AR
63192012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6320
6321 * gdb.base/break-inline.exp: New file.
6322 * gdb.base/break-inline.c: New file.
6323
3af2590d
TT
63242012-02-15 Tom Tromey <tromey@redhat.com>
6325
6326 * gdb.base/pc-fp.exp: Add "info register" tests.
6327
29988831
TT
63282012-02-15 Tom Tromey <tromey@redhat.com>
6329
6330 * gdb.base/regs.exp: Remove.
6331
10010058
PA
63322012-02-15 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6335 the target doesn't support tracepoints.
6336 * gdb.trace/circ.exp: Ditto.
6337 * gdb.trace/collection.exp: Ditto.
6338 * gdb.trace/packetlen.exp: Ditto.
6339 * gdb.trace/passc-dyn.exp: Ditto.
6340 * gdb.trace/report.exp: Ditto.
6341 * gdb.trace/tfind.exp: Ditto.
6342 * gdb.trace/tspeed.exp: Ditto.
6343 * gdb.trace/tsv.exp: Ditto.
6344 * gdb.trace/unavailable.exp: Ditto.
6345 * gdb.trace/while-dyn.exp: Ditto.
6346
a2e0062d
PA
63472012-02-15 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6350 gdb_test_multiple, and call unsupported instead of fail, if the
6351 remote side does not support the request.
6352
a1999d40
PA
63532012-02-15 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6356 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6357 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6358 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6359 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6360 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6361 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6362 doesn't start with "extended-" already.
6363
7cee1e54
PA
63642012-02-15 Pedro Alves <palves@redhat.com>
6365
6366 Support extended-remote. Avoid cascading timeouts.
6367
6368 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6369 the extended-remote target. If attaching with no file fails, load
6370 the file manually.
6371 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6372
816338b5
SS
63732012-02-14 Stan Shebs <stan@codesourcery.com>
6374
6375 * gdb.base/ena-dis-br.exp: Add enable count test.
6376
cc30c4bd
PA
63772012-02-13 Pedro Alves <palves@redhat.com>
6378
6379 * config/mips-idt.exp: Delete.
6380 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6381 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6382 * gdb.base/break.exp: Remove mips-idt references.
6383 * gdb.base/chng-syms.exp: Ditto.
6384 * gdb.base/default.exp: Ditto.
6385 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6386 (top level): Don't call it.
6387 * gdb.base/opaque.exp: Remove mips-idt restarts.
6388 * gdb.base/ptype.exp: Remove mips-idt xfails.
6389 * gdb.base/scope.exp: Remove mips-idt restarts.
6390 * gdb.base/sepdebug.exp: Remove mips-idt references.
6391 * gdb.base/watchpoint.exp (maybe_clean_restart)
6392 (maybe_reinitialize): Delete.
6393 (test_disabling_watchpoints, test_disabling_watchpoints)
6394 (test_watchpoint_triggered_in_syscall)
6395 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6396 Don't call them.
6397
57008375
JK
63982012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6399
6400 * gdb.server/server-exec-info.exp: New file.
6401
4a2d9c08
PA
64022012-02-10 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6405 always non-empty.
6406 (test_attach): Always pass $exec to test_attach_gdb.
6407
09fa21bd
TT
64082012-02-08 Tom Tromey <tromey@redhat.com>
6409
6410 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6411 before inferior is started.
6412
f0823d2c
TT
64132012-02-07 Tom Tromey <tromey@redhat.com>
6414
6415 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6416 Symbol.value.
6417 * gdb.python/py-symbol.c (qq): Set default value.
6418
64192012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
6420
6421 * gdb.python/py-symbol.c (qq): New global.
6422 * gdb.python/py-symbol.exp: Add test for frame-less
6423 lookup_symbol.
6424 * gdb.python/py-symtab.exp: Fix line number.
6425
f7e44f65
JB
64262012-02-03 Joel Brobecker <brobecker@adacore.com>
6427
6428 * gdb.ada/mi_task_arg: New testcase.
6429
4c9ed63c
PA
64302012-02-02 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6433 extended timeout.
6434
c0b9f2c6
PA
64352012-02-02 Pedro Alves <palves@redhat.com>
6436
6437 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6438 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6439
5f8cefd7
PA
64402012-02-02 Pedro Alves <palves@redhat.com>
6441
6442 * gdb.base/term.exp: Rewrite.
6443 * gdb.base/term.c: New.
6444
2f3a2569
PA
64452012-02-02 Pedro Alves <palves@redhat.com>
6446
6447 * gdb.base/default.exp (run "r" abbreviation, run): Add
6448 extended-remote expected output.
6449
f149aabd
TT
64502012-02-02 Tom Tromey <tromey@redhat.com>
6451
6452 * gdb.cp/dispcxx.exp: New file.
6453 * gdb.cp/dispcxx.cc: New file.
6454
03bef283
TT
64552012-02-01 Tom Tromey <tromey@redhat.com>
6456
6457 * gdb.base/jit-simple.exp: New file.
6458 * gdb.base/jit-simple.c: New file.
6459
a79b18b5
YQ
64602012-01-30 Yao Qi <yao@codesourcery.com>
6461
6462 * gdb.base/skip.exp: Make test result unique.
6463
f0d1a53e
JK
64642012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6465
6466 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6467 compatibility with valgrind-3.7.0.
6468
4b3c9f41
PA
64692012-01-27 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/watchpoint.exp (no_hw): New global.
6472 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6473 disable hw watchpoints.
6474 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6475 don't expect hw watchpoints.
6476 (no_hw_watchpoints): Always clean restart.
6477 (do_tests): New procedure, factored out from the top level.
6478 (top level): Run tests twice. Once with hw watchpoints enabled,
6479 another time with hw watchpoints disabled.
6480
a13491c8
PA
64812012-01-27 Pedro Alves <palves@redhat.com>
6482
6483 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6484 out from the top level.
6485 (top level): Call it instead.
6486
f2c8a051
PA
64872012-01-27 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6490 watchpoints sooner.
6491
654d7a9e
PA
64922012-01-27 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6495
274f47f3
PA
64962012-01-27 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6499 "You may have requested too many hardware
6500 breakpoints/watchpoints".
6501
e4d63ba2
PA
65022012-01-27 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.base/watchpoint.exp (maybe_clean_restart)
6505 (maybe_reinitialize): New.
6506 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6507 expect "hit N times".
6508 (test_disabling_watchpoints, test_complex_watchpoint)
6509 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6510 Call maybe_clean_restart.
6511 (top level): Use clean_restart. Remove "mips-idt-*"
6512 reinitialization.
6513
dbd95daf
PA
65142012-01-27 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6517
f3ad2025
PA
65182012-01-27 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6521 require `initialize' anymore. Remove unnecessary `initialize'
6522 calls.
6523
100aa3ae
PA
65242012-01-27 Pedro Alves <palves@redhat.com>
6525
6526 * gdb.base/watchpoint.exp (wp_set): Delete.
6527 (initialize, test_simple_watchpoint, top level): Remove dead code.
6528
c79a8e11
PA
65292012-01-27 Pedro Alves <palves@redhat.com>
6530
6531 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6532 typo.
6533
048fe15a
PA
65342012-01-27 Pedro Alves <palves@redhat.com>
6535
6536 * config/extended-gdbserver.exp: New file.
6537 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6538 comment.
6539 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6540 * boards/native-extended-gdbserver.exp: New file.
6541
4033a6bf
PA
65422012-01-26 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6545 and gdb_test_multiple.
6546
3d7f4b81
PA
65472012-01-26 Pedro Alves <palves@redhat.com>
6548
6549 Make test messages unique, and more identifiable.
6550 * gdb.multi/watchpoint-multi.exp: Change test messages.
6551
484abf42
TT
65522012-01-25 Tom Tromey <tromey@redhat.com>
6553
6554 * gdb.base/solib-disc.exp: Fix regexps.
6555
edcc5120
TT
65562012-01-24 Tom Tromey <tromey@redhat.com>
6557
6558 * lib/mi-support.exp (mi_expect_stop): Add special case for
6559 solib-event.
6560 * gdb.base/catch-load-so.c: New file.
6561 * gdb.base/catch-load.exp: New file.
6562 * gdb.base/catch-load.c: New file.
6563 * gdb.base/break-interp.exp (reach_1): Update regexp.
6564
30b91c90
JK
65652012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6566
6567 Fix fuzzy results.
6568 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6569 lpsimple and func.
6570
53fe1783
GB
65712012-01-24 Gary Benson <gbenson@redhat.com>
6572
6573 Delete #if 0'd out code.
6574 * gdb.base/default.exp (info catch): Remove.
6575 * gdb.base/gdb_history (info catch): Likewise.
6576 * gdb.base/help.exp (info catch): Likewise.
6577
d0d8b0c6
JK
65782012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6579
6580 Fix watchpoints to be specific for each inferior.
6581 * gdb.multi/watchpoint-multi.c: New file.
6582 * gdb.multi/watchpoint-multi.exp: New file.
6583
4403d8e9
JK
65842012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6585
6586 Fix watchpoints across inferior fork.
6587 * gdb.threads/watchpoint-fork-child.c: New file.
6588 * gdb.threads/watchpoint-fork-mt.c: New file.
6589 * gdb.threads/watchpoint-fork-parent.c: New file.
6590 * gdb.threads/watchpoint-fork-st.c: New file.
6591 * gdb.threads/watchpoint-fork.exp: New file.
6592 * gdb.threads/watchpoint-fork.h: New file.
6593
050a2e1d
PA
65942012-01-23 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.base/call-signal-resume.exp: Allow output after "return".
6597
6a52fb62
PA
65982012-01-20 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.python/py-finish-breakpoint.py: Fix typo.
6601
145b16a9
UW
66022012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6603
6604 * gdb.base/info-proc.exp: Also run on remote targets. Main
6605 "info proc" command is now always present; whether target supports
6606 actual info proc operation is detected when attempting to issue
6607 the command.
6608
26f6125e
JK
66092012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6610
6611 * .gdbinit: Remove.
6612
eb5227ce
PA
66132012-01-19 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6616 look at the funtions' returns.
6617 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6618 (jprint.print(int, int)): Change return type to int. Adjust.
6619
1db33378
PP
66202012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6621
6622 PR gdb/9538
6623 * gdb.base/sepdebug.exp: New test.
6624
b9736cf8
PA
66252012-01-18 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6628 Allow output before ^done.
6629
4aac40c8
TT
66302012-01-16 Tom Tromey <tromey@redhat.com>
6631
6632 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6633 Add tests for relative directory.
6634
cafec441
TT
66352012-01-16 Tom Tromey <tromey@redhat.com>
6636
6637 * gdb.base/printcmds.c (enum flag_enum): New.
6638 (three): New global.
6639 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6640 enum printing.
6641 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6642 FlagEnumerationPrinter.
6643 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6644 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6645 (fval): New global.
6646
abcc4978
PA
66472012-01-16 Pedro Alves <palves@redhat.com>
6648
6649 * lib/gdb.exp (banned_procedures): New variable.
6650 (banned_variables_traced): Rename to ...
6651 (banned_traced): ... this.
6652 (gdb_init): Also trace banned procedures.
6653 (gdb_finish): Also untrace banned procedures.
6654
97ccebe8
PA
66552012-01-16 Pedro Alves <palves@redhat.com>
6656
6657 Remove all calls to strace.
6658
2af7517b
JK
66592012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6660
6661 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6662 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6663
9241a8bc
PP
66642012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6665
6666 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6667 * gdb.base/pie-execl.exp: Likewise.
6668
3848a17f
KS
66692012-01-12 Keith Seitz <keiths@redhat.com>
6670
6671 PR mi/10586
6672 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6673 (do_anonymous_type_tests): New function.
6674 (main): Call do_anonymous_type_tests.
6675 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6676 (verify_everything): New procedure.
6677 * gdb.mi/mi-var-cp.cc (class A): New class.
6678 (anonymous_structs_and_unions): New function.
6679 (main): Call anonymous_structs_and_unions.
6680 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6681 (verify_everything): New procedure.
6682
440e2fca
KS
66832012-01-12 Keith Seitz <keiths@redhat.com>
6684
6685 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6686 (varobj_tree::get_path_expr): Assume that all varobjs are
6687 compound unless they are known simple types.
6688 Adjust path expressions based on parent type, path parent type,
6689 and tree language.
6690 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6691 the root varobj.
6692 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6693
675399c9
PA
66942012-01-11 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6697 core files on this machine" anymore.
6698
97ddaa9b
PH
66992012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6700
6701 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6702 (main): Repeat recurser call.
6703 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6704 equivalent to 'local_x'.
6705
ea733575 67062012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 6707 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
6708
6709 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6710
2ca0b532
PA
67112012-01-05 Pedro Alves <alves.ped@gmail.com>
6712
6713 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6714 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6715 * gdb.python/py-events.exp: Test that "step N" tripping on a
6716 breakpoint emits a breakpoint event.
6717
6e681866
JB
67182012-01-03 Joel Brobecker <brobecker@adacore.com>
6719
6720 * gdb.base/auxv.exp: Reformat the copyright notice.
6721
3c2d6aff
YQ
67222012-01-03 Yao Qi <yao@codesourcery.com>
6723
6724 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6725 (strace_trace_on_diff_addr): New.
6726 * gdb.trace/strace.c: (main): Add two local variables.
6727
0852fee3
UW
67282011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6729
6730 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6731 * gdb.cell/gcore.exp: Likewise.
6732 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6733 to verify the correct instance of main is selected.
6734
12c3e59c
JB
67352012-01-02 Joel Brobecker <brobecker@adacore.com>
6736
6737 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6738 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6739 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6740 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6741 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6742 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6743 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6744 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6745 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6746 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6747 gdb.threads/thread_check.c: Reformat copyright header.
6748
c0f378ec
EBM
67492011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6750
e4a7ca93 6751 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
6752 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6753 is not enabled.
6754
3bc96cfb
JK
67552011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6756
6757 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6758 parameter to self_exec, adjust the function.
6759 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6760 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6761 (set var do_exit = 0): Remove test.
6762 (newline at end of file): Add one.
6763
095bcf5e
JB
67642011-12-27 Joel Brobecker <brobecker@adacore.com>
6765
6766 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6767 New files.
6768
18d19bd1
JK
67692011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6770
6771 Fix racy FAILs.
6772 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6773 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6774 (main): Call pthread_barrier_init for it.
6775
e809353a
JK
67762011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6777
6778 Fix double send_gdb leading to racy FAILs.
6779 * gdb.base/break.exp (set silent break bp_location1): Replace
6780 3x send_gdb and gdb_expect by gdb_test.
6781 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6782 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6783 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6784 instead of send_gdb. Twice.
6785 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6786 3x send_gdb and gdb_expect by gdb_test.
6787 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6788
da8cb7ec
JK
67892011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6790
6791 * gdb.linespec/linespec.exp: Compile using {c++}.
6792
ae1a303e
JK
67932011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6794
6795 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6796 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6797 (verify GCC PR debug/51668): New test.
6798
cc72b2a2
KP
67992011-12-23 Kevin Pouget <kevin.pouget@st.com>
6800
6801 Introduce gdb.FinishBreakpoint in Python.
6802 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6803 py-finish-breakpoint2
6804 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6805 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6806 instead of line number.
6807 * gdb.python/py-finish-breakpoint.c: New file.
6808 * gdb.python/py-finish-breakpoint.exp: New file.
6809 * gdb.python/py-finish-breakpoint.py: New file.
6810 * gdb.python/py-finish-breakpoint2.cc: New file.
6811 * gdb.python/py-finish-breakpoint2.exp: New file.
6812 * gdb.python/py-finish-breakpoint2.py: New file.
6813
3b7962f9
JK
68142011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6815
6816 Partial fix of compatibility with gcc-4.7.
6817 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6818 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6819 Add comment to add a PASS case in the future.
6820
6538471c
JK
6821 Fix compatibility with gcc-4.7.
6822 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6823
7052e42c
UW
68242011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6825
6826 PR tdep/12797
6827 * gdb.base/callfuncs.exp: Remove KFAIL.
6828
9ac7f98e
JB
68292011-12-21 Joel Brobecker <brobecker@adacore.com>
6830
6831 * gdb.ada/task_bp: New testcase.
6832
f6eeced0
JK
68332011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6834
6835 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6836 -DNO_SECTIONS.
6837 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6838
72225e17
JK
68392011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6840
6841 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6842 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6843 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6844 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6845 conditional for gcc <= 4.5.
6846
13ac8d2c
JK
68472011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6848
6849 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6850 by XFAIL.
6851 * gdb.cp/static-method.exp (info addr A::func())
6852 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6853 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6854 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6855 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6856 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6857 (test value of F in k3_m): Likewise.
6858 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6859 Likewise.
6860
049682ba
JK
68612011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6864 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6865 Remove.
6866 * gdb.threads/attachstop-mt.c: Remove.
6867 * gdb.threads/attachstop-mt.exp: Remove.
6868
2c9d8796
MK
68692011-12-17 Mark Kettenis <kettenis@gnu.org>
6870
6871 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6872
e0f9f062
DE
68732011-12-16 Doug Evans <dje@google.com>
6874
f4aa2101 6875 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6876 * boards/native-gdbserver.exp: New file.
6877
e0f9f062
DE
6878 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6879 gdbserver output.
6880 (gdbserver_default_get_remote_address): New function.
6881 (gdbserver_start): Call gdb,get_remote_address to compute argument
6882 to "target remote" command.
6883
80b6e756
PM
68842011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6885
1c3ad6ab 6886 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6887 python print-stack. Add set/show python print-stack
6888 off|full|message tests.
6889
1576bd00
YQ
68902011-12-15 Yao Qi <yao@codesourcery.com>
6891
6892 * gdb.trace/strace.c: New
6893 * gdb.trace/strace.exp: New.
6894
d6a0f6e0
TT
68952011-12-14 Tom Tromey <tromey@redhat.com>
6896
6897 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6898
31015e1d
DE
68992011-12-14 Doug Evans <dje@google.com>
6900
6901 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6902
7b50312a
PA
69032011-12-14 Pedro Alves <pedro@codesourcery.com>
6904
6905 PR threads/10729
6906
6907 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6908 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6909
924437bc
PA
69102011-12-13 Pedro Alves <pedro@codesourcery.com>
6911 Doug Evans <dje@google.com>
6912
6913 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6914 (clean_restart): Remove references to the gdb_stub target board
6915 variable.
6916 (gdb_step_for_stub): Delete.
6917
6918 * gdb.base/annota1.exp: Remove all references to [target_info
6919 exists gdb_stub], gdb_step_for_stub and usestubs.
6920 * gdb.base/annota3.exp: Ditto.
6921 * gdb.base/async.exp: Ditto.
6922 * gdb.base/break.exp: Ditto.
6923 * gdb.base/code-expr.exp: Ditto.
6924 * gdb.base/commands.exp: Ditto.
6925 * gdb.base/completion.exp: Ditto.
6926 * gdb.base/condbreak.exp: Ditto.
6927 * gdb.base/consecutive.exp: Ditto.
6928 * gdb.base/cvexpr.exp: Ditto.
6929 * gdb.base/define.exp: Ditto.
6930 * gdb.base/display.exp: Ditto.
6931 * gdb.base/ena-dis-br.exp: Ditto.
6932 * gdb.base/environ.exp: Ditto.
6933 * gdb.base/gnu-ifunc.exp: Ditto.
6934 * gdb.base/maint.exp: Ditto.
6935 * gdb.base/pending.exp: Ditto.
6936 * gdb.base/sect-cmd.exp: Ditto.
6937 * gdb.base/sepdebug.exp: Ditto.
6938 * gdb.base/unload.exp: Ditto.
6939 * gdb.base/watchpoint-solib.exp: Ditto.
6940 * gdb.cp/annota2.exp: Ditto.
6941 * gdb.cp/annota3.exp: Ditto.
6942 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6943 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6944 * gdb.mi/mi-pending.exp: Ditto.
6945 * gdb.trace/circ.exp: Ditto.
6946 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6947 * gdb.base/list.exp: Ditto.
6948
6949 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6950 breakpoint function and all references to the usestubs macro.
6951 * gdb.base/exprs.c: Ditto.
6952 * gdb.base/freebpcmd.c: Ditto.
6953 * gdb.base/bitfields.c: Ditto.
6954 * gdb.base/bitfields2.c: Ditto.
6955 * gdb.base/break.c: Ditto.
6956 * gdb.base/call-sc.c: Ditto.
6957 * gdb.base/call-signals.c: Ditto.
6958 * gdb.base/callfuncs.c: Ditto.
6959 * gdb.base/charset.c: Ditto.
6960 * gdb.base/consecutive.c: Ditto.
6961 * gdb.base/constvars.c: Ditto.
6962 * gdb.base/funcargs.c: Ditto.
6963 * gdb.base/int-type.c: Ditto.
6964 * gdb.base/interrupt.c: Ditto.
6965 * gdb.base/langs0.c: Ditto.
6966 * gdb.base/list0.c: Ditto.
6967 * gdb.base/mips_pro.c: Ditto.
6968 * gdb.base/miscexprs.c: Ditto.
6969 * gdb.base/nodebug.c: Ditto.
6970 * gdb.base/opaque0.c: Ditto.
6971 * gdb.base/pointers.c: Ditto.
6972 * gdb.base/printcmds.c: Ditto.
6973 * gdb.base/ptype.c: Ditto.
6974 * gdb.base/recurse.c: Ditto.
6975 * gdb.base/reread1.c: Ditto.
6976 * gdb.base/reread2.c: Ditto.
6977 * gdb.base/restore.c: Ditto.
6978 * gdb.base/return.c: Ditto.
6979 * gdb.base/run.c: Ditto.
6980 * gdb.base/scope0.c: Ditto.
6981 * gdb.base/sepdebug.c: Ditto.
6982 * gdb.base/setshow.c: Ditto.
6983 * gdb.base/setvar.c: Ditto.
6984 * gdb.base/sigall.c: Ditto.
6985 * gdb.base/signals.c: Ditto.
6986 * gdb.base/structs.c: Ditto.
6987 * gdb.base/structs2.c: Ditto.
6988 * gdb.base/testenv.c: Ditto.
6989 * gdb.base/twice.c: Ditto.
6990 * gdb.base/unwindonsignal.c: Ditto.
6991 * gdb.base/watchpoint.c: Ditto.
6992 * gdb.base/watchpoints.c: Ditto.
6993 * gdb.base/whatis.c: Ditto.
6994 * gdb.cp/classes.cc: Ditto.
6995 * gdb.cp/cplusfuncs.cc: Ditto.
6996 * gdb.cp/derivation.cc: Ditto.
6997 * gdb.cp/formatted-ref.cc: Ditto.
6998 * gdb.cp/misc.cc: Ditto.
6999 * gdb.cp/overload.cc: Ditto.
7000 * gdb.cp/ovldbreak.cc: Ditto.
7001 * gdb.cp/ref-params.cc: Ditto.
7002 * gdb.cp/ref-types.cc: Ditto.
7003 * gdb.cp/templates.cc: Ditto.
7004 * gdb.cp/virtfunc.cc: Ditto.
7005 * gdb.hp/gdb.aCC/run.c: Ditto.
7006 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7007 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7008 * gdb.reverse/consecutive-reverse.c: Ditto.
7009 * gdb.reverse/sigall-reverse.c: Ditto.
7010 * gdb.reverse/until-reverse.c: Ditto.
7011 * gdb.reverse/watch-reverse.c: Ditto.
7012 * gdb.trace/actions.c: Ditto.
7013 * gdb.trace/circ.c: Ditto.
7014 * gdb.trace/collection.c: Ditto.
7015
fabde485
PA
70162011-12-13 Pedro Alves <pedro@codesourcery.com>
7017
7018 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7019 (func6, func7): New.
7020 (main): Call func6 and func7.
7021 * gdb.base/watchpoint.exp (test_wide_location_1)
7022 (test_wide_location_2): New.
7023 (top level): Re-enable hardware watchpoints if necessary. Call
7024 test_wide_location_1 and test_wide_location_2.
7025
ff7d1690
YQ
70262011-12-11 Yao Qi <yao@codesourcery.com>
7027
7028 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7029
a6af7abe
JB
70302011-12-11 Joel Brobecker <brobecker@adacore.com>
7031
7032 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7033 expected output for unsupported case.
7034
61638e15
JK
70352011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 PR testsuite/12649
7038 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7039 Protect gdb_test_multiple by final $gdb_prompt match.
7040
0a00efc3
JK
70412011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7044 New variable, new test.
7045 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7046 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7047 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7048 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7049 them if HAVE_GCC_45682_FIXED is not set.
7050
4511b1ba
YQ
70512011-12-10 Yao Qi <yao@codesourcery.com>
7052
7053 * gdb.trace/status-stop.exp: New.
7054 * gdb.trace/status-stop.c: New.
7055
27949e73
JK
70562011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7059 timeout.
7060
d8ea7931
TT
70612011-12-08 Tom Tromey <tromey@redhat.com>
7062
7063 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7064 condition.
7065
1cc310d2
SS
70662011-12-07 Stan Shebs <stan@codesourcery.com>
7067
7068 * gdb.trace/tfind.exp: Update for output changes.
7069
d482a875
PA
70702011-12-07 Pedro Alves <pedro@codesourcery.com>
7071
7072 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7073 throws "Cannot insert catchpoints in this configuration".
7074 * gdb.ada/mi_catch_ex.exp: Likewise.
7075
f0ba3972
PA
70762011-12-06 Pedro Alves <pedro@codesourcery.com>
7077
7078 * gdb.base/break-always.exp: Test changing memory at addresses
7079 with breakpoints inserted.
7080
f8eba3c6
TT
70812011-12-06 Joel Brobecker <brobecker@acacore.com>
7082
6fdff2c5
PA
7083 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7084 involving a fully qualified function name.
f8eba3c6
TT
7085
70862011-12-06 Tom Tromey <tromey@redhat.com>
7087
7088 * gdb.ada/homonym.exp: Add three breakpoint tests.
7089
70902011-12-06 Tom Tromey <tromey@redhat.com>
7091
7092 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7093 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7094 * gdb.objc/objcdecode.exp: Update for output changes.
7095 * gdb.linespec/linespec.exp: New file.
7096 * gdb.linespec/lspec.cc: New file.
7097 * gdb.linespec/lspec.h: New file.
7098 * gdb.linespec/body.h: New file.
7099 * gdb.linespec/base/two/thefile.cc: New file.
7100 * gdb.linespec/base/one/thefile.cc: New file.
7101 * gdb.linespec/Makefile.in: New file.
7102 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7103 output changes.
7104 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7105 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7106 makes one breakpoint.
7107 * gdb.cp/method2.exp (test_break): Update for output changes.
7108 * gdb.cp/mb-templates.exp: Update for output changes.
7109 * gdb.cp/mb-inline.exp: Update for output changes.
7110 * gdb.cp/mb-ctor.exp: Update for output changes.
7111 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7112 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7113 has multiple matches.
7114 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7115 error message change.
7116 * gdb.base/list.exp (test_list_filename_and_number): Update for
7117 error message change.
7118 * gdb.base/break.exp: Disable pending breakpoints. Update for
7119 output changes.
7120 * configure.ac: Add gdb.linespec.
7121 * configure: Rebuild.
7122 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7123
c642a434
UW
71242011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7125
7126 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7127 last_break register on s390*-*-* targets.
7128
b18003d1
JB
71292011-12-06 Joel Brobecker <brobecker@adacore.com>
7130
7131 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7132 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7133 of parameter X in procedure Foo.
7134
fe96589c
SS
71352011-12-05 Stan Shebs <stan@codesourcery.com>
7136
7137 * gdb.trace/tfind.exp: Update help string matches.
7138
1820ab47
JK
71392011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.server/ext-run.exp (get process list): Accept also systemd
7142 as PID 1.
7143
e11ac3a3
JK
71442011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7145 Pedro Alves <pedro@codesourcery.com>
7146
7147 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7148 starting GDB.
7149 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7150 $use_gdb_stub.
7151 * gdb.base/display.exp: Likewise.
7152 * gdb.base/ending-run.exp: Likewise.
7153 * gdb.base/list.exp (test_listsize): Likewise.
7154 * gdb.base/setshow.exp: Likewise.
7155 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7156 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7157 check by global $use_gdb_stub.
7158 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7159 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7160 (default_gdb_init): Unset global $use_gdb_stub.
7161 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7162 by global $use_gdb_stub.
7163 * lib/gdbserver-support.exp: Extend comments for set_board_info
7164 gdb_protocol and gdb,socketport.
7165 (gdbserver_start_extended): Set global gdbserver_protocol and
7166 gdbserver_gdbport. Clear global use_gdb_stub.
7167 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7168 from target use_gdb_stub.
7169 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7170
1d41d75c
DE
71712011-12-03 Doug Evans <dje@google.com>
7172
7173 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7174 (gdb_step_for_stub): Add comments.
7175
d6d7a51a
MR
71762011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7177
7178 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7179 to the caller.
7180 (gdb_test_multiple): Likewise.
7181
05acf274
JK
71822011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7183
7184 Fix gdb.mi/mi-solib.exp without system debug info installed.
7185 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7186 expect attribute, return 0 for it. Update comments.
7187
2268b414
JK
71882011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7189
7190 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7191 (corrupted list): Adjust the expectation.
7192
585861ea
JK
71932011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 PR threads/13448
7196 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7197 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7198 * gdb.threads/tls-var-main.c: New file.
7199 * gdb.threads/tls-var.c: New file.
7200 * gdb.threads/tls-var.exp: New file.
7201
968643aa
JK
72022011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7203
7204 PR testsuite/12649
7205 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7206 Protect gdb_test_multiple by final $gdb_prompt match.
7207 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7208 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7209 (test_tracepoints): Likewise.
7210
9750bca9
JK
72112011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7212
7213 PR breakpoints/13346
7214 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7215 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7216 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7217
ac1349b7
JB
72182011-12-01 Joel Brobecker <brobecker@adacore.com>
7219
7220 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7221 * gdb.ada/homonym/homonym.adb: For use of all types defined
7222 locally inside both Get_Value subprograms.
7223
26d44faf
JK
72242011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 Fix racy FAILs.
7227 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7228 of send_gdb.
7229
514f6425
UW
72302011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7231
7232 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7233 environment variable after test completed.
7234
4255c8d2
UW
72352011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7236
7237 * gdb.base/solib-nodir.exp: Skip if remote target.
7238 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7239 application. Call gdb_load_shlibs.
7240 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7241
a35ad96a
JB
72422011-11-29 Joel Brobecker <brobecker@adacore.com>
7243
7244 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7245
1a1d5513
JB
72462011-11-28 Joel Brobecker <brobecker@adacore.com>
7247
7248 * gdb.ada/fullname_bp: New testcase.
7249
50b4ddf8
JK
72502011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 PR testsuite/12649
7253 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7254 Wrap send_gdb into a new gdb_test.
7255
fb0aec57
JK
7256 Code cleanup.
7257 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7258 Convert send_gdb and gdb_expect to gdb_test_multiple.
7259
2376d946
JK
72602011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7261
7262 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7263
1eec78bd
KS
72642011-11-23 Keith Seitz <keiths@redhat.com>
7265
7266 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7267 (mi_varobj_tree_test_children_callback): New proc.
7268 (mi_walk_varobj_tree): New proc.
7269
36dfb11c
TT
72702011-11-22 Tom Tromey <tromey@redhat.com>
7271
7272 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7273 Add "use_mi_command" argument.
7274 (mi_run_cmd, mi_run_with_cli): New procs.
7275 * gdb.mi/solib-lib.c: New file.
7276 * gdb.mi/solib-main.c: New file.
7277 * gdb.mi/mi-solib.exp: New file.
7278
0e965dd0
DE
72792011-11-21 Doug Evans <dje@google.com>
7280
7281 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7282 _Unwind_DebugHook is missing.
7283
f196051f
SS
72842011-11-20 Stan Shebs <stan@codesourcery.com>
7285
7286 * gdb.trace/tstatus.exp: New.
7287 * gdb.trace/actions.c: Include string.h.
7288
bfccc43c
YQ
72892011-11-18 Yao Qi <yao@codesourcery.com>
7290
7291 * gdb.trace/pending.exp: New.
7292 * gdb.trace/pending.c: New.
7293 * gdb.trace/pendshr1.c: New.
7294 * gdb.trace/pendshr2.c: New.
7295 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7296 tracepoint location becomes pending.
7297 (tracepoint_change_loc_2): New.
7298
73cd8ab1
DM
72992011-11-16 David S. Miller <davem@davemloft.net>
7300
7301 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7302 target is sparc*-*-linux*
7303
77426730
PK
73042011-11-15 Paul Koning <paul_koning@dell.com>
7305
7306 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7307 types.
7308
ed59ded5
DE
73092011-11-14 Doug Evans <dje@google.com>
7310
7311 * gdb.base/shell.exp: New file.
7312
405f8e94
SS
73132011-11-14 Stan Shebs <stan@codesourcery.com>
7314
7315 * gdb.trace/ftrace.c: New.
7316 * gdb.trace/ftrace.exp: New.
7317
1e4d1764
YQ
73182011-11-14 Yao Qi <yao@codesourcery.com>
7319
7320 * gdb.trace/change-loc-1.c: New.
7321 * gdb.trace/change-loc-2.c: New.
7322 * gdb.trace/change-loc.c: New.
7323 * gdb.trace/change-loc.exp: New.
7324 * gdb.trace/change-loc.h: New.
7325 * gdb.trace/trace-break.c (marker): Define new symbol.
7326 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 7327 New.
1e4d1764
YQ
7328 (break_trace_same_addr_6): New.
7329
71eba9c2 73302011-11-12 Matt Rice <ratmice@gmail.com>
7331
7332 * gdb.base/info-macros.exp: Make tests for info definitions
7333 test info macro. Add tests for info macro argument processing.
7334 Rename a few tests.
7335
1d93e29a
KS
73362011-11-11 Keith Seitz <keiths@redhat.com>
7337
7338 PR gdb/12843
7339 * gdb.base/linespecs.exp: New file.
7340
a4b5b48a
DE
73412011-11-11 Doug Evans <dje@google.com>
7342
7343 * gdb.threads/print-threads.exp: Extend timeout for slower
7344 tests.
7345
f6b47be4
DE
73462011-11-10 Doug Evans <dje@google.com>
7347
792a0230
DE
7348 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7349 "record to end of main" test.
7350
f6b47be4
DE
7351 * gdb.python/py-type.c (TS): New typedef.
7352 (ts): New global.
7353 * gdb.python/py-type.exp: Test field list of typedef.
7354
22355c90
JB
73552011-11-10 Joel Brobecker <brobecker@adacore.com>
7356
7357 * gdb.ada/small_reg_param: New testcase.
7358
a7860e76
TT
73592011-11-09 Tom Tromey <tromey@redhat.com>
7360
7361 * gdb.cp/destrprint.exp: New file.
7362 * gdb.cp/destrprint.cc: New file.
7363
72a2e3dc
MI
73642011-11-08 Meador Inge <meadori@codesourcery.com>
7365
7366 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7367 (switch_stack_to_other): New test function.
7368 * gdb.arch/thumb-prologue.exp: New test cases.
7369
c7195df2 73702011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
7371
7372 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7373
d3895d7d
YQ
73742011-11-08 Yao Qi <yao@codesourcery.com>
7375
7376 * gdb.exp (supports_process_record): New.
7377 (supports_reverse): New.
7378 * gdb.reverse/break-precsave.exp: Call support_process_record
7379 to run test conditionally.
7380 * gdb.reverse/consecutive-precsave.exp: Likewise.
7381 * gdb.reverse/i386-precsave.exp: Likewise.
7382 * gdb.reverse/machinestate-precsave.exp: Likewise.
7383 * gdb.reverse/solib-precsave.exp: Likewise.
7384 * gdb.reverse/step-precsave.exp: Likewise.
7385 * gdb.reverse/until-precsave.exp: Likewise.
7386 * gdb.reverse/watch-precsave.exp: Likewise.
7387 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7388 test conditionally.
7389 * gdb.reverse/consecutive-reverse.exp: Likewise.
7390 * gdb.reverse/finish-precsave.exp: Likewise.
7391 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7392 * gdb.reverse/finish-reverse.exp: Likewise.
7393 * gdb.reverse/i386-reverse.exp: Likewise.
7394 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7395 * gdb.reverse/machinestate.exp: Likewise.
7396 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7397 * gdb.reverse/sigall-precsave.exp: Likewise.
7398 * gdb.reverse/sigall-reverse.exp: Likewise.
7399 * gdb.reverse/solib-reverse.exp: Likewise.
7400 * gdb.reverse/step-reverse.exp: Likewise.
7401 * gdb.reverse/until-reverse.exp: Likewise.
7402 * gdb.reverse/watch-reverse.exp: Likewise.
7403
a59306a3
YQ
74042011-11-05 Yao Qi <yao@codesourcery.com>
7405
7406 * gdb.trace/trace-break.exp: Add test on setting two
7407 fast tracepoints at the same address.
7408
87769f59
JK
74092011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7410
7411 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7412
3065dfb6
SS
74132011-11-02 Stan Shebs <stan@codesourcery.com>
7414
7415 * gdb.trace/collection.c: Add code using strings.
7416 * gdb.trace/collection.exp: Add tests of string collection.
7417
89e208db
JK
74182011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7419
7420 * gdb.base/skip-solib.exp (executable_main): New variable.
7421 (binfile_main): Base it on that.
7422 Use $executable_main in clean_restart calls. Drop gdb_exit and
7423 gdb_start calls.
7424
405e54e9
JK
74252011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 Fix racy FAILs.
7428 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7429 breakpoint_re globals import by async. Set string_regex to .* for
7430 async. Remove the optional thread_selected_re and breakpoint_re
7431 globals expectations.
7432
58e8570a
JM
74332011-11-01 Joseph Myers <joseph@codesourcery.com>
7434
7435 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7436 well as Cygwin.
7437
7b35ec7f 74382011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
7439
7440 Add tests for skip command.
89e208db
JK
7441 * gdb.base/skip-solib-lib.c: New
7442 * gdb.base/skip-solib-main.c: New
7443 * gdb.base/skip-solib.exp: New
7444 * gdb.base/skip.c: New
7445 * gdb.base/skip.exp: New
7446 * gdb.base/skip1.c: New
7447 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 7448
b9fd1791
PA
74492011-10-31 Yao Qi <yao@codesourcery.com>
7450 Pedro Alves <pedro@codesourcery.com>
7451
6fdff2c5
PA
7452 * gdb.trace/trace-break.c: New.
7453 * gdb.trace/trace-break.exp: New.
b9fd1791 7454
4323fecc
JK
74552011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7458 break-here-2.
7459
0e5bf2a8
PA
74602011-10-28 Pedro Alves <pedro@codesourcery.com>
7461
7462 * gdb.threads/no-unwaited-for-left.c: New.
7463 * gdb.threads/no-unwaited-for-left.exp: New.
7464 * gdb.threads/non-ldr-exc-1.c: New.
7465 * gdb.threads/non-ldr-exc-1.exp: New.
7466 * gdb.threads/non-ldr-exc-2.c: New.
7467 * gdb.threads/non-ldr-exc-2.exp: New.
7468 * gdb.threads/non-ldr-exc-3.c: New.
7469 * gdb.threads/non-ldr-exc-3.exp: New.
7470 * gdb.threads/non-ldr-exc-4.c: New.
7471 * gdb.threads/non-ldr-exc-4.exp: New.
7472
3a3dad98
JK
74732011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7476 * gdb.base/attach-pie-misread.exp: Likewise.
7477 * gdb.base/break-interp.exp: Likewise.
7478 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7479 testcases for use_gdb_stub.
7480 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7481 (continue): New testcase.
7482 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7483 * gdb.threads/attach-into-signal.exp: Likewise.
7484 * gdb.threads/attach-stopped.exp: Likewise.
7485 * gdb.threads/attachstop-mt.exp: Likewise.
7486
d6a5d40c
PK
74872011-10-28 Paul Koning <paul_koning@dell.com>
7488
7489 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7490
ca539be8
JK
74912011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7492
7493 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7494 (mi_gdb_test): Import globals thread_selected_re
7495 and breakpoint_re. Expect them optionally at the regex start.
7496
d234ef5c
DE
74972011-10-27 Doug Evans <dje@google.com>
7498
7499 * gdb.python/python.exp: Test source -s.
7500
ab964825
PK
75012011-10-26 Paul Koning <paul_koning@dell.com>
7502
7503 * gdb.python/lib-types.cc (struct A): New structure.
7504 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 7505
54d8a644
PK
75062011-10-25 Paul Koning <paul_koning@dell.com>
7507
7508 PR python/13327
d234ef5c 7509
54d8a644
PK
7510 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7511 fetch_lazy method.
7512
b0221781
YQ
75132011-10-24 Yao Qi <yao@codesourcery.com>
7514
7515 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7516 target is tic6x-*-*.
7517
6cda5a20
JB
75182011-10-21 Joel Brobecker <brobecker@adacore.com>
7519
7520 * gdb.ada/mi_task_info/task_switch.adb: New file.
7521 * gdb.ada/mi_task_info.exp: New file.
7522
5ed9db04
JK
75232011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7524
7525 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7526 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7527
9df2fbc4
PM
75282011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7529
7530 PR python/12656
7531
7532 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7533 global_block tests.
7534
736086ba
TT
75352011-10-18 Tom Tromey <tromey@redhat.com>
7536
7537 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7538
4af31552
TT
75392011-10-18 Tom Tromey <tromey@redhat.com>
7540
7541 * gdb.base/source.exp: Don't include full file name in test name.
7542 * gdb.python/python.exp: Don't include full file name in test
7543 name.
7544
43136979
AR
75452011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 * gdb.base/attach-pie-noexec.c: New files.
7548 * gdb.base/attach-pie-noexec.exp: New files.
7549
543a9323
JM
75502011-10-17 Joseph Myers <joseph@codesourcery.com>
7551
7552 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7553 prompt for each extra line in command.
7554
21ae7a4d
JK
75552011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7556
7557 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7558 Revert the part of:
7559 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7560 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7561 Change the expected string.
7562
20ec36d9
JK
75632011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7564
7565 Fix results with system glibc debug info installed.
7566 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7567 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7568 Accept also __libc_ symbol prefix and no prefix.
7569
6501c2fc
KS
75702011-10-14 Keith Seitz <keiths@redhat.com>
7571
7572 PR c++/13225
7573 * gdb.cp/converts.cc (foo3_1): New function.
7574 (foo3_2): New functions.
7575 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7576 and null pointer conversions of integer constant zero.
7577 Add test to check if all arguments are checked for incompatible
7578 conversion BADNESS.
7579
55b1fd0c
TT
75802011-10-14 Tom Tromey <tromey@redhat.com>
7581
7582 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7583 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7584 linespec.
7585
22c05d8a
JK
75862011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7587
7588 Fix internal error regression.
7589 * gdb.dwarf2/implptr-optimized-out.S: New file.
7590 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7591
1d6edc3c
JK
75922011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7593
7594 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7595 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7596 (loclist): New.
7597 (4): New abbrev.
7598 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7599 Use prepare_for_testing, remove clean_restart.
7600 (p arraynoloc, p arraycallnoloc): New tests.
7601
9ec72168
JK
76022011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7603
7604 * gdb.cp/namespace-enum.exp (executable): New variable.
7605 (binfile): Use ${objdir}/${subdir}/ prefix.
7606 Use ${executable} for clean_restart.
7607
9c6c53f7
SA
76082011-10-11 Sterling Augustine <saugustine@google.com>
7609
7610 * gdb.cp/Makefile.in: Add namespace-enum test.
7611 * gdb.cp/namespace-enum.exp: New file.
7612 * gdb.cp/namespace-enum.c: New file.
7613 * gdb.cp/namespace-enum-main.c: New file.
7614
fac7ceb3
UW
76152011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7616
7617 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7618 sysroot.
7619
941b2081
JK
76202011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 Reimplement @entry in input expressions.
7623 * gdb.base/exprs.c (v_int_array_init): New variable.
7624 * gdb.base/exprs.exp (print v_int_array_init)
7625 (print *v_int_array_init@1, print *v_int_array_init@2)
7626 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7627 (print v_int_array_init[1]@1): New tests.
7628
0344e878
JM
76292011-10-10 Joseph Myers <joseph@codesourcery.com>
7630
7631 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7632 expected message.
7633
5a56e9c5
DE
76342011-10-09 Doug Evans <dje@google.com>
7635
7636 * gdb.base/alias.exp: Add tests for alias command.
7637
2bda9cc5
JK
76382011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 * gdb.arch/amd64-entry-value.s: New file.
7641 * gdb.mi/mi2-amd64-entry-value.s: New file.
7642
a471c594
JK
76432011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7644
7645 Display @entry parameter values even for references.
7646 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7647 functions.
7648 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7649 reference and datap_input.
7650 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7651 breakpoints.
7652 (continue to breakpoint: entry_reference: reference)
7653 (entry_reference: bt at entry)
7654 (continue to breakpoint: entry_reference: breakhere_reference)
7655 (entry_reference: bt, entry_reference: ptype regparam)
7656 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7657 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7658 (entry_reference: p regcopy, entry_reference: p nodataparam)
7659 (entry_reference: p nodataparam@entry): New tests.
7660
36b11add
JK
76612011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7662
7663 Support @entry in input expressions.
7664 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7665 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7666 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7667 (tailcall: p j@entry): New tests.
7668 * gdb.cp/koenig.cc (A::entry): New function.
7669 (main): Call it.
7670 * gdb.cp/koenig.exp (p entry (c)): New test.
7671
e18b2753
JK
76722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 Display @entry parameter values (without references).
7675 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7676 (different, validity, invalid): New functions.
7677 (main): Call them.
7678 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7679 stacktest, breakhere_stacktest, different, breakhere_different,
7680 breakhere_validity and breakhere_invalid.
7681 (entry: bt): Update for @entry.
7682 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7683 (entry_validity: *, entry_invalid: *): Many new tests.
7684 * gdb.base/break.exp
7685 (run until breakpoint set at small function, optimized file): Accept
7686 also the @entry suffix.
7687 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7688 * gdb.mi/mi2-amd64-entry-value.c: New files.
7689 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7690
2d6c5dc2
JK
76912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 Protect entry values against self tail calls.
7694 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7695 (main): Call self.
7696 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7697 (set debug entry-values 1, self: bt debug entry-values): New tests.
7698
111c6489
JK
76992011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7700
7701 Recognize virtual tail call frames.
7702 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7703 (amb_b, amb_a): New.
7704 (main): Call a and b.
7705 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7706 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7707 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7708 New tests.
7709
8e3b41a9
JK
77102011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 Implement basic support for DW_TAG_GNU_call_site.
7713 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7714 * gdb.arch/amd64-entry-value.cc: New file.
7715 * gdb.arch/amd64-entry-value.exp: New file.
7716
181cebd4
JK
77172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7720 * gdb.dwarf2/implptr-64bit.S: New file.
7721 * gdb.dwarf2/implptr-64bit.exp: New file.
7722
741f5e3c
JK
77232011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 Fix initial language detection with -readnow.
7726 * gdb.cp/readnow-language.cc: New file.
7727 * gdb.cp/readnow-language.exp: New file.
7728
a73d2258
JK
77292011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7730
7731 Fix printed anonymous struct name.
7732 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7733
af369495
JM
77342011-10-09 Joseph Myers <joseph@codesourcery.com>
7735
7736 * gdb.base/solib-symbol.exp: Do not include directories in
7737 filenames in expected messages.
7738
1fa57852
DE
77392011-10-07 Doug Evans <dje@google.com>
7740
7741 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7742
bd054e06
KP
77432011-10-07 Kevin Pouget <kevin.pouget@st.com>
7744
7745 Allow Python notification of new object-file loadings.
7746 * gdb.python/py-events.exp: Test newobjfile event.
7747 * gdb.python/py-events.py: Register newobjfile callback.
7748 * gdb.python/py-events.c: Add call to shared library
7749 * gdb.python/py-events-shlib.c: New file.
7750
8031b6f8
JM
77512011-10-06 Joseph Myers <joseph@codesourcery.com>
7752
7753 * gdb.base/fixsection.exp: Do not include directories in filename
7754 in expected message.
7755
7fea6923
PM
77562011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7757
7758 Add tests for passing of environment variables to inferior.
7759 * gdb.base/testenv.c: New test source.
7760 * gdb.base/testenv.exp: New expect test.
7761
687f2a88
PK
77622011-10-04 Paul Koning <paul_koning@dell.com>
7763
7764 * gdb.python/py-value.c (main): Break before return.
7765
cb6be26b
KP
77662011-10-04 Kevin Pouget <kevin.pouget@st.com>
7767
7768 PR python/12691: Add the inferior to Python exited event
7769 * gdb.python/py-events.exp: Test the inferior attribute of exited
7770 event with a fork.
7771 * gdb.python/py-events.py: Print inferior number on exit.
7772 * gdb.python/py-events.c: Fork the inferior.
7773
fb213700
EBM
77742011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7775
7776 * gdb.base/jit.exp: Add testcase name to log message
7777
aa2071bd
PK
77782011-10-03 Paul Koning <paul_koning@dell.com>
7779 Jan Kratochvil <jan.kratochvil@redhat.com>
7780
7781 * gdb.python/py-value.exp
7782 (python inval = gdb.parse_and_eval('*(int*)0'))
7783 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7784 (set argc=2, python print argc_lazy): New tests.
7785
dd11a36c
JB
77862011-10-02 Joel Brobecker <brobecker@adacore.com>
7787
7788 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7789
46f886f1
JK
77902011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7791 Pedro Alves <pedro@codesourcery.com>
7792
7793 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7794 can_read_0, test for it.
7795 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7796 (parse_and_eval with memory error): ... here, make it untested if
7797 can_read_0.
7798
c5cb204f
MP
77992011-09-30 Marek Polacek <mpolacek@redhat.com>
7800
7801 * gdb.python/python.exp (verify pagination beforehand)
7802 (verify pagination afterwards): Fix race by splitting the line.
7803
68fb0ec0
JM
78042011-09-29 Joseph Myers <joseph@codesourcery.com>
7805
7806 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7807 for 64-bit multilibs from i?86-* targets.
7808
6aee0d90
MP
78092011-09-29 Marek Polacek <mpolacek@redhat.com>
7810
7811 * lib/gdb.exp: Fix a typo in one of the comments.
7812
e9101ff5
MP
78132011-09-29 Marek Polacek <mpolacek@redhat.com>
7814
7815 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7816 matching pattern.
7817
7a81bdbf
PK
78182011-09-28 Paul Koning <paul_koning@dell.com>
7819
7820 * gdb.python/py-type.c (enum E): New.
7821 * gdb.python/py-type.exp (test_fields): Add tests for Python
7822 mapping access to fields.
7823 (test_enums): New test for field access on enums.
7824
6710bf39
SS
78252011-09-27 Stan Shebs <stan@codesourcery.com>
7826
7827 * gdb.trace/collection.exp: Test collection of $_ret.
7828
b2a6bdeb
AT
78292011-09-22 Andreas Tobler <andreast@fgznet.ch>
7830
7831 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7832 list of compilation switches for <*-*-freebsd*>.
7833
3c9057f3
SS
78342011-09-19 Stan Shebs <stan@codesourcery.com>
7835
7836 * gdb.trace/tspeed.exp: New file.
7837 * gdb.trace/tspeed.c: New file.
7838
34518530
YQ
78392011-09-18 Yao Qi <yao@codesourcery.com>
7840
7841 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7842 instructions.
7843 (test_adr_32bit, test_pop_pc): Likewise.
7844 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7845 Thumb instructions.
7846 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7847 in gdb_test_multiple.
7848 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7849
ab254057
YQ
78502011-09-17 Yao Qi <yao@codesourcery.com>
7851
7852 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7853 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7854 support single step to signal handler.
7855
9c317b71
YQ
78562011-09-17 Yao Qi <yao@codesourcery.com>
7857
7858 * gdb.base/disp-step-fork.c: New.
7859 * gdb.base/disp-step-syscall.exp: New.
7860 * gdb.base/disp-step-vfork.c: New.
7861
a8123151
JB
78622011-09-16 Joel Brobecker <brobecker@adacore.com>
7863
7864 * gdb.ada/tasks.exp: Make the expected output for
7865 the `info tasks' tests more resilient to spacing
7866 changes.
7867
63a9aad8
JK
78682011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7869
7870 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7871 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7872
2aa48337
KP
78732011-09-15 Kevin Pouget <kevin.pouget@st.com>
7874
7875 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7876 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7877
6839b47f
KP
78782011-04-30 Kevin Pouget <kevin.pouget@st.com>
7879
7880 Handle multiple breakpoint hits in Python interface:
7881 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7882 presence.
7883 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7884 breakpoint hits.
7885
0935723e
JK
78862011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7887 Jan Kratochvil <jan.kratochvil@redhat.com>
7888
7889 * gdb.python/py-events.exp: Remove pretty printing comment.
7890 * gdb.python/py-evsignal.exp: New file.
7891 * gdb.python/py-evthreads.c: Include signal.h.
7892 (thread3): Remove variable count3. Remove variable bad and use raise
7893 instead.
7894 (thread2): Remove variable count2. Move thread3 pthread_create here,
7895 merge pthread_join to a single line.
7896 (main): Remove variable count1. Merge pthread_join with pthread_create
7897 to a single line.
7898 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7899 KFAIL python/12966 for gdbserver. Test return value of
7900 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7901 gdb_expect by gdb_test and gdb_test_multiple.
7902 (thread 2, thread 3): New tests.
7903
4801a9a3
PA
79042011-09-12 Matt Rice <ratmice@gmail.com>
7905 Pedro Alves <pedro@codesourcery.com>
7906
7907 PR gdb/13175
7908
7909 * gdb.base/interp.exp: New tests.
7910 * gdb.base/interp.c: New file.
7911
24ece742
DE
79122011-09-12 Doug Evans <dje@google.com>
7913
7914 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7915 * gdb.dwarf2/typeddwarf.exp: Ditto.
7916
7f062217
JK
79172011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 Fix compatibility with x32 arch.
7920 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7921 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7922 is_x86_like_target.
7923 * testsuite/gdb.trace/collection.exp: Likewise.
7924 * testsuite/gdb.trace/report.exp: Likewise.
7925 * testsuite/gdb.trace/unavailable.exp: Likewise.
7926 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7927 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7928 (is_x86_like_target): Check also is_amd64_regs_target.
7929
08711b9a
JK
79302011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7931
7932 PR breakpoints/12435
7933 * gdb.arch/amd64-prologue-xmm.c: New file.
7934 * gdb.arch/amd64-prologue-xmm.exp: New file.
7935 * gdb.arch/amd64-prologue-xmm.s: New file.
7936
b99b5f66
JK
79372011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7938
7939 * gdb.dwarf2/dw2-param-error-main.c: New file.
7940 * gdb.dwarf2/dw2-param-error.S: New file.
7941 * gdb.dwarf2/dw2-param-error.exp: New file.
7942
a391a2f6
PA
79432011-09-08 Pedro Alves <pedro@codesourcery.com>
7944
7945 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7946 inferior's pid and look for a core dump named core.$pid. Use
7947 `remote_file' commands on the host instead of hand coding shell
7948 commands on the build.
7949 * gdb.base/valgrind-db-attach.exp: Kill the program before
7950 finishing the test.
7951
7d8e6458 79522011-09-02 Matt Rice <ratmice@gmail.com>
7953
7954 * lib/prompt.exp: New file for testing the first prompt.
7955 * gdb.python/py-prompt.exp: Ditto.
7956 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7957
68e77c9e
PA
79582011-09-02 Pedro Alves <pedro@codesourcery.com>
7959
7960 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7961 0, before testing gcore.
7962
9655e943
JK
79632011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
df6dc84d
JK
7965 * dw2-ifort-parameter-debug.S: Update copyright year.
7966 * dw2-ifort-parameter.c: Update copyright year.
7967 * dw2-ifort-parameter.exp: Update copyright year.
7968
9655e943
JK
7969 * dw2-ifort-parameter-debug.S: New file.
7970 * dw2-ifort-parameter.c: New file.
7971 * dw2-ifort-parameter.exp: New file.
7972
353d1d73
JK
79732011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7974
7975 * gdb.base/commands.exp (error_clears_commands_left): New function.
7976 (): Call it.
7977
5c07461a
JK
79782011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7979
7980 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7981 (C): Initialize `a'.
7982 * gdb.mi/mi-inheritance-syntax-error.exp
7983 (-data-evaluate-expression $path): Expect `a' as 5.
7984
0d932b2f
MK
79852011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7986
7987 PR mi/11912
7988 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7989 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7990 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7991 keyword in output of -var-info-path-expression.
7992
bdb54049
JK
79932011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7994
7995 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7996 * gdb.trace/collection.exp: Likewise.
7997 * gdb.trace/report.exp: Likewise.
7998 * gdb.trace/unavailable.exp: Likewise.
7999 * gdb.trace/while-dyn.exp: Likewise.
8000
59cde39c
KS
80012011-08-18 Keith Seitz <keiths@redhat.com>
8002
8003 PR c++/12266
8004 * gdb.cp/meth-typedefs.cc: New file.
8005 * gdb.cp/meth-typedefs.exp: New file.
8006
fa3a4f15
PM
80072011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8008
6fdff2c5 8009 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 8010
c1049fca
JK
80112011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8012
8013 * gdb.arch/i386-dr3-watch.exp
8014 (watchpoint on gap1 does not fit debug registers)
8015 (delete all watchpoints): Fix racy expect strings.
8016
d93f7b5c
YQ
80172011-08-14 Yao Qi <yao@codesourcery.com>
8018
8019 * gdb.base/maint.exp: set data_section to ".neardata".
8020 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8021 * gdb.base/savedregs.exp: Handle SIGILL.
8022 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8023 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8024
457e09f0
DE
80252011-08-12 Doug Evans <dje@google.com>
8026
8027 * gdb.python/py-symbol.exp: Add test for symbol.type.
8028
5d0bb2fb
UW
80292011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8030
8031 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8032 * gdb.mi/mi-pthreads.exp: Likewise.
8033 * gdb.mi/mi2-pthreads.exp: Likewise.
8034 * gdb.mi/gdb669.exp.exp: Likewise.
8035
fcdfa280
PA
80362011-08-09 Pedro Alves <pedro@codesourcery.com>
8037
8038 * lib/mi-support.exp (detect_async): Rename to...
8039 (mi_detect_async): ... this.
8040 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8041 * gdb.mi/mi-nonstop.exp: Adjust.
8042 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8043 * gdb.mi/mi-nsintrall.exp: Adjust.
8044 * gdb.mi/mi-nsmoribund.exp: Adjust.
8045 * gdb.mi/mi-nsthrexec.exp: Adjust.
8046
9d8fa392
PA
80472011-08-09 Pedro Alves <pedro@codesourcery.com>
8048
8049 * gdb.base/display.c (do_loops): New `p_i' local.
8050 * gdb.base/display.exp: Test displaying a variable that is
8051 temporarily at a bad address.
8052
b6cede78
JK
80532011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8054
8055 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8056 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8057
67bedb8c
JK
80582011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8059
8060 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
8061 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8062 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 8063
af6e93b2
PA
80642011-08-05 Pedro Alves <pedro@codesourcery.com>
8065
8066 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8067 procedure.
8068 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8069
1cf0e11f
YQ
80702011-08-05 Yao Qi <yao@codesourcery.com>
8071
8072 * gdb.base/callfuncs.exp: Set language after main.
8073 * gdb.cp/cplusfuncs.exp: Likewise.
8074 * gdb.cp/inherit.exp: Likewise.
8075
a1e28cb2
UW
80762011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8077
8078 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8079 * gdb.base/watch-vfork.exp: Skip on remote targets.
8080
d4f5bbb9
UW
80812011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8082
8083 * gdb.threads/thread-find.exp: Support remote targets.
8084
724f4f80
UW
80852011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8086
8087 * gdb.base/jit.exp: Download solib_binfile to target.
8088 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8089 and call dlopen without full path name.
8090 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8091 dlopen without full path name.
8092
934709f0
PW
80932011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8094
8095 * gdb.base/break-always.exp: Complete the test
8096 with duplicated breakpoints and enabling/disabling them.
8097
c26106c4
TT
80982011-08-02 Tom Tromey <tromey@redhat.com>
8099
8100 PR gdb/11289:
8101 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8102
9300444e 81032011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
8104
8105 PR gdb/13045
8106 * gdb.base/float.exp: Add new test case for PR gdb/13045
8107 * gdb.base/float.c: New file.
8108
00bd41d6
PM
81092011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8110
8111 * gdb.python/py-mi.exp: Test printers returning string hint, and
8112 also not returning a value.
8113 * gdb.python/py-prettyprint.c: Add testcase for above.
8114 * gdb.python/py-prettyprint.py: Add test printer for above.
8115
d24f74ce
JK
81162011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8117
8118 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8119 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8120 (.Ldie30) Add as field "data4".
8121 (.Ldie32) Rename field "b" to "shl".
8122 (abbrev4) Change for the "data4" field.
8123 (abbrev5, abbrev6) Remove.
8124 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8125 (p &s.shl): ... here. Add comment.
8126 (p &s.data4): New.
8127
bb7da2bf
JK
81282011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8129
8130 Fix crash on lval_computed values.
8131 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8132
11081198
JK
81332011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8134
8135 * gdb.base/help.exp (help whatis): Update the expected string.
8136
3c6e0cb3
JK
81372011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8138
8139 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8140 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8141 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8142 Change the expected string.
8143
efa80663
PA
81442011-07-26 Pedro Alves <pedro@codesourcery.com>
8145
8146 * gdb.base/watchpoint.exp
8147 (test_disable_enable_software_watchpoint): New procedure.
8148 (top level): Run it.
8149
db8e4570
UW
81502011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8151
8152 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8153 executable file "${binfile}", C++ version "${binfile}-cxx".
8154 * gdb.python/py-prettyprint.exp: Likewise.
8155 * gdb.python/py-symbol.exp: Likewise.
8156 * gdb.python/py-type.exp: Likewise.
8157 * gdb.python/py-value.exp: Likewise.
8158 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8159 file name instead of just suffix.
8160
543305c9
JK
81612011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8162
8163 Fix implicit pointer offsets.
8164 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8165 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8166 (continue to breakpoint: continue to baz breakpoint for implptr)
8167 (sanity check element 0, sanity check element 1)
8168 (enter the inlined function, check element 0 for the offset)
8169 (check element 1 for the offset)
8170 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8171 (set foo breakpoint for implptr): Update the breakpoint number.
8172
b3215adc
UW
81732011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8174
8175 * gdb.python/py-mi.exp: Use different file names for different
8176 versions of the executable under test.
8177 * gdb.python/py-prettyprint.exp: Likewise.
8178 * gdb.python/py-symbol.exp: Likewise.
8179 * gdb.python/py-template.exp: Likewise.
8180 * gdb.python/py-type.exp: Likewise.
8181 * gdb.python/py-value.exp: Likewise.
8182
182b9acc
UW
81832011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8184
8185 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8186 flag after restarting GDB if necessary.
8187
e6052b5d
UW
81882011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8189
8190 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8191
1ced966e
PA
81922011-07-22 Pedro Alves <pedro@codesourcery.com>
8193
8194 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8195 backend doesn't leave used debug registers behind.
8196
3543a589
TT
81972011-07-22 Tom Tromey <tromey@redhat.com>
8198
8199 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8200 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8201 argument.
8202 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8203
14d15303 82042011-07-21 Matt Rice <ratmice@gmail.com>
8205
8206 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8207 in mostlyclean rule. Add files ending in .core.
8208
9b158ba0 82092011-07-21 Matt Rice <ratmice@gmail.com>
8210
8211 PR macros/12999
8212 * gdb.base/info-macros.c: New test sources.
8213 * gdb.base/info-macros.exp: New tests.
8214
d17b6f81
PM
82152011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8216
8217 * gdb.python/python.exp: Add prompt substitution tests.
8218
918dd910
JK
82192011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8220
8221 Fix crash if referenced CU is aged out.
8222 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8223 New.
8224 * gdb.dwarf2/implptr.exp: Likewise.
8225
0e37a63c
JK
82262011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.dwarf2/implptr.S: Rebuilt.
8229 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8230 (bar): Use them for j, k, l.
8231 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8232 COMPILE.
8233 (print j in implptr:bar): Update for the intp typedef.
8234 (print p[0].x in implptr:foo): Use more exact regex.
8235
f65cf84c
TT
82362011-07-18 Tom Tromey <tromey@redhat.com>
8237
8238 * gdb.cp/static-method.exp: Add missing single quote.
8239
d5b4a7be
YQ
82402011-07-18 Yao Qi <yao@codesourcery.com>
8241
8242 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8243 supported.
8244 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8245 * gdb.mi/mi-nonstop.exp: Likewise.
8246 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8247 * gdb.mi/mi-nsintrall.exp: Likewise.
8248 * gdb.mi/mi-nsmoribund.exp: Likewise.
8249 * gdb.mi/mi-nsthrexec.exp: Likewise.
8250 * gdb.python/py-evthreads.exp: Likewise.
8251
e9ea2662
JK
82522011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 Code cleanup.
8255 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8256 it. Substitute it instead of test_compiler_info everywhere.
8257
ce451573
UW
82582011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8259
8260 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8261 remote targets as well.
8262
756d88a7
UW
82632011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8264
8265 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8266 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8267
31f83dc5
UW
82682011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8269
8270 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8271 a remote machine, not the host.
8272 (gdb_compile_shlib): Set soname if target is remote.
8273
059241a0
PP
82742011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8275
8276 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8277
28a0b48c 82782011-07-13 Matt Rice <ratmice@gmail.com>
8279
8280 * gdb.python/py-objfile-script-gdb.py: Renamed to
8281 py-objfile-script-gdb.py.in.
8282 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8283 py-objfile-script-gdb.py.
8284 * gdb.python/py-objfile-script.exp: Update reference to
8285 py-objfile-script-gdb.py.
8286
9a771b67
JK
82872011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8288
8289 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8290 reference undefined label.
8291
04ad99e6
JK
82922011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8293
8294 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8295 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8296 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8297 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8298
713389e0
PM
82992011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8300
6fdff2c5 8301 PR python/12438
713389e0 8302 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 8303 deprecated tests. Add set/show python print-backtrace tests.
713389e0 8304
97d146f8
JK
83052011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8306
8307 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8308 debug info.
8309
facde0e5 83102011-07-06 Matt Rice <ratmice@gmail.com>
8311
8312 * gdb.python/python.exp: Update filename paths.
8313 * gdb.python/py-symtab.exp: Ditto.
8314
438640d1
MP
83152011-07-06 Marek Polacek <mpolacek@redhat.com>
8316
8317 * gdb.python/py-evthreads.exp: Add missing `$'.
8318
33a365df
MF
83192011-07-06 Jie Zhang <jie.zhang@analog.com>
8320
8321 * config/bfin.exp: New file.
8322 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8323 * gdb.asm/bfin.inc: New file.
8324
8f7ae686
MP
83252011-07-06 Marek Polacek <mpolacek@redhat.com>
8326
df46027d 8327 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
8328 the whole output.
8329
eb2a6f42
TT
83302011-07-05 Tom Tromey <tromey@redhat.com>
8331
8332 * gdb.java/jprint.java (jprint.hi): New field.
8333 * gdb.java/jprint.exp: Print string.
8334
177b42fe
TJB
83352011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8336
8337 * gdb.base/call-sc.c: Fix typos.
8338 * gdb.base/ifelse.exp: Likewise.
8339 * gdb.base/structs.c: Likewise.
8340
3b2a0cf2
JB
83412011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8342
8343 * gdb.base/jit-so.exp: New test.
8344 * gdb.base/jit-dlmain.c: New file.
8345 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8346
46fc714c
JK
83472011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8348
8349 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
8350 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8351 * gdb.cp/pr9167.exp (p b): Likewise.
8352 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8353 (test value of P in inner_m, test type of Z in inner_m): Call
8354 setup_xfail for gcc <= 4.5.
46fc714c 8355
418c7cf7
JK
83562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8357
8358 * gdb.cp/paren-type.cc: New files.
8359 * gdb.cp/paren-type.exp: New files.
8360
3d50dd94
JK
83612011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 Stop on first linespec terminator instead of eating what we can.
8364 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8365 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8366 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8367 (break C::f()): ... this one.
8368 (break C::operator()()): New test.
8369 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8370 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8371 test.
8372
dcf9f4ab
JK
83732011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8374
8375 Fall back linespec to minimal symbols.
8376 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8377 error message.
8378 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8379 * gdb.cp/minsym-fallback-main.cc: New file.
8380 * gdb.cp/minsym-fallback.cc: New file.
8381 * gdb.cp/minsym-fallback.exp: New file.
8382 * gdb.cp/minsym-fallback.h: New file.
8383
3f542ed1
JK
83842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8385
8386 * gdb.cp/no-dmgl-verbose.cc: New file.
8387 * gdb.cp/no-dmgl-verbose.exp: New file.
8388
83892011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
8390
8391 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8392 __GI_.
8393 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8394 (f): New function.
8395 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8396 (complete p 'func<short>(): ... here.
8397 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8398 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8399 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8400 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8401 Make them KFAIL gcc/49546.
8402
00eb2c4a
JB
84032011-07-01 Joel Brobecker <brobecker@adacore.com>
8404
8405 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8406
85a20c42
JK
84072011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8408
8409 Test GCC PR debug/49546.
8410 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8411 (test type of F in k3_m, test value of F in k3_m): New.
8412 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8413 (main): New variable k3. Call k3.k3_m.
8414
d2d43431
JB
84152011-07-01 Jean-Charles Delay <delay@adacore.com>
8416
8417 * gdb.ada/packed_array.exp: Fix expected outout.
8418
54ae186f
JB
84192011-07-01 Jean-Charles Delay <delay@adacore.com>
8420
8421 * gdb.ada/packed_array.exp: fixed expected output.
8422
8f17729f
JB
84232011-07-01 Joel Brobecker <brobecker@adacore.com>
8424
8425 * gdb.ada/same_enum: New testcase.
8426
f5aa6869
JB
84272011-07-01 Joel Brobecker <brobecker@adacore.com>
8428
8429 * gdb.ada/ptr_typedef: New testcase.
8430
828292f2
JB
84312011-07-01 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.ada/arrayptr.exp: Add ptype test.
8434
18920c42
JB
84352011-07-01 Joel Brobecker <brobecker@adacore.com>
8436
8437 * gdb.ada/char_enum: New testcase.
8438
3536d9e3 84392011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
8440
8441 * gdb.base/dump.exp (capture_pointer_with_type): New.
8442 Get value from address instead of name.
8443 Start GDB once, and do `dump' and `restore'
8444 tests together.
8445
db863c42
MF
84462011-06-30 Jie Zhang <jie.zhang@analog.com>
8447 Mike Frysinger <vapier@gentoo.org>
8448
8449 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8450 helper functions for getting/setting remotetimeout variable.
8451 * lib/gdb.exp (gdb_load): If the target is remote, set
8452 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8453 with $loadtimeout. Set $load_ok to 0 before doing the load.
8454 Instead of returning, immediately, set $load_ok to 0. Call
8455 set_remotetimeout with $oldremotetimeout, and then return if
8456 $load_ok is 1.
8457
e9e642a8
AB
84582011-06-30 Andrew Burgess <aburgess@broadcom.com>
8459
8460 * gdb.python/py-template.exp: Don't run this test if the target
8461 does not support c++ tests.
8462
32019081
JK
84632011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 Fix non-only rename list for Fortran modules import.
8466 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8467 tests.
8468 * gdb.fortran/module.f90 (module moduse): New.
8469 (program module): use moduse, test var_x, var_y and var_z.
8470
0ecee54c
TT
84712011-06-29 Tom Tromey <tromey@redhat.com>
8472
8473 PR testsuite/12040:
8474 * gdb.fortran/array-element.exp: Use f90, not f77.
8475 * gdb.fortran/complex.exp: Use f90, not f77.
8476 * gdb.fortran/derived-type.exp: Use f90, not f77.
8477 * gdb.fortran/library-module.exp: Use f90, not f77.
8478 * gdb.fortran/logical.exp: Use f90, not f77.
8479 * gdb.fortran/module.exp: Use f90, not f77.
8480 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8481 * gdb.fortran/subarray.exp: Use f90, not f77.
8482
3b2b8fea
TT
84832011-06-29 Tom Tromey <tromey@redhat.com>
8484
8485 * gdb.fortran/charset.exp: New file.
8486 * gdb.fortran/charset.f90: New file.
8487
42159ca5
TT
84882011-06-29 Tom Tromey <tromey@redhat.com>
8489
8490 PR testsuite/12040:
8491 * lib/future.exp: New file, mostly extracted from ada.exp.
8492 Rewrote compatibility code to use rename.
8493 (gdb_find_gfortran): New proc.
8494 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8495 gfortran patch.
8496 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8497 Move to future.exp.
8498 * lib/gdb.exp: Always load future.exp.
8499
af69a5ce
YQ
85002011-06-28 Yao Qi <yao@codesourcery.com>
8501
8502 * gdb.cp/exception.cc: Don't include iostream.
8503 (bar): Remove print statement.
8504 (catcher): New.
8505 (main): Remove print statements. Call function catcher.
8506 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8507 Set breakpoint on catcher, and check the value of parameter.
8508
ab5c6a72
YQ
85092011-06-23 Yao Qi <yao@codesourcery.com>
8510
6fdff2c5
PA
8511 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8512 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 8513
9497469f
MP
85142011-06-23 Marek Polacek <mpolacek@redhat.com>
8515
8516 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8517 mi_gdb_test.
8518
b9132588
MP
85192011-06-23 Marek Polacek <mpolacek@redhat.com>
8520
5d197ed0 8521 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 8522
e55595ca
MP
85232011-06-23 Marek Polacek <mpolacek@redhat.com>
8524
5d197ed0
MP
8525 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8526
85272011-06-23 Marek Polacek <mpolacek@redhat.com>
8528
8529 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8530 `test_exec_and_symbol_mi_operatons' return value.
8531 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8532 gdb_test_multiple.
8533 (test_exec_and_symbol_mi_operatons): Likewise.
8534 (test_path_specification): Likewise.
e55595ca 8535
be777e08
YQ
85362011-06-23 Yao Qi <yao@codesourcery.com>
8537
8538 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8539 supported.
8540 * lib/gdb.exp (support_displaced_stepping): New.
8541
615556d6
YQ
85422011-06-23 Yao Qi <yao@codesourcery.com>
8543
8544 * gdb.threads/execl.exp: Skip on remote target.
8545
833b0ca7
MP
85462011-06-21 Marek Polacek <mpolacek@redhat.com>
8547
5d197ed0 8548 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
8549 mi_gdb_test.
8550
1ee4023a
MP
85512011-06-20 Marek Polacek <mpolacek@redhat.com>
8552
5d197ed0 8553 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 8554
d0b1d624
MP
85552011-06-20 Marek Polacek <mpolacek@redhat.com>
8556
5d197ed0 8557 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
8558 mi_gdb_test.
8559
79aa92c1
MP
85602011-06-20 Marek Polacek <mpolacek@redhat.com>
8561
5d197ed0 8562 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 8563
5ce5db06
YQ
85642011-06-14 Yao Qi <yao@codesourcery.com>
8565
8566 gdb/testsuite/
8567 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8568
533a737e
JK
85692011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8570
8571 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8572
d0e53741
TT
85732011-06-10 Tom Tromey <tromey@redhat.com>
8574
8575 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8576 Add tests for pointer-to-member-function.
8577 * gdb.cp/temargs.cc (S::somefunc): New function.
8578 (K2): New class.
8579 (main): Instantiate K2; call method.
8580
b5916bbd
JB
85812011-06-08 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.python/py-inferior.c (f2): Make str an array rather
8584 than a pointer.
8585 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8586
5be4dfca
JK
85872011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8588
8589 * gdb.base/async-shell.c: New file.
8590 * gdb.base/async-shell.exp: New file.
8591
9f47e254
PA
85922011-06-06 Pedro Alves <pedro@codesourcery.com>
8593
8594 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8595
64b9b334
JB
85962011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8597
8598 From Stephen Kitt <steve@sk2.org>
8599 * gdb.base/help.exp: Adjust following some spelling corrections
8600 in GDB.
8601
dbc0f131
YQ
86022011-06-01 Yao Qi <yao@codesourcery.com>
8603
8604 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8605
fd336a18
KS
86062010-05-31 Keith Seitz <keiths@redhat.com>
8607
8608 PR c++/12750
8609 * gdb.cp/static-method.cc: New file.
8610 * gdb.cp/static-method.exp: New file.
8611
fa8b9902
KS
86122010-05-31 Keith Seitz <keiths@redhat.com>
8613
8614 PR symtab/12704
8615 * gdb.cp/anon-ns.cc: New file.
8616 * gdb.cp/anon-ns.exp: New file.
8617
0a5b1e09
PA
86182011-05-31 Pedro Alves <pedro@codesourcery.com>
8619
8620 * gdb.arch/i386-dr3-watch.c: New file.
8621 * gdb.arch/i386-dr3-watch.exp: New file.
8622
0578b8d1
YQ
86232011-05-30 Yao Qi <yao@codesourcery.com>
8624
8625 * gdb.base/callfuncs.c (t_structs_fc): New.
8626 (t_structs_dc, t_structs_ldc): New.
8627 (t_double_many_args):
8628 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8629 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8630 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8631 * gdb.base/callfuncs.exp: Call new functions.
8632
6680506e
YQ
86332011-05-30 Yao Qi <yao@codesourcery.com>
8634
ff4d2c60
YQ
8635 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8636 Call rerun_and_prepare for each test to isolate effects.
8637
86382011-05-30 Yao Qi <yao@codesourcery.com>
8639
8640 * gdb.base/varargs.c (find_max_float_real): New.
8641 (find_max_double_real, find_max_long_double_real): New.
8642 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
8643 * lib/gdb.exp (setup_kfail_for_target): New.
8644
e43ec454
YQ
86452011-05-30 Yao Qi <yao@codesourcery.com>
8646
8647 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8648 (callcd, callce, callcf, callc1a, callc1b): New.
8649 (callc2a, callc2b): New.
8650 * gdb.base/funcargs.exp (complex_args): New.
8651 (complex_integral_args, complex_float_integral_args): New.
8652 * lib/gdb.exp (support_complex_tests): New. Determine
8653 whether to run test cases on _Complex types.
8654
432b4d03
JK
86552011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8656
8657 * gdb.threads/leader-exit.c: New file.
8658 * gdb.threads/leader-exit.exp: New file.
8659
6caf069d
MP
86602011-05-27 Marek Polacek <mpolacek@redhat.com>
8661
9497469f 8662 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 8663
97fce28b
MP
86642011-05-27 Marek Polacek <mpolacek@redhat.com>
8665
8666 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8667 remove the `supported' variable.
8668 * gdb.mi/mi-nonstop.exp: Likewise.
8669 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8670 * gdb.mi/mi-nsintrall.exp: Likewise.
8671 * gdb.mi/mi-nsmoribund.exp: Likewise.
8672 * gdb.mi/mi-nsthrexec.exp: Likewise.
8673
9da8c2a0
PA
86742011-05-26 Pedro Alves <pedro@codesourcery.com>
8675
8676 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8677
2c03e5be
PA
86782011-05-26 Pedro Alves <pedro@codesourcery.com>
8679
8680 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8681
2e21250d
KS
86822011-05-24 Keith Seitz <keiths@redhat.com>
8683
8684 PR breakpoint/12803
8685 * gdb.cp/cmpd-minsyms.cc (a): New method.
8686 (b): New method.
8687 (c): New method.
8688 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8689
cdac0397
PA
86902011-05-24 Pedro Alves <pedro@codesourcery.com>
8691
8692 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8693 watchpoint's command list didn't execute when the watchpoint went
8694 out of scope.
8695
ee5683ab
PM
86962011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8697
8698 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8699 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8700 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8701 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8702 * gdb.arch/i386-permbkpt.exp: Likewise.
8703 * gdb.arch/i386-prologue.exp: Likewise.
8704 * gdb.arch/i386-size-overlap.exp: Likewise.
8705 * gdb.arch/i386-size.exp: Likewise.
8706 * gdb.arch/i386-unwind.exp: Likewise.
8707 * gdb.reverse/i386-precsave.exp: Likewise.
8708 * gdb.reverse/i386-reverse.exp: Likewise.
8709 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8710 * gdb.reverse/i387-env-reverse.exp: Likewise.
8711 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8712
c91c8c16
PA
87132011-05-24 Pedro Alves <pedro@codesourcery.com>
8714
8715 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8716 file doesn't error, using MI.
8717
c50491a7
TT
87182011-05-23 Tom Tromey <tromey@redhat.com>
8719
8720 * gdb.base/charset.exp (string_display): Add tests to assign to
8721 arrays.
8722 * gdb.base/charset.c (short_array, int_array, long_array): New.
8723
4a07b7da
PA
87242011-05-20 Pedro Alves <pedro@codesourcery.com>
8725
8726 Cope with async mode.
8727
4a07b7da
PA
8728 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8729 into gdb_test + mi_expect_stop.
8730
b275f2d2
PA
87312011-05-20 Pedro Alves <pedro@codesourcery.com>
8732
8733 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8734 (callme): Remove printf call.
8735
eec52c44
PM
87362011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8737
8738 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8739 quote pattern to avoid problems with Cygwin/mingw expect versions.
8740 * gdb.base/default.exp (show convenience): Use double
8741 quote pattern for regular expressions.
8742
b3c8eb43
JK
87432011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8744
8745 Fix -readnow for -gdwarf-4 unused type units.
8746 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8747 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8748
ed731959
JK
87492011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8750
8751 * gdb.base/kill-after-signal.c: New file.
8752 * gdb.base/kill-after-signal.exp: New file.
8753
3b48433d
PA
87542011-05-16 Pedro Alves <pedro@codesourcery.com>
8755
8756 * gdb.ada/start.exp: Call untested with the correct test filename.
8757 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8758 test filename. Make the test's binary unique.
8759 * gdb.arch/i386-signal.exp: Call untested with the correct test
8760 filename.
8761 * gdb.arch/i386-size-overlap.exp: Ditto.
8762 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8763 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8764 * gdb.cp/call-c.exp: Ditto.
8765 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8766 filename. Make the test's binary unique.
8767 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8768 * gdb.python/py-mi.exp: Ditto.
8769 * gdb.python/Makefile.in (EXECUTABLES): Update.
8770 * gdb.reverse/i386-precsave.exp: Ditto.
8771 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8772 test filename.
8773 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8774 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8775 unique.
8776 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8777 test filename.
8778 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8779 * gdb.trace/tfile.exp: Ditto.
8780
ba4a8bdd
YQ
87812011-05-14 Yao Qi <yao@codesourcery.com>
8782
8783 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8784 type.
8785
dbaefcf7
DE
87862011-05-13 Doug Evans <dje@google.com>
8787
8788 * gdb.python/py-objfile-script.exp: New file.
8789 * gdb.python/py-objfile-script.c: New file.
8790 * gdb.python/py-objfile-script-gdb.py: New file.
8791 * testsuite/gdb.python/py-section-script.exp: Test
8792 "info auto-load-scripts".
8793
9930639c
TT
87942011-05-13 Tom Tromey <tromey@redhat.com>
8795
8796 * gdb.dwarf2/clztest.exp: New file.
8797 * gdb.dwarf2/clztest.c: New file.
8798 * gdb.dwarf2/clztest.S: New file.
8799
05272e11
DE
88002011-05-13 Doug Evans <dje@google.com>
8801
cc63ef9b
DE
8802 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8803 String16 tests.
05272e11 8804
6edba76f
TT
88052011-05-13 Tom Tromey <tromey@redhat.com>
8806
8807 * lib/gdb.exp (is_x86_like_target): New proc.
8808 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8809 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8810 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8811 -nostdlib to compiler.
8812 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8813 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8814 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8815 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8816 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8817
028d0ed5
TJB
88182011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8819
8820 * gdb.python/py-function.exp: Test setting a value from a function
8821 which executes a command.
8822
8a9b8146
TT
88232011-05-12 Tom Tromey <tromey@redhat.com>
8824
8825 * gdb.dwarf2/typeddwarf.S: New file.
8826 * gdb.dwarf2/typeddwarf.c: New file.
8827 * gdb.dwarf2/typeddwarf.exp: New file.
8828
10483e8e
MP
88292011-05-12 Marek Polacek <mpolacek@redhat.com>
8830
8831 * gdb.mi/mi-basics.exp: Fix races. Honour the
8832 `test_exec_and_symbol_mi_operatons' return value.
8833 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8834 gdb_test_multiple.
8835 (test_exec_and_symbol_mi_operatons): Likewise.
8836 (test_path_specification): Likewise.
8837
faf067f1
JK
88382011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8839
8840 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8841 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8842 Replace `file copy' and `file rename' by `file mtime'. Twice.
8843
7ff911a3
JK
88442011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8845
8846 * gdb.base/readline-ask.c: New file.
8847 * gdb.base/readline-ask.exp: New file.
8848 * gdb.base/readline-ask.inputrc: New file.
8849
a536c6d7
UW
88502011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8851
8852 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8853 to avoid race condition.
8854 * gdb.cell/coremaker.c: Use small stack size.
8855 * gdb.cell/ea-standalone.exp: Use file name without path as
8856 argument to c_to.
8857 * gdb.cell/fork.exp: Allow other output when continuing to end.
8858
d472a426
JK
88592011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8860
8861 * gdb.threads/corethreads.c: New file.
8862 * gdb.threads/corethreads.exp: New file.
8863
88642011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8865
8866 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8867 Try to compile the test using -Wl,-z,norelro first.
8868 (load_core): New variable libthread_db_seen, initialize it.
8869 (zeroed-threads cannot be listed): Protect it by XFAIL on
8870 !$libthread_db_seen.
8871
8be455d7
JK
88722011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8873
8874 PR 12573
8875 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8876 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8877 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8878
1976171a
JK
88792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8880
8881 * gdb.cp/psymtab-parameter.cc: New file.
8882 * gdb.cp/psymtab-parameter.exp: New file.
8883
7db6f30f
JK
88842011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8885
8886 Fix a race.
8887 * gdb.cp/static-print-quit.exp (print c): Split to ...
8888 (print c - <return>, print c - q <return>, print c - to quit):
8889 ... these. Make the testfile untested on gdb-7.1.
8890
85161e9e 88912011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8892
8893 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8894 gdb_rename_execfile, gdb_touch_execfile): New.
8895 * gdb.base/reread.exp: Use new procs to handle multiple
8896 exec files.
8897
0c51be18
YQ
88982011-05-05 Yao Qi <yao@codesourcery.com>
8899
8900 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8901 (test_adr_32bit, test_pop_pc): New.
8902 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8903 (test_adr_32bit, test_pop_pc): New.
8904
4d393d60
JM
89052011-05-04 Joseph Myers <joseph@codesourcery.com>
8906
8907 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8908 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8909 targets.
8910 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8911 handle targets.
8912
8ffd0459
JK
89132011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8914
8915 * gdb.base/completion.exp (complete help info wat): Rename to ...
8916 (complete 'help info wat'): ... here.
8917 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8918 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8919
8e28d804
PA
89202011-05-04 Pedro Alves <pedro@codesourcery.com>
8921
8922 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8923 gdb_test and explicit $gdb_prompt/timeout matches.
8924
3eb2ef34
YQ
89252011-05-04 Yao Qi <yao@codesourcery.com>
8926
8927 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8928 and __thumb2__.
8929
aaaf81a3
MP
89302011-05-03 Marek Polacek <mpolacek@redhat.com>
8931
8932 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8933 in place of `gdb_test "delete breakpoints"'. This eliminates two
8934 testcases.
8935
c4cbc0df
PA
89362011-05-02 Pedro Alves <pedro@codesourcery.com>
8937
8938 PR testsuite/12649
8939 Fix races.
8940
8941 * gdb.base/completion.exp: Remove all sleep calls. Remove
8942 unnecessary regexs. Don't explicitly expect anything after the
8943 prompt. Eat the prompt if necessary.
8944
b4cbb4a3
EBM
89452011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8946
8947 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8948 accept to show the caller line again as well as the line after.
8949
d65aec65
PM
89502011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8951
8952 PR mi/12531
8953
8954 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8955 compile target.
8956 * gdb.python/py-prettyprint.exp: Add C++ object for
8957 CPLUS_FAKE_CHILD test.
8958
30852783
UW
89592011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8960
8961 * gdb.base/signest.exp: New file.
8962 * gdb.base/signest.c: Likewise.
8963
c7b1f0d9
JK
89642011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8965
8966 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8967 thread and breakpoint notifications.
8968
559a7a62
JK
89692011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8970
8971 * gdb.base/fortran-sym-case.c: New file.
8972 * gdb.base/fortran-sym-case.exp: New file.
8973 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8974 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8975 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8976
8344e389
JK
89772011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8978
8979 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8980 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8981 false #1', `if true else false #2' and `if true else false #3'.
8982
2484c66b
UW
89832011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8984
8985 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8986 while delivering signal.
8987
8d3788bd
VP
89882011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8989
8990 MI breakpoint notifications.
8991
8992 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
8993 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8994 * testsuite/gdb.mi/mi-watch.exp: Adust.
8995 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8996 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8997 notifications.
8d3788bd 8998
3e03848b
JK
89992011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9000
9001 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9002 * gdb.base/gdbindex-stabs.c: New file.
9003 * gdb.base/gdbindex-stabs.exp: New file.
9004
918c9108
YQ
90052011-04-25 Yao Qi <yao@codesourcery.com>
9006
9007 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9008 with /*...*/.
9009 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9010
90556b8c
JK
90112011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9012
9013 * gdb.python/py-value.exp (test_objfiles): Name the first test
9014 `py-value in file.filename'.
9015
03f2bd59
JK
90162011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9017
9018 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9019 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9020 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9021 !gdbserver_reconnect_p..
9022 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9023
7b08b9eb
JK
90242011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9025
9026 * gdb.cp/cpcompletion.exp (complete class methods)
9027 (complete class methods beginning with F): Move them above runto. New
9028 comment about the runto delimiter.
9029
b78974c3
PA
90302011-04-20 Pedro Alves <pedro@codesourcery.com>
9031
9032 * gdb.base/maint.exp: Test that "maint print registers" works
9033 without a running program.
9034
20429c40 90352011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 9036
20429c40
MP
9037 * gdb.base/setshow.exp: Fix racy tests.
9038 ($old_gdb_prompt): New variable.
9039
7a9dd1b2
TT
90402011-04-19 Tom Tromey <tromey@redhat.com>
9041
9042 * gdb.mi/mi-nsmoribund.exp:
9043 * gdb.hp/gdb.objdbg/objdbg01.exp:
9044 * gdb.base/structs.exp (test_struct_returns):
9045 * gdb.base/call-sc.exp (test_scalar_returns):
9046 * gdb.base/bigcore.exp: Remove duplicate words.
9047
02835898
JK
90482011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9049
9050 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9051 * gdb.base/break-interp.exp (test_attach): New comment.
9052
254f582e
JK
90532011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9054
9055 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9056 (clear __stack_user.next, clear stack_used.next)
9057 (save a zeroed-threads corefile): New test.
9058 Call core_load for $core0file.
9059 (zeroed-threads cannot be listed): New test.
9060
4fe85f5c
JK
90612011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9062
9063 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9064 filename.
9065 ($srcfile): Preserve the original value.
9066 ($testfile): Match it the .exp filename.
9067 ($corefile): New variable. Substitute it around.
9068 Use clean_restart.
9069 ($prev_timeout): Remove.
9070 (load_core): Move core loading into this proc.
9071 Fix restore of $timeout if load_core fails.
9072
63524580
JK
90732011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9074
9075 * gdb.base/eu-strip-infcall.c: New file.
9076 * gdb.base/eu-strip-infcall.exp: New file.
9077
90359a16
JK
90782011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9079
9080 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9081 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9082
626e7282
JK
90832011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9084
9085 Fix Python access to inlined frames.
9086 * gdb.python/py-frame-inline.c: New file.
9087 * gdb.python/py-frame-inline.exp: New file.
9088
3363d018
EBM
90892011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9090
9091 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9092 content of 's24' correctly (avoiding "optimized out").
9093 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9094
28781456
JK
90952011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9096
9097 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9098
4a4106ca
TJB
90992011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9100
9101 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9102 expect a colon in watch -location output.
9103
d26ccb4f
JK
91042011-04-13 Marek Polacek <mpolacek@redhat.com>
9105
df46027d 9106 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
9107 New testcase `expect response to define backtrace'. Also remove
9108 redundant `default' block.
9109
e1ab1f9c
JK
91102011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9111
9112 * gdb.python/py-prettyprint.c (struct hint_error): New.
9113 (main): New variable hint_error.
9114 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9115 "print hint_error".
9116 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9117 (register_pretty_printers): Register it.
9118
0c2e6019
TT
91192011-04-04 Tom Tromey <tromey@redhat.com>
9120
9121 * gdb.cp/maint.exp (test_help): Update.
9122 (test_namespace): Likewise.
9123
af57139d
JB
91242011-04-01 Joel Brobecker <brobecker@adacore.com>
9125
9126 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9127 * gdb.ada/arrayptr.exp: Add new tests.
9128
956a9fb9
JB
91292011-04-01 Joel Brobecker <brobecker@adacore.com>
9130
9131 * gdb.ada/mi_catch_ex: New testcase.
9132
d0c4d642
PA
91332011-04-01 Pedro Alves <pedro@codesourcery.com>
9134
9135 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9136 base::overload(void) method without specifying "const".
9137
18819fa6
UW
91382011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9139
9140 * gdb.arch/thumb-singlestep.S: New file.
9141 * gdb.arch/thumb-singlestep.exp: Likewise.
9142
a4c8e806
TT
91432011-03-31 Tom Tromey <tromey@redhat.com>
9144
9145 * gdb.python/py-prettyprint.py (exception_flag): New global.
9146 (NoStringContainerPrinter._iterator.next): Check it.
9147 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9148 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9149
53832f31
TT
91502011-03-29 Tom Tromey <tromey@redhat.com>
9151
9152 * gdb.cp/anon-struct.cc: New file.
9153 * gdb.cp/anon-struct.exp: New file.
9154
e4620230
JK
91552011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9156
9157 Test STT_GNU_IFUNC support.
9158 * gdb.base/gnu-ifunc-lib.c: New file.
9159 * gdb.base/gnu-ifunc.c: New file.
9160 * gdb.base/gnu-ifunc.exp: New file.
9161
d0fb5eae
JK
91622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9163
9164 Support a ring of related breakpoints.
9165 * gdb.base/watchpoint-delete.c: New file.
9166 * gdb.base/watchpoint-delete.exp: New file.
9167
20106cfb
JK
91682011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9169
9170 * gdb.ada/arrayparam.exp (print first after function call): Use
9171 explicit package name. Add a comment
9172 (print lasta after function call): Rename ...
9173 (print last after function call): ... it and use explicit package
9174 name.
9175 (print length after function call): Use explicit package name.
9176 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9177 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9178 (multiple matches for symbol i): Rename ...
9179 (multiple matches for symbol integervar): ... it.
9180 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9181 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9182
e7ab5e63
AB
91832011-03-25 Andrew Burgess <aburgess@broadcom.com>
9184
9185 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9186 environment variable to make grep output more predictable. Move
9187 all the environment setup into gdb_init so it's done once per test
9188 case rather than each time we start gdb.
9189
9ef07c8c
TT
91902011-03-24 Tom Tromey <tromey@redhat.com>
9191
9192 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9193 test.
9194
dd90784c
JK
91952011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9196
9197 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9198 * gdb.dwarf2/dw2-entry-value.S: New file.
9199 * gdb.dwarf2/dw2-entry-value.exp: New file.
9200
05775840
PM
92012011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9202
6fdff2c5 9203 PR python/12183
05775840
PM
9204
9205 * gdb.python/py-function.exp: Add GdbError tests.
9206
8661b11b
PA
92072011-03-18 Pedro Alves <pedro@codesourcery.com>
9208
9209 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9210 (reglocal_test_func, statlocal_test_func): New functions.
9211 (globals_test_func): Call new functions.
9212 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9213 (gdb_collect_locals_test): New procedure.
9214 (gdb_trace_collection_test): Call new procedures.
9215
0fdb4f18
PA
92162011-03-18 Pedro Alves <pedro@codesourcery.com>
9217
9218 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9219 (test_register, test_register_unavailable): New procedures.
9220 (gdb_unavailable_registers_test): New procedure.
9221 (gdb_trace_collection_test): Call it.
9222
99c3dc11
PM
92232011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9224
6fdff2c5 9225 PR python/12149
99c3dc11
PM
9226
9227 * gdb.python/python.exp: Add gdb.write tests.
9228
29703da4
PM
92292010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9230
9231 * gdb.python/Makefile.in: Add py-objfile.
9232 * gdb.python/py-objfile.exp: New file.
9233 * gdb.python/py-objfile.c: New file.
9234 * gdb.python/py-block.exp: Add is_valid tests.
9235 * gdb.python/py-inferior.exp: Ditto.
9236 * gdb.python/py-infthread.exp: Ditto.
9237 * gdb.python/py-symbol.exp: Ditto.
9238 * gdb.python/py-symtab.exp: Ditto.
9239
598997c8
KS
92402011-03-16 Keith Seitz <keiths@redhat.com>
9241
9242 PR c++/12273
9243 * gdb.cp/cmpd-minsyms.exp: New test.
9244 * gdb.cp/cmpd-minsyms.cc: New file.
9245
9246 PR c++/11734
9247 * gdb.cp/ovsrch.exp: New test.
9248 * gdb.cp/ovsrch.h: New file.
9249 * gdb.cp/ovsrch1.cc: New file.
9250 * gdb.cp/ovsrch2.cc: New file.
9251 * gdb.cp/ovsrch3.cc: New file.
9252 * gdb.cp/ovsrch4.cc: New file.
9253
c91513d8
PP
92542011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9255
9256 PR gdb/12528
9257 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9258 * gdb.base/break-on-linker-gcd-function.exp: New test.
9259 * gdb.base/break-on-linker-gcd-function.cc: New file.
9260
7470fc63
AT
92612011-03-15 Andreas Tobler <andreast@fgznet.ch>
9262
9263 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9264
959e7469
PM
92652011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9266
9267 * lib/gdb.exp (gdb_unload): Add another termination case.
9268
9373cf26
JK
92692011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9270
9271 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9272 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9273 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9274 Provide a stub byte there.
9275 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9276 DW_AT_entry_pc.
9277 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9278
24e9cda0
UW
92792011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9280
9281 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9282 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9283 "generic ABI, auto".
9284 (altivec_abi_tests): Accept vectors returned by reference.
9285
7371cf6d
PM
92862010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9287
9288 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9289
ce77046a
UW
92902011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9291
9292 * gdb.python/py-section-script.exp: Skip test if no Python support.
9293
176400c3
UW
92942011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9295
9296 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9297
ecec24e6
PM
92982011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9299
9300 * gdb.python/py-parameter.exp: Update tests to the new Python
9301 parameter API. Add "no documentation" test. Add deprecated API
9302 backward compatibility test.
9303
5dbdd470
TT
93042011-03-09 Tom Tromey <tromey@redhat.com>
9305
9306 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9307 gdb_continue_to_end.
9308
b66e66ee
MK
93092011-03-09 Mark Kettenis <kettenis@gnu.org>
9310
9311 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9312 tabs.
9313
eceb0c5f
TT
93142011-03-09 Tom Tromey <tromey@redhat.com>
9315
9316 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9317 parentheses.
9318 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9319 $command.
9320 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9321 argument to gdb_continue_to_end.
9322 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9323 argument to gdb_continue_to_end.
9324 * gdb.cp/annota3.exp: Fix regex.
9325 * gdb.cp/annota2.exp: Fix regex.
9326 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9327 gdb_continue_to_end.
9328 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9329 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9330 gdb_continue_to_end.
9331
63154eca
PA
93322011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9333
9334 * gdb.server/ext-run.exp
9335 (load new file without any gdbserver inferior): New test.
9336
967d1f9b
TT
93372011-03-07 Tom Tromey <tromey@redhat.com>
9338
9339 * Makefile.in (TAGS): Rewrite.
9340
d68dcbb9
JK
93412011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9342
9343 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9344 initial commands echo. New match for `Found trace'. Anchor all the
9345 other matches. Anchor and match for `No trace frame found' the final
9346 match.
9347
6bf58e63
TT
93482011-03-07 Tom Tromey <tromey@redhat.com>
9349
9350 * Makefile.in (TAGS): New target.
9351
fda326dd
TT
93522011-03-07 Tom Tromey <tromey@redhat.com>
9353
9354 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9355 change.
9356 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9357 change.
9358 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9359 exit message change.
9360 (skip_altivec_tests): Update for exit message change.
9361 (skip_vsx_tests): Likewise.
9362 (gdb_continue_to_end): Likewise. Add 'command' argument.
9363 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9364 * gdb.threads/tls.exp: Update for exit message change.
9365 * gdb.threads/thread-unwindonsignal.exp: Use
9366 gdb_continue_to_end.
9367 * gdb.threads/step.exp (step_it): Update for exit message change.
9368 (continue_all): Likewise.
9369 * gdb.threads/print-threads.exp (test_all_threads): Update for
9370 exit message change.
9371 * gdb.threads/interrupted-hand-call.exp: Use
9372 gdb_continue_to_end.
9373 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9374 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9375 gdb_continue_to_end.
9376 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9377 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9378 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9379 * gdb.cp/method.exp: Update for exit message change.
9380 * gdb.cp/mb-templates.exp: Update for exit message change.
9381 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9382 * gdb.cp/annota3.exp: Update for exit message change.
9383 * gdb.cp/annota2.exp: Update for exit message change.
9384 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9385 * gdb.base/term.exp: Update for exit message change.
9386 * gdb.base/step-test.exp (test_i): Update for exit message change.
9387 * gdb.base/sigstep.exp (advance): Update for exit message change.
9388 (advancei): Likewise.
9389 * gdb.base/siginfo.exp: Update for exit message change.
9390 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9391 * gdb.base/reread.exp: Use gdb_continue_to_end.
9392 * gdb.base/langs.exp: Use gdb_continue_to_end.
9393 * gdb.base/interrupt.exp: Update for exit message change.
9394 * gdb.base/gdb1555.exp: Update for exit message change.
9395 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9396 * gdb.base/ending-run.exp: Update for exit message change.
9397 * gdb.base/chng-syms.exp: Update for exit message change.
9398 * gdb.base/checkpoint.exp: Update for exit message change.
9399 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9400 gdb_continue_to_end.
9401 (test_catch_syscall_with_wrong_args): Likewise.
9402 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9403 * gdb.base/break-interp.exp (test_ld): Update for exit message
9404 change.
9405 * gdb.base/bang.exp: Update for exit message change.
9406 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9407 (do_call_attach_tests): Likewise.
9408 * gdb.base/a2-run.exp: Update for exit message change.
9409 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9410 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9411 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9412
dd19bd70
JK
94132011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9414
9415 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9416
30e62689
TT
94172011-03-03 Tom Tromey <tromey@redhat.com>
9418
9419 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9420 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9421 * gdb.hp/gdb.aCC/configure.ac: Remove.
9422 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9423 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9424 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9425 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9426 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9427 * gdb.hp/gdb.compat/configure.ac: Remove.
9428 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9429 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9430 * gdb.hp/gdb.defects/configure.ac: Remove.
9431 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9432 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9433 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9434 * gdb.hp/configure.ac: Remove.
9435 * gdb.hp/configure: Remove.
9436 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9437 substitution.
9438 (Makefile): Remove rule.
9439 * gdb.cell/configure.ac: Remove.
9440 * gdb.cell/configure: Remove.
9441 * gdb.stabs/Makefile.in (Makefile): Remove.
9442 (distclean): Don't remove config.status or config.log.
9443 * gdb.stabs/configure (Makefile): Remove.
9444 * gdb.stabs/configure.ac: Remove.
9445 * configure: Rebuild.
9446 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9447 Remove stabs- and cell-specific logic. Test for existence of
9448 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9449 subdirectories, gdb.cell, and and gdb.stabs.
9450 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9451
c171f854
JB
94522011-03-03 Joel Brobecker <brobecker@adacore.com>
9453
9454 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9455 end of buffer.
9456
9a5193cb
JB
94572011-03-02 Joel Brobecker <brobecker@adacore.com>
9458
9459 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9460 gdb_test when running a test where we expected no output back.
9461
9bb4c1bb
MS
94622011-02-28 Michael Snyder <msnyder@vmware.com>
9463
9464 * gdb.cp/overload.cc: Change initializer value to integer.
9465
3bd0f5ef
MS
94662011-02-27 Michael Snyder <msnyder@vmware.com>
9467
9468 * gdb.multi/base.exp: Add test for remove-inferiors.
9469
2279eaad
JB
94702011-02-26 Joel Brobecker <brobecker@adacore.com>
9471
9472 * gdb.python/py-frame.exp: Simplify the initialization phase
9473 using prepare_for_testing.
9474
c82c0b55
MS
94752011-02-25 Michael Snyder <msnyder@vmware.com>
9476
9477 * gdb.multi/base.exp: Add tests for info inferiors with args.
9478
1d94651b
JK
94792011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9480
9481 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9482 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9483 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9484 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9485 asmfile3. Comment the STABS (#3) file compilation. Compile
9486 everything through assembler. Provide KFAIL for symtab/12497.
9487 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9488 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9489 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9490 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9491
3bd0f5ef
MS
94922011-02-24 Michael Snyder <msnyder@vmware.com>
9493
9494 * gdb.base/break.exp: Add tests for delete breakpoints using
9495 convenience variables and value history references.
9496
12c1418e
MS
94972011-02-24 Michael Snyder <msnyder@vmware.com>
9498
9499 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9500 left behind in previous check-in.
9501
e5a67952
MS
95022011-02-23 Michael Snyder <msnyder@vmware.com>
9503
9504 * gdb.base/break.exp: Add tests for "info break" with arguments.
9505 * gdb.trace/infotrace.exp: Update patterns for error and help.
9506 * gdb.base/completion.exp: Update pattern.
9507 * gdb.base/ena-dis-br.exp: Update pattern.
9508 * gdb.base/help.exp: Update patterns.
9509
95102011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
9511
9512 * gdb.base/memattr.exp: New test.
9513 * gdb.base/memattr.c: Test load for memattr.exp.
9514
6e6fbe60
DE
95152011-02-22 Doug Evans <dje@google.com>
9516
9517 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9518
1d41d745
MS
95192011-02-22 Michael Snyder <msnyder@vmware.com>
9520
9521 * Makefile.in: Make more clean.
9522 * gdb.ada/Makefile.in: Ditto.
9523 * gdb.arch/Makefile.in: Ditto.
9524 * gdb.asm/Makefile.in: Ditto.
9525 * gdb.base/Makefile.in: Ditto.
9526 * gdb.cp/Makefile.in: Ditto.
9527 * gdb.dwarf2/Makefile.in: Ditto.
9528 * gdb.java/Makefile.in: Ditto.
9529 * gdb.mi/Makefile.in: Ditto.
9530 * gdb.modula2/Makefile.in: Ditto.
9531 * gdb.python/Makefile.in: Ditto.
9532 * gdb.server/Makefile.in: Ditto.
9533 * gdb.stabs/Makefile.in: Ditto.
9534 * gdb.threads/Makefile.in: Ditto.
9535 * gdb.trace/Makefile.in: Ditto.
9536
79ba84ca
MS
95372011-02-22 Michael Snyder <msnyder@vmware.com>
9538
df46027d 9539 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
9540 info threads.
9541
b9b35694
JB
95422011-02-22 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.python/py-breakpoint.exp: Fix the expected output of
9545 one of the "maint info breakpoints" tests to accept the output
9546 generated on platforms that do not have hardware watchpoints.
9547
8bfb830f
JB
95482011-02-22 Joel Brobecker <brobecker@adacore.com>
9549
9550 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9551 clean_restart. Be a little stricter in the expected output
9552 for one of the tests. Fix a typo in one of the comments.
9553
c45f3c54
JB
95542011-02-22 Joel Brobecker <brobecker@adacore.com>
9555
9556 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9557 Delete variable binfile, no longer use. Add or modify test
9558 comments to make them unique.
9559
b97c863c
MS
95602011-02-21 Michael Snyder <msnyder@vmware.com>
9561
9562 * Makefile.in: Update for make clean.
9563 * gdb.ada/Makefile.in: Ditto.
9564 * gdb.arch/Makefile.in: Ditto.
9565 * gdb.asm/Makefile.in: Ditto.
9566 * gdb.base/Makefile.in: Ditto.
9567 * gdb.cp/Makefile.in: Ditto.
9568 * gdb.dwarf2/Makefile.in: Ditto.
9569 * gdb.java/Makefile.in: Ditto.
9570 * gdb.mi/Makefile.in: Ditto.
9571 * gdb.modula2/Makefile.in: Ditto.
9572 * gdb.python/Makefile.in: Ditto.
9573 * gdb.server/Makefile.in: Ditto.
9574 * gdb.stabs/Makefile.in: Ditto.
9575 * gdb.threads/Makefile.in: Ditto.
9576 * gdb.trace/Makefile.in: Ditto.
9577
aea5b279
MS
95782011-02-21 Michael Snyder <msnyder@vmware.com>
9579
9580 * gdb.threads/thread-find.exp: Update patterns for changes in
9581 output of "info threads" command.
9582
e3039479
UW
95832011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9584 Ulrich Weigand <uweigand@de.ibm.com>
9585
9586 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9587 (skip_hw_watchpoint_tests): Likewise.
9588 (skip_hw_watchpoint_multi_tests): Likewise.
9589
b800ec70
UW
95902011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9591
9592 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9593 (skip_hw_watchpoint_tests): Likewise.
9594 (skip_hw_watchpoint_multi_tests): Likewise.
9595 (skip_hw_watchpoint_access_tests): Likewise.
9596
9597 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9598 * gdb.base/pr11022.exp: Likewise.
9599 * gdb.base/watch-read.exp: Likewise.
9600 * gdb.base/watch_thread_num.exp: Likewise.
9601 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9602 * gdb.base/watchpoint-hw.exp: Likewise.
9603 * gdb.base/watchpoint.exp: Likewise.
9604 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9605 * gdb.threads/watchthreads-reorder.exp: Likewise.
9606 * gdb.threads/watchthreads.exp: Likewise.
9607 * gdb.threads/watchthreads2.exp: Likewise.
9608
91033e37
JB
96092011-02-21 Joel Brobecker <brobecker@adacore.com>
9610
9611 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9612 the debugger is unable to find the array bounds.
9613
eeaafae2
JK
96142011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 * gdb.cp/typedef-operator.exp: New file.
9617 * gdb.cp/typedef-operator.cc: New file.
9618
e338d953
MS
96192011-02-17 Michael Snyder <msnyder@vmware.com>
9620
9621 * gdb.threads/thread-find.exp: Fix regular expressions.
9622
e67ad678
JB
96232011-02-17 Joel Brobecker <brobecker@adacore.com>
9624
9625 * gdb.ada/packed_array: Expand testcase to test printing of
9626 unconstrained packed array.
9627
93084bca
JB
96282011-02-17 Joel Brobecker <brobecker@adacore.com>
9629
9630 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9631
a0c78a73
PA
96322011-02-16 Pedro Alves <pedro@codesourcery.com>
9633
f65d5553 9634 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
9635 (main): Initialize it before collecting, and and clear it
9636 afterwards.
f65d5553
PA
9637 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9638 collecting with '{type} addr', where the addr expression is not an
9639 rvalue.
a0c78a73 9640
3dfcbbd2
KW
96412011-02-16 Ken Werner <ken.werner@de.ibm.com>
9642
9643 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9644 a bool variable. Expect correct OpenCL names for vector types. Use the
9645 uc3 variable name instead of referring to the uchar3 built-in type.
9646 Escape the asterisk at the half pointer test.
9647
08807d5a
PA
96482011-02-16 Pedro Alves <pedro@codesourcery.com>
9649
f65d5553 9650 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
9651 (main): Initialize it before collecting, and and clear it
9652 afterwards.
f65d5553
PA
9653 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9654 collecting overlapping memory ranges.
08807d5a 9655
60f98dde
MS
96562011-02-15 Michael Snyder <msnyder@vmware.com>
9657
9658 * gdb.base/default.exp: Add tests for thread commands.
9659 * gdb.base/help.exp: Add tests for thread commands.
9660 * gdb.threads/thread-find.exp: New test for thread find command.
9661
648cd113
KW
96622011-02-15 Ken Werner <ken.werner@de.ibm.com>
9663
9664 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9665
494e194e
YQ
96662011-02-15 Yao Qi <yao@codesourcery.com>
9667
9668 PR tdep/12352
9669 * gdb.arch/arm-disp-step.S : New test for str instruction.
9670 * gdb.arch/arm-disp-step.exp : Likewise.
9671
d9492458
TJB
96722011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9673
9674 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9675 "vector_register2_vr" test strings. Test the extended floating
9676 point registers (F32~F63).
9677 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9678 IBM XL C compiler. Make the test program use a register provided
9679 by the compiler for the lxvd2x instruction.
9680
8af8e3bc
PA
96812011-02-14 Pedro Alves <pedro@codesourcery.com>
9682
9683 * gdb.trace/unavailable.cc (class Base, class Middle, class
9684 Derived): New types.
9685 (derived_unavail, derived_partial, derived_whole): New globals.
9686 (virtual_partial): New global.
9687 (virtualp): Point at virtual_partial.
9688 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9689 related to unavailable vptr.
9690
1b28d0b3
PA
96912011-02-14 Pedro Alves <pedro@codesourcery.com>
9692
9693 * gdb.trace/unavailable.cc (a, b, c): New globals.
9694 (main): Set and clear them.
9695 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9696 `a' and `c', and check that `b' isn't collected, although `a' and
9697 `c' are.
9698
ec0a52e1
PA
96992011-02-14 Pedro Alves <pedro@codesourcery.com>
9700
9701 * gdb.trace/unavailable.cc (struct Virtual): New.
9702 (virtualp): New global pointer.
9703 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9704 printing a pointer to an object whose type has a vtable, with
9705 print object on.
9706
24e6bcee
PA
97072011-02-14 Pedro Alves <pedro@codesourcery.com>
9708
9709 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9710 value repeat handles unavailableness.
9711
39d37385
PA
97122011-02-14 Pedro Alves <pedro@codesourcery.com>
9713
9714 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9715 tests for building arrays from unavailable values, subscripting
9716 non-memory rvalue unvailable arrays, and accessing fields or
9717 baseclasses of non-lazy unavailable values,
9718 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9719 struct types.
9720 (g_smallstruct, g_smallstruct_b): New globals.
9721
06d72e16
PA
97222011-02-14 Pedro Alves <pedro@codesourcery.com>
9723
9724 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9725
bc9a5551
JK
97262011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9729 * gdb.cp/overload-const.exp: New file.
9730 * gdb.cp/overload-const.cc: New file.
9731
54fcddd0
UW
97322011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9733
9734 * gdb.opencl/callfuncs.cl: New file.
9735 * gdb.opencl/callfuncs.exp: New test.
9736 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9737
d6dafb7c
UW
97382011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9739
9740 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9741 when computing result.
9742 * gdb.arch/altivec-abi.exp: Update expected results.
9743
a449c2d8
TJB
97442011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9745
9746 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9747 * gdb.base/jit.exp: Likewise.
9748 * gdb.base/pie-execl.exp: Likewise.
9749 * gdb.base/solib-nodir.exp: Likewise.
9750 * gdb.base/solib-overlap.exp: Likewise.
9751
764880b7
PA
97522011-02-07 Pedro Alves <pedro@codesourcery.com>
9753
9754 * gdb.trace/collection.c (global_pieces): New.
9755 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9756 New procedure.
9757 (gdb_trace_collection_test): Call it.
9758
505500db
SW
97592011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9760
9761 * gdb.python/py-evthreads.c: New file.
9762 * gdb.python/py-evthreads.exp: New file.
9763 * gdb.python/py-events.py: New file.
9764 * gdb.python/py-events.exp: New file.
9765 * gdb.python/py-events.c: New file.
9766
385203ed
DD
97672011-02-04 David Daney <ddaney@caviumnetworks.com>
9768
9769 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9770
9011945e
AB
97712011-02-03 Andrew Burgess <aburgess@broadcom.com>
9772
9773 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9774 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9775 boundary between two compilation units.
9776
580688f3
PA
97772011-02-02 Pedro Alves <pedro@codesourcery.com>
9778
9779 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9780 (Virtual): New structs.
9781 (virtual_o, virtual_middle_b): New globals.
9782 * gdb.cp/virtbase.exp: New tests.
9783
d3f0f853
PP
97842011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9785
9786 * gdb.base/jit.exp: New file.
9787 * gdb.base/jit-main.c: New file.
9788 * gdb.base/jit-solib.c: New file.
9789
b2030fb5
UW
97902011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9791
9792 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9793 proceed to initial kernel entry point.
9794 * gdb.opencl/datatypes.exp: Likewise.
9795 * gdb.opencl/operators.exp: Likewise.
9796 * gdb.opencl/vec_comps.exp: Likewise.
9797
2db19d1e
SW
97982011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9799
9800 * gdb.cp/nsnested.cc: New.
9801 * gdb.cp/nsnested.exp: New.
9802 * gdb.cp/nsnoimports.exp: New.
9803 * gdb.cp/nsnoimports.cc: New.
9804
6b0c4c1f
JB
98052011-01-31 Joel Brobecker <brobecker@adacore.com>
9806
9807 * gdb.base/interact.exp: Add extra tests that verify that
9808 the value of the interactive-mode setting does not change
9809 after the script is sourced.
9810
80b23b6a
JK
98112011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9812
9813 * gdb.cp/noparam.exp: New file.
9814 * gdb.cp/noparam.cc: New file.
9815
ffd5ec24
PA
98162011-01-28 Pedro Alves <pedro@codesourcery.com>
9817
9818 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9819 there's no stack or registers.
9820
a81766d8
TT
98212011-01-26 Tom Tromey <tromey@redhat.com>
9822
9823 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9824 space before string output. Add test for "set print pretty off"
9825 case.
9826
585fdaa1
PA
98272011-01-25 Pedro Alves <pedro@codesourcery.com>
9828
9829 * gdb.base/frame-args.exp: Adjust.
9830 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9831 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9832 * gdb.dwarf2/pieces.exp: Adjust.
9833 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9834 * gdb.opt/inline-locals.exp: Adjust.
9835 * gdb.threads/fork-child-threads.exp: Adjust.
9836
d468832a
KW
98372011-01-25 Ken Werner <ken.werner@de.ibm.com>
9838
9839 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9840 OpenCL kernel function. Add a comment as marker. Add address space
9841 qualifiers for the remaining program scope variables.
9842 * gdb.opencl/datatypes.cl: Likewise.
9843 * gdb.opencl/operators.cl: Likewise.
9844 * gdb.opencl/vec_comps.cl: Likewise.
9845 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9846 Add breakpoint at the marker comment.
9847 * gdb.opencl/datatypes.exp: Likewise.
9848 * gdb.opencl/operators.exp: Likewise.
9849 * gdb.opencl/vec_comps.exp: Likewise.
9850
490f124f
PA
98512011-01-24 Pedro Alves <pedro@codesourcery.com>
9852
9853 * gdb.base/printcmds.c (some_struct): New struct and instance.
9854 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9855 procedure.
9856 <global scope>: Call it.
9857
6da78614
KW
98582011-01-21 Ken Werner <ken.werner@de.ibm.com>
9859
9860 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9861 argument to the gdb_compile_opencl_hostapp call.
9862
ec64c9aa
YQ
98632011-01-19 Yao Qi <yao@codesourcery.com>
9864
9865 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9866 positve list.
9867
810cfdbb
YQ
98682011-01-19 Yao Qi <yao@codesourcery.com>
9869
9870 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9871 canonical form.
9872 Remove "xscale-*-*"
9873 * gdb.xml/tdesc-regs.exp: Likewise.
9874 * gdb.python/py-section-script.exp: Replace ARM target triplet
9875 with canonical form.
9876 Match arm*-*-symbianelf*.
9877 * gdb.base/dup-sect.exp: Likewise.
9878 * lib/dwarf.exp: New.
9879 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9880 dwarf2_support.
9881 * gdb.dwarf2/dup-psym.exp: Likewise.
9882 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9883 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9884 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9885 * gdb.dwarf2/dw2-basic.exp: Likewise.
9886 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9887 * gdb.dwarf2/dw2-const.exp: Likewise.
9888 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9889 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9890 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9891 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9892 * gdb.dwarf2/dw2-filename.exp: Likewise.
9893 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9894 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9895 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9896 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9897 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9898 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9899 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9900 * gdb.dwarf2/dw2-producer.exp: Likewise.
9901 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9902 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9903 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9904 * gdb.dwarf2/dw2-strp.exp: Likewise.
9905 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9906 * gdb.dwarf2/implptr.exp: Likewise.
9907 * gdb.dwarf2/mac-fileno.exp: Likewise.
9908 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9909 * gdb.dwarf2/pieces.exp: Likewise.
9910 * gdb.dwarf2/pr11465.exp: Likewise.
9911 * gdb.dwarf2/valop.exp: Likewise.
9912 * gdb.dwarf2/watch-notconst.exp: Likewise.
9913 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9914
4694da01
TT
99152011-01-19 Tom Tromey <tromey@redhat.com>
9916
9917 * gdb.python/py-infthread.exp: Add thread tests.
9918
b075872c
JB
99192011-01-14 Joel Brobecker <brobecker@adacore.com>
9920
9921 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9922
2c3e6e24
JB
99232011-01-14 Joel Brobecker <brobecker@adacore.com>
9924
9925 * gdb.ada/widewide: New testcase.
9926
de8fa76c
JB
99272011-01-13 Joel Brobecker <brobecker@adacore.com>
9928
9929 * gdb.base/interact.exp: New testcase.
9930
1b05df00
TT
99312011-01-12 Tom Tromey <tromey@redhat.com>
9932
9933 * gdb.mi/gdb2549.exp: Update for error message changes.
9934 * gdb.mi/mi-cli.exp: Likewise.
9935 * gdb.mi/mi-disassemble.exp: Likewise.
9936 * gdb.mi/mi-pthreads.exp: Likewise.
9937 * gdb.mi/mi-regs.exp: Likewise.
9938 * gdb.mi/mi-stack.exp: Likewise.
9939 * gdb.mi/mi-var-block.exp: Likewise.
9940 * gdb.mi/mi-var-cmd.exp: Likewise.
9941 * gdb.mi/mi2-cli.exp: Likewise.
9942 * gdb.mi/mi2-disassemble.exp: Likewise.
9943 * gdb.mi/mi2-pthreads.exp: Likewise.
9944 * gdb.mi/mi2-regs.exp: Likewise.
9945 * gdb.mi/mi2-stack.exp: Likewise.
9946 * gdb.mi/mi2-var-block.exp: Likewise.
9947 * gdb.mi/mi2-var-cmd.exp: Likewise.
9948
c2ff108b
JK
99492011-01-12 Andrew Burgess <aburgess@broadcom.com>
9950 Jan Kratochvil <jan.kratochvil@redhat.com>
9951
9952 PR fortran/11104 and DWARF unbound arrays detection.
9953 * gdb.fortran/multi-dim.exp: New file.
9954 * gdb.fortran/multi-dim.f90: New file.
9955
b716877b
AB
99562011-01-12 Andrew Burgess <aburgess@broadcom.com>
9957
9958 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9959 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9960 add new tests for opcode dumping.
9961
6c162d5e
TT
99622011-01-11 Tom Tromey <tromey@redhat.com>
9963
9964 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9965
77b06cd7
TJB
99662010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9967
9968 Convert hardware watchpoints to use breakpoint_ops.
9969 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9970 type is not supported.
9971 * gdb.base/foll-fork.exp: Likewise.
9972 * gdb.base/foll-vfork.exp: Likewise.
9973
f39a75d0
PM
99742011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9975
9976 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9977 Use load_lib gdb-python.exp.
9978 * gdb.python/python.exp: Ditto.
9979 * gdb.python/py-function.exp: Ditto.
9980
fc529d80
AS
99812011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9982
9983 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9984
fb03cb59
JK
99852011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9986
9987 * configure: Regenerate.
9988
d8e22779
TT
99892011-01-06 Tom Tromey <tromey@redhat.com>
9990
9991 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9992
09050809
JB
99932011-01-06 Joel Brobecker <brobecker@adacore.com>
9994
fc529d80
AS
9995 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9996 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9997 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9998 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9999 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10000 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10001 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10002 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10003 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10004 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10005 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10006 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10007 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10008 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10009 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10010 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10011 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10012 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10013 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10014 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10015 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10016 gdb.ada/uninitialized_vars.exp,
10017 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10018 Simplify by using clean_restart.
09050809 10019
8ed5dd9e
JB
100202011-01-06 Joel Brobecker <brobecker@adacore.com>
10021
10022 Add marker to be used as anchor for inserting breakpoints.
10023 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10024 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10025 Likewise.
10026
10027 Remove uses of gdb_start_cmd.
10028 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10029 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10030
10031 Do not run testcase if testing with GDBserver.
10032 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10033 if testing with GDBserver.
10034
368a124f
JB
100352011-01-06 Joel Brobecker <brobecker@adacore.com>
10036
10037 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10038 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10039 copyright header.
10040
44944448
JB
100412011-01-05 Joel Brobecker <brobecker@adacore.com>
10042
10043 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10044 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10045 testsuite/gdb.fortran/complex.f,
10046 testsuite/gdb.fortran/derived-type.f90,
10047 testsuite/gdb.fortran/library-module-lib.f90,
10048 testsuite/gdb.fortran/library-module-main.f90,
10049 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10050 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10051 Copyright year update.
10052
31886ea6
JB
100532011-01-05 Joel Brobecker <brobecker@adacore.com>
10054
10055 * gdb.base/langs1.f: Add copyright header.
10056
ebedcab5
JK
100572011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10058
10059 * gdb.base/morestack.exp: New file.
10060 * gdb.base/morestack.c: New file.
10061
de1eb2f9
JK
100622011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10063
10064 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10065
9e87a409
JB
100662010-12-29 Joel Brobecker <brobecker@adacore.com>
10067
10068 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10069 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10070
720d1a40
JB
100712010-12-29 Joel Brobecker <brobecker@adacore.com>
10072
10073 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10074
a283af87
AS
100752010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10076
5d3d9cba
AS
10077 * gdb.threads/tls.exp: Fix typo.
10078
a283af87
AS
10079 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10080 * gdb.threads/execl.exp: Update.
10081
2a20745c
YQ
100822010-12-23 Yao Qi <yao@codesourcery.com>
10083
10084 * gdb.arch/arm-disp-step.exp: New.
10085 * gdb.arch/arm-disp-step.S: New.
10086
a7658b96
TT
100872010-12-21 Tom Tromey <tromey@redhat.com>
10088
10089 * gdb.threads/execl.exp: Update.
10090 * gdb.threads/linux-dp.exp: Update.
10091 * gdb.threads/manythreads.exp: Update.
10092 * gdb.threads/tls.exp: Update.
10093
5b79abe7
TT
100942010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10095
10096 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10097 (NextOverThrowDerivates) <resumebpt>: New.
10098 (resumebpt_test): New.
10099 (main): Call resumebpt_test.
10100 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10101
0914bcdb
SS
101022010-12-12 Stan Shebs <stan@codesourcery.com>
10103
10104 * gdb.trace/tsv.exp: Test print command on trace state variables.
10105
305aeedc
TT
101062010-12-09 Tom Tromey <tromey@redhat.com>
10107
10108 * gdb.base/interp.exp: Add regression test.
10109
186c406b
TT
101102010-12-09 Tom Tromey <tromey@redhat.com>
10111
10112 * gdb.java/jnpe.java: New file.
10113 * gdb.java/jnpe.exp: New file.
10114 * gdb.cp/nextoverthrow.exp: New file.
10115 * gdb.cp/nextoverthrow.cc: New file.
10116
aae1c79a
DE
101172010-12-07 Doug Evans <dje@google.com>
10118
10119 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10120 of data-directory.
10121 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10122 updated.
10123 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10124
60f98dde 101252010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
10126
10127 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10128 * gdb.base/call-sc.exp: Ditto.
10129 * gdb.base/finish.exp: Ditto.
10130 * gdb.base/return.exp: Ditto.
10131 * gdb.base/return2.exp: Ditto.
10132
5fa290c1
DE
101332010-11-30 Doug Evans <dje@google.com>
10134
10135 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10136 (gdb_expect_list): Fix spelling errors in comments.
10137 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10138 send_gdb/gdb_expect_list where applicable.
10139 * gdb.base/call-ar-st.exp: Ditto.
10140 * gdb.base/funcargs.exp: Ditto.
10141 * gdb.base/gcore.exp: Ditto.
10142 * gdb.base/page.exp: Ditto.
10143 * gdb.base/sigaltstack.exp: Ditto.
10144 * gdb.base/siginfo.exp: Ditto.
10145 * gdb.base/sigstep.exp: Ditto.
10146 * gdb.base/trace-commands.exp: Ditto.
10147
4e04c971
DE
101482010-11-29 Doug Evans <dje@google.com>
10149
10150 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10151 printer-name;subprinter-name.
10152
8cf6f0b1
TT
101532010-11-29 Tom Tromey <tromey@redhat.com>
10154
10155 * gdb.dwarf2/implptr.exp: New file.
10156 * gdb.dwarf2/implptr.c: New file.
10157 * gdb.dwarf2/implptr.S: New file.
10158
94b6973e
PM
101592010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10160
fc529d80 10161 PR python/12199
94b6973e
PM
10162
10163 * gdb.python/py-breakpoint.exp: Test the delete method.
10164
8358c15c
JK
101652010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10166
10167 Fix step_resume_breakpoint unsaved during an infcall.
10168 * gdb.base/step-resume-infcall.exp: New file.
10169 * gdb.base/step-resume-infcall.c: New file.
10170
f6df29bc
TJB
101712010-11-24 Edjunior Machado <emachado@br.ibm.com>
10172
10173 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10174
f2b5a5cf
TJB
101752010-11-24 Edjunior Machado <emachado@br.ibm.com>
10176
10177 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10178 on ppc64's symbols; "finish" and "return" commands must accept to
10179 show the caller line again as well as the line after.
10180 * gdb.asm/powerpc64.inc: New file.
10181
6b0ecdc2
DE
101822010-11-23 Doug Evans <dje@google.com>
10183
10184 * lib/gdb.exp (gdb_test_sequence): New function.
10185 (gdb_expect_list): Add verbose -log call for each pattern.
10186 * gdb.base/signals.exp (test_handle_all_print): Call it.
10187 Reduce timeout increment from 6 minutes to 1 minute.
10188 * gdb.server/ext-run.exp: Call it.
10189
ea976c60
PM
101902010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10191
f2b5a5cf 10192 PR python/12212
ea976c60
PM
10193
10194 * gdb.python/python.exp: Check that selected_thread raises an
10195 error when no inferior is loaded.
10196
c0efa795
JK
101972010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10198
10199 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10200 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10201
ec3aa567
JK
102022010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10203
10204 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10205 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10206
d8249011
DE
102072010-11-18 Doug Evans <dje@google.com>
10208
10209 * gdb.server/ext-run.exp: Fix intermittent failures.
10210
d4eba7d1
NF
102112010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10212
10213 * gdb.stabs/gdb11479.exp: Use runto_main.
10214
b04c2f88
NF
102152010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10216
10217 * gdb.base/break-entry.exp: Skip if using a stub.
10218
ae9d7ce4
NF
102192010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10220
10221 * gdb.python/py-inferior.exp: Pack values in target endianness.
10222
621c8364
TT
102232010-11-12 Tom Tromey <tromey@redhat.com>
10224
10225 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10226 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10227 MemoryError.
10228 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10229 type.
10230 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10231 MemoryError.
10232 (test_subscript_regression): Update exception type.
10233
84f4c1fe
PM
102342010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10235
10236 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10237 breakpoint tests.
10238
a1442452
PA
102392010-11-09 Pedro Alves <pedro@codesourcery.com>
10240
10241 * gdb.base/watchpoint.exp: Test "watch -location" with an
10242 innacessible location.
10243
efd11a33
JK
102442010-11-09 Edjunior Machado <emachado@br.ibm.com>
10245 Luis Machado <luisgpm@br.ibm.com>
10246
10247 * gdb.base/maint.exp: Expect "." prefix.
10248 * gdb.base/nodebug.exp: Expect "." Likewise.
10249 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10250 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10251 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10252 POWER server processors.
10253
aa00efb5
JK
102542010-11-08 Edjunior Machado <emachado@br.ibm.com>
10255 Luis Machado <luisgpm@br.ibm.com>
10256
10257 * gdb.base/break-entry.exp: convert entry point for
10258 ppc64 and expect leading `.' on ppc64's symbols
10259
99e7ae30
DE
102602010-11-05 Doug Evans <dje@google.com>
10261
10262 * gdb.base/help.exp: Update expected output.
b521dba8
DE
10263 * gdb.python/py-param.exp: Delete, contents moved to ...
10264 * gdb.python/py-parameter.exp: ... here. New file.
10265 Add test for gdb.parameter ("directories").
99e7ae30 10266
f4b8a18d
KW
102672010-11-05 Ken Werner <ken.werner@de.ibm.com>
10268
10269 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10270 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10271 * configure: Regenerate.
10272 * gdb.opencl/Makefile.in: New File.
10273 * gdb.opencl/datatypes.exp: Likewise.
10274 * gdb.opencl/datatypes.cl: Likewise.
10275 * gdb.opencl/operators.exp: Likewise.
10276 * gdb.opencl/operators.cl: Likewise.
10277 * gdb.opencl/vec_comps.exp: Likewise.
10278 * gdb.opencl/vec_comps.cl: Likewise.
10279 * gdb.opencl/convs_casts.exp: Likewise.
10280 * gdb.opencl/convs_casts.cl: Likewise.
10281 * lib/opencl.exp: Likewise.
10282 * lib/opencl_hostapp.c: Likewise.
10283 * lib/opencl_kernel.cl: Likewise.
10284 * lib/cl_util.c: Likewise.
10285 * lib/cl_util.c: Likewise.
10286 * gdb.base/default.exp (set language): Add "opencl" to the list of
10287 languages.
10288
a9d5ef47
SW
102892010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10290
10291 * gdb.cp/overload.exp: Added test for inheritance overload.
10292 * gdb.cp/overload.cc: Ditto.
10293 * gdb.cp/oranking.exp: Removed releveant kfails.
10294
03eb1c79
JK
102952010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10296 Joel Brobecker <brobecker@adacore.com>
10297
10298 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10299 check test_compiler_info.
10300
dbc98a8b
KW
103012010-11-03 Ken Werner <ken.werner@de.ibm.com>
10302
10303 * gdb.base/gnu_vector.exp: Adjust expect messages.
10304
120bd360
KW
103052010-11-03 Ken Werner <ken.werner@de.ibm.com>
10306
10307 * gdb.base/gnu_vector.exp: Add unary operator tests.
10308
c37f7098
KW
103092010-11-03 Ken Werner <ken.werner@de.ibm.com>
10310
10311 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10312
7b51bc51
DE
103132010-11-02 Doug Evans <dje@google.com>
10314
10315 * gdb.python/py-pp-maint.c: New file.
10316 * gdb.python/py-pp-maint.exp: New file.
10317 * gdb.python/py-pp-maint.py: New file.
10318
50c97f38
TT
103192010-11-02 Tom Tromey <tromey@redhat.com>
10320
10321 * gdb.base/default.exp: Remove "scheme" from language list.
10322
a289b8f6
JK
103232010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10324
10325 Revert:
10326 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10327 * gdb.threads/sigstep-threads.exp: New file.
10328 * gdb.threads/sigstep-threads.c: New file.
10329
cd017491
MS
103302010-10-20 Michael Snyder <msnyder@vmware.com>
10331
10332 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10333
8e6a5956
UW
103342010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10335
10336 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10337 Skip test completely if gdb,no_hardware_watchpoints.
10338
2c04da0d
UW
103392010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10340
10341 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10342 strict, but do not check for any particular function name within libc.
10343
79afc5ef
SW
103442010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10345
10346 * gdb.cp/smartp.exp: New test.
10347 * gdb.cp/smartp.cc : New test.
10348
026ffab7
SW
103492010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10350
10351 * gdb.cp/converts.exp: Test pointer to bool conversion.
10352 Test pointer to long conversion.
10353 * gdb.cp/oranking.exp: Removed relevant kfail.
10354
3a772aa4
TT
103552010-10-18 Tom Tromey <tromey@redhat.com>
10356
10357 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10358 argument to lazy_string.
10359 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10360 (pp_ls.to_string): Use it.
10361 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10362 Add "estring2" local.
10363
5fc3827b
JK
103642010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10365
10366 Fix s390x compatibility.
10367 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10368 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10369
8aeb23f3
JK
103702010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10371
10372 * gdb.threads/sigstep-threads.exp: New file.
10373 * gdb.threads/sigstep-threads.c: New file.
10374
c1e56572
JK
103752010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10376
10377 * gdb.base/pie-execl.exp: New file.
10378 * gdb.base/pie-execl.c: New file.
10379
92163a10
JK
103802010-10-13 Doug Evans <dje@google.com>
10381 Jan Kratochvil <jan.kratochvil@redhat.com>
10382
10383 PR exp/12117
10384 * gdb.cp/ptype-cv-cp.cc: New file.
10385 * gdb.cp/ptype-cv-cp.exp: New file.
10386
7062b0a0
SW
103872010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10388
10389 * gdb.cp/converts.cc: New test program.
10390 * gdb.cp/converts.exp: New test.
10391 * gdb.cp/overload.exp: Added test for void* vs int*.
10392 * gdb.cp/overload.exp: Ditto.
10393 * gdb.cp/oranking.exp: Removed related kfail.
10394
0e3509db
DE
103952010-10-13 Doug Evans <dje@google.com>
10396
10397 * lib/gdb-python.exp (gdb_check_python_config): New function.
10398 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10399 * gdb.python/lib-types.cc: New file.
10400 * gdb.python/lib-types.exp: New file.
10401
8dc78533
JK
104022010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 * gdb.python/py-error.exp: New file.
10405 * gdb.python/py-error.py: New file.
10406
93c17e06
JK
104072010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10410 gdb_test_multiple.
10411
d8b34041
JK
104122010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10413
10414 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10415 * gdb.base/prelink.exp: Likewise.
10416 * gdb.base/solib-nodir.exp: Likewise.
10417 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10418 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10419 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10420
e0cc584e
UW
104212010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10422
10423 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10424 for the "info files" test to avoid timeouts on slow machines.
10425
cfc353b1
JK
104262010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10427
10428 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10429 (main): Make openlib dummy call.
10430
d3d7896d
JK
104312010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10432
10433 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10434 * break-interp.exp (reach): Move the core body ...
10435 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10436 (test_ld): Provide always real argument, even to the linker. Replace
10437 dl_main by _dl_debug_state.
10438
5e533c94
JK
104392010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10440
10441 Fix results of prelinked PIEs on ppc*.
10442 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10443 Accept also DISPLACEMENT "PRESENT".
10444 (main): Replace "ZERO" displacements by "PRESENT".
10445
33540610
SW
104462010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10447
10448 * gdb.cp/oranking.exp: New test.
10449 * gdb.cp/oranking.cc: New test program.
10450
3bdf2bbd
KW
104512010-10-08 Ken Werner <ken.werner@de.ibm.com>
10452
10453 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10454 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10455
2f608a3a
KW
104562010-10-06 Ken Werner <ken.werner@de.ibm.com>
10457
10458 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10459 lush, lynx) New constant.
10460 * gdb.base/constvars.exp: Test const array types.
10461 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10462
aa2e2d8d
DE
104632010-10-06 Doug Evans <dje@google.com>
10464
10465 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10466 of syscall staging area.
10467
2844d6b5
KW
104682010-10-06 Ken Werner <ken.werner@de.ibm.com>
10469
10470 * gdb.base/gnu_vector.c: Add variable c4.
10471 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10472 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10473
7d8ac8bb
MR
104742010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10475
10476 * gdb.arch/altivec-abi.exp: Fix a typo.
10477
84a02e58
MR
104782010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10479
10480 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10481 to match a thread ID.
10482
b18e6318
JK
104832010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10484
10485 Fix s390x testcase compatibility.
10486 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10487
a2c09bd0
DE
104882010-10-01 Doug Evans <dje@google.com>
10489
10490 * lib/gdb-python.exp: New file.
10491 * gdb.python/py-block.exp: Use it.
10492 * gdb.python/py-breakpoint.exp: Ditto.
10493 * gdb.python/py-frame.exp: Ditto.
10494 * gdb.python/py-inferior.exp: Ditto.
10495 * gdb.python/py-param.exp: Ditto.
10496 * gdb.python/py-prettyprint.exp: Ditto.
10497 * gdb.python/py-shared.exp: Ditto.
10498 * gdb.python/py-symbol.exp: Ditto.
10499 * gdb.python/py-symtab.exp: Ditto.
10500 * gdb.python/py-type.exp: Ditto.
10501 * gdb.python/py-value.exp: Ditto.
10502 * gdb.python/python.exp: Ditto.
10503
38f12cfc
TT
105042010-09-30 Tom Tromey <tromey@redhat.com>
10505
10506 * gdb.base/anon.exp: New file.
10507 * gdb.base/anon.c: New file.
10508
9ae8282d
TT
105092010-09-30 Tom Tromey <tromey@redhat.com>
10510
10511 * gdb.base/completion.exp: Test completion through anonymous
10512 union.
10513 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10514
e9e07ba6
JK
105152010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10516
10517 Fix printing parameters of inlined functions.
10518 * gdb.dwarf2/dw2-inline-param.exp: New file.
10519 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10520 * gdb.dwarf2/dw2-inline-param.S: New file.
10521
cd2effb2
JK
105222010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10523
10524 PR corefiles/12071.
10525 * gdb.base/corefile.exp (quit with a process, no question: load core)
10526 (quit with a core file): New tests.
10527
bceffbf3
JK
105282010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10529
10530 Fix GDB crash on inferior calls with self-referencing classes.
10531 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10532 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10533 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10534
1736ad11
JK
105352010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10536
10537 Fix lost siginfo_t for inferior calls.
10538 * gdb.base/siginfo-infcall.exp: New file.
10539 * gdb.base/siginfo-infcall.c: New file.
10540
a176ad92
JB
105412010-09-22 Joel Brobecker <brobecker@adacore.com>
10542
10543 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10544
c2b0a229
JK
105452010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10546
10547 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10548 New test.
10549 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10550
e8ae22d1
JB
105512010-09-22 Joel Brobecker <brobecker@adacore.com>
10552
10553 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10554 type of our const type.
10555
ec322823
SW
105562010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10557
10558 * gdb.cp/pr12028.cc: New.
10559 * gdb.cp/pr12028.exp: New.
10560
72929c62
JB
105612010-09-22 Joel Brobecker <brobecker@adacore.com>
10562
10563 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10564
875b4ff5 105652010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 10566 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
10567
10568 PR mi/11407
10569 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10570 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10571 * gdb.mi/dw2-ref-missing-frame.S New File.
10572 * gdb.mi/dw2-ref-missing-frame.exp New File.
10573
7155d578
TT
105742010-09-14 Tom Tromey <tromey@redhat.com>
10575
10576 PR symtab/8399:
10577 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10578
515ed532
TT
105792010-09-14 Tom Tromey <tromey@redhat.com>
10580
10581 PR exp/11803:
10582 * gdb.threads/tls.exp: Use C++.
10583 (check_thread_local): Use K::another_thread_local.
10584 * gdb.threads/tls.c (class K): New.
10585 (another_thread_local): Now a member of K.
10586 (spin): Update. No longer K&R C.
10587
450ca57c
SW
105882010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10589
10590 * gdb.cp/koenig.cc: created class for testing member lookup.
10591 * gdb.cp/koenig.exp: Added test for member lookup.
10592
dbd492a3
JK
105932010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10594
10595 Fix false FAILs on sourcetree topdir directory containing "kill".
10596 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10597 source line matching regexp.
10598
8d4d924b
JK
105992010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10600
10601 * gdb.python/python.exp (set height 0, collect help from uiout)
10602 (verify help to uiout): New tests.
10603
8e64f2a0
JK
106042010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10605
10606 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10607 is_lp64_target to check 64bit target.
10608
4569eed2
JK
106092010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10610
10611 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10612 (test_ld) <powerpc64-*>: New.
10613
5e1617b1
DJ
106142010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10615
10616 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10617
c767944b
DJ
106182010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10619
10620 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10621 (FunctionArg::method): New function.
10622 (empty, arg): New variables.
10623 (main): Call arg.method.
10624 * gdb.cp/templates.exp (test_template_args): New function.
10625 (do_tests): Call it.
10626
27d3a3fc
UW
106272010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10628
10629 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10630 of "next" to proceed over pthread_exit call.
10631
55b7ce7f
UW
106322010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10633
10634 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10635 "maint print statistics" output to prevent expect timeouts.
10636
809df446
JK
106372010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10638
10639 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10640 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10641 (test_float_rejected): ... here.
10642 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10643 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10644 (test_float_rejected): ... here.
10645 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10646 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10647 (test_float_rejected): ... here.
10648 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10649 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10650 (test_float_rejected): ... here.
10651
8464be76
DJ
106522010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10653
10654 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10655 before disabling hardware watchpoints.
10656 (test_inaccessible_watchpoint): Check that hardware watchpoints
10657 are used. Test for watchpoints on a constant address.
10658
14dba4b4
JK
106592010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10660
10661 * gdb.base/ui-redirect.exp: New file.
10662
3f3540e1 106632010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 10664 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
10665
10666 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10667
0f254bb7
DE
106682010-08-31 Doug Evans <dje@google.com>
10669
10670 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10671
03f17ccf
TT
106722010-08-30 Tom Tromey <tromey@redhat.com>
10673
10674 PR python/11792:
10675 * gdb.python/py-value.exp (test_subscript_regression): Add
10676 dynamic_type test.
10677
640617ad
DJ
106782010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10679
10680 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10681 instead of running to main. Do not test the main function.
10682 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10683 Add new main.
10684
2ed91d1b
PA
106852010-08-26 Pedro Alves <pedro@codesourcery.com>
10686
10687 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10688 one test.
10689
673bfd45
DE
106902010-08-24 Doug Evans <dje@google.com>
10691
10692 PR symtab/11942
10693 * gdb.dwarf2/dw4-sig-types.cc: New file.
10694 * gdb.dwarf2/dw4-sig-types.h: New file.
10695 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10696 * gdb.dwarf2/dw4-sig-types.exp: New file.
10697
f9ffd4bb
TT
106982010-08-23 Tom Tromey <tromey@redhat.com>
10699
10700 PR python/11145:
10701 * gdb.python/py-value.c (Base, Derived): New types.
10702 (base): New global.
10703 * gdb.python/py-value.exp (test_subscript_regression): Add
10704 dynamic_cast test.
10705
d839c8a4
TT
107062010-08-23 Tom Tromey <tromey@redhat.com>
10707
10708 PR python/10676:
10709 * gdb.python/py-type.exp (test_fields): Add tests for type
10710 equality.
10711
702c2711
TT
107122010-08-23 Tom Tromey <tromey@redhat.com>
10713
10714 PR python/11915:
10715 * gdb.python/py-type.exp (test_fields): Add tests for array.
10716
832bafd3
KS
107172010-08-23 Keith Seitz <keiths@redhat.com>
10718
10719 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10720 have any children. Create a new abbrev for it.
10721 Add missing terminal sequence to .debug_abbrev.
10722
c37bf528
KS
107232010-08-20 Keith Seitz <keiths@redhat.com>
10724
10725 PR symtab/11465:
10726 * gdb.dwarf2/pr11465.exp: New test.
10727 * gdb.dwarf2/pr11465.S: New file.
10728 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10729 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10730
4572cbac
TJB
107312010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10732
10733 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10734 registers. Update data sets with the new v2_double element in the
10735 VSX register union. Add vector_register3_vr data set for the AltiVec
10736 registers. Use gdb_test_no_output instead of send_gdb.
10737
e7fbb131
PA
107382010-08-19 Pedro Alves <pedro@codesourcery.com>
10739
10740 * gdb.python/py-shared.exp: New file, factored out from
10741 python.exp.
10742 * gdb.python/py-shared.c: New file.
10743 * gdb.python/py-shared-sl.c: New file.
10744 * gdb.python/python-1.c: New file.
10745 * gdb.python/python-sl.c: Delete.
10746 * gdb.python/python.c: Mention python-1.c.
10747 * gdb.python/python.exp: Move shared library tests to
10748 py-shared.exp.
10749 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10750 (MISCELLANEOUS): New.
10751 (clean mostlyclean): Also remove $MISCELLANEOUS.
10752
d30f5e1f
DE
107532010-08-19 Doug Evans <dje@google.com>
10754
10755 PR exp/11926
10756 * gdb.base/printcmds.exp (test_float_accepted): New function.
10757 Move existing float tests there. Add tests for floats with suffixes.
10758 (test_float_rejected): New function.
10759 * gdb.java/jv-print.exp (test_float_accepted): New function.
10760 (test_float_rejected): New function.
10761 * gdb.objc/print.exp: New file.
10762 * gdb.pascal/print.exp: New file.
10763 * lib/objc.exp: New file.
10764
7b3fd859
PM
107652010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10766
10767 * gdb.base/default.exp (info set): Avoid full buffer error and force
10768 reading up to final gdb prompt.
10769 (show): Likewise.
10770
c92817ce
TT
107712010-08-18 Tom Tromey <tromey@redhat.com>
10772
10773 PR symtab/11919:
10774 * gdb.base/completion.exp: Add test.
10775
f1208f9e
DE
107762010-08-18 Doug Evans <dje@google.com>
10777
10778 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10779 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10780 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10781 Simplify, early exit if runto_main fails.
10782 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10783 (set_lang_fortran): Moved to lib/fortran.exp.
10784 * gdb.fortran/types.exp: load_lib fortran.exp.
10785 (set_lang_fortran): Moved to lib/fortran.exp.
10786 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10787 * gdb.java/jprint.exp (set_lang_java): Ditto.
10788 * gdb.java/jv-exp.exp: load_lib java.exp.
10789 If set_lang_java fails, issue a warning instead of failure to be
10790 consistent with other set_lang_foo uses.
10791 (set_lang_java): Moved to lib/java.exp.
10792 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10793 If set_lang_java fails, issue a warning instead of failure to be
10794 consistent with other set_lang_foo uses.
10795 * gdb.pascal/types.exp: load_lib pascal.exp.
10796 (set_lang_pascal): Moved to lib/pascal.exp.
10797 * lib/fortran.exp: New file.
10798 * lib/java.exp (set_lang_java): New function.
10799 * lib/pascal.exp (set_lang_pascal): New function.
10800
2f06b485
YQ
108012010-08-18 Yao Qi <yao@codesourcery.com
10802
10803 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10804 func_nofb_start and func_loopfb_start, so that address of functions
10805 is equal to these labels on Thumb.
10806
96e25403
YQ
108072010-08-18 Yao Qi <yao@codesourcery.com>
10808
10809 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10810 to reflect latest c source file.
10811
36e6adc4
JK
108122010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10813
10814 * gdb.cp/infcall-dlopen.exp: New file.
10815 * gdb.cp/infcall-dlopen.cc: New file.
10816 * gdb.cp/infcall-dlopen-lib.cc: New file.
10817
f431efe5
PA
108182010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10819 Pedro Alves <pedro@codesourcery.com>
10820
10821 PR breakpoints/11371
10822
10823 * gdb.base/watch-cond-infcall.exp: New file.
10824 * gdb.base/watch-cond-infcall.c: New file.
10825
06a64a0b
TT
108262010-08-16 Tom Tromey <tromey@redhat.com>
10827
10828 * gdb.base/help.exp: Update.
10829 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10830 watchpoint.
10831 (test_watch_location): New proc.
10832 (test_watchpoint_in_big_blob): Delete watchpoint.
10833 * gdb.base/watchpoint.c (func5): New function.
10834 (main): Call it.
10835
70ebf4ed
DE
108362010-08-16 Doug Evans <dje@google.com>
10837
10838 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10839
ca5c20b6
PM
108402010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10841
10842 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10843 tests.
10844
7346b668
KW
108452010-08-11 Ken Werner <ken.werner@de.ibm.com>
10846
10847 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10848 * gdb.base/gnu_vector.c: New File.
10849 * gdb.base/gnu_vector.exp: Likewise.
10850
cb2e07a6
PM
108512010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10852
10853 * gdb.python/python.c: New File.
10854 * gdb.python/python-sl.c: New File.
10855 * gdb.python/python.exp: Test solib_address and decode_line
10856 * functions.
10857
5da1313b
JK
108582010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10859
10860 * gdb.python/python.exp (show height, set height 10)
10861 (verify pagination beforehand, verify pagination beforehand: q)
10862 (gdb.execute does not page, verify pagination afterwards)
10863 (verify pagination afterwards: q): New.
10864
49c3ccf7
DE
108652010-08-02 Doug Evans <dje@google.com>
10866
10867 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10868 because of an older gcc, change test2
10869 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10870 to unsupported.
10871
42c0c4f1
KH
108722010-07-30 Kazu Hirata <kazu@codesourcery.com>
10873
10874 * gdb.base/break-always.exp: Do not expect full paths to file
10875 names.
10876 * gdb.base/commands.exp: Likewise.
10877
d3765805
DE
108782010-07-30 Doug Evans <dje@google.com>
10879
c98ee71b
DE
10880 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10881 xfail them when run with older gccs.
10882
fd961404
DE
10883 * lib/gdb.exp (build_executable): Forward "c++" option to
10884 get_compiler_info.
10885
999adef4
DE
10886 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10887 "python print ttype.template_argument(1)" and
10888 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10889 if using gcc 4.4 or earlier.
10890
d3765805
DE
10891 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10892 attach-to-debugger handling.
10893
1276c759
JK
108942010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10895
10896 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10897 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10898 (main): Use copyreloc.
10899 * gdb.base/prelink.exp (split debug of executable)
10900 (.dynbss vs. .bss address shift): New tests.
10901
88caa9b9
PA
109022010-07-29 Pedro Alves <pedro@codesourcery.com>
10903
10904 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10905 in gdb_test_multiple.
10906
c6f2ac43
PA
109072010-07-29 Pedro Alves <pedro@codesourcery.com>
10908
10909 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10910 environment.
10911
326fd672
TT
109122010-07-28 Tom Tromey <tromey@redhat.com>
10913
10914 PR python/11060:
10915 * gdb.python/py-type.c (Temargs): New template.
10916 (temvar): New variable.
10917 * gdb.python/py-type.exp (test_template): New proc.
10918
3ce3b1ba
PA
109192010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10920
10921 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10922 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10923
34eaf542
TT
109242010-07-28 Tom Tromey <tromey@redhat.com>
10925
10926 PR c++/9946:
10927 * gdb.cp/temargs.exp: New file.
10928 * gdb.cp/temargs.cc: New file.
10929
d41b819e
JK
109302010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10931
10932 * gdb.base/help.exp (help disassemble): Update the content.
10933
26ab7092
JK
109342010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10935
10936 * gdb.threads/ia64-sigill.exp: New file.
10937 * gdb.threads/ia64-sigill.c: New file.
10938
5283e9e1
TT
109392010-07-27 Tom Tromey <tromey@redhat.com>
10940
10941 * gdb.opt/inline-cmds.c (ATTR): New define.
10942 (func1): Use it.
10943 (func2): Likewise.
10944 (func3): Likewise.
10945 (outer_inline1): Likewise.
10946 (outer_inline2): Likewise.
10947 * gdb.opt/inline-bt.c (ATTR): New define.
10948 (func1): Use it.
10949 (func2): Likewise.
10950 * gdb.opt/inline-locals.c (ATTR): New define.
10951 (func1): Use it.
10952 (func2): Likewise.
10953
e992ef73
TT
109542010-07-27 Tom Tromey <tromey@redhat.com>
10955
10956 * gdb.stabs/gdb11479.c (hack): New function.
10957 (test): Use it.
10958 (test2): Use it.
10959 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10960 (int32_search_buf, int64_search_buf): No longer static.
10961 (x): Remove.
10962 * gdb.base/relocate.c (hack): New function.
10963
5374244e
PM
109642010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10965
10966 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10967 * gdb.python/py-value.c (func1): New function.
10968 (func2): Likewise.
10969
a99aee83
CV
109702010-07-26 Corinna Vinschen <vinschen@redhat.com>
10971
10972 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10973 as not to clash with .data section.
10974
a04ba985
JG
109752010-07-26 Jerome Guitton <guitton@adacore.com>
10976
10977 * gdb.base/code_elim.exp: New file.
10978 * gdb.base/code_elim1.c: New file.
10979 * gdb.base/code_elim2.c: New file.
10980
23bd0f7c
PA
109812010-07-21 Pedro Alves <pedro@codesourcery.com>
10982
10983 PR symtab/11827
10984
10985 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10986 (some_volatile_enum): New variable.
10987 * gdb.base/printcmds.exp (test_print_enums): New.
10988 <top level>: Call it.
10989
883df6dd
SW
109902010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10991
10992 * gdb.cp/fpointer.cc: New test.
10993 * gdb.cp/fpointer.exp: New test.
10994
569b05a5
JK
109952010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10996
10997 * gdb.base/solib-nodir.exp: New file.
10998 * lib/gdb.exp (runto): New case for a GDB internal error.
10999
51d7d803
JK
110002010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11001 Ulrich Weigand <uweigand@de.ibm.com>
11002 Tom Tromey <tromey@redhat.com>
11003
11004 * gdb.base/charset-malloc.c: New file.
11005 * gdb.base/charset.c (malloc_stub): New prototype.
11006 (main): Call it instead of malloc itself.
11007 * gdb.base/charset.exp: Use only prepare_for_testing.
11008 (binfile): Remove the variable.
11009
c0edd9ed
JK
110102010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11011
11012 Make core files the process_stratum.
11013 * gdb.base/corefile.exp (run: load core again)
11014 (run: sanity check we see the core file, run: with core)
11015 (run: core file is cleared, attach: load core again)
11016 (attach: sanity check we see the core file, attach: with core)
11017 (attach: core file is cleared): New tests.
11018 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11019
3cbaedff
KW
110202010-07-14 Ken Werner <ken.werner@de.ibm.com>
11021
11022 * gdb.arch/altivec-abi.exp: New tests.
11023
91158a56
TT
110242010-07-13 Tom Tromey <tromey@redhat.com>
11025
11026 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11027 (main): Use it.
11028 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11029
0f5238ed
TT
110302010-07-13 Tom Tromey <tromey@redhat.com>
11031
11032 * gdb.base/label.exp: New file.
11033 * gdb.base/label.c: New file.
11034
add265ae
L
110352010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11036 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * lib/gdb.exp (is_ilp32_target): New.
11039 (is_lp64_target): Likewise.
11040
11041 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11042 target.
11043 * gdb.arch/amd64-disp-step.exp: Likewise.
11044 * gdb.arch/amd64-dword.exp: Likewise.
11045 * gdb.arch/amd64-i386-address.exp: Likewise.
11046 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 11047
add265ae
L
11048 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11049 target.
11050 * gdb.arch/i386-bp_permanent.exp: Likewise.
11051 * gdb.arch/i386-byte.exp: Likewise.
11052 * gdb.arch/i386-disp-step.exp: Likewise.
11053 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11054 * gdb.arch/i386-prologue.exp: Likewise.
11055 * gdb.arch/i386-size-overlap.exp: Likewise.
11056 * gdb.arch/i386-size.exp: Likewise.
11057 * gdb.arch/i386-sse.exp: Likewise.
11058 * gdb.arch/i386-unwind.exp: Likewise.
11059 * gdb.arch/i386-word.exp: Likewise.
11060
11061 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11062 test only when building 64-bit executables. Do not hard-code
11063 -m64 option.
11064
2dfb8c17
DE
110652010-07-07 Doug Evans <dje@google.com>
11066
11067 * lib/gdb.exp (gdb_test_list_exact): New function.
11068 * gdb.base/default.exp (show convenience): Call it, add tests for
11069 $_sdata = void, $_thread = 0.
11070
4e5799b6
JK
110712010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11072 Joel Brobecker <brobecker@adacore.com>
11073
11074 Fix re-run of PIE executable, PR shlibs/11776.
11075 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11076 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11077 and re-"run" of the inferior.
11078
1a219cc7
JK
110792010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11080 Joel Brobecker <brobecker@adacore.com>
11081
11082 Cope with missing /usr/sbin/prelink.
11083 * lib/prelink-support.exp (prelink_no):
11084 <result == 1 && $output is "no such file or directory">: New.
11085 (prelink_yes): Likewise. Return on failed prelink_no.
11086
5e3b36f8
JK
110872010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11088 Joel Brobecker <brobecker@adacore.com>
11089
11090 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11091 build_executable by build_executable_own_libs. Replace "prelink -R"
11092 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11093 change.
11094 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11095 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11096 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11097 Replace build_executable by build_executable_own_libs's function
11098 build_executable_own_libs.
11099 (prelinkNO): Create new stub to call prelink_no.
11100 (prelinkYES): Create new stub to call prelink_yes.
11101 (test_attach): Rename calls of copy to file_copy.
11102 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11103 (copy): Move to ...
11104 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11105 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11106 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11107 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11108 special flags by gdb_compile_shlib. Replace second gdb_compile by
11109 build_executable_own_libs. Replace "prelink -R" execution by a call of
11110 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11111 a second call of prelink_yes. Replace restart commands by
11112 clean_restart.
11113 (prelink): Rename to ...
11114 (seen displacement message): ... this test. Extend its expectation
11115 strictness.
11116
86e4bafc
JK
111172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11118
11119 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11120 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11121 displacement message exactly once.
11122
3cd07d20
JK
111232010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11124 Joel Brobecker <brobecker@adacore.com>
11125
11126 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11127 its restore after the <$relink_args != ""> loop. new comment.
11128
0a1e94c7
JK
111292010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11130 Joel Brobecker <brobecker@adacore.com>
11131
11132 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11133 code for it. New variable relink_args.
11134 (prelinkYES): Call prelinkNO.
11135 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11136 in such case. Move the core code to ...
11137 (test_attach_gdb): ... a new function. Send GDB command "file".
11138 Extend expected "Attaching to " string.
11139
2f70bcfb
TT
111402010-07-02 Tom Tromey <tromey@redhat.com>
11141
11142 * gdb.base/bitops.exp: Remove extraneous "pass".
11143
a17ac5b0
TT
111442010-07-02 Ken Werner <ken.werner@de.ibm.com>
11145
11146 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11147
dc10affe
PA
111482010-07-01 Pedro Alves <pedro@codesourcery.com>
11149
d41c0fc8
PA
11150 * gdb.base/help.exp: Adjust expected output.
11151
111522010-07-01 Pedro Alves <pedro@codesourcery.com>
11153
11154 * gdb.base/help.exp: Adjust expected output.
dc10affe 11155
0a600c36
JK
111562010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11157
11158 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11159 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11160 c++/11702.
11161
37cc8bfe
JK
111622010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11163 Doug Evans <dje@google.com>
11164
11165 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11166 add .dynamic entry'.
11167
254e6b9e
DE
111682010-06-29 Doug Evans <dje@google.com>
11169
11170 Test PR c++/11702.
11171 * gdb.cp/m-static.exp: Add testcase.
11172 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11173
595939de 111742010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
11175 Tom Tromey <tromey@redhat.com>
11176 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
11177
11178 * gdb.python/py-inferior.c: New File.
11179 * gdb.python/py-infthread.c: New File.
11180 * gdb.python/py-inferior.exp: New File.
11181 * gdb.python/py-infthread.exp: New File.
11182
98751a41
JK
111832010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11184
11185 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11186 (ptype ::C::OtherFileClass typedefs): New.
11187 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11188 (C::OtherFileClass::cOtherFileClassVar2): New.
11189 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11190 cOtherFileClassVar2.
11191 (C::cOtherFileType2, C::cOtherFileVar2): New.
11192 (C::cOtherFileVar_use): use also cOtherFileVar2.
11193 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11194
41f62f39
JK
111952010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11196
11197 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11198 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11199 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11200 (print ::C::cOtherFileVar)
11201 (whatis C::OtherFileClass::cOtherFileClassType)
11202 (whatis ::C::OtherFileClass::cOtherFileClassType)
11203 (print C::OtherFileClass::cOtherFileClassVar)
11204 (print ::cOtherFileClassVar)
11205 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11206 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11207 trailing content.
11208 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11209 (C::OtherFileClass::cOtherFileClassVar)
11210 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11211 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11212
af53d231
JK
112132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11214
11215 Test PR c++/11703 and PR gdb/1448.
11216 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11217 gdb/1448.
11218
9655fd1a
JK
112192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11220
11221 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11222 (main) <rtti_data>: New.
11223 * gdb.cp/virtbase.exp (print rtti_data): New.
11224
824cc8dd
JK
112252010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11226 Joel Brobecker <brobecker@adacore.com>
11227
11228 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11229
6036c742
JK
112302010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11231
11232 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11233
de6a0421
DE
112342010-06-28 Doug Evans <dje@google.com>
11235
11236 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11237
b2dae948
DE
112382010-06-27 Doug Evans <dje@google.com>
11239
11240 * gdb.cp/m-static.exp: Update expected test output.
11241
0f3bb72e
PH
112422010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11243
889bf7c5
PA
11244 * gdb.gdb/selftest.exp: Adjust expected message for
11245 capturing start-up runtime.
0f3bb72e 11246
bc9f0842
TT
112472010-06-25 Tom Tromey <tromey@redhat.com>
11248
11249 PR python/10808:
11250 * gdb.python/python.exp: Add new tests.
11251
099ef718
SW
112522010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11253
11254 * gdb.cp/operator.cc: Created an import loop.
11255 * gdb.cp/operator.exp: Added testcase for import loop.
11256
5868a632
JK
112572010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11258
11259 Test PR python/11407.
11260 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11261 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11262 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11263 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11264 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11265 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11266 binfile. Call gdb_compile with clean_restart twice.
11267 (func_nofb print, func_nofb backtrace, func_loopfb print)
11268 (func_loopfb backtrace): New.
11269
af76db58
JK
112702010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11271
11272 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11273 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11274 by a hand made one.
11275 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11276 i?86 requirement. Remove variables srcfile and binfile. New variable
11277 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11278
f2c7657e
UW
112792010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11280
11281 * gdb.cell/dwarfaddr.exp: New file.
11282 * gdb.cell/dwarfaddr.S: New file.
11283
628fe4e4
JK
112842010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11285
11286 Test PR 9436.
11287 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11288
f1421989
HZ
112892010-06-24 Hui Zhu <teawater@gmail.com>
11290
11291 * gdb.base/eval.exp: New file.
11292
d03285ec
UW
112932010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11294
11295 * gdb.cell/fork.exp: New file.
11296 * gdb.cell/fork.c: Likewise.
11297 * gdb.cell/fork-spu.c: Likewise.
11298
41b2c92d
PM
112992010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11300
11301 * lib/gdb.exp (banned_variables_traced): New global variable.
11302 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11303 (gdb_init): Use `trace add variable' instead of obsolete
11304 `trace variable'.
11305
d5bc977f
DE
113062010-06-21 Doug Evans <dje@google.com>
11307
11308 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11309
d2ed6730
UW
113102010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11311
11312 * gdb.arch/spu-ls.exp: New file.
11313 * gdb.arch/spu-ls.c: Likewise.
11314
6aed2dbc
SS
113152010-06-18 Stan Shebs <stan@codesourcery.com>
11316
11317 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11318
e0756905
UW
113192010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11320
11321 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11322 * gdb.base/watch-cond.exp: Likewise.
11323 * gdb.python/py-breakpoint.exp: Likewise.
11324
d8053d4d
PA
113252010-06-18 Pedro Alves <pedro@codesourcery.com>
11326
11327 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11328 clean_restart, make sure every test has a distinct message, and
11329 that messages don't include the executable' full path.
11330
81ce510c
DE
113312010-06-17 Doug Evans <dje@google.com>
11332
11333 * gdb.arch/i386-size.exp: Updated expected output for
11334 DISASSEMBLY_OMIT_FNAME.
11335
65d79d4b
SDJ
113362010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11337 Sergio Durigan Junior <sergiodj@redhat.com>
11338
11339 * gdb.base/watch-notconst.c: New file.
11340 * gdb.base/watch-notconst.S: New file.
11341 * gdb.base/watch-notconst2.c: New file.
11342 * gdb.base/watch-notconst2.S: New file.
11343 * gdb.base/watch-notconst.exp: New file.
11344 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11345 (func4): Add operations on `global_ptr_ptr'.
11346 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11347 routine to test watchpoints created with a constant expression.
11348 (test_inaccessible_watchpoint): Include tests for watchpoints
11349 created with a constant expression.
11350
df0f4836
KB
113512010-06-14 Kevin Buettner <kevinb@redhat.com>
11352
11353 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11354 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11355 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11356 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11357 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11358 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11359 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11360 of `_start'.
11361
b769def5
UW
113622010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11363
11364 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11365 not supported on the target.
11366 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11367 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11368 * gdb.mi/mi-nsintrall.exp: Likewise.
11369 * gdb.mi/mi-nsmoribund.exp: Likewise.
11370 * gdb.mi/mi-nsthrexec.exp: Likewise.
11371
d914c394
SS
113722010-06-11 Stan Shebs <stan@codesourcery.com>
11373
11374 * gdb.base/permissions.exp: New file.
11375
113762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
11377
11378 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11379 does not support ELF executable class.
11380
f3ce5b9c
UW
113812010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11382
11383 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11384
8e46892c
JK
113852010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11388 (runto): Catch "The target does not support running in non-stop mode.".
11389
6cc55c64
MS
113902010-06-11 Michael Snyder <msnyder@vmware.com>
11391
11392 * gdb.base/setshow.exp (set language asm): Don't use
11393 gdb_test_no_output, fails on some targets.
11394
caddefa4
UW
113952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11396
11397 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11398 * gdb.cp/pr9167.exp: Likewise.
11399
468b1aa7
UW
114002010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11401
11402 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11403
5c3552dc
UW
114042010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11405
11406 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11407
02e6fe6a
UW
114082010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11409
11410 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11411
0e03807e
TT
114122010-06-11 Tom Tromey <tromey@redhat.com>
11413
11414 PR gdb/9977, PR exp/11636::
11415 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11416 (pieces_test_f6): Update expected output.
11417
2bdf28a0
JK
114182010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11419
11420 * gdb.base/moribund-step.exp: New.
11421
f6978de9
MS
114222010-06-08 Michael Snyder <msnyder@vmware.com>
11423
11424 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 11425 * gdb.ada/boolean_expr.exp:
f6978de9
MS
11426 * gdb.ada/frame_args.exp: Ditto.
11427 * gdb.ada/lang_switch.exp: Ditto.
11428 * gdb.ada/ptype_arith_binop.exp: Ditto.
11429 * gdb.ada/ref_param.exp: Ditto.
11430 * gdb.ada/type_coercion.exp:Ditto.
11431
11432 * gdb.asm/asm-source.exp: Ditto.
11433
11434 * gdb.base/attach.exp: Ditto.
11435 * gdb.base/bitfields2.exp: Ditto.
11436 * gdb.base/call-signal-resume.exp: Ditto.
11437 * gdb.base/callfuncs.exp: Ditto.
11438 * gdb.base/commands.exp: Ditto.
11439 * gdb.base/dbx.exp: Ditto.
11440 * gdb.base/default.exp: Ditto.
11441 * gdb.base/dump.exp: Ditto.
11442 * gdb.base/exprs.exp: Ditto.
11443 * gdb.base/freebpcmd.exp: Ditto.
11444 * gdb.base/interrupt.exp: Ditto.
11445 * gdb.base/list.exp: Ditto.
11446 * gdb.base/long_long.exp: Ditto.
11447 * gdb.base/maint.exp: Ditto.
11448 * gdb.base/ptype.exp: Ditto.
11449 * gdb.base/return.exp: Ditto.
11450 * gdb.base/setshow.exp: Ditto.
11451 * gdb.base/sigbpt.exp: Ditto.
11452 * gdb.base/sigrepeat.exp: Ditto.
11453
11454 * gdb.cp/classes.exp: Ditto.
11455
11456 * gdb.dwarf2/dw2-restore.exp: Ditto.
11457
11458 * gdb.gdb/selftest.exp: Ditto.
11459
11460 * gdb.multi/base.exp: Ditto.
11461 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11462
11463 * gdb.python/py-block.exp: Ditto.
11464 * gdb.python/py-prettyprint.exp: Ditto.
11465 * gdb.python/py-template.exp: Ditto.
11466
11467 * gdb.server/ext-attach.exp: Ditto.
11468 * gdb.server/ext-run.exp: Ditto.
11469 * gdb.server/server-mon.exp: Ditto.
11470
11471 * gdb.threads/fork-thread-pending.exp: Ditto.
11472 * gdb.threads/hand-call-in-threads.exp: Ditto.
11473 * gdb.threads/interrupted-hand-call.exp: Ditto.
11474 * gdb.threads/linux-dp.exp: Ditto.
11475 * gdb.threads/manythreads.exp: Ditto.
11476 * gdb.threads/print-threads.exp: Ditto.
11477 * gdb.threads/pthreads.exp: Ditto.
11478 * gdb.threads/schedlock.exp: Ditto.
11479 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11480 * gdb.threads/threadapply.exp: Ditto.
11481
de7ff789
MS
114822010-06-08 Michael Snyder <msnyder@vmware.com>
11483
889bf7c5 11484 * gdb.ada/exec_changed.exp:
de7ff789
MS
11485 Use ".*" instead of "" as wildcard regexp.
11486
11487 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11488 * gdb.base/call-ar-st.exp: Ditto.
11489 * gdb.base/checkpoint.exp: Ditto.
11490 * gdb.base/default.exp: Ditto.
11491 * gdb.base/dump.exp: Ditto.
11492 * gdb.base/ending-run.exp: Ditto.
11493 * gdb.base/fileio.exp: Ditto.
11494 * gdb.base/miscexprs.exp: Ditto.
11495 * gdb.base/pointers.exp: Ditto.
11496 * gdb.base/readline.exp: Ditto.
11497 * gdb.base/reread.exp: Ditto.
11498 * gdb.base/restore.exp: Ditto.
11499 * gdb.base/shlib-call.exp: Ditto.
11500 * gdb.base/valgrind-db-attach.exp: Ditto.
11501 * gdb.base/volatile.exp: Ditto.
11502 * gdb.base/watchpoints.exp: Ditto.
11503
11504 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11505
11506 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11507 * gdb.python/py-value.exp: Ditto.
11508
11509 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11510 * gdb.trace/circ.exp: Ditto.
11511 * gdb.trace/collection.exp: Ditto.
11512 * gdb.trace/packetlen.exp: Ditto.
11513 * gdb.trace/passc-dyn.exp: Ditto.
11514 * gdb.trace/report.exp: Ditto.
11515 * gdb.trace/tfile.exp: Ditto.
11516 * gdb.trace/tfind.exp: Ditto.
11517 * gdb.trace/while-dyn.exp: Ditto.
11518
3bebe2f2
JK
115192010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11520
11521 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11522
5c631832
JK
115232010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11524
11525 Test PR 10640.
11526 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11527
4c3376c8
SW
115282010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11529
11530 * gdb.cp/koenig.exp: Test for ADL operators.
11531 * gdb.cp/koenig.cc: Added ADL operators.
11532 * gdb.cp/operator.exp: New test.
11533 * gdb.cp/operator.cc: New test.
11534
dc226d5a
MS
115352010-06-04 Michael Snyder <msnyder@vmware.com>
11536
dfb88a23
MS
11537 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11538 * gdb.base/pending.exp: Ditto.
f7ae76b3 11539
dc226d5a
MS
11540 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11541
967cf477
DE
115422010-06-04 Doug Evans <dje@google.com>
11543
11544 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11545 disabled printers.
11546 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11547 (enable_lookup_function): New function.
11548
eb801841
TT
115492010-06-04 Tom Tromey <tromey@redhat.com>
11550
11551 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11552 of hash and id.
11553
38979823
JK
115542010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11555
11556 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11557 newline.
11558 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11559 (empty verbose non-noisy clear, empty verbose noisy clear)
11560 (empty non-verbose noisy clear): Likewise.
11561
35ec993f
MS
115622010-06-03 Michael Snyder <msnyder@vmware.com>
11563
11564 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11565 * gdb.base/display.exp: Ditto.
11566 * gdb.base/find.exp: Ditto.
11567 * gdb.base/ifelse.exp: Ditto.
11568 * gdb.base/multi-forks.exp: Ditto.
11569 * gdb.base/recurse.exp: Ditto.
11570 * gdb.base/setshow.exp: Ditto.
11571 * gdb.base/value-double-free.exp: Ditto.
11572 * gdb.base/watch-vfork.exp: Ditto.
11573 * gdb.base/watch_thread_num.exp: Ditto.
11574 * gdb.base/watchpoint-solib.exp: Ditto.
11575 * gdb.base/watchpoint.exp: Ditto.
11576 * gdb.base/watchpoints.exp: Ditto.
11577
11578 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11579 * gdb.cp/overload.exp: Ditto.
11580 * gdb.cp/virtfunc.exp: Ditto.
11581
11582 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11583
889bf7c5 11584 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
11585 Replace gdb_test with gdb_test_no_output.
11586
889bf7c5 11587 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
11588 Replace gdb_test with gdb_test_no_output.
11589 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11590 * gdb.threads/watchthreads.exp: Ditto.
11591 * gdb.threads/watchthreads2.exp: Ditto.
11592
11593 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11594 * gdb.trace/tfind.exp: Ditto.
11595
c22decce
JB
115962010-06-03 Joel Brobecker <brobecker@adacore.com>
11597
11598 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11599 successful test if message is the empty string.
11600
fd5700c7
JK
116012010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11602
11603 * gdb.fortran/module.exp (stopped language detection): New test.
11604
f55ee35c
JK
116052010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11606
11607 Support DW_TAG_module as separate namespaces.
11608 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11609 gdb.fortran/library-module-lib.f90: New.
11610 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11611 (print i): Remove.
11612 (continue to breakpoint: i-is-1, print var_i value 1)
11613 (continue to breakpoint: i-is-2, print var_i value 2)
11614 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11615 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11616 (complete `modmany, complete `modmany`, complete `modmany`var)
11617 (show language, setting breakpoint at module): New tests.
11618 * gdb.fortran/module.f90 (module mod): Remove.
11619 (module mod1, module mod2, module modmany, subroutine sub1)
11620 (subroutine sub2, program module): New.
11621
b8e8282f
JK
116222010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11623
11624 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11625 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
11626 * gdb.cp/anon-union.exp (pass): Rename to ...
11627 (print z 2): ... here.
b8e8282f 11628
019ebafc
MS
116292010-06-02 Michael Snyder <msnyder@vmware.com>
11630
e68d8fd4
MS
11631 * gdb.trace/actions.exp: Use gdb_test_no_output.
11632 * gdb.trace/circ.exp: Ditto.
11633 * gdb.trace/packetlen.exp: Ditto.
11634 * gdb.trace/save-trace.exp: Ditto.
11635 * gdb.trace/tracecmd.exp: Ditto.
11636 * gdb.trace/tsv.exp: Ditto.
11637
12b5d08a
MS
11638 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11639 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11640 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11641 * gdb.threads/manythreads.exp: Ditto.
11642 * gdb.threads/print-threads.exp: Ditto.
11643 * gdb.threads/pthreads.exp: Ditto.
11644 * gdb.threads/schedlock.exp: Ditto.
11645 * gdb.threads/staticthreads.exp: Ditto.
11646 * gdb.threads/thread-specific.exp: Ditto.
11647 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11648 * gdb.threads/threadapply.exp: Ditto.
11649 * gdb.threads/watchthreads.exp: Ditto.
11650 * gdb.threads/watchthreads2.exp: Ditto.
11651
89493308
MS
11652 * gdb.python/py-block.exp: Use gdb_test_no_output.
11653 * gdb.python/py-prettyprint.exp: Ditto.
11654 * gdb.python/py-template.exp: Ditto.
11655 * gdb.python/py-value.exp: Ditto.
11656
11657 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11658 * gdb.reverse/watch-reverse.exp: Ditto.
11659
11660 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11661 * gdb.server/ext-run.exp: Ditto.
11662
019ebafc
MS
11663 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11664 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11665 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11666 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11667 * gdb.dwarf2/dw2-producer.exp: Ditto.
11668 * gdb.dwarf2/mac-fileno.exp: Ditto.
11669
11670 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11671 * gdb.gdb/selftest.exp: Ditto.
11672
11673 * gdb.multi/base.exp: Use gdb_test_no_output.
11674
11675 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11676
3e0ca3a5
JK
116772010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11678
11679 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11680
9db70545
MS
116812010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11682
a8d52276
MS
11683 * gdb.cp/class2.exp: Use gdb_test_no_output.
11684 * gdb.cp/classes.exp: Ditto.
11685 * gdb.cp/extern-c.exp: Ditto.
11686 * gdb.cp/inherit.exp: Ditto.
11687 * gdb.cp/maint.exp: Ditto.
11688 * gdb.cp/mb-inline.exp: Ditto.
11689 * gdb.cp/mb-templates.exp: Ditto.
11690 * gdb.cp/method2.exp: Ditto.
11691 * gdb.cp/misc.exp: Ditto.
11692 * gdb.cp/ovldbreak.exp: Ditto.
11693 * gdb.cp/punctuator.exp: Ditto.
11694 * gdb.cp/templates.exp: Ditto.
11695 * gdb.cp/virtbase.exp: Ditto.
11696
889bf7c5 11697 * gdb.threads/attach-stopped.exp:
9db70545 11698 Replace uses of send_gdb / gdb_expect.
889bf7c5 11699 * gdb.threads/attachstop-mt.exp:
9db70545 11700 Replace uses of send_gdb / gdb_expect.
889bf7c5 11701 * gdb.threads/gcore-thread.exp:
9db70545 11702 Replace uses of send_gdb / gdb_expect.
889bf7c5 11703 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
11704 Replace uses of send_gdb / gdb_expect.
11705 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11706 * gdb.threads/print-threads.exp:
9db70545
MS
11707 Replace uses of send_gdb / gdb_expect.
11708 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11709 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11710 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11711
11712 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11713 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11714 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11715 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11716 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11717 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11718 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11719 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11720 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11721 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11722 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11723
359cc68c
JK
117242010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11725
11726 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11727
7d3fe98e
SW
117282010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11729
11730 * gdb.cp/koenig.exp: Added new test case.
11731 * gdb.cp/koenig.cc: Ditto.
11732
27d3a1a2
MS
117332010-06-01 Michael Snyder <msnyder@vmware.com>
11734
11735 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11736 * gdb.base/arrayidx.exp: Ditto.
11737 * gdb.base/attach.exp: Ditto.
11738 * gdb.base/auxv.exp: Ditto.
11739 * gdb.base/bigcre.exp: Ditto.
11740 * gdb.base/break-always.exp: Ditto.
11741 * gdb.base/break-interp.exp: Ditto.
11742 * gdb.base/break.exp: Ditto.
11743 * gdb.base/breakpoint-shadow.exp: Ditto.
11744 * gdb.base/call-ar-st.exp: Ditto.
11745 * gdb.base/call-sc.exp: Ditto.
11746 * gdb.base/call-signal-resume.exp: Ditto.
11747 * gdb.base/callfuncs.exp: Ditto.
11748 * gdb.base/catch-syscall.exp: Ditto.
11749 * gdb.base/charset.exp: Ditto.
11750 * gdb.base/code-expr.exp: Ditto.
11751 * gdb.base/commands.exp: Ditto.
11752 * gdb.base/cond-expr.exp: Ditto.
11753 * gdb.base/condbreak.exp: Ditto.
11754 * gdb.base/cursal.exp: Ditto.
11755 * gdb.base/cvexpr.exp: Ditto.
11756 * gdb.base/default.exp: Ditto.
11757 * gdb.base/del.exp: Ditto.
11758 * gdb.base/detach.exp: Ditto.
11759 * gdb.base/display.exp: Ditto.
11760 * gdb.base/ena-dis-br.exp: Ditto.
11761 * gdb.base/eval-skip.exp: Ditto.
11762 * gdb.base/foll-fork.exp: Ditto.
11763 * gdb.base/foll-vfork.exp: Ditto.
11764 * gdb.base/frame-args.exp: Ditto.
11765 * gdb.base/funcargs.exp: Ditto.
11766 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11767 * gdb.base/gdbvars.exp: Ditto.
11768 * gdb.base/help.exp: Ditto.
11769 * gdb.base/ifelse.exp: Ditto.
11770 * gdb.base/included.exp: Ditto.
11771 * gdb.base/list.exp: Ditto.
11772 * gdb.base/macscp.exp: Ditto.
11773 * gdb.base/maint.exp: Ditto.
11774 * gdb.base/multi-fork.exp: Ditto.
11775 * gdb.base/overlays.exp: Ditto.
11776 * gdb.base/page.exp: Ditto.
11777 * gdb.base/pending.exp: Ditto.
11778 * gdb.base/pointers.exp: Ditto.
11779 * gdb.base/pr11022.exp: Ditto.
11780 * gdb.base/prelink.exp: Ditto.
11781 * gdb.base/printcmds.exp: Ditto.
11782 * gdb.base/psymtab.exp: Ditto.
11783 * gdb.base/randomize.exp: Ditto.
11784 * gdb.base/relational.exp: Ditto.
11785 * gdb.base/relocate.exp: Ditto.
11786 * gdb.base/remote.exp: Ditto.
11787 * gdb.base/sepdebug.exp: Ditto.
11788 * gdb.base/set-lang-auto.exp: Ditto.
11789 * gdb.base/setshow.exp: Ditto.
11790 * gdb.base/setvar.exp: Ditto.
11791 * gdb.base/signals.exp: Ditto.
11792 * gdb.base/signull.exp: Ditto.
11793 * gdb.base/sigstep.exp: Ditto.
11794 * gdb.base/sizeof.exp: Ditto.
11795 * gdb.base/solib-disc.exp: Ditto.
11796 * gdb.base/store.exp: Ditto.
11797 * gdb.base/structs.exp: Ditto.
11798 * gdb.base/structs2.exp: Ditto.
11799 * gdb.base/subst.exp: Ditto.
11800 * gdb.base/term.exp: Ditto.
11801 * gdb.base/trace-commands.exp: Ditto.
11802 * gdb.base/unwindonsignal.exp: Ditto.
11803 * gdb.base/valgrind-db-attach.exp: Ditto.
11804 * gdb.base/varargs.exp: Ditto.
11805 * gdb.base/watch-cond.exp: Ditto.
11806 * gdb.base/watch_thread_num.exp: Ditto.
11807 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11808 * gdb.base/watchpoint.exp: Ditto.
11809 * gdb.base/whatis-exp.exp: Ditto.
11810
f8d3bf8f
MS
118112010-06-01 Michael Snyder <msnyder@vmware.com>
11812
11813 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11814 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11815 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11816 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11817 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11818 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11819 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11820 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11821 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11822 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11823 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11824 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11825 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11826 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11827 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11828
3f9e0d32
JK
118292010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11830
11831 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11832 trailing newline.
11833 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11834 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11835 (p *args): ... here and remove excessive trailing newline.
11836
f629457d
JB
118372010-05-31 Joel Brobecker <brobecker@adacore.com>
11838
11839 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11840
09eef106
JK
118412010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11842
11843 Accept the new Linux kernel "t (tracing stop)" string.
11844 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11845 Update comment.
11846 (state_wait) <T (tracing stop)>: New.
11847 (main): Update the state_wait expect string.
11848
94f31136
PA
118492010-05-28 Pedro Alves <pedro@codesourcery.com>
11850
11851 * limits.c, limits.exp: Delete files.
11852 * Makefile.in (clean mostlyclean): Adjust.
11853 * tracecmd.exp: Adjust.
11854
096554ab
JK
118552010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11856
11857 * gdb.base/tui-layout.exp: New.
11858
27d3a1a2 118592010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11860
889bf7c5 11861 * gdb.reverse/break-precsave.exp:
bcd2dc50 11862 Replace uses of send_gdb / gdb_expect.
889bf7c5 11863 * gdb.reverse/break-reverse.exp:
bcd2dc50 11864 Replace uses of send_gdb / gdb_expect.
889bf7c5 11865 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11866 Replace uses of send_gdb / gdb_expect.
889bf7c5 11867 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11868 Replace uses of send_gdb / gdb_expect.
889bf7c5 11869 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11870 Replace uses of send_gdb / gdb_expect.
889bf7c5 11871 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11872 Replace uses of send_gdb / gdb_expect.
889bf7c5 11873 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11874 Replace uses of send_gdb / gdb_expect.
889bf7c5 11875 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11876 Replace uses of send_gdb / gdb_expect.
889bf7c5 11877 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11878 Replace uses of send_gdb / gdb_expect.
889bf7c5 11879 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11880 Replace uses of send_gdb / gdb_expect.
889bf7c5 11881 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11882 Replace uses of send_gdb / gdb_expect.
889bf7c5 11883 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11884 Replace uses of send_gdb / gdb_expect.
889bf7c5 11885 * gdb.reverse/machinestate.exp:
bcd2dc50 11886 Replace uses of send_gdb / gdb_expect.
889bf7c5 11887 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11888 Replace uses of send_gdb / gdb_expect.
889bf7c5 11889 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11890 Replace uses of send_gdb / gdb_expect.
889bf7c5 11891 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11892 Replace uses of send_gdb / gdb_expect.
889bf7c5 11893 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11894 Replace uses of send_gdb / gdb_expect.
889bf7c5 11895 * gdb.reverse/step-precsave.exp:
bcd2dc50 11896 Replace uses of send_gdb / gdb_expect.
889bf7c5 11897 * gdb.reverse/step-reverse.exp:
bcd2dc50 11898 Replace uses of send_gdb / gdb_expect.
889bf7c5 11899 * gdb.reverse/until-precsave.exp:
bcd2dc50 11900 Replace uses of send_gdb / gdb_expect.
889bf7c5 11901 * gdb.reverse/until-reverse.exp:
bcd2dc50 11902 Replace uses of send_gdb / gdb_expect.
889bf7c5 11903 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11904 Replace uses of send_gdb / gdb_expect.
889bf7c5 11905 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11906 Replace uses of send_gdb / gdb_expect.
11907
3def43e0
JK
119082010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11909
11910 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11911 excessive newline.
11912
27d3a1a2 119132010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11914
11915 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11916 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11917 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11918 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11919 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11920 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11921 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11922 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11923 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11924 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11925 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11926 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11927 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11928 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11929 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11930 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11931 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11932 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11933 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11934
27d3a1a2 119352010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11936
22454424
MS
11937 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11938 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11939
11940 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11941 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11942 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11943
889bf7c5 11944 * gdb.reverse/consecutive-reverse.exp:
22454424 11945 Replace uses of send_gdb / gdb_expect.
889bf7c5 11946 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11947 Replace uses of send_gdb / gdb_expect.
11948
11949 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11950 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11951 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11952 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11953 Replace uses of send_gdb / gdb_expect.
11954 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11955 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11956 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11957 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11958 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11959 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11960 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11961 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11962 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11963
119642010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11965
22454424 11966 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11967
22454424 11968 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11969
22454424
MS
11970 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11971 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11972 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11973 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11974 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11975 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11976 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11977 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11978 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11979
6e5f2c59
TT
119802010-05-25 Tom Tromey <tromey@redhat.com>
11981
11982 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11983
bbc8b958
TT
119842010-05-25 Tom Tromey <tromey@redhat.com>
11985
11986 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11987 argument order.
11988 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11989 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11990 order.
11991 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11992 order.
11993 * gdb.base/call-sc.exp (setup_kfails): Remove.
11994 (setup_compiler_kfails): Remove.
11995 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11996 argument order.
11997 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11998 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11999 (advancei): Fix setup_kfail argument order.
12000 * gdb.base/radix.exp: Fix setup_kfail argument order.
12001 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12002 order.
12003 * gdb.base/structs.exp (setup_kfails): Remove.
12004 (setup_compiler_kfails): Fix setup_kfail argument order.
12005 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12006 order.
12007 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12008 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12009 setup_kfail argument order.
12010 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12011
83d1babf
TT
120122010-05-25 Tom Tromey <tromey@redhat.com>
12013
12014 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12015
6acb16a2
MS
120162010-05-25 Michael Snyder <msnyder@vmware.com>
12017
12018 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12019 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12020 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12021 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12022 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12023 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12024 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12025 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12026 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
12027 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12028 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12029 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12030 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12031 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12032 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12033 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12034 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12035 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12036 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12037 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12038 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12039 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12040 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
12041 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12042 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12043 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12044 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12045 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12046 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12047 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12048 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12049 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12050 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12051 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12052 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12053 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12054 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12055 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12056 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12057 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12058 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12059 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12060 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12061 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12062 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12063 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12064 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 12065 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12066
120672010-05-25 Doug Evans <dje@google.com>
12068
12069 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12070 gdb.string_to_argv.
ad3986f0 12071
d3b1e874
TT
120722010-05-21 Tom Tromey <tromey@redhat.com>
12073
12074 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12075 Call it.
12076 * gdb.dwarf2/pieces.S: Update.
12077 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12078
cb826367
TT
120792010-05-21 Tom Tromey <tromey@redhat.com>
12080
12081 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12082 Call it.
12083 * gdb.dwarf2/pieces.c (struct C): New.
12084 (f6): New function.
12085 * gdb.dwarf2/pieces.S: Replace.
12086
74de6778
TT
120872010-05-21 Tom Tromey <tromey@redhat.com>
12088
12089 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12090 Call it.
12091
afd74c5f
TT
120922010-05-21 Tom Tromey <tromey@redhat.com>
12093
12094 * gdb.dwarf2.pieces.exp: New file.
12095 * gdb.dwarf2.pieces.S: New file.
12096 * gdb.dwarf2.pieces.c: New file.
12097
a7b75dfd 120982010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12099 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
12100
12101 * lib/gdb.exp (gdb_test_no_output): New function.
12102 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12103 when testing commands that should produce no output.
12104
c81c812a
JB
121052010-05-17 Joel Brobecker <brobecker@adacore.com>
12106
12107 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12108 parameter that we want to watch being a constant.
12109
0cce5bd9
JB
121102010-05-17 Joel Brobecker <brobecker@adacore.com>
12111
12112 * gdb.ada/cond_lang: New testcase.
12113
47050449
JB
121142010-05-17 Joel Brobecker <brobecker@adacore.com>
12115
12116 * lib/gdb.exp (banned_variables): New variable/constant.
12117 (gdb_init): Add write trace on variables listed in banned_variables.
12118 (gdb_finish): Remove write traces on variables listed in
12119 banned_variables.
12120
77c01586
JB
121212010-05-17 Joel Brobecker <brobecker@adacore.com>
12122
12123 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12124 * gdb.cp/koenig.exp: Likewise.
12125
88d4aea7
PM
121262010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12127
889bf7c5 12128 PR python/11482
88d4aea7
PM
12129
12130 * gdb.python/py-value.exp (test_value_hash): New function.
12131
f5a010c0
PM
121322010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12133
12134 PR exp/11530.
12135 * gdb.base/gdb11530.c: New file.
12136 * gdb.base/gdb11530.exp: New file.
12137
8ef4892f
JK
121382010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12139
12140 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12141 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12142
7322dca9
SW
121432010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12144
12145 * gdb.cp/koenig.exp: New test.
12146 * gdb.cp/koenig.cc: New test program.
12147
02e7ea18
JB
121482010-05-05 Joel Brobecker <brobecker@adacore.com>
12149
12150 Remove the use of prms_id and bug_id throughout the testsuite.
12151
e1c34c5d
PM
121522010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12153
12154 PR exp/11349.
12155 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12156 use a reference local variable.
12157
8e1d0c49
JK
121582010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12159
12160 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12161 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12162 variable different_dir. Move debugfile into a full directory pathname
12163 under DIFFERENT_DIR.
12164 * lib/gdb.exp (separate_debug_filename): Remove.
12165 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12166 variable debug_dir and mkdir of it. Update function comments.
12167
e66408ed
PA
121682010-04-29 Pedro Alves <pedro@codesourcery.com>
12169
12170 PR gdb/11557
12171
12172 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12173 files.
12174
d7b32ed3
PM
121752010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12176
889bf7c5 12177 * gdb.python/py-param.exp: New File.
d7b32ed3 12178
6aecb9c2
JB
121792010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12180
12181 * gdb.base/default.exp: Fix "set language" test.
12182
bdf92a1c
PM
121832010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12184
12185 PR breakpoints/11531.
12186 * gdb.base/gdb11531.c: New file.
12187 * gdb.base/gdb11531.exp: New file.
12188
3f172e24
TT
121892010-04-26 Tom Tromey <tromey@redhat.com>
12190
12191 * gdb.base/completion.exp: Add tests for completion and deprecated
12192 commands.
12193
64af4c92
JK
121942010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12195
12196 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12197 (print /x char_array): Escape curly brackets.
12198
492928e4
JK
121992010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12200
12201 Fix deadlock on looped list of loaded shared objects.
12202 * gdb.base/solib-corrupted.exp: New.
12203
66d09542
DE
122042010-04-23 Doug Evans <dje@google.com>
12205
12206 * gdb.python/py-section-script.c: New file.
12207 * gdb.python/py-section-script.exp: New file.
12208 * gdb.python/py-section-script.py: New file.
12209
8bd10a10
CM
122102010-04-20 Chris Moller <cmoller@redhat.com>
12211
12212 PR 10179
12213
12214 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12215 * gdb.base/pr10179-a.c:
12216 * gdb.base/pr10179-b.c:
12217 * gdb.base/pr10179.exp: New files.
12218
c0201579
JK
122192010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12220
12221 Fix crashes on dangling display expressions.
12222 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12223 is SEP.
12224 (lib_flags): Remove the "debug" keyword.
12225 (libsepdebug): New variable for iterating new loop.
12226 (save_pf_prefix): New variable wrapping the loop.
12227 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12228 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12229
793b0ff8
PM
122302010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12231
12232 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12233
097f51f7
PM
122342010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12235
12236 PR stabs/11479.
12237 * gdb.stabs/gdb11479.exp: New file.
12238 * gdb.stabs/gdb11479.c: New file.
12239
9a22f0d0
PM
122402010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12241
12242 * gdb.base/charset.c (Strin16, String32): New variables.
12243 * gdb.base/charset.exp (gdb_test): Test correct display
12244 of 16 or 32 bit strings.
12245
122462010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
12247
12248 PR 9167
12249 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12250 * gdb.cp/pr9167.cc: New file.
12251 * gdb.cp/pr9167.exp: New file.
12252
12253
6e354e5e
PM
122542010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12255
12256 PR pascal/11492.
12257 * gdb.pascal/gdb11492.pas: New file.
12258 * gdb.pascal/gdb11492.exp: New file.
12259
be942545
JB
122602010-04-20 Joel Brobecker <brobecker@adacore.com>
12261
1667e6e3 12262 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 12263
0c3acc09
JB
122642010-04-20 Joel Brobecker <brobecker@adacore.com>
12265
12266 * gdb.ada/dyn_loc: New testcase.
12267
ec31cde5
CM
122682010-04-20 Chris Moller <cmoller@redhat.com>
12269
12270 PR 10867
889bf7c5 12271
ec31cde5
CM
12272 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12273 * gdb.cp/pr10687.cc: New file.
12274 * gdb.cp/pr10687.exp: New file.
12275
12276
ce4b0682
SDJ
122772010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12278 Sergio Durigan Junior <sergiodj@redhat.com>
12279
12280 * gdb.fortran/logical.exp: New testcase.
12281 * gdb.fortran/logical.f90: New file.
12282
3436961f
DE
122832010-04-19 Doug Evans <dje@google.com>
12284
12285 * gdb.base/help.exp (help source): Update expected output.
12286
4d836c09
JK
122872010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12288
12289 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12290 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12291 gdb_exit and return.
12292 (executable): New variable.
12293 (binfile): Use it.
12294
6149aea9
PA
122952010-04-19 Pedro Alves <pedro@codesourcery.com>
12296
12297 PR breakpoints/8554.
12298
12299 * gdb.trace/save-trace.exp: Adjust.
12300
ed41462c
L
123012010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 PR corefiles/11511
12304 * gdb.arch/system-gcore.exp: New.
12305 * gdb.arch/gcore.c: Likewise.
12306
3f7b2faa
DE
123072010-04-15 Doug Evans <dje@google.com>
12308
fa33c3cd
DE
12309 * gdb.python/py-progspace.c: New file.
12310 * gdb.python/py-progspace.exp: New file.
12311
3f7b2faa
DE
12312 * gdb.base/source.exp: Add tests for "source -s".
12313
79f283fe
PM
123142010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12315
12316 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12317 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12318 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12319 * gdb.python/py-mi.exp: New test for to_string returning None.
12320
fc8eb08a
PM
123212010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12322
12323 * gdb.python/py-breakpoint.c: Make result global.
12324
26e197f6
JK
123252010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12326
12327 Fix non-GNU make compatibility.
12328 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12329
adc36818
PM
123302010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12331
12332 * gdb.python/py-breakpoint.exp: New File.
12333 * gdb.python/py-breakpoint.C: Ditto.
12334
64e17368
SS
123352010-04-08 Stan Shebs <stan@codesourcery.com>
12336
12337 * gdb.trace/actions.exp: Clear default-collect.
12338 * gdb.trace/save-trace.exp: Clear default-collect.
12339
fff5cc64
PM
123402010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12341
12342 * gdb.python/py-value: Add null string variable.
12343 (test_lazy_string): Test zero length, NULL address lazy
12344 strings.
12345
a055a187
L
123462010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * gdb.arch/i386-avx.c: New.
12349 * gdb.arch/i386-avx.exp: Likewise.
12350
12351 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12352
96e39866
DE
123532010-04-06 Doug Evans <dje@google.com>
12354
12355 * gdb.base/source-test.gdb: New file.
12356 * gdb.base/source.exp: Test source -v.
12357
5984a431
UW
123582010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12359
12360 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12361
ec8a089a
PM
123622010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12363
12364 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12365 within one line, unless it is followed by a double quote.
12366 * gdb.stabs/hppa.sed: Idem.
12367 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
12368 * gdb.stabs/weird.exp: Check for correct parsing of
12369 char and string constants.
ec8a089a
PM
12370 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12371 in .stabs to .stabx substitution.
12372
fce3c1f0
SS
123732010-04-05 Stan Shebs <stan@codesourcery.com>
12374
12375 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12376 constant global.
12377 * gdb.trace/tfile.exp: Try to print them.
12378
d77f58be
SS
123792010-04-04 Stan Shebs <stan@codesourcery.com>
12380
12381 * gdb.base/completion.exp: Update for new "info watchpoints".
12382 * gdb.base/default.exp: Ditto.
12383 * gdb.base/help.exp: Ditto.
12384 * gdb.base/watchpoint.exp: Ditto.
12385 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 12386
af54718e
SS
123872010-04-04 Stan Shebs <stan@codesourcery.com>
12388
12389 * gdb.trace/tfile.exp: Sharpen tfind test.
12390
74d1f91e
JK
123912010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12392
12393 * gdb.base/break-entry.exp: New.
12394
eb8e76db 123952010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 12396 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
12397
12398 * gdb.reverse/i386-sse-reverse.exp: New file.
12399 * gdb.reverse/i386-sse-reverse.c: New file.
12400
bf65cad8
PA
124012010-04-02 Pedro Alves <pedro@codesourcery.com>
12402
12403 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12404
fff87407
SS
124052010-04-01 Stan Shebs <stan@codesourcery.com>
12406
12407 * gdb.trace/actions.exp: Tweak expected output.
12408 * gdb.trace/while-stepping.exp: Tweak expected output.
12409
fe01d668
L
124102010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12411
12412 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12413
86b17b60
PA
124142010-04-01 Pedro Alves <pedro@codesourcery.com>
12415
12416 * gdb.base/commands.exp: Adjust.
12417 * gdb.cp/extern-c.exp: Adjust.
12418
2c58c0a9
PA
124192010-04-01 Pedro Alves <pedro@codesourcery.com>
12420
12421 * gdb.trace/collection.c (local_test_func): Define a local struct,
12422 and instanciate it.
12423
0db9b91c
PA
124242010-04-01 Pedro Alves <pedro@codesourcery.com>
12425
12426 * gdb.trace/collection.exp (gdb_collect_args_test)
12427 (gdb_collect_argarray_test): XFAIL the tests that assume the
12428 argarray argument's elements are collected.
12429
8072405b
JK
124302010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12431
12432 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12433 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12434
8bf6485c
SS
124352010-03-31 Stan Shebs <stan@codesourcery.com>
12436
12437 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12438 and tracepoint conditionals.
12439 (gdb_verify_tracepoints): Delete unused return.
12440
fd7f724a
KS
124412010-03-26 Keith Seitz <keiths@redhat.com>
12442
12443 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12444 appear in the output before main.
12445 Remove KFAIL for gdb/2215 aka bz 9320.
12446
8d9e7719
DE
124472010-03-30 Doug Evans <dje@google.com>
12448
0906dd0b
DE
12449 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12450 by dejagnu.
12451 * gdb.arch/amd64-dword.exp: Ditto.
12452
8d9e7719
DE
12453 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12454 match.
12455 (break printf): Ditto.
12456
1da644f0
SW
124572010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12458
12459 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12460 gcc < 4.4.
12461 * gdb.cp/shadow.exp: Ditto.
12462
a8121990
PA
124632010-03-29 Pedro Alves <pedro@codesourcery.com>
12464
12465 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12466 "tstart" is silent.
12467
6e79d367
PA
124682010-03-29 Pedro Alves <pedro@codesourcery.com>
12469
12470 * gdb.trace/collection.exp (executable): New.
12471 (binfile): Use it.
12472 (fpreg, spreg, pcreg): New.
12473 (test_register): Use gdb_test_multiple. Pass /x to print.
12474 (prepare_for_trace_test): New.
12475 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12476 (gdb_collect_args_test, gdb_collect_argstruct_test)
12477 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12478 prepare_for_trace_test.
12479 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12480 fpreg, spreg and pcreg.
12481 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12482 prepare_for_trace_test.
12483 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12484 try to detect tracing support here. Don't set breakpoints at
12485 `begin' or `end' here.
12486 <global scope>: Use clean_restart. Run to main before checking
12487 for tracing support. Check for for tracing support here.
12488
09248348
JK
124892010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12490
12491 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12492 " as $displacement" to "seen displacement message".
12493
d350db38
PA
124942010-03-28 Pedro Alves <pedro@codesourcery.com>
12495
12496 * gdb.trace/while-dyn.exp (executable): New variable.
12497 (binfile): Use it.
12498 (test_while_stepping): New function. Move most tests here. Call
12499 it once for each of the while-stepping, stepping and ws aliases.
12500
907af001
UW
125012010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12502
12503 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12504 that do not provide the tagless_struct type name at all.
12505 (test_print_anon_union): Do not check value of uninitialized
12506 union member. Do not use cp_test_ptype_class, so we can accept
12507 "long" as well as "long int".
12508
610197fd
PA
125092010-03-26 Pedro Alves <pedro@codesourcery.com>
12510
12511 * gdb.trace/tfile.c (tohex, bin2hex): New.
12512 (write_error_trace_file): Hexify error description.
12513
6c28cbf2
SS
125142010-03-25 Stan Shebs <stan@codesourcery.com>
12515
12516 * gdb.trace/tfile.c: Generate an additional trace file, improve
12517 portability.
12518 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12519 files in a better way.
12520
e62b8c7e
KS
125212010-03-25 Keith Seitz <keiths@redhat.com>
12522
12523 * gdb.java/jprint.exp: XFAIL printing of static class members
12524 because of GCC debuginfo problem.
12525
82ccf5a5
JK
125262010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12527
12528 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12529
293e2f9e
DJ
125302010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12531
12532 * gdb.base/completion.exp: Allow long instead of long int.
12533 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12534 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12535 variable p.
12536 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12537 * gdb.base/pointers.exp: Allow long instead of long int.
12538 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12539 * gdb.base/step-line.exp: Allow a directory before the source file name.
12540
95a42b64
TT
125412010-03-24 Tom Tromey <tromey@redhat.com>
12542
12543 PR breakpoints/9352:
12544 * gdb.base/default.exp: Update.
12545 * gdb.base/commands.exp: Update.
12546 * gdb.cp/extern-c.exp: Test setting commands on multiple
12547 breakpoints at once.
12548
2390201f
DJ
125492010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12550
12551 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12552 if gdb,nosignals.
12553 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12554 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12555 exited".
12556
8c9a6790
SS
125572010-03-24 Stan Shebs <stan@codesourcery.com>
12558
12559 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12560
a6c727b2
DJ
125612010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12562
12563 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12564 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12565 argument. Handle "short" and "long".
12566 (Top level): Pass overprototyped output for old_fptr and xptr.
12567
4dfd5423
PA
125682010-03-23 Pedro Alves <pedro@codesourcery.com>
12569
12570 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12571 format strings and add casts to avoid compiler warnings.
12572
125732010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
12574
12575 * lib/trace-support.exp (gdb_trace_setactions):
12576 Don't expect whitespace after ">" prompt.
12577 * gdb.trace/actions.exp: Adjust for output changes.
12578 * gdb.trace/while-stepping.exp: Likewise.
12579
c847d045
JK
125802010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12581
12582 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12583 and r157645).
12584
5f717f1d
JK
125852010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12586
12587 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12588 New.
12589
7d6d51d5
DJ
125902010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12591
12592 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12593 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12594
3b11a015
SS
125952010-03-19 Stan Shebs <stan@codesourcery.com>
12596
12597 * gdb.trace/ax.exp: New file.
12598
d7d158ed
DE
125992010-03-19 Doug Evans <dje@google.com>
12600
6bb85cd1
DE
12601 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12602 output from gcc.
12603
d7d158ed
DE
12604 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12605 named /usr/sbin/prelink<foo>.
12606
4daf5ac0
SS
126072010-03-18 Stan Shebs <stan@codesourcery.com>
12608
12609 * gdb.trace/circ.exp: Test circular-trace-buffer.
12610 * gdb.trace/tfile.exp: Update tstatus test.
12611
e8d05480
JB
126122010-03-18 Joel Brobecker <brobecker@adacore.com>
12613
12614 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12615 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12616
441b986a
UW
126172010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12618
12619 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12620
4247603b
PA
126212010-03-18 Pedro Alves <pedro@codesourcery.com>
12622
12623 * gdb.base/default.exp: Adjust the expected output of the finish
12624 and until commands when the inferior is not being run.
12625
13387711
SW
126262010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12627
12628 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12629 * gdb.cp/nsusing.exp: Ditto.
12630
6e31430b
TT
126312010-03-15 Tom Tromey <tromey@redhat.com>
12632
12633 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12634 * gdb.cp/userdef.cc (operator==): New function.
12635 (main): New locals mem1, mem2.
12636
e2d69cb5
JZ
126372010-03-15 Jie Zhang <jie@codesourcery.com>
12638
12639 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12640 Declare and use new loadtimeout variable.
12641
f572f0a9
DJ
126422010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12643
12644 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12645 Use gdb_load later.
12646
51f4c0b0
PA
126472010-03-14 Pedro Alves <pedro@codesourcery.com>
12648
12649 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12650 literal. Add missing endlines to prints to stderr.
12651
1c809c68
TT
126522010-03-12 Tom Tromey <tromey@redhat.com>
12653
12654 PR c++/9708:
12655 * gdb.cp/m-static.exp: Add regression test.
12656 * gdb.cp/m-static.cc (method): New method.
12657 (main): Call it.
12658
00ae8fef
SW
126592010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12660
12661 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12662 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12663
759f0f0b
PA
126642010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12665
21e24d21
PA
12666 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12667
126682010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12669
759f0f0b
PA
12670 * lib/gdb.exp (skip_stl_tests): New.
12671 (gdb_compile): Symbian needs -ldl.
12672 (shlib_target_file): New.
12673 (shlib_symbol_file): New.
12674 (gdb_load_shlibs): Use shlib_target_file.
12675 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12676 * gdb.cp/exception.exp: Use skip_stl_tests.
12677 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12678 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12679 * gdb.cp/mb-templates.exp: Ditto.
12680 * gdb.base/commands.exp: Relax regexes.
12681 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12682 shlib_target_file and shlib_symbol_file.
12683 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12684 sections.
12685 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12686 * gdb.base/solib-disc.exp: Use
12687 shlib_target_file and shlib_symbol_file.
12688 * gdb.base/unload.exp: Don't skip on symbian. Use
12689 shlib_target_file and shlib_symbol_file.
12690 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12691
6a8f2671 126922010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12693
6a8f2671
PA
12694 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12695 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12696 Issue a tfind end before looking for a tracepoint frame.
12697 * gdb.trace/tfind.exp: Adjust tstatus output.
12698 Adjust disassembly output.
12699 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12700
ccf26247
JK
127012010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12702
12703 * gdb.base/break-interp.exp: Create new displacement parameter value
12704 for the test_ld calls.
12705 (reach): New parameter displacement, verify its content. New push of
12706 pf_prefix "reach-$func:". Import global expect_out.
12707 (test_core): New parameter displacement, verify its content. New push
12708 of pf_prefix "core:". New command "set verbose on". Import global
12709 expect_out.
12710 (test_attach): New parameter displacement, verify its content. New
12711 push of pf_prefix "attach:". New command "set verbose on". Import
12712 global expect_out.
12713 (test_ld): New parameter displacement, pass it to the reach, test_core
12714 and test_attach calls and verify its content in the "ld.so exit" test.
12715 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12716 (prelink): Update expected text, use gdb_test.
12717
e469c7fb
DE
127182010-03-10 Doug Evans <dje@google.com>
12719
12720 * gdb.base/checkpoint.exp: Fix comment.
12721 Lengthen timeout while doing >600 checkpoints test.
12722 Rename duplicate "kill all one" test to keep test names unique.
12723
60e1c644
PA
127242010-03-10 Pedro Alves <pedro@codesourcery.com>
12725
12726 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12727
cec808ec
KS
127282010-03-08 Keith Seitz <keiths@redhat.com>
12729
889bf7c5
PA
12730 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12731 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12732 (dm_type_long): New function.
12733 (dm_type_unsigned_short): New function.
12734 (dm_type_unsigned_long): New function.
12735 (myint): New typedef.
12736 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12737 long, unsigned shor and long, operator char*, and typedef.
12738 (test_lookup_operator_functions): Add operator char* test.
12739 (test_paddr_operator_functions): Likewise.
12740 (test_paddr_overloaded_functions): Use probe values for
12741 short, long, and unsigned short and long.
12742 (test_paddr_hairy_functions): If the demangler probe detected
12743 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12744 demangler.
12745 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12746 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12747 and "print null_pmf".
12748 Add test "ptype a.*pmf".
12749 * gdb.cp/overload.exp: Allow optional "int" to appear with
12750 "short" and "long".
12751 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12752 long expect value for men_overload1arg.
12753 Allow "int" to appear with "short" and "long".
12754 When testing "info break", add argument for main (void).
12755 Also allow "int" to appear with "short" and "long".
12756 Ditto with "unsigned" and "long long".
cec808ec
KS
12757 * gdb.java/jmain.exp: Do not enclose methods names in single
12758 quotes.
12759 * gdb.java/jmisc.exp: Likewise.
12760 * gdb.java/jprint.exp: Likewise.
12761 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12762
12763 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12764 * gdb.cp/exception.exp (backtrace after first throw)
12765 (backtrace after second throw): Allow a namespace before __cxa_throw.
12766 (backtrace after first catch, backtrace after second catch): Allow
12767 a namespace before __cxa_begin_catch.
12768
12769 * gdb.cp/cpexprs.exp: New file.
12770 * gdb.cp/cpexprs.cc: New file.
12771
12772 From Daniel Jacobowitz <dan@codesourcery.com>
12773 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12774 to use string_to_regexp.
12775 (ctor, dtor): New functions. Use them to match constructor
12776 and destructor function types.
12777 (Top level): Use runto_main.
12778
f870a310
TT
127792010-03-05 Tom Tromey <tromey@redhat.com>
12780
12781 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12782 gdb.target_charset.
12783 (pp_ns.to_string): Likewise.
12784
0c199f28
KS
127852010-03-04 Keith Seitz <keiths@redhat.com>
12786
12787 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12788 can be quoted. Test that both the filename and function/line
12789 portions can be quoted at the same time.
12790
c7437ca6
PA
127912010-03-04 Pedro Alves <pedro@codesourcery.com>
12792
12793 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12794
b111b805
DE
127952010-03-03 Doug Evans <dje@google.com>
12796
24486cb7
DE
12797 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12798 libc contains libpthread.
12799
b111b805
DE
12800 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12801 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12802 of gdb_compile. Add another pattern to match android backtrace.
12803
a0e0ef55
TT
128042010-03-03 Tom Tromey <tromey@redhat.com>
12805
12806 PR gdb/11345:
12807 * gdb.base/printcmds.exp (test_printf): Add test.
12808
1ba53b71
L
128092010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 * gdb.arch/amd64-byte.exp: New.
12812 * gdb.arch/amd64-dword.exp: Likewise.
12813 * gdb.arch/amd64-pseudo.c: Likewise.
12814 * gdb.arch/amd64-word.exp: Likewise.
12815 * gdb.arch/i386-byte.exp: Likewise.
12816 * gdb.arch/i386-pseudo.c: Likewise.
12817 * gdb.arch/i386-word.exp: Likewise.
12818
f5dff777
DJ
128192010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12820
12821 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12822 types. Add structreg, bitfields, and flags registers.
12823 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12824 registers.
12825
90884b2b
L
128262010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12829 (load_description): Set architecture if defined.
12830
dc00d89f
PM
128312010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12832
12833 * gdb.python/py-frame.exp: Add read_var block tests.
12834 * gdb.python/py-frame.c (block): New function.
12835
0e095b7e
JK
128362010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12837 Daniel Jacobowitz <dan@codesourcery.com>
12838
12839 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12840
624f1a65
DM
128412010-02-25 David S. Miller <davem@davemloft.net>
12842
12843 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12844 fix logic for setting all_syscalls_numbers.
12845
f3e9a817
PM
128462010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12847
12848 * Makefile.in: Add py-block and py-symbol.
12849 * gdb.python/py-symbol.exp: New File.
12850 * gdb.python/py-symtab.exp: New File.
12851 * gdb.python/py-block.exp: New File.
12852 * gdb.python/py-symbol.c: New File.
12853 * gdb.python/py-block.c: New File.
12854
f6bbabf0
PM
128552010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12856
12857 PR python/11314
12858 * lib/gdb.exp (skip_python_tests): New function.
12859 * gdb.python/py-cmd.exp: Use skip_python_tests.
12860 * gdb.python/py-frame.exp: Likewise.
12861 * gdb.python/py-function.exp: Likewise.
12862 * gdb.python/py-prettyprint.exp: Likewise.
12863 * gdb.python/py-template.exp: Likewise.
12864 * gdb.python/py-type.exp: Likewise.
12865 * gdb.python/py-value.exp: Likewise.
12866
85d721b8
PA
128672010-02-22 Pedro Alves <pedro@codesourcery.com>
12868
12869 PR9605
12870
12871 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12872
48e32051
TT
128732010-02-19 Tom Tromey <tromey@redhat.com>
12874
12875 PR c++/8693, PR c++/9496:
12876 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12877 regression tests.
12878
ac9c0048
JK
128792010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12880
12881 Fix compatibility with m68k as.
12882 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12883 Use only /* comments */.
12884
57bb97a4
UW
128852010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12886
12887 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12888 * configure: Regenerate.
12889
7d1bf85c
DJ
128902010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * gdb.python/py-type.exp: Check for Python support.
12893
061b5285
PA
128942010-02-17 Pedro Alves <pedro@codesourcery.com>
12895
12896 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12897 `regsub' syntax available.
12898
f8a8bc2c
PA
128992010-02-17 Pedro Alves <pedro@codesourcery.com>
12900
12901 * gdb.base/shmain.c (main): Remove printf call.
12902 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12903 * gdb.base/unload.c (main): Make format of fprintf a string
12904 literal. Add missing endlines to prints to stderr.
12905 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12906
6f451e5e
TT
129072010-02-17 Tom Tromey <tromey@redhat.com>
12908
12909 * gdb.java/jprint.java (jprint.props): New field.
12910 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12911
12d79008
PA
129122010-02-17 Pedro Alves <pedro@codesourcery.com>
12913
ef801a0e 12914 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12915 available.
12916
d252f7e5
DJ
129172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12918
12919 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12920 creation to support remote host testing.
12921
67bdab6c
DJ
129222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12923
12924 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12925 Recognize "command not found".
12926
bb391223
DJ
129272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12928
12929 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12930 single-stepping.
12931
70362913
DJ
129322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12933
12934 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12935 if arguments are not supported.
12936
493f3c00
DJ
129372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12938
12939 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12940 be const or non-const.
12941
8034c749
DJ
129422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12943
12944 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12945 mi_send_resuming_command to send -exec-continue.
12946
791dfb64
DJ
129472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12948
12949 * gdb.base/list.exp (test_list_filename_and_function): Add test
12950 with single quotes.
12951 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12952 matching.
12953 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12954 Add KFAIL'd tests for PR gdb/11289.
12955
7c5fe868
DJ
129562010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12957
12958 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12959
fdc498b8
DJ
129602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12961
12962 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12963 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12964 a temporary directory.
12965
b519e2a6
DJ
129662010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12967
12968 * gdb.base/charset.exp: Use a single regular expression to match
12969 show host-charset and show target-charset output.
12970
74164c56
JK
129712010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12972
12973 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12974 "Illegal process-id" expect string more exact.
12975 (attach to digits-starting nonsense is prohibited): New.
12976
701ed6dc
JK
129772010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12978
12979 * gdb.base/prelink.exp (set verbose on): New.
12980
889bf7c5 129812010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12982
12983 * mi-reverse.exp: New file. Test for reverse option to the
12984 following MI commands: exec-continue, exec-finish, exec-next,
12985 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12986
dadf0e9c
JB
129872010-02-09 Joel Brobecker <brobecker@adacore.com>
12988
12989 * gdb.ada/ptype_tagged_param: New testcase.
12990
714f19d5
TT
129912010-02-08 Tom Tromey <tromey@redhat.com>
12992
12993 PR c++/8017:
12994 * gdb.cp/overload.exp: Add tests.
12995 * gdb.cp/overload.cc (struct K): New.
12996 (namespace N): New.
12997 (main): Call new functions.
12998 (K::staticoverload): Define.
12999
889bf7c5 130002010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
13001
13002 PR gdb/10728
13003 * gdb.cp/pr10728-x.h: New file.
13004 * gdb.cp/pr10728-x.cc: New file.
13005 * gdb.cp/pr10728-y.cc: New file.
13006 * gdb.cp/pr10728.exp: New file.
13007 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13008
889bf7c5 130092010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
13010
13011 PR gdb/9067
13012 * gdb.cp/pr9067.exp: New
13013 * gdb.cp/pr9067.cc: New
13014 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13015
7b356089
JB
130162010-02-08 Joel Brobecker <brobecker@adacore.com>
13017
13018 * lib/gdb.exp (gdb_test_timeout): New global variable.
13019 Set it to timeout if not already set.
13020 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13021
1be00882
DE
130222010-02-05 Doug Evans <dje@google.com>
13023
13024 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13025 user.
13026
82856980
SW
130272010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13028
13029 PR c++/7935:
13030 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13031
1a334831
TT
130322010-02-04 Tom Tromey <tromey@redhat.com>
13033
13034 * gdb.cp/virtbase.exp: Make test case names unique.
13035
9c3c02fd
TT
130362010-02-02 Tom Tromey <tromey@redhat.com>
13037
13038 * gdb.cp/virtbase.exp: Add regression tests.
13039 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13040 (main): Instantiate RHC.
13041
0cc2414c
TT
130422010-02-02 Tom Tromey <tromey@redhat.com>
13043
13044 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13045 type-printing change.
13046
edf3d5f3
TT
130472010-02-02 Tom Tromey <tromey@redhat.com>
13048
13049 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13050 * gdb.cp/virtbase.cc: New file.
13051 * gdb.cp/virtbase.exp: New file.
13052 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13053
e4b7f41c
JK
130542010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13055
13056 PR libc/11214:
13057 * gdb.threads/current-lwp-dead.c: Include features.h.
13058 (HAS_NOMMU): New.
13059 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13060
b381ea14
JK
130612010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13062
13063 * gdb.base/symbol-without-target_section.exp,
13064 gdb.base/symbol-without-target_section.c: New.
13065
c593ac0e
DJ
130662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13067
13068 * gdb.base/bigcore.exp: Reset increased timeout.
13069 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13070
db25f29d
DJ
130712010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13072
13073 * gdb.base/gcore.exp (capture_command_output): Use
13074 gdb_test_multiple.
13075
f9d67f43
DJ
130762010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13077
13078 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13079 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13080 (Top level): Call it.
13081
177321bd
DJ
130822010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13083
13084 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13085
97f2ed50
DJ
130862010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13087
13088 * gdb.base/call-strs.exp, gdb.base/default.exp,
13089 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13090 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13091 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13092 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13093 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13094 * gdb.base/ending-run.exp: Correct restore of timeout.
13095 * gdb.base/page.exp: Remove unnecessary timeout setting.
13096
e4e2711a
JB
130972010-01-29 Joel Brobecker <brobecker@adacore.com>
13098
13099 * gdb.ada/rec_return: New testcase.
13100
ba581dc1
JB
131012010-01-29 Joel Brobecker <brobecker@adacore.com>
13102
13103 * gdb.ada/call_pn: New testcase.
13104
4ea95be9
DJ
131052010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13106
13107 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13108 (Top level): Use it to resume.
13109 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13110 the Thumb mode displaced stepping error as unsupported.
13111
df83a9bf
SW
131122010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13113
889bf7c5
PA
13114 * gdb.cp/nsusing.exp: Added more tests.
13115 * gdb.cp/nsrecurs.exp: Ditto.
13116 * gdb.cp/nsusing.cc: Added test functions.
13117 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 13118
40b27cdc
JK
131192010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13120
13121 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13122 absolute directory pathnames in gdb.sum file.
13123
de958931
SW
131242010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13125
13126 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13127 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13128
708ead4e
TT
131292010-01-26 Tom Tromey <tromey@redhat.com>
13130
13131 PR exp/7643:
13132 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13133 setup_kfail.
13134
b14e635e
SW
131352010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13136
13137 * gdb.cp/nsrecurs.exp: New test.
13138 * gdb.cp/nsrecurs.cc: New test program.
13139 * gdb.cp/nsstress.exp: New test.
13140 * gdb.cp/nsstress.cc: New test program.
13141 * gdb.cp/nsdecl.exp: New test.
13142 * gdb.cp/nsdecl.cc: New test program.
13143
8540c487
SW
131442010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13145
13146 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13147 imported into file scope.
13148 Marked test as xfail.
13149 * gdb.cp/namespace-using.cc (marker5): New function.
13150 * gdb.cp/shadow.exp: New test.
13151 * gdb.cp/shadow.cc: New test program.
13152 * gdb.cp/nsimport.exp: New test.
13153 * gdb.cp/nsimport.cc: New test program.
13154
421d5d99
TT
131552010-01-25 Tom Tromey <tromey@redhat.com>
13156
13157 PR gdb/11049:
13158 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13159 with "set print null-stop on".
13160
691f8dc1
JK
131612010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13162
13163 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13164 Adjust it for DISASSEMBLY_OMIT_FNAME.
13165
0b92b5bb
TT
131662010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13167
13168 PR symtab/11199:
13169 * gdb.dwarf2/member-ptr-forwardref.exp,
13170 gdb.dwarf2/member-ptr-forwardref.S: New.
13171
23787403
JK
131722010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13173
13174 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13175 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13176 thread1_tid_mutex. Remove gdbstop_mutex handling.
13177 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13178 thread2_tid_mutex. Remove gdbstop_mutex handling.
13179 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13180 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13181 pthread_cond_wait conditionalizations by while loops.
13182
b966cb8a
TT
131832010-01-20 Tom Tromey <tromey@redhat.com>
13184
13185 PR backtrace/10770:
13186 * gdb.dwarf2/pr10770.exp: New file.
13187 * gdb.dwarf2/pr10770.c: New file.
13188 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13189
fcae584b
VP
131902010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13191
13192 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13193 that target was removed, and the test always runs native anyway.
13194
a0f49112
JK
131952010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13196
13197 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13198 gdb.base/watchpoint-cond-gone-stripped.c: New.
13199
ceeb3d5a
TT
132002010-01-19 Tom Tromey <tromey@redhat.com>
13201
13202 PR c++/8000:
13203 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13204 existing tests.
13205 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13206 (main): Use AAA::SomeEnum.
13207
dd322c54
JK
132082010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13209
13210 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13211 (test_ignore_count): Declare line_callme_body global.
13212 (run to breakpoint with ignore count): Use line_callme_body.
13213 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13214 (set line_main_hello, set line_main_return): Reindent.
13215 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13216 New.
13217 (continue to callee4): Use line_callee4_body.
13218 (check *stopped from CLI command): Use line_callee4_next.
13219 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13220 (set line_main_hello, set line_main_return): Reindent.
13221 (set line_callee4_head, set line_callee4_body): New.
13222 (continue to callee4): Use line_callee4_body.
13223
4e8f195d
TT
132242010-01-18 Tom Tromey <tromey@redhat.com>
13225
13226 PR c++/9680:
13227 * gdb.cp/casts.cc: Add new classes and variables.
13228 * gdb.cp/casts.exp: Test new operators.
13229
9e14a9ba
JB
132302010-01-18 Tom Tromey <tromey@redhat.com>
13231 Thiago Jung Bauermann <bauerman@br.ibm.com>
13232
13233 * gdb.python/source2.py: New file.
13234 * gdb.python/source1: New file.
13235 * gdb.python/python.exp: Test "source" command.
13236
00bf0b85
SS
132372010-01-15 Stan Shebs <stan@codesourcery.com>
13238
13239 * gdb.trace/tfile.c: New file.
13240 * gdb.trace/tfile.exp: New file.
889bf7c5 13241
55235ad7
JK
132422010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13243
13244 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13245
9f2982ff
JK
132462010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13247
13248 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13249
bbfba9ed
JK
132502010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13251
13252 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13253 (libfunc): New parameter action. Implement also selectable "sleep".
13254 * gdb.base/break-interp-main.c: Include assert.h.
13255 (libfunc): New parameter action.
13256 (main): New parameters argc and argv. Assert argc. Pass argv.
13257 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13258 (test_attach): New proc.
13259 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13260 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13261
61f0d762
JK
132622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13263
13264 * gdb.base/break-interp.exp (test_core): New proc.
13265 (test_ld): Call it.
13266
06a6f270
JK
132672010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13268
13269 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13270 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13271 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13272 and gdb_compile_shlib. Use new -Wl compiler options.
13273 (dl bt, main bt): New tests.
13274
51bee8e9
JK
132752010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13276
13277 Support PIEs with no symfile_objfile.
13278 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13279 (test_ld): New parameter trynosym.
13280 (test_ld <$trynosym>): New block.
13281
b8040f19
JK
132822010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13283
13284 * gdb.base/break-interp.exp: New file.
13285
be759fcf
PM
132862010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13287
13288 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13289 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13290 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13291 test.
13292 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13293 * gdb.python/py-mi.exp: Add lazy string test.
13294
dc146f7c
VP
132952010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13296
13297 * lib/mi-support.exp (mi_check_thread_states): Handle
13298 core number in thread listing.
13299
b4ba55a1
JB
133002010-01-12 Joel Brobecker <brobecker@adacore.com>
13301
13302 * gdb.base/maint.exp: Adjust the expected output for the
13303 "maint print type" test. Use gdb_test_multiple instead of
13304 gdb_sent/gdb_expect.
13305
08e24bd4
DE
133062010-01-11 Doug Evans <dje@google.com>
13307
6496a609
DE
13308 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13309 from gdbserver_download. All callers updated.
13310
08e24bd4
DE
13311 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13312
b5cfddf5
JK
133132010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13314
13315 Implement binary numbers parsing.
13316 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13317 (test_integer_literals_rejected): New binary tests.
13318
3725885a
RW
133192010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13320
13321 * gdb.cell/configure: Regenerate.
13322
37aeb5df
JK
133232010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13324
13325 * gdb.base/corefile.exp: Move the core finding block out and call it as
13326 core_find, new variable $corefile, replace corefile by $corefile and
13327 [file tail $corefile] for usage vs. test names resp.
13328 * lib/gdb.exp (core_find): Move it as a new function here. New
13329 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13330 $destcore. Return "" on error.
13331
d521f563
JK
133322010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13333
13334 Workaround PR binutils/10802.
13335 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13336 (twice).
13337
28f24826
DJ
133382010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13339
13340 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13341
2de75e71
JB
133422010-01-08 Joel Brobecker <brobecker@adacore.com>
13343
13344 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13345 call, to avoid interruption.
13346
fe00719b 133472010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
13348
13349 * gdb.stabs/weird.def (args93): New.
13350
d0ef5df8
DE
133512010-01-07 Doug Evans <dje@google.com>
13352
13353 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13354
3a08d52f
TT
133552010-01-07 Tom Tromey <tromey@redhat.com>
13356
13357 * gdb.base/source.exp: Use correct line number.
13358
7a697b8d
SS
133592010-01-05 Stan Shebs <stan@codesourcery.com>
13360
13361 * gdb.trace/tracecmd.exp: Test ftrace.
13362
7803799a
UW
133632010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13364
13365 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13366
c54eabfa
JK
133672010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13368
13369 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13370 "uint_for_mi_testing".
13371
02e7ef19
JB
133722010-01-01 Joel Brobecker <brobecker@adacore.com>
13373
13374 Test indented comment in file being sourced.
13375 * gdb.base/commands.exp: Test indented comment in file being sourced.
13376
abd775ce
JB
133772010-01-01 Joel Brobecker <brobecker@adacore.com>
13378
13379 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13380 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13381 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13382 notice.
13383
79b55b82
JB
133842010-01-01 Joel Brobecker <brobecker@adacore.com>
13385
13386 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13387 notice.
13388
8997583e
JK
133892010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13390
13391 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13392 missing $after_stopped and comma (,) expectation.
13393
6da95a67
SS
133942009-12-31 Stan Shebs <stan@codesourcery.com>
13395
13396 * gdb.trace/actions.exp: Test teval action.
889bf7c5 13397
218d2fc6
TJB
133982009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13399
13400 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13401 (top level): Call test_watchpoint_in_big_blob.
13402 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13403 watchpoints.
13404 (func3): Write to buf.
13405
236f1d4d
SS
134062009-12-29 Stan Shebs <stan@codesourcery.com>
13407
13408 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 13409
f61e138d
SS
134102009-12-28 Stan Shebs <stan@codesourcery.com>
13411
13412 * gdb.trace/tsv.exp: New file.
13413 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 13414
0219b378
DJ
134152009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13416
13417 * gdb.base/find.c (main): Reference search buffers.
13418 * gdb.base/included.c (main): Reference integer.
13419 * gdb.base/ptype.c (charfoo): Declare.
13420 (intfoo): Call charfoo.
13421 * gdb.base/scope0.c (useitp): New function.
13422 (usestatics): Use useitp.
13423 (useit): Add a type for val.
13424 * gdb.base/scope1.c (useit1): Take a pointer argument.
13425 (usestatics1): Update calls to useit1.
13426 * gdb.cp/call-c.cc: Declare foo.
13427 (main): Call foo.
13428 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13429 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13430 (main): Call C::ensureRefs and ensureOtherRefs.
13431 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13432 variables.
13433 (ensureOtherRefs): New function.
13434 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13435 * gdb.cp/templates.cc (main): Call t5i.value.
13436
3f78692f
JK
134372009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13438
13439 Fix compatibility with G++-4.5.
13440 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13441 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13442 (uncaught return): Remove.
13443
429374b8
JK
134442009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13445 Phil Muldoon <pmuldoon@redhat.com>
13446
13447 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13448 (bp_location13, bp_location14, bp_location17, bp_location18)
13449 (marker3_proto, marker4_proto): New variables.
13450 (breakpoint info): Update output.
13451 (run until breakpoint at marker3, run until breakpoint at marker4): New
13452 tests.
13453
859825b8
JK
134542009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13455
13456 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13457 Replace the printf call of Y by provided "y-set-1" label. New block
13458 for the second shared library.
13459 * gdb.base/unload.exp: Compile also the second library, call
13460 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13461 (single pending breakpoint info): Rename to ...
13462 (pending breakpoint info before run): ... this extended test.
13463 (libfile2, libname2, libsrcfile2, libsrc2)
13464 (lib_sl2): New variables.
13465 (exec_opts): Set also SHLIB_NAME2.
13466 (pending breakpoint info on first run at shrfunc1)
13467 (pending breakpoint info on second run at shrfunc1)
13468 (pending breakpoint info on second run at shrfunc2)
13469 (print y from libfile, print y from libfile2): New tests.
13470 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13471 * gdb.base/unloadshr2.c: New.
13472
e6a386cd
HZ
134732009-12-22 Hui Zhu <teawater@gmail.com>
13474
13475 * gdb.reverse/sigall-reverse.exp: Adjust.
13476
9e19b45e
VP
134772009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13478
13479 PR gdb/10884
13480
13481 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13482 (main): Call do_bitfield_tests.
aacf5b1e 13483 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 13484
d53a7b30
JB
134852009-12-20 Joel Brobecker <brobecker@adacore.com>
13486
13487 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13488 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13489 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13490 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13491 gdb.modula2/unbounded1.c: Update copyright header.
13492
191ca0a1
CM
134932009-12-10 Chris Moller <moller@mollerware.com>
13494
13495 PR gdb/9399
13496 * gdb.cp/virtfunc2.exp: New tests
13497 * gdb.cp/virtfunc2.cc: New tests
13498 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13499
0fa6cf1b
MS
135002009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13501
13502 * gdb.reverse/i387-env-reverse.c: New file.
13503 * gdb.reverse/i387-env-reverse.exp: New file.
13504 * gdb.reverse/i387-stack-reverse.c: New file.
13505 * gdb.reverse/i387-stack-reverse.exp: New file.
13506
361ae042
PM
135072009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13508
13509 * gdb.python/py-type.exp (test_range): New test.
13510
bfd31e71
PM
135112009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13512
13513 PR python/10805
13514
13515 * gdb.python/py-type.exp: New file.
13516 * gdb.python/py-type.c: New file.
13517 * Makefile.in: Add py-type.
13518
57a1d736
TT
135192009-12-03 Tom Tromey <tromey@redhat.com>
13520
13521 * gdb.python/py-value.exp (test_parse_and_eval): New
13522 function.
13523
1f3b5d1b
PP
135242009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13525
13526 PR gdb/11022
13527
13528 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
13529 * gdb.base/pr11022.c: New test.
13530
8b7dbdc9
JK
135312009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13532
13533 Fix spurious false FAILs.
13534 * gdb.base/structs.c (chartest): New.
13535 (main): Fill-in chartest.
13536 * gdb.base/structs.exp (anychar_re, first): New.
13537 (start_structs_test): Import global anychar_re and first.
13538 New gdb_test call "set print elements 300; ${testfile}"
13539 (start_structs_test <$first>): New block.
13540 (any): Import global anychar_re. New variable ac. Use ${ac}.
13541
6a53b2ec
JK
135422009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13543
13544 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13545
d7167b4c
JK
135462009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13547
13548 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13549 Force $srcfile file.
13550 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13551
b1798462
UW
135522009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13553
13554 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13555 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13556 * gdb.threads/watchthreads-reorder.exp: Likewise.
13557
b6199126
DJ
135582009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13559
13560 PR gdb/8704
13561
13562 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13563 "if", and "thread". Correct matching in the previous test.
13564
b22a0510
DJ
135652009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13566
13567 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13568
930636d2
MS
135692009-11-23 Michael Snyder <msnyder@vmware.com>
13570
13571 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13572 * gdb.reverse-watch-precsave.exp: Ditto.
13573
21a0512e
PP
135742009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13575
13576 * gdb.asm/asm-source.exp: Adjust.
13577 * gdb.base/help.exp: Adjust.
889bf7c5 13578
fc30d5e0
PA
135792009-11-22 Pedro Alves <pedro@codesourcery.com>
13580
13581 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13582 (do_syscall_tests_without_xml): Set data-directory to
13583 /the/path/to/nowhere.
13584
f6bc2008
PA
135852009-11-21 Pedro Alves <pedro@codesourcery.com>
13586
13587 * gdb.threads/local-watch-wrong-thread.c,
13588 gdb.threads/local-watch-wrong-thread.exp: New files.
13589
8c2fb5de
PA
135902009-11-21 Pedro Alves <pedro@codesourcery.com>
13591
13592 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13593 assume new `regsub' syntax available.
13594
ebec9a0f
PA
135952009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13596
a79d3c27
JK
13597 * gdb.base/watchpoint-hw-hit-once.exp,
13598 gdb.base/watchpoint-hw-hit-once.c: New.
13599
136002009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13601
13602 * gdb.threads/watchthreads-reorder.exp,
13603 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 13604
276a961b
MK
136052009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13606
13607 * gdb.xml/tdesc-regs.exp: Use for m68k.
13608
4867c1fb
PA
136092009-11-15 Pedro Alves <pedro@codesourcery.com>
13610
13611 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13612
f6838f81
DJ
136132009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13614
13615 * lib/gdb.exp (current_target_name): New procedure.
13616 (gdb_wrapper_target): New variable.
13617 (gdb_wrapper_init): Set gdb_wrapper_target.
13618 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13619 wrapper.
13620
4ac4dd3f
DJ
136212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13622
13623 * gdb.base/remote.exp: Delete the slowest load test.
13624 Do not load with fixed packet sizes.
13625
a7881759
DJ
136262009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13627
13628 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13629
97a5b505
DJ
136302009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13631
13632 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13633 srcfile when setting a breakpoint.
13634
d3e1fc54
DJ
136352009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13636
13637 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13638 macros.
13639
7cbcbded
DJ
136402009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13641
13642 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13643 to be in memory.
13644 * gdb.base/display.c (force_mem): New.
13645 (do_loops): Use it. Add breakpoint comments.
13646 (do_vars): Add a breakpoint comment.
13647 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13648 line numbers.
13649
bdea3a92
NF
136502009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13651
13652 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13653 instead of a bare "run".
13654
269f82e5
PP
136552009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13656
13657 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 13658
a69b7d9d
DJ
136592009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13660
13661 * lib/cell.exp (skip_cell_tests): Clean up test files before
13662 returning.
13663
b598bfda
DJ
136642009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13665
13666 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13667 and the breakpoint menu. Do not call perror if a prompt is seen.
13668 Consume the following GDB prompt.
13669 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13670 * gdb.cp/namespace.exp: Use gdb_test.
13671 * gdb.cp/templates.exp: Use gdb_test.
13672 (test_template_breakpoints): Use gdb_test_multiple.
13673
87728fa0
DJ
136742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13675
13676 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13677 (marker4): Reference values.
13678
b67c692f
DJ
136792009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13680
13681 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13682 is missing.
13683
f0df251a
DJ
136842009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13685
13686 * gdb.base/break.c (need_malloc): New.
13687 * gdb.base/constvars.c (main): Reference crass and crisp.
13688 * gdb.base/gdb1821.c (main): Reference bar.
13689 * gdb.cp/gdb1355.cc (main): Reference s1.
13690 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13691 (main): Call them.
13692 * gdb.cp/hang2.cc (dummy2): Define.
13693 * gdb.cp/hang3.cc (dummy3): Define.
13694 * gdb.cp/m-data.cc (main): Reference shadow.
13695
bdf7534a
NF
136962009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13697 Nathan Froyd <froydnj@codesourcery.com>
13698
13699 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13700 remote host.
13701
f24fce77
NF
137022009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13703
13704 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13705 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13706 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13707 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13708 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13709 * gdb.dwarf2/dw2-producer.exp: Likewise.
13710 * gdb.dwarf2/mac-fileno.exp: Likewise.
13711 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13712 py-prettyprint.py to the remote host.
13713 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13714
40f0318e
KS
137152009-11-11 Keith Seitz <keiths@redhat.com>
13716
13717 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13718 use it instead of "Foo".
13719 * gdb.cp/classes.exp (do_tests): Add a test to access
13720 a method through a typedef'd class name.
13721
f3d9f7fb
NF
137222009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13723
13724 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13725 exponents.
13726 * gdb.base/pointers.exp: Likewise.
13727 * gdb.cp/ref-types.exp: Likewise.
13728
a4216f37
KS
137292009-11-11 Keith Seitz <keiths@redhat.com>
13730
13731 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13732 new[] and delete[].
13733 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13734 "void".
13735 (probe_demangler): Remove all single-quoting of
13736 method and variable names.
13737 (info_func_regexp): Remove the word "void" from any
13738 occurrence of "(void)".
13739 (print_addr_2): Remove all single-quoting of
13740 method names.
13741 (print_addr_2_kfail): Likewise.
13742 (print_addr): Single-quote C function names before
13743 passing to print_addr_2.
13744 (test_paddr_operator_functions): Remove single-quoting
13745 for method names.
13746 Add tests for operator new[] and operator delete[].
13747
9b14d7aa
JK
137482009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13749
13750 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13751
85feb311
KS
137522009-11-09 Keith Seitz <keiths@redhat.com>
13753
13754 * gdb.cp/overload.exp: Add tests for resolving overloaded
13755 methods in expression parsing/evaluation.
13756
fa335448
DJ
137572009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13758
13759 * lib/gdb.exp (default_gdb_version): Use --version instead of
13760 --command.
13761
ec3c07fc
NS
137622009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13763
13764 * lib/gdb.exp (gdb_compile_test): New.
13765 (skip_ada_tests, skip_java_tests): New.
13766 (gdb_compile): Use gdb_compile_test for f77.
13767 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13768 * lib/java.exp (compile_java_from_source): Remove runtests check,
13769 use gdb_compile_test to record result.
13770 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13771 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13772 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13773 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13774 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13775 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13776 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13777 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13778 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13779 adjust gdb_compile invocations.
13780
b8b4e42b
JK
137812009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13782
13783 * Makefile.in (abs_builddir): New.
13784 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13785 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13786 `$(abs_builddir)/site.exp'.
13787
f8b7eaf3
DJ
137882009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13789
13790 * config/m68k-emc.exp, lib/emc-support.exp,
13791 gdb.trace/gdb_c_test.c: Delete.
13792 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13793 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13794 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13795 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13796 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13797 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13798 casing for m68k-*-elf.
13799
c4187697
NS
138002009-11-03 Pedro Alves <pedro@codesourcery.com>
13801
13802 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13803 * gdb.arch/i386-prologue.exp: Likewise.
13804 * gdb.arch/i386-unwind.exp: Likewise.
13805
db16b772
DJ
138062009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13807
13808 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13809
bcf71277
DJ
138102009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13811
13812 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13813
0105cee2
DJ
138142009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13815
13816 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13817
24ddea62
JK
138182009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13819
13820 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13821
287ccc17
JK
138222009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13823
13824 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13825 * gdb.base/sepdebug2.c: New file.
13826
08bca259 138272009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13828
13829 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13830 the modified warnings for catch syscall. Verify if GDB was compiled
13831 with support for lib expat, and choose which tests to run depending
13832 on this.
13833
5d4e2b76
VP
138342009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13835
13836 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13837 that composite commands are parsed OK. And also test
13838 that breakpoint commands do work.
13839
240e538a
MS
138402009-10-23 Michael Snyder <msnyder@vmware.com>
13841
13842 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13843 to allow for new disassembly style.
13844
9c419145
PP
138452009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13846
13847 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13848
02506ff1
MS
138492009-10-22 Michael Snyder <msnyder@vmware.com>
13850
13851 * gdb.reverse/break-precsave.exp: New test.
13852 * gdb.reverse/consecutive-precsave.exp: Ditto.
13853 * gdb.reverse/finish-precsave.exp: Ditto.
13854 * gdb.reverse/i386-precsave.exp: Ditto.
13855 * gdb.reverse/machinestate-precsave.exp: Ditto.
13856 * gdb.reverse/sigall-precsave.exp: Ditto.
13857 * gdb.reverse/solilb-precsave.exp: Ditto.
13858 * gdb.reverse/step-precsave.exp: Ditto.
13859 * gdb.reverse/until-precsave.exp: Ditto.
13860 * gdb.reverse/watch-precsave.exp: Ditto.
13861
4cf866a3
MS
138622009-10-22 Michael Snyder <msnyder@vmware.com>
13863
13864 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13865 for gdb_expect. Adjust one test's expect strings for the new
13866 format of disassemble.
13867 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13868 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13869 gdb_test_multiple.
13870 * gdb.reverse/step-reverse.exp: Delete 'return'.
13871 * gdb.reverse/until-reverse.exp: Delete blank lines.
13872 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13873
2b28d209
PP
138742009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13875
13876 * gdb.base/consecutive.exp: Adjust.
13877 * gdb.base/display.exp: Likewise.
13878 * gdb.base/pc-fp.exp: Likewise.
13879 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13880
33b9c32b
MS
138812009-10-19 Michael Snyder <msnyder@vmware.com>
13882
13883 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13884 * gdb.reverse/finish-reverse.c: Ditto.
13885 * gdb.reverse/sigall-reverse.c: Ditto.
13886 * gdb.reverse/solib-reverse.c: Ditto.
13887 * gdb.reverse/step-reverse.c: Ditto.
13888 * gdb.reverse/watch-reverse.c: Ditto.
13889
6c95b8df
PA
138902009-10-19 Pedro Alves <pedro@codesourcery.com>
13891 Stan Shebs <stan@codesourcery.com>
13892
13893 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13894 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13895 "Executing new program".
13896 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13897 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13898 left listed after having been killed.
13899 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13900 * gdb.base/maint.exp: Adjust test.
13901
13902 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13903 * gdb.multi/Makefile.in: New.
13904 * gdb.multi/base.exp: New.
13905 * gdb.multi/goodbye.c: New.
13906 * gdb.multi/hangout.c: New.
13907 * gdb.multi/hello.c: New.
13908 * gdb.multi/bkpt-multi-exec.c: New.
13909 * gdb.multi/bkpt-multi-exec.exp: New.
13910 * gdb.multi/crashme.c: New.
13911
279017b7
TG
139122009-10-13 Tristan Gingold <gingold@adacore.com>
13913
13914 * gdb.base/sepdebug.exp: Check debug info are found.
13915
0413d738
PA
139162009-10-08 Pedro Alves <pedro@codesourcery.com>
13917
13918 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13919 bits.
13920
c628eecc
JK
139212009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13922
13923 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13924
38af1bfe
JB
139252009-10-07 Joel Brobecker <brobecker@adacore.com>
13926
13927 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13928 of the comments.
13929
2b0adecd
PM
139302009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13931
13932 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13933 * gdb.base/annota3.exp: Idem.
13934 * gdb.base/maint.exp: Idem.
13935
8d417781
PM
139362009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13937
889bf7c5 13938 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13939 to default.
13940
bb61102d
PM
139412009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13942
889bf7c5 13943 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13944 mingw and cygwin targets.
13945
ace5c364
PM
139462009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13947 Pedro Alves <pedro@codesourcery.com>
13948
889bf7c5 13949 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13950 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13951
c2d494a0
PM
139522009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13953
e1b52ce2
PM
13954 * gdb.base/shr1.c: Use %p in format string.
13955 * gdb.base/unload.c: Avoid warning in fprintf.
13956 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13957
209f53f5
PM
139582009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13959
13960 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13961 long type.
13962 (test_unlink): Correct printf string.
13963 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13964 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13965
8172766a
JK
139662009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13967
13968 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13969 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13970 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13971
0f73703c
UW
139722009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13973
13974 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13975 * gdb.objc/nondebug.exp: Likewise.
13976
b32306ca
UW
139772009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13978
13979 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13980 target_info setting.
13981
13982 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13983 that detect new threads during "info threads".
13984
0057022f
UW
139852009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13986
13987 * gdb.threads/manythreads.c (main): Increase thread stack size
13988 to 2*PTHREAD_STACK_MIN.
13989 * gdb.threads/multi-create.c (main): Likewise.
13990 (create_function): Likewise.
13991
f29c0325
UW
139922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13993
13994 * gdb.base/dump.exp: Pass difference of pointer types instead
13995 of integer types as offset to restore in intarr3.srec case.
13996
fcb34849
UW
139972009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13998
13999 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14000
d5142e3b
UW
140012009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14002
14003 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14004
087b74b2 140052009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 14006
087b74b2
PM
14007 New test for two watchpoints, with disabling of
14008 the first inserted.
14009 * testsuite/gdb.base/watchpoints.c: New file.
14010 * testsuite/gdb.base/watchpoints.exp: New file.
14011
96c07c5b
TT
140122009-09-25 Tom Tromey <tromey@redhat.com>
14013
14014 * gdb.base/charset.exp: Test utf-16 strings with Python.
14015
b8899f2b
TT
140162009-09-25 Tom Tromey <tromey@redhat.com>
14017
14018 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14019 UCS-4.
14020 * gdb.base/charset.c (utf_32_string): Rename.
14021 (init_utf32): Rename.
14022 (main): Update.
14023
329719ec
TT
140242009-09-22 Tom Tromey <tromey@redhat.com>
14025
14026 * gdb.python/py-function.exp: Add regression tests.
14027
11ef0d76
KS
140282009-09-21 Keith Seitz <keiths@redhat.com>
14029
14030 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14031 with invalid operator.
14032
3fe8f3b3
KS
140332009-09-21 Keith Seitz <keiths@redhat.com>
14034
14035 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14036 and destructor using typedef name of class.
14037 * gdb.cp/classes.cc (class Base1): Add a destructor.
14038 (base1): New typedef.
14039 (use_methods): Instanitate an object of type base1.
14040 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14041 (do_tests): Call test_template_typedef.
14042 * gdb.cp/templates.cc (Baz::~Baz): New method.
14043 (intBazOne): New typedef.
14044 (main): Instantiate intBazOne.
14045
7a9fe101
PM
140462009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14047
14048 PR python/10633
14049
14050 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14051 Function.
14052 (run_lang_tests): Add print elements test.
14053
2e4d963f
PM
140542009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14055
14056 * gdb.python/py-value.exp (test_subscript_regression): New
14057 function. Test for invalid subscripts.
14058 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14059 (ptr_ref): New function.
14060
ec7e75e7
PP
140612009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14062
14063 * gdb.base/default.exp: Fix "show convenience".
14064
0cc7d26f
TT
140652009-09-15 Tom Tromey <tromey@redhat.com>
14066
14067 * lib/mi-support.exp (mi_create_varobj): Update.
14068 (mi_create_floating_varobj): Likewise.
14069 (mi_create_dynamic_varobj): New proc.
14070 (mi_varobj_update): Update.
14071 (mi_varobj_update_with_type_change): Likewise.
14072 (mi_varobj_update_kv_helper): New proc.
14073 (mi_varobj_update_dynamic_helper): Rewrite.
14074 (mi_varobj_update_dynamic): New proc.
14075 (mi_list_varobj_children): Update.
14076 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14077 * gdb.python/python-prettyprint.py (pp_outer): New class.
14078 (pp_nullstr): Likewise.
14079 (lookup_function): Register new printers.
14080 * gdb.python/python-prettyprint.c (struct substruct): New type.
14081 (struct outerstruct): Likewise.
14082 (substruct_test): New function.
14083 (struct nullstr): New type.
14084 (string_1, string_2): New globals.
14085 (main): Add new tests.
14086 * gdb.python/python-mi.exp: Added regression tests.
14087 * gdb.mi/mi2-var-display.exp: Update.
14088 * gdb.mi/mi2-var-cmd.exp: Update.
14089 * gdb.mi/mi2-var-child.exp: Update.
14090 * gdb.mi/mi2-var-block.exp: Update.
14091 * gdb.mi/mi-var-invalidate.exp: Update.
14092 * gdb.mi/mi-var-display.exp: Update.
14093 * gdb.mi/mi-var-cmd.exp: Update.
14094 * gdb.mi/mi-var-child.exp: Update.
14095 * gdb.mi/mi-var-block.exp: Update.
14096 * gdb.mi/mi-break.exp: Update.
14097 * gdb.mi/gdb701.exp: Update.
14098
a96d9b2e
SDJ
140992009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14100
14101 * Makefile.in: Inclusion of catch-syscall object.
14102 * gdb.base/catch-syscall.c: New file.
14103 * gdb.base/catch-syscall.exp: New file.
14104
b43b923a
MS
141052009-09-12 Michael Snyder <msnyder@vmware.com>
14106
14107 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14108 that can support reverse debuggnig.
14109
cec03d70
TT
141102009-09-11 Tom Tromey <tromey@redhat.com>
14111
14112 * gdb.dwarf2/valop.S: New file.
14113 * gdb.dwarf2/valop.exp: New file.
14114
e23bb3fc
MK
141152009-09-11 Mark Kettenis <kettenis@gnu.org>
14116
14117 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14118
37c3696d
DE
141192009-09-10 Doug Evans <dje@google.com>
14120
14121 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14122 Add $gdb_prompt to second breakpoint regexp.
14123
5172aecb
JB
141242009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14125
14126 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14127 names, add missing ones.
14128 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14129 * gdb.python/py-frame.c: Rename from python-frame.c.
14130 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14131 testfile name.
14132 * gdb.python/py-function.exp: Rename from python-function.exp.
14133 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14134 testfile name.
14135 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14136 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14137 Adjust testfile name.
14138 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14139 * gdb.python/py-template.cc: Rename from python-template.cc.
14140 * gdb.python/py-template.exp: Rename from python-template.exp.
14141 Adjust testfile name.
14142 * gdb.python/py-value.c: Rename from python-value.c.
14143 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14144 testfile name.
14145
b554e4bd
JK
141462009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14147
14148 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14149 $bpt2address.
14150 (Second breakpoint address is valid on ia64)
14151 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14152
9a68ae16
JM
141532009-09-03 Joseph Myers <joseph@codesourcery.com>
14154
14155 * gdb.base/ending-run.exp: Restrict regular expression matching
14156 line number to require closing brace following.
14157
146b9145
DE
141582009-09-03 Doug Evans <dje@google.com>
14159
14160 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14161
787d21e1
TT
141622009-09-02 Tom Tromey <tromey@redhat.com>
14163
14164 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14165
e7802207
TT
141662009-09-02 Tom Tromey <tromey@redhat.com>
14167
14168 * gdb.dwarf2/callframecfa.exp: New file.
14169 * gdb.dwarf2/callframecfa.S: New file.
14170
817aadd2
JK
141712009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14172
14173 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14174 gdb.base/solib-overlap-main.c: New.
14175
4a76eae5
DJ
141762009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14177
14178 PR gdb/10565
14179
14180 * gdb.base/bitfields.c (struct container, container): New.
14181 (main): Initialize it and call break5.
14182 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14183
d4b96c9a
JK
141842009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14185
14186 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14187 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14188
4e22772d
JK
141892009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14190
14191 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14192
2efab443
MS
141932009-08-26 Michael Snyder <msnyder@vmware.com>
14194
14195 * gdb.base/i386-reverse.c: New file.
14196 * gdb.base/i386-reverse.exp: New file.
14197 * gdb.base/Makefile.in: Add new files to be removed.
14198
07ab73a0
JM
141992009-08-26 Joseph Myers <joseph@codesourcery.com>
14200
14201 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14202 environment-pwd for remote host.
14203 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14204
676accff
KS
142052009-08-24 Keith Seitz <keiths@redhat.com>
14206
14207 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14208 Add two new C++ completer tests which limit the output to a
889bf7c5 14209 given class.
676accff 14210
f9f7ad22
MS
142112009-08-24 Michael Snyder <msnyder@vmware.com>
14212
14213 * gdb.base/del.exp: Fix typo in comment.
14214 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14215
81ecdfbb
RW
142162009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14217
14218 * configure: Regenerate.
14219 * gdb.hp/configure: Likewise.
14220 * gdb.hp/gdb.aCC/configure: Likewise.
14221 * gdb.hp/gdb.base-hp/configure: Likewise.
14222 * gdb.hp/gdb.compat/configure: Likewise.
14223 * gdb.hp/gdb.defects/configure: Likewise.
14224 * gdb.hp/gdb.objdbg/configure: Likewise.
14225 * gdb.stabs/configure: Likewise.
14226
cab0c772
UW
142272009-08-19 Doug Evans <dje@google.com>
14228
14229 * gdb.base/gdbvars.c: New file.
14230 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14231
b8fa0bfa
PA
142322009-08-14 Pedro Alves <pedro@codesourcery.com>
14233
14234 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14235 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14236
b84aa90a
PA
142372009-08-13 Pedro Alves <pedro@codesourcery.com>
14238
14239 * gdb.base/default.exp: Adjust "set language test": it's now an
14240 enum command. Larger help string moved to "help set language".
14241 * gdb.base/help.exp: Adjust "help set language" expected output,
14242 now lists all known languages.
14243
0d8f9b2c
NF
142442009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14245
14246 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14247 all frame arguments.
14248 * gdb.arch/altivec-regs.exp: Likewise.
14249
bda180e0
TT
142502009-08-07 Tom Tromey <tromey@redhat.com>
14251
14252 * gdb.base/setshow.exp: Add tests for changes to set language, set
14253 check range, and set check type.
14254
48cb2d85
VP
142552009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14256
14257 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14258 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 14259 Call it.
48cb2d85 14260
1ea34204
UW
142612009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14262
14263 * configure.ac: Run gdb.cell tests when appropriate.
14264 * configure: Regenerate.
14265 * lib/cell.exp: New file.
14266 * gdb.cell: New directory.
14267 * gdb.cell/configure.ac: New file.
14268 * gdb.cell/configure: New file.
14269 * gdb.cell/Makefile.in: New file.
14270 * gdb.cell/arch.exp: New file.
14271 * gdb.cell/break.c: New file.
14272 * gdb.cell/break.exp: New file.
14273 * gdb.cell/break-spu.c: New file.
14274 * gdb.cell/bt.c: New file.
14275 * gdb.cell/bt2-spu.c: New file.
14276 * gdb.cell/bt-spu.c: New file.
14277 * gdb.cell/bt.exp: New file.
14278 * gdb.cell/coremaker.c: New file.
14279 * gdb.cell/coremaker-spu.c: New file.
14280 * gdb.cell/core.exp: New file.
14281 * gdb.cell/gcore.exp: New file.
14282 * gdb.cell/data.c: New file.
14283 * gdb.cell/data.exp: New file.
14284 * gdb.cell/data-spu.c: New file.
14285 * gdb.cell/ea-cache.exp: New file.
14286 * gdb.cell/ea-cache.c: New file.
14287 * gdb.cell/ea-cache-spu.c: New file.
14288 * gdb.cell/ea-standalone.c: New file.
14289 * gdb.cell/ea-standalone.exp: New file.
14290 * gdb.cell/ea-test.c: New file.
14291 * gdb.cell/ea-test.exp: New file.
14292 * gdb.cell/f-regs.exp: New file.
14293 * gdb.cell/mem-access.c: New file.
14294 * gdb.cell/mem-access.exp: New file.
14295 * gdb.cell/mem-access-spu.c: New file.
14296 * gdb.cell/ptype.exp: New file.
14297 * gdb.cell/registers.exp: New file.
14298 * gdb.cell/size.c: New file.
14299 * gdb.cell/sizeof.exp: New file.
14300 * gdb.cell/size-spu.c: New file.
14301 * gdb.cell/solib.exp: New file.
14302 * gdb.cell/solib-symbol.exp: New file.
14303
85e747d2
UW
143042009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14305
14306 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14307
58d6951d
DJ
143082009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14309
14310 * gdb.base/float.exp: Handle VFP registers.
14311
6e0a4f15
MS
143122009-07-14 Michael Snyder <msnyder@vmware.com>
14313
dcd5da87
MS
14314 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14315 to bring gdb to the beginning of the calling line.
14316
6e0a4f15
MS
14317 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14318 confusing the i386 epilogue unwinder.
14319
782b2b07
SS
143202009-07-14 Stan Shebs <stan@codesourcery.com>
14321
14322 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14323
f662c3bc
MS
143242009-07-14 Michael Snyder <msnyder@vmware.com>
14325
14326 * gdb.reverse/step-reverse.exp (stepi into function call):
14327 Call instruction may not be first instruction in the line.
14328 (reverse stepi from a function call): Used wrong line number.
14329
8f313923
JK
143302009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14331
14332 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14333
4662c76e
JK
143342009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14335
14336 Fix gdb.base/macscp.exp when using custom inputrc.
14337 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14338 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14339 env(TERM) set.
14340 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14341 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14342
aa81e255
JK
143432009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14344
14345 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14346 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14347 Change the compilation target to match the testcase name.
14348 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14349 testcase name.
14350 * a2-run.exp: Use for setup prepare_for_testing. Change the
14351 compilation target to match the testcase name.
14352 * gdb.base/commands.exp: Likewise.
14353 * gdb.base/finish.exp: Likewise.
14354 * gdb.base/float.exp: Likewise.
14355 * gdb.base/info-target.exp: Likewise.
14356 * gdb.base/relational.exp: Likewise.
14357 * gdb.base/term.exp: Likewise.
14358 * gdb.base/until.exp: Likewise.
14359 * gdb.base/volatile.exp: Likewise.
14360 * gdb.base/whatis-exp.exp: Likewise.
14361
4c93b1d7
HZ
143622009-07-11 Hui Zhu <teawater@gmail.com>
14363
14364 * gdb.base/help.exp (disassemble): Update expected help text.
14365
812f7342
TT
143662009-07-09 Tom Tromey <tromey@redhat.com>
14367
14368 * lib/gdb.exp: Handle TRANSCRIPT.
14369 (remote_spawn, remote_close, send_gdb): New procs.
14370
fbb8f299
PM
143712009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14372
14373 * gdb.python/python-prettyprint.c: Add counted null string
14374 structure.
14375 * gdb.python/python-prettyprint.exp: Print null string. Test for
14376 embedded nulls.
14377 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14378 * gdb.python/python-value.exp (test_value_in_inferior): Add
14379 variable length string fetch tests.
14380 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14381
c0ac0ec7
JK
143822009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14383
14384 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14385
30b66ecc
TT
143862009-07-07 Tom Tromey <tromey@redhat.com>
14387
14388 * gdb.base/call-rt-st.exp: Update for change to escape output.
14389 * gdb.base/callfuncs.exp: Likewise.
14390 * gdb.base/charset.exp: Likewise.
14391 * gdb.base/constvars.exp: Likewise.
14392 * gdb.base/long_long.exp: Likewise.
14393 * gdb.base/pointers.exp: Likewise.
14394 * gdb.base/printcmds.exp: Likewise.
14395 * gdb.base/setvar.exp: Likewise.
14396 * gdb.base/store.exp: Likewise.
14397 * gdb.cp/ref-types.exp: Likewise.
14398 * gdb.mi/mi-var-child.exp: Likewise.
14399 * gdb.mi/mi-var-display.exp: Likewise.
14400 * gdb.mi/mi2-var-display.exp: Likewise.
14401 * gdb.base/charset.exp: Test octal escape sequence length.
14402 Update for change to escape output.
14403
187c4a2b
JK
144042009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14405
14406 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14407
d80a43f9
DJ
144082009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14409
14410 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14411
047427a8
JK
144122009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14413
14414 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14415 gdbserver increasing $portnum if "Can't bind address" has been seen.
14416
8b5a0f4f
PA
144172009-07-05 Pedro Alves <pedro@codesourcery.com>
14418
14419 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14420 mingw32ce.
14421
7d93ba58
PA
144222009-07-05 Pedro Alves <pedro@codesourcery.com>
14423
14424 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14425 VFP format.
14426
2277426b
PA
144272009-07-02 Pedro Alves <pedro@codesourcery.com>
14428
14429 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14430 linux. Adjust to use "inferior", "info inferiors", "detach
14431 inferior" and "kill inferior" instead of "restart", "info fork",
14432 "detach fork" and "delete fork".
14433 * gdb.base/ending-run.exp: Spell out "info".
14434 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14435 the "kill" command.
14436
5af949e3
UW
144372009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14438
14439 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14440 change to prefix TLS offset in hex with 0x.
14441
5d3729b5
UW
144422009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14443
14444 * gdb.base/default.exp: Update test case for "x" changes.
14445
af589bd0
TG
144462009-07-01 Tristan Gingold <gingold@adacore.com>
14447
14448 * gdb.base/bigcore.exp: Make darwin untested.
14449
40974f91
JK
144502009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14451
14452 * gdb.base/completion.exp (directory completion): Create the directory.
14453 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14454 escapeuniquesub.
14455 (directory completion 2): Expect now ${escapeuniquesub}.
14456 (Glob remaining of directory test): Remove one excessive newline.
14457 Expect the real output.
14458
59dd3af6
JK
144592009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14460
14461 Fix `make check//%' target after `make check' has been ran.
14462 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14463 a mkdir call.
14464 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14465 (%/.dir): Remove.
14466
f4e164aa
JK
144672009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14468
14469 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14470 the expected result record.
14471
69af2122
JK
144722009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14473
14474 Remove racy FAILs relying just on the timeouts.
14475 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14476 (annotation_level 2): Remove racy FAILs.
14477
2fd481e1
PP
144782009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14479
14480 gdb/10275
889bf7c5
PA
14481 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14482
c38f313d
DJ
144832009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14484
14485 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14486
8b777f02
VP
144872009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14488
14489 * gdb.mi/mi-stack.exp: Testing symbolic options
14490 to -stack-list-locals and -stack-list-arguments.
14491
00c7eacf
JK
144922009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14493
14494 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14495
6bc80edc
TT
144962009-06-29 Tom Tromey <tromey@redhat.com>
14497
14498 * dg-extract-results.sh: New file.
14499 * Makefile.in (FORCE_PARALLEL): New variable.
14500 (CHECK_TARGET): New conditional variable.
14501 (check): Use CHECK_TARGET.
14502 (DO_RUNTEST): New variable.
14503 (check-single): New target.
14504 (TEST_DIRS): New variable.
14505 (TEST_TARGETS): Likewise.
14506 (check-parallel): New target.
14507 (check-gdb.%): New pattern.
14508 (BASE1_FILES): New variable.
14509 (BASE2_FILES): Likewise.
14510 (check-gdb.base%): New pattern.
14511 (%/.dir): New pattern.
14512 * configure: Rebuild.
14513 * aclocal.m4 (AM_CONDITIONAL): New defun.
14514 * configure.ac: Check whether user is using GNU make.
14515 (GMAKE): New conditional.
14516
794684b6
SW
145172009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14518
14519 * gdb.cp/namespace-nested-import.cc: New test.
14520 * gdb.cp/namespace-nested-import.exp: New test.
14521
edb3359d
DJ
145222009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14523
14524 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14525 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14526 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14527 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14528 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14529 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14530 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14531 gdb.opt/inline-markers.c: New files.
14532 * lib/gdb.exp (skip_inline_frame_tests): New function.
14533 (skip_inline_var_tests): New function.
14534
cf657a0c
AS
145352009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14536
14537 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14538 backtrace.
14539
28d41a99
MS
145402009-06-27 Michael Snyder <msnyder@vmware.com>
14541
14542 * gdb.reverse: New directory.
14543 * gdb.reverse/break-reverse.c: New test.
14544 * gdb.reverse/break-reverse.exp: New test.
14545 * gdb.reverse/consecutive-reverse.c: New test.
14546 * gdb.reverse/consecutive-reverse.exp: New test.
14547 * gdb.reverse/finish-reverse.c: New test.
14548 * gdb.reverse/finish-reverse.exp: New test.
14549 * gdb.reverse/machinestate.c: New test.
14550 * gdb.reverse/ms1.c: New test.
14551 * gdb.reverse/machinestate.exp: New test.
14552 * gdb.reverse/Makefile.in: New file.
14553 * gdb.reverse/shr2.c: New test.
14554 * gdb.reverse/solib-reverse.c: New test.
14555 * gdb.reverse/solib-reverse.exp: New test.
14556 * gdb.reverse/step-reverse.c: New test.
14557 * gdb.reverse/step-reverse.exp: New test.
14558 * gdb.reverse/until-reverse.c: New test.
14559 * gdb.reverse/ur1.c: New test.
14560 * gdb.reverse/until-reverse.exp: New test.
14561 * gdb.reverse/watch-reverse.c: New test.
14562 * gdb.reverse/watch-reverse.exp: New test.
14563 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14564 * configure: Regenerate.
14565
fe3c8b0d
DE
145662009-06-26 Doug Evans <dje@google.com>
14567
14568 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14569
3a72a602
PM
145702009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14571
14572 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14573 windows problem for 'file delete $binfile'.
14574
27aa8d6a
SW
145752009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14576
14577 * gdb.cp/namespace-using.exp: New test.
14578 * gdb.cp/namespace-using.cc: New test.
14579
8ac055f8
JB
145802009-05-20 Joel Brobecker <brobecker@adacore.com>
14581
14582 * gdb.ada/variant_record_packed_array: New testcase.
14583
85e306ed
TT
145842009-06-23 Tom Tromey <tromey@redhat.com>
14585
14586 * gdb.base/charset.exp (test_combination): Regression test.
14587 * gdb.base/charset.c (my_wchar_t): New typedef.
14588 (myvar): New global.
14589 (main): Set myvar.
14590
56643c5e
PM
145912009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14592
14593 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14594 target.
14595
1fac167a
UW
145962009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14597
14598 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14599
7ccb0be9
UW
146002009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14601
14602 * gdb.mi/gdb680.exp: Update test for error message.
14603
568d6575
UW
146042009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14605
14606 * gdb.base/annota1.exp: Allow multiple occurrences of the
14607 frames-invalid annotation.
14608 * gdb.cp/annota2.exp: Likewise.
14609
7cd1089b
PM
146102009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14611
14612 * gdb.cp/gdb2495.cc: New file.
14613 * gdb.cp/gdb2495.exp: New file.
14614
72c63395
JK
146152009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14616
14617 Report error on GDB crash during runto.
14618 * lib/gdb.exp (runto <eof>): New.
14619
3788363d
DJ
146202009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14621
14622 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14623 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14624 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14625 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14626 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14627 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14628 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14629 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14630 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14631 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14632 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14633 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14634 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14635 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14636 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14637 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14638 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14639 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14640 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14641 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14642 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14643 gdb.trace/passcount.exp, gdb.trace/report.exp,
14644 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14645 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14646 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14647 executable.
14648
17592de3
PA
146492009-06-07 Pedro Alves <pedro@codesourcery.com>
14650
14651 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14652 defined before referencing it.
14653
701e355d
DE
146542009-06-03 Doug Evans <dje@google.com>
14655
14656 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14657 * gdb.arch/i386-see.c: Ditto.
14658
f2292c65
PM
146592009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14660
14661 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14662 (check_macro): Return 1 if undefined.
14663 If first test fails, check if macro debug information is available,
14664 and report unsupported test if no macro information is found.
14665
5a437975
DE
146662009-05-29 Doug Evans <dje@google.com>
14667
14668 * gdb.threads/hand-call-in-threads.exp: New.
14669 * gdb.threads/hand-call-in-threads.c: New.
14670
c141c696
MS
146712009-05-29 Michael Snyder <msnyder@vmware.com>
14672
14673 * gdb.base/break-always.exp: Change "1" to "on".
14674 Add confirmation check.
14675
b3444185
PA
146762009-05-28 Pedro Alves <pedro@codesourcery.com>
14677
14678 * gdb.threads/threxit-hop-specific.c: New.
14679 * gdb.threads/threxit-hop-specific.exp: New.
14680 * gdb.threads/thread-execl.c: New.
14681 * gdb.threads/thread-execl.exp: New.
14682
b6313243
TT
146832009-05-27 Tom Tromey <tromey@redhat.com>
14684 Thiago Jung Bauermann <bauerman@br.ibm.com>
14685
14686 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14687 (mi_child_regexp): Likewise.
14688 (mi_list_varobj_children_range): Likewise.
14689 (mi_get_features): Likewise.
14690 (mi_list_varobj_children): Rewrite.
14691 * gdb.python/python-mi.exp: New file.
14692
a6bac58e
TT
146932009-05-27 Tom Tromey <tromey@redhat.com>
14694 Thiago Jung Bauermann <bauerman@br.ibm.com>
14695 Phil Muldoon <pmuldoon@redhat.com>
14696 Paul Pluzhnikov <ppluzhnikov@google.com>
14697
14698 * gdb.python/python-prettyprint.exp: New file.
14699 * gdb.python/python-prettyprint.c: New file.
14700 * gdb.python/python-prettyprint.py: New file.
14701 * gdb.base/display.exp: print/r is now valid.
14702
2c74e833
TT
147032009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14704 Tom Tromey <tromey@redhat.com>
14705 Pedro Alves <pedro@codesourcery.com>
14706 Paul Pluzhnikov <ppluzhnikov@google.com>
14707
14708 * gdb.python/python-template.exp: New file.
14709 * gdb.python/python-template.cc: New file.
14710 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14711 tests.
14712 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14713 Call it.
14714 (test_value_after_death): New proc.
14715 * gdb.python/python-value.c (PTR): New typedef.
14716 (main): New variable 'x'.
14717
89c73ade
TT
147182009-05-27 Tom Tromey <tromey@redhat.com>
14719
14720 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14721 tests.
14722 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14723 Call it.
14724
a75724bc
PA
147252009-05-27 Pedro Alves <pedro@codesourcery.com>
14726
14727 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14728
e58b0e63
PA
147292009-05-24 Pedro Alves <pedro@codesourcery.com>
14730
14731 * gdb.threads/fork-thread-pending.c: New.
14732 * gdb.threads/fork-thread-pending.exp: New.
14733
4ac36638
JK
147342009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14735
14736 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14737 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14738
889bf7c5 147392009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 14740
889bf7c5 14741 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 14742
b242c3c2
PA
147432009-05-17 Pedro Alves <pedro@codesourcery.com>
14744
14745 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14746 `gdb_get_line_number'. Call `callee' in both parent and child.
14747 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14748 `gdb_get_line_number' instead of hardcoding line numbers.
14749 (catch_fork_unpatch_child): New procedure to test detaching
14750 breakpoints from child fork.
14751 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14752 hardcoding line numbers.
14753 (do_fork_tests): Run `catch_fork_unpatch_child'.
14754
ee342b23
VP
147552009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14756
14757 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14758 of structure type enters or leaves the scope, it
14759 is reported by -var-update.
14760
e2009e98
DE
147612009-05-11 Doug Evans <dje@sebabeach.org>
14762
14763 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 14764 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
14765 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14766
00903456
JK
147672009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14768
14769 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14770
dc621c35
DE
147712009-04-30 Doug Evans <dje@google.com>
14772
14773 * gdb.threads/watchthreads2.exp: New testcase.
14774 * gdb.threads/watchthreads2.c: New testcase.
14775
9ab4e744
DE
147762009-04-29 Doug Evans <dje@google.com>
14777
14778 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14779 * gdb.cp/mb-ctor.cc: Ditto.
14780 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14781 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14782 * gdb.cp/mb-inline1.cc: Call it.
14783 * gdb.cp/mb-inline2.cc: Ditto.
14784 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14785 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14786
484086b7
JK
147872009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14788
14789 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14790 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14791 Replace all uses of `decimal' by `nonzero'.
14792 (info macro FROM_COMMANDLINE): New test.
14793
379a77b5
TT
147942009-04-27 Tom Tromey <tromey@redhat.com>
14795
14796 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14797
b92b73c2
DE
147982009-04-27 Doug Evans <dje@google.com>
14799
14800 * gdb.threads/watchthreads.c (main): Initialize args before starting
14801 the threads. Plus formatting cleanup.
14802 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14803 biased scheduling of one thread.
14804
945a118d
JG
148052009-04-27 Jerome Guitton <guitton@adacore.com>
14806
14807 * gdb.cp/templates.cc (GetMax): New template.
14808 (main): Declare two instances of GetMax.
14809 * gdb.cp/templates.exp: Add new test.
14810
d389af10
JK
148112009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14812
14813 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14814
e7f86de9
JM
148152009-04-22 Joseph Myers <joseph@codesourcery.com>
14816
14817 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14818
334cc82d
TT
148192009-04-15 Tom Tromey <tromey@redhat.com>
14820
14821 * gdb.base/charset.exp: Add regression test.
14822
d12672cc
JB
148232009-04-14 Joel Brobecker <brobecker@adacore.com>
14824
14825 * gdb.base/exe-lock.exp: New testcase.
14826
18e8c3bc
TT
148272009-04-13 Tom Tromey <tromey@redhat.com>
14828
14829 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14830 operator on Frame.
14831
5ecd5cbe
UW
148322009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14833
14834 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14835 * gdb.server/ext-attach.exp: Likewise.
14836
7309f756
VP
148372009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14838
14839 Eliminate some sleep usage.
14840
889bf7c5
PA
14841 * gdb.mi/basics.c (do_nothing): New.
14842 (main): Use do_nothing instead of printf, so that
14843 not to introduce race condition between output of
14844 inferiour and output of gdb. Do not use sleep as it
14845 is not generally available on embedded targets.
7309f756 14846
f4b95f6f
PA
148472009-04-02 Pedro Alves <pedro@codesourcery.com>
14848
14849 * gdb.server/ext-attach.exp: Expect an optional process id after
14850 "Detached from remote process".
14851
de40b933
JK
148522009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14853
14854 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14855 gdb.dwarf2/dw2-unresolved.exp: New.
14856
2ae101a4
PA
148572009-04-02 Pedro Alves <pedro@codesourcery.com>
14858
14859 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14860 mi_run_to_main.
14861
56a8e183
PA
148622009-04-02 Pedro Alves <pedro@codesourcery.com>
14863
14864 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14865 mi_run_to_main. Skip thread exit test on remote targets.
14866 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14867 mi_run_to_main.
14868 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14869 mi_run_to_main.
14870 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14871 when expecting ^connected. Detect when the target doesn't support
14872 non-stop mode.
14873 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14874 supported. Return -1 on error, 0 on success.
14875 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14876 (mi_runto): Return mi_runto_helper's result explicitly.
14877
c35fafde
PA
148782009-04-01 Pedro Alves <pedro@codesourcery.com>
14879
14880 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14881
f8a8dce6
JB
148822009-04-01 Tom Tromey <tromey@redhat.com>
14883
14884 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14885 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14886 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14887 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14888
71c25dea
TT
148892009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14890 Jan Kratochvil <jan.kratochvil@redhat.com>
14891
14892 PR gdb/931
14893 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14894 output.
14895 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14896 for gdb/931.
14897 * dw2-strp.S (DW_AT_language): Change to C++.
14898 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14899
02d9a9ce
JB
149002009-03-31 Joel Brobecker <brobecker@adacore.com>
14901
14902 * gdb.ada/tasks: New testcase.
14903
1042e4c0
SS
149042009-03-30 Stan Shebs <stan@codesourcery.com>
14905
14906 * gdb.trace/actions.exp: Update to match new info trace format.
14907 * gdb.trace/deltrace.exp: Ditto.
14908 * gdb.trace/infotrace.exp: Ditto.
14909 * gdb.trace/passcount.exp: Ditto.
14910 * gdb.trace/save-trace.exp: Ditto.
14911 * gdb.trace/while-stepping.exp: Ditto.
14912 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14913
f8f6f20b
TJB
149142009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14915
14916 * gdb.python/python-frame.c: New file.
14917 * gdb.python/python-frame.exp: New file.
14918
c0c6f777
TJB
149192009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14920
14921 * gdb.python/python-value.exp: Add tests for the address
14922 attribute.
14923
3cb51905
AS
149242009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14925
14926 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14927
88fc996f
DE
149282009-03-26 Doug Evans <dje@google.com>
14929
14930 * gdb.mi/mi-nonstop-exit.exp: New file.
14931 * gdb.mi/non-stop-exit.c: New file.
14932
56ef84b1
TT
149332009-03-26 Tom Tromey <tromey@redhat.com>
14934
14935 Update for change to prologue skipping:
14936 * gdb.mi/mi2-simplerun.exp: Update.
14937 * gdb.mi/mi2-break.exp: Update.
14938 * gdb.mi/mi-simplerun.exp: Update.
14939 * gdb.mi/mi-break.exp: Update.
14940 * gdb.base/ending-run.exp: Update.
14941
def2b000
TJB
149422009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14943
14944 * gdb.python/python-value.exp (test_value_in_inferior): Test
14945 gdb.Value.is_optimized_out attribute.
14946
442ddf59
JK
149472009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14948
14949 * gdb.dwarf2/dw2-noloc-main.c: New file.
14950 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14951 (.text): Remove.
14952 (.data): New.
14953 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14954 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14955 (DW_TAG_subprogram func_cu1, noloc): Remove.
14956 (main): New.
14957 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14958 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14959 (file_symbols): New procedure.
14960
a8df5de4
TT
149612009-03-25 Tom Tromey <tromey@redhat.com>
14962
14963 * gdb.base/charset.exp (valid_target_charset): New proc.
14964 Use it to skip tests on invalid charsets.
14965
cc1d7add
PM
149662009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14967
14968 * gdb.base/completion.exp: Add a test for directory completion.
14969
bcd5727b
JK
149702009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14971
14972 Fix a racy FAIL.
14973 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14974 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14975
cc924cad
TJB
149762009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14977
14978 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14979 * gdb.python/python-function.exp: Add test for function returning
14980 a GDB value.
14981
bc3b79fd
TJB
149822009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14983
14984 * gdb.python/python-function.exp: New file.
14985
6c7a06a3
TT
149862009-03-20 Tom Tromey <tromey@redhat.com>
14987
14988 * gdb.base/store.exp: Update for change to escape output.
14989 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14990 to escape output.
14991 * gdb.base/pointers.exp: Update for change to escape output.
14992 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14993 to escape output.
14994 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14995 escape output.
14996 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14997 to escape output.
14998 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14999 escape output.
15000 * gdb.base/setvar.exp: Update for change to escape output.
15001 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15002 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15003 to escape output.
15004 (test_print_string_constants): Likewise.
15005 * gdb.base/charset.exp (valid_host_charset): Check size of
15006 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15007 cases. Handle "auto"-related output.
15008 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15009 (uvar, Uvar): New globals.
15010
c31af87b
JG
150112009-03-19 Jerome Guitton <guitton@adacore.com>
15012
15013 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15014 deltas.
15015 * gdb.ada/fixed_points.exp: Ditto.
15016
51272cf2
PA
150172009-03-18 Pedro Alves <pedro@codesourcery.com>
15018
15019 * return-nodebug.c: Don't include stdio.h.
15020 (init): Delete.
15021 (func): Delete definition and provide extern declaration.
15022 (t): New.
15023 (main): Don't call printf. Call func and store its result in t.
15024 * return-nodebug1.c: New.
15025 * return-nodebug.exp: Don't expect stdio output. Instead, print
15026 the global variable t. Drop printf formatters and cast types from
15027 foreach loop. Don't use prepare_for_testing. Compile
15028 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15029 define FORMAT or CAST.
15030
d24948ac
PP
150312009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15032
15033 * gdb.base/solib-display.exp: Disable test for remote targers.
15034
61ff14c6
JK
150352009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15036
15037 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15038
cb4dce93
JK
150392009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15040
15041 Fix a racy FAIL.
15042 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15043 code from `follow parent, print pids'.
15044 (`follow child, print pids', `follow parent, print pids'): Call it.
15045 Replace `gdb_test "break..."' by gdb_breakpoint.
15046
f7c60c5e
VP
150472009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15048
15049 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 15050 sync and async modes.
f7c60c5e 15051
383ace49
JB
150522009-03-12 Joel Brobecker <brobecker@adacore.com>
15053
15054 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15055 that was checked in by mistake. Remove loading of ada.exp, since
15056 this is not necessary in this case.
15057
4ce102af
JB
150582009-03-12 Joel Brobecker <brobecker@adacore.com>
15059
15060 * gdb.ada/ptype_arith_binop.exp: New testcase.
15061
529a2aef
JB
150622009-03-12 Joel Brobecker <brobecker@adacore.com>
15063
15064 * gdb.ada/mod_from_name: New testcase.
15065
8a38181c
JB
150662009-03-12 Joel Brobecker <brobecker@adacore.com>
15067
15068 * gdb.ada/tick_last_segv: New testcase.
15069
11436dee
VP
150702009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15071
61ff14c6 15072 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 15073
1f31650a
VP
150742009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15075
61ff14c6
JK
15076 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15077 include the token in ^running and frame info in *stopped.
1f31650a 15078
a3247a22
PP
150792009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15080
15081 * solib-display.exp: New file.
15082 * solib-display-main.c: New file.
15083 * solib-display-lib.c: New file.
61ff14c6 15084
aae64587
PA
150852009-03-05 Pedro Alves <pedro@codesourcery.com>
15086
15087 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15088
44aabfbc
JK
150892009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15090
15091 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15092 (list_and_check_macro): Use more specific test name.
15093 (next to definition): Make the test names unique.
15094
c087fcd3
PM
150952009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15096
15097 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 15098
c86cf029
VP
150992009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15100
15101 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15102 notifications.
15103 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15104 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15105 * lib/mi-support.exp (library_loaded_re): New.
15106 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15107
3ea85240
VP
151082009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15109
15110 * gdb.gdb/observer.exp: Use test_notification observer, not
15111 normal_stop, everywhere.
15112 (test_normal_stop_notifications): Rename to...
15113 (test_notifications): ...this.
15114 (test_observer_normal_stop): Rename to...
15115 (test_observer): ...this.
15116
1903f0e6
DE
151172009-02-16 Doug Evans <dje@google.com>
15118
15119 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15120 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15121 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15122 (test_prefixed_syscall,test_int3): New tests.
15123 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15124 (test_prefixed_syscall,test_int3): New tests.
15125
1d33d6ba
VP
151262009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15127
3cb51905
AS
15128 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15129 (mi_expect_interrupt): Likewise.
15130 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15131 response.
1d33d6ba 15132
faafb047
PM
151332009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15134
15135 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15136 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15137 Replace calls to get_valueofx by get_hexadecimal_valueof.
15138
417e16e2
PM
151392009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15140
15141 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15142 (get_integer_valueof): New procedure.
15143 (get_sizeof): Use new get_integer_value_of.
15144 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15145 by get_integer_valueof.
15146
7065b901
TT
151472009-02-13 Tom Tromey <tromey@redhat.com>
15148
15149 * gdb.base/remote.exp (get_sizeof): Remove.
15150 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15151 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15152 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15153 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15154 (get_sizeof): Likewise.
15155
5d7cb8df
JK
151562009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15157
15158 PR fortran/9806
15159 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15160
b2febfff
PP
151612009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15162
15163 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15164
4aa995e1
PA
151652009-02-06 Pedro Alves <pedro@codesourcery.com>
15166
15167 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15168
d8906c6f
TJB
151692009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15170
15171 * gdb.python/python-cmd.exp: New file.
15172
ff4ab08d
TG
151732009-02-06 Tristan Gingold <gingold@adacore.com>
15174
15175 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15176
aacd552b
TG
151772009-02-05 Tristan Gingold <gingold@adacore.com>
15178
15179 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15180 pointer is dereferenced and use this signal name in regexp.
15181 * gdb.base/signull.exp: Ditto.
15182 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15183 * gdb.base/signull.c (main): Ditto.
15184
08c637de
TJB
151852009-02-04 Tom Tromey <tromey@redhat.com>
15186 Thiago Jung Bauermann <bauerman@br.ibm.com>
15187
15188 * gdb.python/python-value.exp: Use `gdb.history' instead of
15189 `gdb.value_from_history'.
15190 (test_value_numeric_ops): Add test for conversion of enum constant.
15191 * gdb.python/python-value.c (enum e): New type.
15192 (evalue): New global.
15193 (main): Use argv.
15194
20261af8
JG
151952009-02-04 Jerome Guitton <guitton@adacore.com>
15196
15197 * gdb.ada/uninitialized_vars: New test program.
15198 * gdb.ada/uninitialized_vars.exp: New testcase.
15199
52e44b43
TT
152002009-02-02 Tom Tromey <tromey@redhat.com>
15201
15202 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15203 * gdb.cp/pr2489.cc: Rename...
15204 * gdb.cp/pr9594.cc: ... to this.
15205
1c71341a
TT
152062009-02-02 Tom Tromey <tromey@redhat.com>
15207
15208 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15209 * gdb.cp/pr2489.cc: New file.
15210 * gdb.cp/cpcompletion.exp: New file.
15211
a4295225
TT
152122009-02-02 Tom Tromey <tromey@redhat.com>
15213
15214 PR exp/9059:
15215 * gdb.cp/call-c.exp: Add regression test.
15216 * gdb.cp/call-c.cc (FooHandle): New typedef.
15217 (main): New variable 'handle'.
15218
592375cd
VP
152192009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15220
15221 * lib/mi-support.exp (et_mi_thread_list)
15222 (check_mi_and_console_threads): Adjust for current thread in
15223 -thread-list-ids output.
15224
41447f92
VP
152252009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15226
889bf7c5
PA
15227 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15228 Call it.
41447f92 15229
35669430
DE
152302009-01-28 Doug Evans <dje@google.com>
15231
15232 * gdb.arch/amd64-disp-step.S: New file.
15233 * gdb.arch/amd64-disp-step.exp: New file.
15234 * gdb.arch/i386-disp-step.S: New file.
15235 * gdb.arch/i386-disp-step.exp: New file.
15236
09f00d9a
PM
152372009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15238
15239 * gdb.base/find.exp: Set newline variable
15240 using quotes instead of braces to fix cygwin failures.
15241
1e8fb976
PA
152422009-01-23 Pedro Alves <pedro@codesourcery.com>
15243
15244 * gdb.base/radix.exp: Add tests to ensure that that set
15245 input-radix 0 and set output-radix 0 are really rejected.
15246
da061712
PA
152472009-01-23 Pedro Alves <pedro@codesourcery.com>
15248
15249 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15250 copyright years.
15251
dd7e2d2b
PA
152522009-01-23 Pedro Alves <pedro@codesourcery.com>
15253
15254 PR gdb/9664:
15255 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15256
392452f6
PA
152572009-01-22 Pedro Alves <pedro@codesourcery.com>
15258
15259 PR c++/9631:
15260 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15261
8653e71c
PM
152622009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15263
15264 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15265 binfile definition to fix Windows OS failure.
15266
a12cc160
DJ
152672009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15268
15269 PR gdb/9346
15270 * gdb.base/interrupt.c (sigint_handler): New.
15271 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15272 on error.
15273 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15274 Test "signal SIGINT".
15275
b89667eb
DE
152762009-01-19 Doug Evans <dje@google.com>
15277
15278 * gdb.base/break.exp: Update expected gdb output.
15279 * gdb.base/sepdebug.exp: Ditto.
15280 * gdb.mi/mi-syn-frame.exp: Ditto.
15281 * gdb.mi/mi2-syn-frame.exp: Ditto.
15282 * gdb.base/call-signal-resume.exp: New file.
15283 * gdb.base/call-signals.c: New file.
15284 * gdb.base/unwindonsignal.exp: New file.
15285 * gdb.base/unwindonsignal.c: New file.
15286 * gdb.threads/interrupted-hand-call.exp: New file.
15287 * gdb.threads/interrupted-hand-call.c: New file.
15288 * gdb.threads/thread-unwindonsignal.exp: New file.
15289
adb483fe
DJ
152902009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15291
15292 * gdb.base/define.exp: Test defining and hooking prefix commands.
15293 * gdb.python/python.exp: Update test for "show user" output.
15294
60023297
JK
152952009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15296
15297 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15298 now the output exactly, using less wildcards. Expect also the output
15299 of gfortran-4.3. Update for the f-valprint.c modification from
15300 2008-04-22.
15301 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15302 Remove gdb_test test names where matching the command.
15303
ccc57cf9
PA
153042009-01-01 Pedro Alves <pedro@codesourcery.com>
15305
15306 PR breakpoints/9681:
15307 * gdb.base/watchpoint.exp: Add regression test.
15308
c7a6ca08
PA
153092008-12-31 Pedro Alves <pedro@codesourcery.com>
15310
15311 * gdb.threads/attach-into-signal.exp: Don't use
15312 gdb_suppress_entire_file.
15313 * gdb.threads/attach-stopped.exp: Ditto.
15314 * gdb.threads/attachstop-mt.exp: Ditto.
15315
3a031f65
PA
153162008-12-31 Pedro Alves <pedro@codesourcery.com>
15317
15318 PR gdb/8812:
15319 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15320
09e6485f
PA
153212008-12-29 Pedro Alves <pedro@codesourcery.com>
15322
15323 PR gdb/7536:
15324 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15325 and unsupported output radices are really rejected.
15326
0cd53049
JK
153272008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15328
15329 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15330
ba163c7e
TT
153312008-12-22 Tom Tromey <tromey@redhat.com>
15332
15333 * gdb.cp/punctuator.exp: New file.
15334
6f4de6c9
JK
153352008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15336
15337 * gdb.base/completion.exp (Completing non-existing component): New test.
15338
0f34d0b4
JK
153392008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15340
15341 Fix for PR gdb/8648.
15342 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15343 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15344 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15345 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15346
db2ad4c3
JK
153472008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15348
15349 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15350
bb5ef15e
DP
153512008-12-16 Christophe Lyon <christophe.lyon@st.com>
15352
15353 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15354 compiler actually generate code at the expected line number.
15355
90142adc
JZ
153562008-12-15 Jie Zhang <jie.zhang@analog.com>
15357
15358 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15359
fad6eecd
TT
153602008-12-12 Tom Tromey <tromey@redhat.com>
15361
15362 * gdb.base/commands.exp (redefine_hook_test): New proc.
15363 Call it.
15364
17c8aaf5
TT
153652008-12-11 Tom Tromey <tromey@redhat.com>
15366
15367 * gdb.base/macscp.exp: New regression test.
15368
7c8adf68
TT
153692008-12-11 Tom Tromey <tromey@redhat.com>
15370
15371 * gdb.base/macscp.exp: Print "address.addr".
15372 * gdb.base/macscp1.c (struct outer): New struct.
15373 (address): New global.
15374
b05dcbb7
TT
153752008-12-09 Tom Tromey <tromey@redhat.com>
15376
15377 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15378 Call it.
15379
2d476de1
DE
153802008-12-04 Doug Evans <dje@google.com>
15381
15382 * gdb.server/ext-run.exp: Relax regexp for init program.
15383
87bdc959
TG
153842008-12-03 Tristan Gingold <gingold@adacore.com>
15385
15386 * gdb.base/macscp.exp: Generate an object file during compilation
15387 to work around Darwin dsymutil limitations.
15388
e0740f77
JK
153892008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15390
15391 Test resolving external references to TLS variables.
15392 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15393 FILE2_THREAD_LOCAL.
15394 (testfile2, srcfile2): New variables.
15395 * gdb.threads/tls.c (file2_thread_local)
15396 (function_referencing_file2_thread_local): New.
15397 * gdb.threads/tls2.c: New file.
15398
67f0aac5
JB
153992008-11-28 Joel Brobecker <brobecker@adacore.com>
15400
15401 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
15402 rather than integer, as integer might not be big enough when
15403 on 64bit targets.
67f0aac5 15404
c332165e
JG
154052008-11-27 Jerome Guitton <guitton@adacore.com>
15406
15407 * gdb.cp/formatted-ref.exp: Add equality test.
15408 * gdb.ada/formatted_ref.exp: Ditto.
15409
fc9b693c
JK
154102008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15411
15412 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15413 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15414
a9c64011
AS
154152008-11-20 Andreas Schwab <schwab@suse.de>
15416
15417 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15418 matching syscall entry point.
15419 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15420 (tcatch_vfork_then_child_follow): Likewise. Finish through
15421 vfork even if we stopped at the syscall trampoline.
15422
e2fd701e
DE
154232008-11-20 Doug Evans <dje@google.com>
15424
15425 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15426
69abc51c
TJB
154272008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15428
15429 * gdb.arch/ppc-dfp.exp: New file.
15430 * gdb.arch/ppc-dfp.c: New file.
15431
c14c28ba
PP
154322008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15433
15434 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 15435
2e74121d
DE
154362008-11-17 Doug Evans <dje@google.com>
15437
15438 * gdb.mi/mi-syn-frame.exp: Update expected output.
15439 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15440
66bb093b
VP
154412008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15442
15443 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
15444 "thread N" results in =thread-selected.
15445 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15446 (mi_send_resuming_command_raw): Be prepared for
15447 =thread-selected.
15448
3d043ef6
VP
154492008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15450
a9c64011
AS
15451 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15452 * lib/mi-support.exp: Likewise.
3d043ef6 15453
808104c8
JB
154542008-11-16 Joel Brobecker <brobecker@adacore.com>
15455
15456 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15457 commands from the expected output for "help catch".
15458
00b22944
JB
154592008-11-15 Joel Brobecker <brobecker@adacore.com>
15460
15461 * gdb.ada/int_deref.exp: New testcase.
15462
59669435
TT
154632008-11-14 Nick Roberts <nickrob@snap.net.nz>
15464
15465 * gdb.mi/gdb2549.exp: New file.
15466
de04a248
DE
154672008-11-11 Doug Evans <dje@google.com>
15468
15469 * gdb.base/callexit.exp: New file.
15470 * gdb.base/callexit.c: New file.
15471
6b8ce727
DE
154722008-11-10 Doug Evans <dje@google.com>
15473
15474 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15475 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15476 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15477 (default_gdb_start,default_gdb_exit): Ditto.
15478 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15479 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15480 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15481 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15482 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15483 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15484
1b14b8aa
AS
154852008-11-03 Andreas Schwab <schwab@suse.de>
15486
15487 * gdb.base/hashline2.exp: Fix typo.
15488 * gdb.base/hashline3.exp: Likewise.
15489
f3134b88
TT
154902008-10-30 Tom Tromey <tromey@redhat.com>
15491
15492 * gdb.base/pointers.exp: Add test.
15493 * gdb.base/pointers.c (k, S): New typedefs.
15494 (instance): New global.
15495
c2226152
AS
154962008-10-30 Andreas Schwab <schwab@suse.de>
15497
15498 * gdb.base/args.exp: Add tests for newlines.
15499
462f405c
JB
155002008-10-30 Joel Brobecker <brobecker@adacore.com>
15501
15502 gdb.base/foll-exec.exp: Update the expected output of a couple
15503 of "info breakpoints" tests.
15504
79a45b7d
TT
155052008-10-28 Tom Tromey <tromey@redhat.com>
15506
15507 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15508
adc13a14
PA
155092008-10-24 Pedro Alves <pedro@codesourcery.com>
15510
15511 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15512 gdb_start_cmd.
15513 Use runto_main before any test that requires execution.
15514
252fbfc8
PA
155152008-10-23 Pedro Alves <pedro@codesourcery.com>
15516
15517 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15518 instead of SIGINT.
15519
28148e3d
JB
155202008-10-22 Joel Brobecker <brobecker@adacore.com>
15521
15522 * gdb.base/completion.exp: Update expected output following
15523 the addition of the "info tasks" command.
15524
c209f847
TT
155252008-10-22 Tom Tromey <tromey@redhat.com>
15526
15527 * gdb.base/exprs.exp (test_expr): Add test for string
15528 concatenation.
15529
f177e350
PA
155302008-10-19 Pedro Alves <pedro@codesourcery.com>
15531
15532 * configure.ac: Output gdb.python/Makefile.
15533 * configure: Regenerate.
15534 * gdb.python/Makefile.in: New.
15535
cce89356
JB
155362008-10-16 Joel Brobecker <brobecker@adacore.com>
15537
15538 * gdb.base/foll-fork.exp: Adjust the expected output to match
15539 the new description for fork/vfork catchpoints in the "info
15540 breakpoints" output.
15541
176d289d
TJB
155422008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15543
15544 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15545
a08702d6
TJB
155462008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15547
15548 * gdb.python/python-value.c: New file.
15549 * gdb.python/python-value.exp: New file.
15550
1c5cfe86
PA
155512008-10-15 Pedro Alves <pedro@codesourcery.com>
15552
15553 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15554
5a98ad69
DP
155552008-10-15 Denis Pilat <denis.pilat@st.com>
15556
41702f1b 15557 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 15558
dcb1a1e2
TT
155592008-10-09 Tom Tromey <tromey@redhat.com>
15560
15561 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15562 'fprintf' and 'stderr'.
15563
9124fe48
JB
155642008-10-07 Joel Brobecker <brobecker@adacore.com>
15565
15566 * gdb.ada/ref_tick_size.exp: New testcase.
15567
45452591
DE
155682008-10-06 Doug Evans <dje@google.com>
15569
15570 * gdb.dwarf2/dw2-cu-size.exp: New file.
15571 * gdb.dwarf2/dw2-cu-size.S: New file.
15572
15573 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15574 .Ltype_int for clarity.
15575
4fc5b208
PP
155762008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15577
15578 PR gdb/2384:
15579 * gdb.cp/gdb2384.exp: Extended to test more cases.
15580 * gdb.cp/gdb2384.cc: Likewise.
15581 * gdb.cp/gdb2384-base.h: Likewise.
15582 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 15583
d78df370
JK
155842008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15585
15586 * gdb.base/maint.exp (maint print type): Remove printing
15587 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15588
9a044a89
TT
155892008-09-30 Tom Tromey <tromey@redhat.com>
15590
15591 * gdb.base/macscp.exp: Add completion tests.
15592 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15593 (TWENTY_THREE): Likewise.
15594 (FORTY_EIGHT): Likewise.
15595
506800a9
TT
155962008-09-30 Tom Tromey <tromey@redhat.com>
15597
15598 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15599 everywhere.
15600 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15601
1a6f01b5
JK
156022008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15603
15604 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15605 testcase is derived from. Fix racy dependency on an expected PID
15606 number. No longer support the testcase on Linux kernel 2.4.x.
15607
2fae03e8
TT
156082008-09-27 Tom Tromey <tromey@redhat.com>
15609
15610 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15611 and varargs.
15612
1ad15515
PA
156132008-09-22 Pedro Alves <pedro@codesourcery.com>
15614
15615 * lib/mi-support.exp (mi_expect_interrupt): New.
15616 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15617 from gdb.mi/mi-nonstop.exp.
15618 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15619 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15620 lib/mi-support.exp.
15621 Use mi_check_thread_states throughout. Avoid ".*" and do not
15622 require an anchor after -exec-run.
15623
d0b76dc6
DJ
156242008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15625
15626 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15627 stop is pending. Avoid ".*" when two stops are pending.
15628 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15629 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15630 newlines in fullnames.
15631 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15632 (mi_expect_stop): Update comments. Only anchor in sync mode.
15633 Do not match newlines.
15634 (mi_send_resuming_command_raw): Always return status.
15635 (mi_get_stop_line): Do not match more than one line by accident.
15636 Only anchor in sync mode.
15637 (mi_run_inline_test): If -exec-next fails, give up.
15638
9990c830
UW
156392008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15640
15641 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15642 on SPU.
15643
ebcf6f00
JB
156442008-09-10 Joel Brobecker <brobecker@adacore.com>
15645
15646 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15647
b6db24e5
JB
156482008-09-10 Joel Brobecker <brobecker@adacore.com>
15649
15650 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15651 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15652 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15653 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15654 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15655 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15656 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15657 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15658 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15659 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15660 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15661 Include the "= " sequence in the expected output of print tests.
15662
2bf448e0
JB
156632008-09-10 Joel Brobecker <brobecker@adacore.com>
15664
15665 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15666 description for boolean types.
15667
d51fd4c8
PA
156682008-09-09 Pedro Alves <pedro@codesourcery.com>
15669
15670 * gdb.base/hook-stop-continue.c: New.
15671 * gdb.base/hook-stop-continue.exp: New.
15672
694182d2
DJ
156732008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15674
15675 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15676
3b8a7fc0
JG
156772008-09-08 Jerome Guitton <guitton@adacore.com>
15678
15679 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15680 (stack_check_probe_2, stack_check_probe_loop_1)
15681 (stack_check_probe_loop_2): New functions.
15682 (main): Add call to these new functions.
15683 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15684 functions, check that the breakpoint is inserted at the appropriate
15685 location.
15686 (insert_breakpoint): Slightly refine this procedure so that it can
15687 be called several times in the test.
15688
96cc0ae8
JG
156892008-09-08 Jerome Guitton <guitton@adacore.com>
15690
15691 * gdb.base/stack-checking.c: New file.
15692 * gdb.base/stack-checking.exp: New file.
15693
1f08b409
TJB
156942008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15695
15696 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15697 * gdb.arch/altivec-regs.exp: Likewise.
15698 * gdb.arch/vsx-regs.exp: Likewise.
15699
3099e1c4
TJB
157002008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15701
15702 * gdb.arch/ppc-fp.exp: New file.
15703 * gdb.arch/ppc-fp.c: New file.
15704
cc69bfc1
PP
157052008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15706
15707 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15708 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 15709
b02a33db
MS
157102008-09-04 Michael Snyder <msnyder@vmware.com>
15711
15712 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15713 as "at" (for non-debug functions such as _start).
15714
2992cbe0
UW
157152008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15716
15717 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15718 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15719 software watchpoints.
15720 * gdb.base/watch_thread_num.exp: Likewise.
15721
514f746b
AR
157222008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15723
15724 * gdb.arch/i386-bp_permanent.exp: New test.
15725
876cecd0
TT
157262008-08-24 Tom Tromey <tromey@redhat.com>
15727
15728 * gdb.base/maint.exp: Update "maint print type".
15729
80f73d71
VP
157302008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15731
15732 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15733 support. Adjust the order of "*running" notifications.
15734 * gdb.mi/non-stop.c: Don't cast from int to void* and
15735 back.
15736
d9c78d7d
MK
157372008-08-20 Mark Kettenis <kettenis@gnu.org>
15738
15739 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15740 expect to find it in the "info frame" output.
15741
97a2d1d3
DJ
157422008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15743
15744 * gdb.base/interp.exp: Always consume both prompts.
15745
b96e2927
PA
157462008-08-20 Pedro Alves <pedro@codesourcery.com>
15747
15748 * gdb.base/pending.exp: Test pending breakpoints without symbols
15749 loaded.
15750
8cf6e61a
VP
157512008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15752
15753 * lib/mi-support.exp (mi_expect_stop): Produce
15754 more details on failures.
15755 * gdb.mi/mi-nonstop.exp: New.
15756 * gdb.mi/non-stop.c: New.
15757
c6ebd6cf
VP
157582008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15759
a9c64011
AS
15760 * gdb.mi/mi-async.exp: Use 'set target-async'.
15761 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 15762
46a9b8ed
DJ
157632008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15764
15765 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15766
44feb3ce
TT
157672008-08-17 Tom Tromey <tromey@redhat.com>
15768
15769 * gdb.base/help.exp (help catch): Rewrite.
15770
311a4e6b
TJB
157712008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15772
15773 * gdb.base/define.exp: Test indented command documentation.
15774 * gdb.python/python.exp: Test indented multi-line command.
15775
604c2f83
LM
157762008-08-15 Luis Machado <luisgpm@br.ibm.com>
15777
15778 * testsuite/gdb.arch/vsx-regs.c: New source file.
15779 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15780 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15781
886a217c
TT
157822008-08-14 Tom Tromey <tromey@redhat.com>
15783
15784 * gdb.base/macscp.exp: Add regression test for "macro define" or
15785 "macro undef" with no arguments.
15786
c814a4f3
PP
157872008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15788
15789 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15790
12ab8a60
UW
157912008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15792
15793 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15794
d57a3c85
TJB
157952008-08-06 Tom Tromey <tromey@redhat.com>
15796
15797 * gdb.python/python.exp: New file.
15798
c7b778ff
JK
157992008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15800
15801 Fix for PR gdb/1543.
15802 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15803 $LOCATION.
15804 (location): New variable.
15805 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15806 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15807 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15808 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15809 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15810 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15811 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15812 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15813 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15814 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15815 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15816 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15817 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15818 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15819 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15820 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15821 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15822 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15823 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15824 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15825 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15826 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15827 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15828 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15829 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15830 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15831 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15832 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15833 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15834 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15835 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15836 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15837 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15838 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15839 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15840 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15841 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15842 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15843 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15844 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15845 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15846 gdb.base/type-opaque.exp, gdb.base/until.exp,
15847 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15848 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15849 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15850 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15851 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15852 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15853 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15854 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15855 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15856 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15857 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15858 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15859 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15860 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15861 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15862 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15863 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15864 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15865 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15866 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15867 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15868 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15869 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15870 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15871 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15872 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15873 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15874 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15875 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15876 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15877 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15878 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15879 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15880 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15881 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15882 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15883 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15884 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15885 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15886 to bug-gdb@prep.ai.mit.edu .
15887
5e06a3d1
VP
158882008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15889
15890 * lib/mi-support.exp (mi_load_shlibs): New.
15891 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15892
9d81d21b
VP
158932008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15894
15895 * lib/mi-support.exp (get_mi_thread_list)
15896 (check_mi_and_console_threads): New, moved from ...
15897 * gdb.mi/mi-pthread.exp: ...here.
15898 * gdb.mi/gdb669.exp (get_mi_thread_list)
15899 (check_mi_and_console_threads): Delete.
15900 * gdb.mi/mi2-pthread.exp: Likewise.
15901
bae98fe0
TT
159022008-07-28 Tom Tromey <tromey@redhat.com>
15903
15904 * Makefile.in (just-check): Remove. Move body to...
15905 (check): ... here.
15906
57380f4e
DJ
159072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15908
15909 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15910 Add a test for duplicated SIGINTs.
15911
e09490f1
DJ
159122008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15913
15914 * gdb.threads/schedlock.exp (get_args): Update to work for any
15915 value of NUM.
15916 (Top level): Report the number of threads that did not resume.
15917
6387b45f
DJ
159182008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15919
15920 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15921
62f64ff2
DJ
159222008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15923
15924 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15925 non-MI prompt.
15926
fa8de41e
TT
159272008-07-26 Tom Tromey <tromey@redhat.com>
15928
15929 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15930 (function_struct, function_struct_ptr): New globals.
15931 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15932 function pointer in a struct.
15933
ccb3ac8a
TT
159342008-07-26 Tom Tromey <tromey@redhat.com>
15935
15936 * gdb.base/macscp.exp: Add test for macro lexing bug.
15937
d7d9f01e
TT
159382008-07-18 Tom Tromey <tromey@redhat.com>
15939
15940 * gdb.base/macscp.exp: Add macro tests.
15941
9bf07184
PP
159422008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15943
15944 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15945
becf6477
PP
159462008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15947
15948 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15949
0709f7d3
PP
159502008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15951
15952 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15953
7093c834
PP
159542008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15955
15956 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15957
b432ffe3
JK
159582008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15959
15960 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15961
b1a268e5
VP
159622008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15963
15964 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15965
e2995f8e
KB
159662008-07-11 Kevin Buettner <kevinb@redhat.com>
15967
15968 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15969 of regexp to account for changes made to GDB in the printing of
15970 byte vectors.
15971
14032a66
TT
159722008-07-11 Tom Tromey <tromey@redhat.com>
15973
15974 * gdb.base/completion.exp: Add 'help' completion test.
15975
981505ef
JK
159762008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15977
15978 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15979
10568435
JK
159802008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15981
15982 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15983
4487aabf
PA
159842008-07-09 Pedro Alves <pedro@codesourcery.com>
15985
15986 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15987
a4a9b1c4
PA
159882008-07-09 Pedro Alves <pedro@codesourcery.com>
15989
15990 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15991
3c3185ac
JK
159922008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15993
15994 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15995
7ebd49dc
VP
159962008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15997
15998 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15999 previous commit. Add a comment.
16000
84e46146
PA
160012008-06-28 Pedro Alves <pedro@codesourcery.com>
16002
16003 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16004
0f8d4a2f
VP
160052008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16006
16007 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16008
f747e0ce
PA
160092008-06-27 Pedro Alves <pedro@codesourcery.com>
16010
16011 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16012 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16013 compiling an executable, link in an object that forces unbuffered
16014 output.
16015 * lib/set_unbuffered_mode.c: New file.
16016
734a5c36
JK
160172008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16018
16019 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16020
a2840c35
VP
160212008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16022
a9c64011
AS
16023 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16024 mi_expect_stop.
16025 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16026 Demand that *running is output.
16027 (detect_async): Perform checking every time.
16028 (mi_send_resuming_command): Extract everything into...
16029 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
16030 (mi_expect_stop): Don't accept any output before *stopped.
16031
6ae37fef
VP
160322008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16033
16034 Robustify mi-simplerun.
a9c64011
AS
16035 * gdb.mi/basics.c (main): Add a call to sleep.
16036 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16037 * gdb.mi/mi2-cli.exp: Likewise.
16038 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 16039
b4aa76f0 160402008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
16041
16042 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16043
e1ac3328
VP
160442008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16045
a9c64011
AS
16046 * gdb.mi/mi-console.exp: Adjust.
16047 * gdb.mi/mi-syn-frame.exp: Adjust.
16048 * gdb.mi/mi2-console.exp: Adjust.
16049 * gdb.mi/mi2-syn-frame.exp: Adjust.
16050 * lib/mi-support.exp (mi_run_cmd): Adjust.
16051 (mi_send_resuming_command): Adjust.
e1ac3328 16052
f7f9a841
VP
160532008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16054
16055 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
16056 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16057 testing of stopped.
16058 * gdb.mi/mi2-syn-frame.exp: Likewise.
16059 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16060 (async, detect_async): New.
16061 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16062 depending on if we're running in sync or async mode.
f7f9a841 16063
37cd5d19
TT
160642008-06-09 Tom Tromey <tromey@redhat.com>
16065
16066 * gdb.base/completion.exp: New tests for field name completion
16067 with spaces, and field name completion with '->'.
16068
65d12d83
TT
160692008-06-06 Tom Tromey <tromey@redhat.com>
16070
16071 * gdb.base/break1.c (struct some_struct): New struct.
16072 (values): New global.
16073 * gdb.base/completion.exp: Add field name completion test.
16074
ebfe2e3f
PP
160752008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16076
16077 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16078 to pointer.
16079 * gdb.cp/call-c.cc: Likewise.
16080
bcf6fc3a
NR
160812008-06-06 Nick Roberts <nickrob@snap.net.nz>
16082
16083 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16084 annotation.
16085
49fd4a42 160862008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 16087 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
16088
16089 * gdb.threads/execl.c, gdb.threads/execl1.c,
16090 gdb.threads/execl.exp: New tests.
a9c64011 16091
8a34ac3f
AR
160922008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16093 Daniel Jacobowitz <dan@codesourcery.com>
16094
16095 * gdb.cp/exception.exp: Activate test, make it work with pending
16096 catchpoints.
16097
86ae69ef
JK
160982008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16099
16100 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16101
f7f9ae2c
VP
161022008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16103
a9c64011
AS
16104 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16105 now printed.
16106 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 16107
2a2d4dc3
AS
161082008-05-27 Andreas Schwab <schwab@suse.de>
16109
16110 * gdb.base/frame-args.exp: Handle arguments that are optimized
16111 out.
16112
5099e4d9
LM
161132008-05-26 Luis Machado <luisgpm@br.ibm.com>
16114
16115 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16116 quiet for ppc32 and group options into a single variable.
16117
d9c36a91
JB
161182008-05-23 Joel Brobecker <brobecker@adacore.com>
16119
16120 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16121 of zero-size elements.
16122 * gdb.ada/null_array.exp: Test printing this new array.
16123
103a8671
JK
161242008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16125
16126 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16127
07a4cc1a 161282008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
16129
16130 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16131 of the "finish" command.
16132
55f996a7
NR
161332008-05-21 Nick Roberts <nickrob@snap.net.nz>
16134
16135 * gdb.base/annota1.exp: Test for new annotation.
16136
907fc202
UW
161372008-05-16 Pedro Alves <pedro@codesourcery.com>
16138
16139 * gdb.base/fixsection.exp: New file.
16140 * gdb.base/fixsection0.c: New file.
16141 * gdb.base/fixsection1.c: New file.
16142
e8f97270
UW
161432008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16144
16145 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16146 * gdb.base/annota3.exp: Likewise.
16147
ac0bb574
NF
161482008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16149
16150 * gdb.base/watch_thread_num.exp: Don't run tests that require
16151 watchpoints if the target doesn't support them.
16152
6fadd07a
DE
161532008-05-12 Doug Evans <dje@google.com>
16154
16155 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16156
6e9a4a30
JB
161572008-05-09 Joel Brobecker <brobecker@adacore.com>
16158
16159 * gdb.ada/assign_1.exp: New testcase.
16160
08388c79
DE
161612008-05-09 Doug Evans <dje@google.com>
16162
a3c83fae
DE
16163 * gdb.base/find.exp: New file.
16164 * gdb.base/find.c: New file.
08388c79 16165
bd5ddfe8
DJ
161662008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16167
16168 * gdb.base/commands.exp (watchpoint_command_test): Handle
16169 gdb,no_hardware_watchpoints.
16170 * gdb.base/float.exp: Allow ARM targets without floating point.
16171 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16172
b5dd68e2 161732008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 16174 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
16175
16176 * gdb.ada/lang_switch: New test program.
16177 * gdb.ada/lang_switch.exp: New testcase.
16178
382d13d1
DE
161792008-05-05 Doug Evans <dje@google.com>
16180
16181 * gdb.base/help.exp (disassemble): Update expected help text.
16182
9dd789d0
PA
161832008-05-04 Pedro Alves <pedro@codesourcery.com>
16184
16185 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16186
611c83ae
PA
161872008-05-04 Pedro Alves <pedro@codesourcery.com>
16188
16189 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16190 different times.
16191
ff013f42
JK
161922008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16193
16194 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16195 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16196 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16197 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16198
96dff6a2
VP
161992008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16200
16201 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16202 notification to appear.
16203
55cd6f92
DJ
162042008-05-04 Daniel Jacobowitz <dan@debian.org>
16205
16206 * gdb.base/fullname.c: New file.
16207 * gdb.base/fullname.exp: New file.
16208 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16209
d705c43c
PA
162102008-05-03 Pedro Alves <pedro@codesourcery.com>
16211
16212 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16213 expressions with macros.
16214
333222e1
JK
162152008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16216
16217 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16218
5ac01682
DJ
162192008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16220
16221 * gdb.base/completion.exp: Handle lack of other symbols beginning
16222 with "a".
16223
16224 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16225
237fc4c9
PA
162262008-05-02 Jim Blandy <jimb@codesourcery.com>
16227
16228 * gdb.asm/asmsrc1.s: Add scratch space.
16229
ed5e9466
DJ
162302008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16231 Daniel Jacobowitz <dan@codesourcery.com>
16232
16233 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16234 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16235 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16236
b39cc962
DJ
162372007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16238
16239 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16240
36d520f5
JB
162412008-05-01 Joel Brobecker <brobecker@adacore.com>
16242
16243 * gdb.base/info-target.exp: New testcase.
16244
8d4e3071
DJ
162452008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16246
16247 * gdb.cp/hang.exp: Use .cc instead of .C.
16248 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16249 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16250
6f3f3097
DJ
162512008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16252
16253 * gdb.base/gdb1250.exp: Remove perror.
16254 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16255
5550a914
PA
162562008-04-30 Pedro Alves <pedro@codesourcery.com>
16257
16258 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16259 .2byte.
16260
d848e687
DJ
162612008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16262
16263 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16264 (maybe_kfail): New.
16265
93b5768b
PA
162662008-04-25 Pedro Alves <pedro@codesourcery.com>
16267
16268 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16269
721c02de
VP
162702008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16271
a9c64011
AS
16272 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16273 * gdb.mi/mi2-syn-frame.exp: Likewise.
16274 * lib/mi-support.exp: Likewise.
721c02de 16275
74960c60
VP
162762008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16277
16278 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16279 to specify regexp for the location to stop at.
16280 * gdb.base/break-always.c: New.
16281 * gdb.base/break-always.exp: New.
16282
d24317b4
VP
162832008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16284
16285 * lib/mi-support.exp (mi_runto_helper): Adjust
16286 for the original-location field.
16287 (mi_create_breakpoint, mi_list_breakpoints): New.
16288 * gdb.mi/mi-break.exp: Adjust.
16289 * gdb.mi/mi2-break.exp: Adjust.
16290 * gdb.mi/mi-pending.exp: Adjust.
16291 * gdb.mi/mi-simplerun.exp: Adjust.
16292 * gdb.mi/mi2-simplerun.exp: Adjust.
16293 * gdb.mi/mi-syn-frame.exp: Adjust.
16294 * gdb.mi/mi2-syn-frame.exp: Adjust.
16295 * gdb.mi/mi-until.exp: Adjust.
16296 * gdb.mi/mi2-until.exp: Adjust.
16297 * gdb.mi/mi-var-display.exp: Adjust.
16298 * gdb.mi/mi2-var-display.exp: Adjust.
16299 * gdb.mi/mi-watch.exp: Adjust.
16300 * gdb.mi/mi2-watch.exp: Adjust.
16301
fdc59709 163022008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 16303
a9c64011
AS
16304 * aclocal.m4: Add override.m4.
16305 * configure: Regenerate.
fdc59709 16306
8e91f023
VP
163072008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16308
16309 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16310 '-var-update --all-values' reports new value even the type
16311 of a variable object has changed.
16312
233a11ab
CS
163132008-04-18 Craig Silverstein <csilvers@google.com>
16314
16315 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16316 files.
d24317b4 16317
9c1137ad
JB
163182008-04-18 Joel Brobecker <brobecker@adacore.com>
16319
16320 * gdb.ada/atomic_enum: New test program.
16321 * gdb.ada/atomic_enum.exp: New testcase.
16322
66d0bbc7
DE
163232008-04-17 Doug Evans <dje@google.com>
16324
16325 * gdb.opt/Makefile.in: Fix whitespace.
16326
100906b0
UW
163272008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16328
16329 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16330
4584e32e
DE
163312008-04-17 Doug Evans <dje@google.com>
16332
16333 * gdb.base/hashline1.exp: New testcase.
16334 * gdb.base/hashline2.exp: New testcase.
16335 * gdb.base/hashline2.exp: New testcase.
16336
0a320680
PA
163372008-04-17 Pedro Alves <pedro@codesourcery.com>
16338
16339 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16340
18ac113b
AR
163412008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16342
16343 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16344 temporary breakpoint to match "Temporary breakpoint".
16345 * gdb.base/break.exp (delete_breakpoints): Likewise.
16346 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16347 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16348 * gdb.base/display.exp: Likewise.
16349 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16350 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16351 * gdb.base/restore.exp (restore_tests): Likewise.
16352 * gdb.base/sepdebug.exp: Likewise.
16353 * gdb.base/watchpoint.exp: Likewise.
16354 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16355 * gdb.mi/mi-pending.exp: Likewise.
16356 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16357 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16358 * gdb.mi/mi-var-cmd.exp: Likewise.
16359 * gdb.mi/mi-var-display.exp: Likewise.
16360 * gdb.mi/mi2-cli.exp: Likewise.
16361 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16362 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16363 * gdb.mi/mi2-var-display.exp: Likewise.
16364 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16365 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16366 new "disp" field.
a9c64011 16367 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
16368 reason. This is to support fix for PR2424.
16369
add38693
JK
163702008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16371
16372 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16373
fcacd99f
VP
163742008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16375
16376 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 16377 field. Add more floating varobj tests.
fcacd99f 16378 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
16379 field.
16380 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16381 (main): Call do_at_tests.
16382 * lib/mi-support.exp (mi_create_floating_varobj)
16383 (mi_varobj_update_with_type_change): New.
fcacd99f 16384
de051565
MK
163852008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16386
16387 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16388 option of -var-evaluate-expression.
16389 * gdb.mi/mi2-var-display.exp: Likewise.
16390
dbc52822
VP
163912008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16392
16393 Introduce test setup helpers.
a9c64011
AS
16394 * lib/gdb.exp (build_executable, clean_restart)
16395 (prepare_for_testing): New.
16396 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16397 * gdb.base/return.exp: Likewise.
16398 * gdb.base/ending-run.exp: Likewise.
dbc52822 16399
473591da
NR
164002008-04-07 Nick Roberts <nickrob@snap.net.nz>
16401
16402 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16403 Interface (MI) responses.
16404
2b2d9e11
VP
164052008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16406
a9c64011
AS
16407 * gdb.cp/breakpoint.cc: New code to test conditions involving
16408 member variables.
16409 * gdb.cp/breakpoint.exp: Test condition involving member
16410 variables.
2b2d9e11 16411
bb378428
VP
164122008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16413
16414 * lib/mi-support.exp (mi_expect_stop): New.
16415 (mi_run_cmd): Change the
16416 token. Use mi_send_resuming_command, use
16417 mi_expect_stop.
16418 (mi_execute_to_helper): Rename to mi_execute_to.
16419 (mi_send_resuming_command): Add more error patterns.
16420 (mi_wait_for_stop): Renamed to...
16421 (mi_get_stop_line): ...this.
16422 (mi_run_inline_test): Adjust.
16423
16424 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16425 * gdb.mi/mi-console.exp: Likewise.
16426 * gdb.mi/mi-pending.exp: Likewise.
16427 * gdb.mi/mi-simplerun.exp: Likewise.
16428 * gdb.mi/mi-stack.exp: Likewise.
16429 * gdb.mi/mi-stepi.exp: Likewise.
16430 * gdb.mi/mi-syn-frame.exp: Add comment.
16431 * gdb.mi/mi-until.exp: Likewise.
16432 * gdb.mi/mi-var-display.exp: Likewise.
16433 * gdb.mi/mi-watch.exp: Likewise.
16434 * gdb.mi/mi2-cli.exp: Likewise.
16435 * gdb.mi/mi2-console.exp: Likewise.
16436 * gdb.mi/mi2-simplerun.exp: Likewise.
16437 * gdb.mi/mi2-stack.exp: Likewise.
16438 * gdb.mi/mi2-stepi.exp: Likewise.
16439 * gdb.mi/mi2-until.exp: Likewise.
16440 * gdb.mi/mi2-var-display.exp: Likewise.
16441 * gdb.mi/mi2-watch.exp: Likewise.
16442
62172bb9
UW
164432008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16444
16445 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16446
16447 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16448
a13e061a
PA
164492008-04-04 Pedro Alves <pedro@codesourcery.com>
16450
16451 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16452 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16453 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16454 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16455 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16456 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16457 expect an mi error duplicated in stderr.
16458
eae06beb
JB
164592008-04-03 Joel Brobecker <brobecker@adacore.com>
16460
16461 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16462 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16463 Add a couple of tests that verify the behavior when the new setting
16464 is set to "cancel" and "all".
16465 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16466 "ask" before we start the testing.
16467
79c6ced6
AR
164682008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16469
16470 * gdb.cp/casts.cc: Add class reference variables.
16471 * gdb.cp/casts.exp: New test cases for up/down casting references.
16472
6c2d1a6b
MK
164732008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16474
16475 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16476 instead of beginning to make an extra test pass.
16477 * gdb.mi/mi2-var-display.exp: Likewise.
16478
55b411d9
MR
164792008-03-31 Maciej W. Rozycki <macro@mips.com>
16480
16481 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16482
c6140da2
MD
164832008-03-31 Markus Deuling <deuling@de.ibm.com>
16484 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16485
16486 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16487 value. Add xfail for older kernels.
16488
79732189
AR
164892008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16490
16491 Bring mi-support in line with gdb.exp.
16492 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16493 (mi_gdb_start): New function.
16494
33c3676e
MR
164952008-03-28 Maciej W. Rozycki <macro@mips.com>
16496
16497 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16498
92e28119
VP
164992008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16500
16501 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16502 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 16503
9e8e3afe
VP
165042008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16505
16506 * lib/mi-support.exp (mi_create_varobj_checked): New.
16507 (mi_list_varobj_children): Allow to check for a
16508 value.
16509 (mi_list_array_varobj_children): New.
16510
16511 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16512 and mi_list_varobj_children, as opposed to hardcoding
16513 expected strings.
16514 * gdb.mi/gdb701.exp: Likewise.
16515 * gdb.mi/gdb792.exp: Likewise.
16516 * gdb.mi/mi-var-block.exp: Likewise.
16517 * gdb.mi/mi-var-cmd.exp: Likewise.
16518 * gdb.mi/mi-var-invalidate.exp: Likewise.
16519 * gdb.mi/mi2-var-block.exp: Likewise.
16520 * gdb.mi/mi2-var-child.exp: Likewise.
16521 * gdb.mi/mi2-var-cmd.exp: Likewise.
16522 * gdb.mi/mi2-var-display.exp: Likewise.
16523
9df50351
JK
165242008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16525
16526 Fix random false FAILs on i386.
16527 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16528
31e5d73a
DJ
165292008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16530
16531 PR gdb/544
16532 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16533
12f4afab
DJ
165342008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16535
16536 PR gdb/544
16537 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16538
b562a0cb
DJ
165392008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16540
16541 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16542 fixed PR gdb/544.
16543
17faa917
DJ
165442008-03-21 Pedro Alves <pedro@codesourcery.com>
16545
16546 * gdb.threads/fork-child-threads.exp: Test next over fork.
16547
6214f497
DJ
165482008-03-21 Chris Demetriou <cgd@google.com>
16549
16550 * gdb.base/break.exp (rbreak junk): New test for rbreak
16551 "Junk at end of arguments" issue.
16552
63092375
DJ
165532008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16554
16555 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16556 *& to work on created array elements.
16557 (Top level): Test print $pc with a file. Test string operations
16558 without a target.
16559 * gdb.base/ptype.exp: Do not expect *& to work on created array
16560 elements.
16561
b21991b0
DJ
165622008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16563
16564 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16565 gdb.threads/staticthreads.exp: Update exit query.
16566
c4b347c7
SL
165672008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16568
16569 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16570
fa4727a6
DJ
165712008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16572
16573 * gdb.base/watchpoint.c (global_ptr, func4): New.
16574 (main): Call func4.
16575 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16576 (test_inaccessible_watchpoint): New.
16577
2f34202f
MR
165782008-02-29 Maciej W. Rozycki <macro@mips.com>
16579
16580 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16581 select the largest.
16582
0d6ba1b1
DJ
165832008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16584
16585 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16586 frames-invalid annotations.
16587
e691325a
PM
165882008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16589
a9c64011 16590 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 16591
f85b5ecc
DE
165922008-02-27 Doug Evans <dje@google.com>
16593
16594 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16595 for bug 1738.
16596 (breakpoint_to_handler_entry): Ditto.
16597
b40e7bf3
JB
165982008-02-27 Joel Brobecker <brobecker@adacore.com>
16599
16600 * gdb.base/ending-run.exp: Use the first line of code inside
16601 function body to test breakpoints.
16602 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16603 location where the breakpoint is inserted when using the line
16604 where a function is declared. Fix typo in the description of
16605 one of the tests.
16606 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16607
2faca73a
PM
166082008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16609
16610 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 16611 tests.
2faca73a 16612
6f439c36
PM
166132008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16614
16615 * gdb.base/args.exp: avoid same output for tests
16616 with single quotes.
16617
54e52265
VP
166182008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16619
a9c64011
AS
16620 * gdb.base/annota1.exp: Adjust for 'info break'
16621 format changes.
16622 * gdb.base/annota3.exp: Likewise.
16623 * gdb.base/break.exp: Likewise.
16624 * gdb.base/condbreak.exp: Likewise.
16625 * gdb.base/pending.exp: Likewise.
16626 * gdb.base/sepdebug.exp: Likewise.
16627 * gdb.base/unload.exp: Likewise.
16628 * gdb.cp/ovldbreak.exp: Likewise.
16629 * gdb.mi/mi-pending.exp: Likewise.
54e52265 16630
897b09ca
DE
166312008-02-07 Doug Evans <dje@google.com>
16632
16633 * gdb.cp/mb-inline.exp: New.
16634 * gdb.cp/mb-inline.h: New.
16635 * gdb.cp/mb-inline1.cc: New.
16636 * gdb.cp/mb-inline2.cc: New.
16637
b1c32d35
PM
166382008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16639
16640 * gdb.pascal/floats.pas: New test program.
16641 * gdb.pascal/floats.exp: New testcase.
16642
1a4ca44a
TJB
166432008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16644
16645 * gdb.base/callfuncs.c (t_float_many_args): New function.
16646 (t_double_many_args): New function.
16647 * gdb.base/callfuncs.exp: Add tests for exceeding float
16648 and double parameters passed through the stack.
16649
439048e8
JB
166502008-02-05 Joel Brobecker <brobecker@adacore.com>
16651
16652 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16653 gdb.ada/complete/foo.adb: New files.
16654 * gdb.ada/complete.exp: New testcase.
16655
81fe8080
DE
166562008-02-03 Doug Evans <dje@google.com>
16657
301f0ecf
DE
16658 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16659
81fe8080
DE
16660 * gdb.cp/gdb2384.exp: New file.
16661 * gdb.cp/gdb2384.cc: New file.
16662 * gdb.cp/gdb2384-base.h: New file.
16663 * gdb.cp/gdb2384-base.cc: New file.
16664
4b071aec
DE
166652008-02-02 Doug Evans <dje@google.com>
16666
16667 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16668
61137ba6
JB
166692007-02-01 Joel Brobecker <brobecker@adacore.com>
16670
16671 * gdb.ada/sym_print_name: New test program.
16672 * gdb.ada/sym_print_name.exp: New testcase.
16673
166742007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
16675
16676 * gdb.ada/nested/hello.adb: New file.
16677 * gdb.ada/nested.exp: New testcase.
16678 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16679
98deb0da
VP
166802008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16681
16682 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
16683 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16684 don't cause future evaluations of function to report
16685 creation of internal breakpoints.
98deb0da 16686
723a2275
VP
166872008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16688
16689 * gdb.mi/mi-break.exp (test_error): New.
16690 Call it.
16691
fb546a2f
LM
166922008-01-31 Luis Machado <luisgpm@br.ibm.com>
16693
16694 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16695 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16696
2d8fd90a
PM
166972008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16698
16699 * gdb.pascal/integers.pas: New test program.
16700 * gdb.pascal/integers.exp: New testcase.
16701
a7fa0ded
PM
167022008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16703
16704 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16705
5e1a1926
TJB
167062008-01-30 Luis Machado <luisgpm@br.ibm.com>
16707
16708 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16709 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16710
8d04f9f0
JB
167112008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16712
16713 * gdb.ada/formatted_ref: New test program.
16714 * gdb.ada/formatted_ref.exp: New testcase.
16715
16716 * gdb.cp/formatted-ref.cc: New file.
16717 * gdb.cp/formatted-ref.exp: New testcase.
16718
ce75a98f
JB
167192008-01-30 Joel Brobecker <brobecker@adacore.com>
16720
16721 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16722
e835f6bf
NR
167232008-01-30 Nick Roberts <nickrob@snap.net.nz>
16724
16725 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16726 (test_file_list_exec_source_file): Update to new macro-info field.
16727
d118ef87
PH
167282008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16729
16730 * gdb.ada/exprs: New test program.
16731 * gdb.ada/exprs.exp: New testcase.
16732
7d35ab09
TJB
167332008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16734
16735 * dfp-test.c (DELTA, DELTA_B): New definitions.
16736 (double_val1, double_val2, double_val3, double_val4, double_val5,
16737 double_val6, double_val7, double_val8, double_val9, double_val10,
16738 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16739 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16740 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16741 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16742 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16743 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16744 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16745 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16746 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16747 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16748 dec128_val16): New global variables.
16749 (decimal_dec128_align): New function.
16750 (decimal_mixed): Likewise.
16751 (decimal_many_args_dec32): Likewise.
16752 (decimal_many_args_dec64): Likewise.
16753 (decimal_many_args_dec128): Likewise.
16754 (decimal_many_args_mixed): Likewise.
16755 * dfp-test.exp: Add tests calling new inferior functions.
16756
2d717e4f
DJ
167572008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16758
16759 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16760 gdb.server/ext-run.exp: New files.
16761 * lib/gdbserver-support.exp (gdbserver_download): New.
16762 (gdbserver_start): New. Update gdbserver expected
16763 output.
16764 (gdbserver_spawn): Use them.
16765 (gdbserver_start_extended): New.
16766
e85a822c
DJ
167672008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16768
16769 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16770 Run on GNU/Linux.
16771 (do_exec_tests): Check for systems which do not support catchpoints.
16772 Do not match START.
16773 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16774 Run on GNU/Linux. Enable verbose output.
16775 (check_fork_catchpoints): New.
16776 (explicit_fork_child_follow, catch_fork_child_follow)
16777 (tcatch_fork_parent_follow): Update expected messages.
16778 (do_fork_tests): Use check_fork_catchpoints.
16779 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16780 Run on GNU/Linux. Enable verbose output.
16781 (check_vfork_catchpoints): New.
16782 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16783 expected messages.
16784 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16785
401ea829
JB
167862008-01-29 Jim Blandy <jimb@red-bean.com>
16787
16788 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16789 host' errors.
16790 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16791
aceaf3ad
JB
167922008-01-29 Jim Blandy <jimb@red-bean.com>
16793
16794 * gdb.threads/sigthread.c: Use barriers to ensure that
16795 child_thread and child_thread_two are always initialized before we
16796 start to use them.
16797
a5606eee
VP
167982008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16799
16800 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16801 * gdb.base/watchpoint-solib.c: New.
16802 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16803
c55a82bb
PM
168042008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16805
16806 * gdb.base/gdb1056.exp: Add unsigned integer test.
16807
0993fe05
DE
168082008-01-28 Doug Evans <dje@google.com>
16809
16810 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16811
4fe42e7f
JB
168122008-01-27 Jim Blandy <jimb@codesourcery.com>
16813
c7a69933
JB
16814 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16815
4fe42e7f
JB
16816 * gdb.base/expand-psymtabs.exp: Doc fix.
16817
5def8285
MK
168182008-01-26 Mark Kettenis <kettenis@gnu.org>
16819
16820 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16821
5313c911
NR
168222008-01-24 Nick Roberts <nickrob@snap.net.nz>
16823
a9c64011 16824 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16825 -var-set-format.
16826
93815fbf
VP
168272008-01-23 Chris Demetriou <cgd@google.com>
16828
16829 * gdb.threads/thread_events.c: New testcase source file.
16830 * gdb.threads/thread_events.exp: New testcase expect file.
16831
467a88ee
NR
168322008-01-23 Nick Roberts <nickrob@snap.net.nz>
16833
16834 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16835
16836 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16837 -var-set-format.
16838
d8f82aba
DJ
168392008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16840 Vladimir Prus <vladimir@codesourcery.com>
16841
16842 * gdb.base/float.exp: Allow missing floating point for m68k and
16843 PowerPC.
16844
60c46647
VP
168452008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16846
16847 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16848 ignore count.
16849 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16850 * gdb.mi/mi-cli.exp: Adjust.
16851 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16852
c7dd36a1
PA
168532008-01-17 Pedro Alves <pedro@codesourcery.com>
16854
16855 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16856 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16857 with dummy_ptr's address.
16858 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16859 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16860 all targets.
16861 * gdb.mi/mi2-var-child.exp: Likewise.
16862
39d5313e
JB
168632008-01-09 Joel Brobecker <brobecker@adacore.com>
16864
16865 * gdb.ada/null_array: New test program.
16866 * gdb.ada/null_array.exp: New testcase.
16867
0aea4bf3
LM
168682008-01-09 Luis Machado <luisgpm@br.ibm.com>
16869
16870 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16871 with required float modifiers.
16872
0b354900
JB
168732008-01-08 Joel Brobecker <brobecker@adacore.com>
16874
16875 * gdb.ada/funcall_param: New test program.
16876 * gdb.ada/funcall_param.exp: New testcase.
16877
cdb7f5d4
JB
168782008-01-08 Joel Brobecker <brobecker@adacore.com>
16879
16880 * gdb.ada/arrayparam: New test program.
16881 * gdb.ada/arrayparam.exp: New testcase.
16882
88e2547f
JB
168832008-01-08 Joel Brobecker <brobecker@adacore.com>
16884
16885 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16886 landed. Should also fix random failures in the test following it.
16887
f6867ce0
TJB
168882008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16889
16890 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16891 for expressions with decimal float values.
16892 (test_dfp_conversions): New function to test casts to and from
16893 decimal float types.
16894 Call test_dfp_conversions.
16895 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16896 elements.
16897 (main): Initialize ds.float4 and ds.double8 elements.
16898 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16899 string to new error message.
16900 (d64_set_tests): Likewise.
16901 (d128_set_tests): Likewise.
16902 Add tests for expressions with decimal float variables. Add tests for
16903 conversions to and from decimal float types.
16904
f9c11282
JB
169052008-01-05 Joel Brobecker <brobecker@adacore.com>
16906
16907 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16908 * gdb.ada/packed_tagged.exp: New testcase.
16909
0ecbca72
JB
169102008-01-04 Joel Brobecker <brobecker@adacore.com>
16911
16912 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16913 gdb.ada/homonym/homonym_main.adb: New files.
16914 * gdb.ada/homonym.exp: New testcase.
16915
c18d3d89
JB
169162008-01-04 Joel Brobecker <brobecker@adacore.com>
16917
16918 * gdb.ada/packed_array.exp: Add testing of references to
16919 a packed array.
16920
ecc7085b
JB
169212008-01-04 Joel Brobecker <brobecker@adacore.com>
16922
16923 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16924 New files.
16925 * gdb.ada/type_coercion.exp: New testcase.
16926
c474c922
JB
169272008-01-04 Joel Brobecker <brobecker@adacore.com>
16928
16929 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16930 gdb.ada/tagged/foo.adb: New file.
16931 * gdb.ada/tagged.exp: New testcase.
16932
9005b927
JB
169332008-01-04 Joel Brobecker <brobecker@adacore.com>
16934
16935 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16936 gdb.ada/ptype_field/foo.adb: New files.
16937 * gdb.ada/ptype_field.exp: New testcase.
16938
1a6aaad8
JB
169392008-01-03 Joel Brobecker <brobecker@adacore.com>
16940
16941 * gdb.ada/print_pc.exp: New testcase.
16942
0ef22f53
JB
169432008-01-03 Joel Brobecker <brobecker@adacore.com>
16944
16945 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16946 gdb.ada/taft_type/p.adb: New files.
16947 * gdb.ada/taft_type.exp: New testcase.
16948
1689ecf8
JB
169492008-01-03 Joel Brobecker <brobecker@adacore.com>
16950
16951 * gdb.ada/array_bounds/bar.adb: New file.
16952 * gdb.ada/array_bounds.exp: New testcase.
16953
a4d0b9c3
JB
169542008-01-03 Joel Brobecker <brobecker@adacore.com>
16955
16956 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16957 gdb.ada/arrayptr/foo.adb: New files.
16958 * gdb.ada/arrayptr.exp: New testcase.
16959
a31ace00
JB
169602008-01-03 Joel Brobecker <brobecker@adacore.com>
16961
16962 * gdb.base/set-lang-auto.exp: New testcase.
16963
a97fced3
JB
169642008-01-03 Joel Brobecker <brobecker@adacore.com>
16965
16966 * gdb.ada/fun_addr/foo.adb: New file.
16967 * gdb.ada/fun_addr.exp: New testcase.
16968
ef29ce1a
JK
169692008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16970
16971 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16972 New files
16973
0fafefe3
JB
169742008-01-02 Joel Brobecker <brobecker@adacore.com>
16975
16976 * array_subscript_addr/p.adb: New file.
a9c64011 16977 * array_subscript_addr.exp: New testcase.
0fafefe3 16978
c4359f8d
JB
169792008-01-02 Joel Brobecker <brobecker@adacore.com>
16980
a9c64011 16981 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16982 New files.
16983 * gdb.ada/str_cmp_ref.exp: New testcase.
16984
1aa1b15b
JB
169852008-01-01 Joel Brobecker <brobecker@adacore.com>
16986
16987 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16988 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 16989 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 16990
81c9b2cf
JB
169912008-01-01 Joel Brobecker <brobecker@adacore.com>
16992
16993 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16994 gdb.ada/ref_param/pck.ads: New files.
16995 * gdb.ada/ref_param.exp: New testcase.
16996
319e4674
JB
169972008-01-01 Joel Brobecker <brobecker@adacore.com>
16998
16999 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17000 gdb.ada/interface/foo.adb: New files.
17001 * gdb.ada/interface.exp: New testcase.
17002
ef682c56
JB
170032007-12-31 Jim Blandy <jimb@codesourcery.com>
17004
17005 * gdb.base/multi-forks.exp: Consume all output from child
17006 processes before proceeding to next test.
17007
f6f3eb6c
JB
170082007-12-29 Jim Blandy <jimb@codesourcery.com>
17009
17010 * configure: Regenerated.
17011
f652e42f
JB
170122007-12-27 Joel Brobecker <brobecker@adacore.com>
17013
17014 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17015 gdb.ada/fixed_cmp/fixed.adb: New files.
17016 * gdb.ada/fixed_cmp.exp: New testcase.
17017
6943e596
JB
170182007-12-27 Joel Brobecker <brobecker@adacore.com>
17019
17020 * gdb.ada/boolean_expr.exp: New testcase.
17021
aad9a193
JB
170222007-12-26 Jim Blandy <jimb@codesourcery.com>
17023
17024 * gdb.base/multi-forks.exp: Doc fix.
17025
fb5f3683
JB
170262007-12-26 Joel Brobecker <brobecker@adacore.com>
17027
17028 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17029 * gdb.ada/char_param.exp: Do not compile our test program with
17030 -gnata, this is unnecessary.
17031 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17032
384e4a9c
JB
170332007-12-24 Joel Brobecker <brobecker@adacore.com>
17034
17035 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17036 gdb.ada/print_chars/foo.adb: New files.
17037 * gdb.ada/print_chars.exp: New testcase.
17038
01e044f7
JB
170392007-12-24 Joel Brobecker <brobecker@adacore.com>
17040
17041 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17042 gdb.ada/char_param/foo.adb: New files.
17043 * gdb.ada/char_param.exp: New testcase.
17044
0ce17860
JB
170452007-12-22 Jim Blandy <jimb@codesourcery.com>
17046
17047 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17048 hard-coding source line numbers into the test.
17049 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17050 gdb_get_line_number to find.
17051
919809b9
JB
170522007-12-22 Joel Brobecker <brobecker@adacore.com>
17053
17054 * gdb.base/ptype.c (highest): New struct type.
17055 (the_highest): New variable of that type.
17056 (main): Add dummy assignment to a field of variable the_highest.
17057 * gdb.base/ptype.exp: Test type printing of our new variable.
17058
abc8a88d
PM
170592007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17060
17061 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 17062 and record first explicitly generated thread number.
abc8a88d
PM
17063 Use that thread number for thread specific watchpoint test.
17064 Add iteration number to repetitive tests.
17065
5158f3e3
CES
170662007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17067 Jim Blandy <jimb@codesourcery.com>
17068
17069 * gdb.base/expand-psymtabs.c: New testcase
17070 source file.
17071 * gdb.base/expand-psymtabs.exp: New testcase
17072 expect file.
17073
37e4754d
LM
170742007-12-17 Luis Machado <luisgpm@br.ibm.com>
17075
17076 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17077 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17078
551e5d04
JB
170792007-12-17 Joel Brobecker <brobecker@adacore.com>
17080
17081 * gdb.ada/frame_args/foo.adb: New file.
17082 * gdb.ada/frame_args/pck.ads: New file.
17083 * gdb.ada/frame_args/pck.adb: New file.
17084 * gdb.ada/frame_args.exp: New testcase.
17085
a05ee097
JB
170862007-12-17 Joel Brobecker <brobecker@adacore.com>
17087
17088 * gdb.base/frame-args.c: New file.
17089 * gdb.base/frame-args.exp: New testcase.
17090
c162e8c9 170912007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 17092 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
17093
17094 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17095
afe8ab22 170962007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17097
afe8ab22
VP
17098 * gdb.mi/mi-pending.exp: New.
17099 * gdb.mi/mi-pending.c: New.
17100 * gdb.mi/mi-pendshr.c: New.
17101
dfdfb3ca
JB
171022007-12-06 Jim Blandy <jimb@codesourcery.com>
17103
17104 * gdb.base/default.exp: Update expected output for 'info catch'.
17105
b7fca990
JK
171062007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17107
17108 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17109 must be set to binary.
17110
6a1afc1e
PA
171112007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17112
17113 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17114
a6b151f1
DJ
171152007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17116
17117 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17118 gdb.mi/mi-file-transfer.exp: New.
17119
43039443
JK
171202007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17121
17122 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17123
0ef2251b
MR
171242007-11-22 Maciej W. Rozycki <macro@mips.com>
17125
17126 * gdb.trace/backtrace.exp: Fix a typo.
17127 * gdb.trace/circ.exp: Likewise.
17128 * gdb.trace/collection.exp: Likewise.
17129 * gdb.trace/limits.exp: Likewise.
17130 * gdb.trace/report.exp: Likewise.
17131 * gdb.trace/tfind.exp: Likewise.
17132 * gdb.trace/while-dyn.exp: Likewise.
17133
5443631e
NR
171342007-11-21 Nick Roberts <nickrob@snap.net.nz>
17135
17136 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17137 objects of pointers that can't be dereferenced are now
17138 "noneditable".
17139
a4ce5b0d
UW
171402007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17141
17142 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17143 (target_cpu): Remove.
17144
d6e956e5
VP
171452007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17146
17147 * gdb.base/ending-run.exp: Expect the list of cleared
17148 breakpoint to come in natural order, not the reversed one.
a9c64011 17149
214270ab
VP
171502007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17151
17152 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17153 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 17154
1a619819
LM
171552007-11-05 Luis Machado <luisgpm@br.ibm.com>
17156
17157 * gdb.base/printcmds.exp: New function
17158 test_printf_with_dfp.
17159
5b01a6fa
DE
171602007-11-02 Doug Evans <dje@google.com>
17161
17162 * gdb.disasm/t01_mov.s: Remove carriage returns.
17163 * gdb.disasm/t02_mova.s: Ditto.
17164 * gdb.disasm/t03_add.s: Ditto.
17165 * gdb.disasm/t04_sub.s: Ditto.
17166 * gdb.disasm/t05_cmp.s: Ditto.
17167 * gdb.disasm/t06_ari2.s: Ditto.
17168 * gdb.disasm/t07_ari3.s: Ditto.
17169 * gdb.disasm/t08_or.s: Ditto.
17170 * gdb.disasm/t09_xor.s: Ditto.
17171 * gdb.disasm/t10_and.s: Ditto.
17172 * gdb.disasm/t11_logs.s: Ditto.
17173 * gdb.disasm/t12_bit.s: Ditto.
17174 * gdb.disasm/t13_otr.s: Ditto.
17175
ec33ab7f
JK
171762007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17177
17178 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17179
ae0d01ff
UW
171802007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17181
17182 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17183 provide DFP support.
17184
55eddb0f
DJ
171852007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17186
17187 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17188 Test "set powerpc vector-abi". Skip auto-detection tests for old
17189 toolchains.
17190
7020f05c
PA
171912007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17192
17193 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17194 with [string compare].
17195
84bc3db9
PA
171962007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17197
17198 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17199 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17200
5876dc88
LM
172012007-10-25 Luis Machado <luisgpm@br.ibm.com>
17202
17203 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17204 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17205 * gdb.opt/Makefile.in: New makefile.
17206 * Makefile.in: Create new directory "gdb.opt".
17207 * configure.ac: Add "gdb.opt" directory.
17208 * configure: Regenerated.
a9c64011 17209
c3ea9a14
DE
172102007-10-25 Doug Evans <dje@google.com>
17211
17212 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17213 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17214
a9c64011 172152007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
17216 Thiago Jung Bauermann <bauerman@br.ibm.com>
17217
17218 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17219 Floating Point expressions.
17220 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17221 Floating Point variables.
17222 * gdb.base/dfp-test.c: new file containing program with Decimal
17223 Floating variables, used by gdb.base/dfp-test.exp.
17224
62a24a2b
DJ
172252007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17226
17227 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17228
e7b1eae6
UW
172292007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17230
17231 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17232 compiling test case with GCC.
17233 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17234
c641edcc
UW
172352007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17236
17237 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17238 format changes.
17239
5e5ebfe6
MS
172402007-10-18 Michael Snyder <msnyder@specifix.com>
17241
17242 * gdb.base/dbx.exp: Add missing "-re " operator.
17243
e831e7b6
GM
172442007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17245
17246 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17247 * configure.ac: Removed trailing spaces after backslash.
17248 * gdb.modula2: New directory.
17249 * gdb.modula2/Makefile.in: New file.
17250 * gdb.modula2/unbounded-array.exp: New file.
17251 * gdb.modula2/unbounded1.c: New file.
17252
7cc46491
DJ
172532007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17254
17255 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17256
172572007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
17258
17259 * gdb.base/sigstep.c (main): Add checks for
17260 return values for setitimer call.
17261 Call setitimer again with itimer = ITIMER_REAL
17262 if first call to setitimer fails.
17263
e91528f0
KH
172642007-10-11 Kazu Hirata <kazu@codesourcery.com>
17265
17266 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17267 of $timeout.
17268
2ec9a4f8
DJ
172692007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17270
17271 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17272
172732007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
17274
17275 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17276 of gdb_expect call, to avoid interruption.
17277
64b2fa04
PA
172782007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17279
17280 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17281 (v_unsigned_long_long, v_long_long_array)
17282 (v_signed_long_long_array, v_unsigned_long_long_array)
17283 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17284 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17285 [!NO_LONG_LONG]: New.
17286 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17287 v_long_long_member.
17288
17289 (v_long_long_func, v_signed_long_long_func)
17290 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17291 (main) [!NO_LONG_LONG]: Initialize long long variants.
17292
17293 * gdb.base/whatis.exp: If board file requests no_long_long, build
17294 test with NO_LONG_LONG defined. Test long long, signed long long,
17295 and unsigned long long variants but only if board file doesn't
17296 disable it.
17297
a912286e 172982007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 17299 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
17300
17301 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17302 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17303 * configure: Regenerated.
17304 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17305 gdb.pascal/types.exp, lib/pascal.exp: New files.
17306
471ba8c9
DJ
173072007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17308
17309 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17310 call.
17311 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17312 to return to the call.
17313 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17314 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17315 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17316 * gdb.mi/mi-until.exp (test_until): Likewise.
17317 * gdb.mi/mi2-until.exp (test_until): Likewise.
17318
fef8a650
DJ
173192007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17320
17321 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17322 two-char array.
17323 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17324
d983da9c
DJ
173252007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17326
17327 * gdb.threads/watchthreads.c (thread_function): Sleep between
17328 iterations.
17329 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17330 at once for S/390. Generate matching fails and passes.
17331
17f62551
VP
173322007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17333
17334 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17335 the 'struct_declarations' variable to zeros.
a9c64011 17336
ed0616c6
VP
173372007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17338
17339 * gdb.cp/mb-ctor.cc: New.
17340 * gdb.cp/mb-ctor.exp: New.
17341 * gdb.cp/mb-templates.cc: New.
17342 * gdb.cp/mb-templates.exp: New.
17343
41f1b697
DJ
173442007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17345
17346 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17347
3f213f78
PA
173482007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17349
17350 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17351 targets.
17352 * configure: Regenerate.
17353
0d381245 173542007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17355
0d381245
VP
17356 * gdb.base/annota1.exp: Adjust for 'info break'
17357 format changes.
17358 * gdb.base/annota3.exp: Likewise.
17359 * gdb.base/break.exp: Likewise.
17360 * gdb.base/condbreak.exp: Likewise.
17361 * gdb.base/pending.exp: Likewise.
17362 * gdb.base/sepdebug.exp: Likewise.
17363 * gdb.base/unload.exp: Likewise.
17364 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 17365
fe3f5fa8
VP
173662007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17367
17368 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17369 messages.
17370 * gdb.base/chng-syms.exp: Likewise.
17371 * gdb.base/unload.exp: Likewise.
a9c64011 17372
a75cf6c0
DJ
173732007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17374
17375 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17376
18ecae38
DJ
173772007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17378
17379 * schedlock.c (NUM): Change to 1.
17380 (main): Use args[0] for the main thread.
17381 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17382 regardless of the number of threads.
17383
5509918f
MR
173842007-09-14 Maciej W. Rozycki <macro@mips.com>
17385
4a543daf
MR
17386 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17387 type down.
17388 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17389 test.
17390 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17391 watchpoint type down.
17392 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17393 test.
17394
173952007-09-14 Maciej W. Rozycki <macro@mips.com>
17396
5509918f
MR
17397 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17398 Move all the tests here and run them twice, once using software
17399 watchpoints and once using hardware watchpoints.
17400 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17401
40b53987
DJ
174022007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17403
17404 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17405 test.
17406
695e2681
MK
174072007-09-10 Mark Kettenis <kettenis@gnu.org>
17408
8b3fc8d8
MK
17409 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17410 build-id.
17411
695e2681
MK
17412 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17413 know about $ORIGIN. Calculate output dir from $dest instead of
17414 using ${objdir}/{$subdir}.
17415
58d69f29
MK
174162007-09-09 Mark Kettenis <kettenis@gnu.org>
17417
17418 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17419 gcore, before continuing with the test.
17420
3e347599
DJ
174212007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17422
17423 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17424 * gdb.mi/mi-watch.exp: Likewise.
17425
ea37ba09
DJ
174262007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17427 Jim Blandy <jimb@codesourcery.com>
17428
17429 * gdb.arch/i386-sse.exp: Do not expect character constants.
17430 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17431 * gdb.base/display.exp: Allow print/s.
17432 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17433 and unsigned char array changes.
17434
2025a643
DJ
174352007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17436
17437 * gdb.base/display.exp: Add tests for printf %p.
17438
26669a27
PA
174392007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17440
17441 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17442 the dll name to unicode.
17443
c8f021f8
JK
174442007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17445
17446 * gdb.base/default.exp (show version): Update the version text.
17447 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17448
4cf31eea
JK
174492007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17450
17451 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17452 New files.
17453
4935890f
JK
174542007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17455
17456 * lib/gdb.exp (build_id_debug_filename_get): New function.
17457 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17458 Remove the generate DEBUG file for the future testcase runs.
17459 New testcase for the NT_GNU_BUILD_ID retrieval.
17460 Move the final testing step to ...
17461 (test_different_dir): ... a new function.
17462 New parameter XFAIL to XFAIL all the tests performed.
17463 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17464 New parameter TYPE to PF_PREFIX all the tests performed.
17465
02142340
VP
174662007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17467
17468 * gdb.mi/mi-var-cp.cc (path_expression): New
17469 function.
17470 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17471
36acd84e
UW
174722007-08-27 Markus Deuling <deuling@de.ibm.com>
17473
17474 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17475 to fit into SPU Local Store memory.
17476
a896d121
JB
174772007-08-23 Joel Brobecker <brobecker@adacore.com>
17478
17479 * gdb.base/default.exp: Adjust the expected output of "info
17480 warranty" after the switch to GPLv3.
17481
7b433602
JB
174822007-08-23 Joel Brobecker <brobecker@adacore.com>
17483
17484 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17485 to 30000 (from 20000).
17486
e22f8b7c
JB
174872007-08-23 Joel Brobecker <brobecker@adacore.com>
17488
17489 Switch the license of all .exp files to GPLv3.
17490 Switch the license of all .f and .f90 files to GPLv3.
17491 Switch the license of all .s and .S files to GPLv3.
17492
5a0e3bd0
JB
174932007-08-23 Joel Brobecker <brobecker@adacore.com>
17494
17495 * configure.ac: Switch license to GPLv3.
17496
cc00619d
JB
174972007-08-23 Joel Brobecker <brobecker@adacore.com>
17498
17499 Switch the licensing to GPLv3 for all .ads and .adb files.
17500
8d26208a
DJ
175012007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17502
17503 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17504 and t_int_double.
17505 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17506
4fcb9948
JB
175072007-08-17 Joel Brobecker <brobecker@adacore.com>
17508
17509 * gdb.base/step-line.c: Switch license to GPL version 3, and
17510 update copyright year.
17511 * gdb.base/step-line.inp: Likewise.
17512
b9c34f67
JB
175132007-08-17 Joel Brobecker <brobecker@adacore.com>
17514
17515 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17516 changes inside gdb1555.c.
17517 * gdb.base/pending.exp: Likewise.
17518
2cc17678
DJ
175192007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17520
17521 * config/default.exp: New file.
17522
e48883f7
DJ
175232007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17524
17525 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17526 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17527
1ab80e5b
MR
175282007-07-30 Maciej W. Rozycki <macro@mips.com>
17529
17530 * gdb.base/dump.exp: Force the correct endianness for binary
17531 formats not carrying this information.
17532
aba471f5
DJ
175332007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17534
17535 * gdb.threads/staticthreads.exp: Match .*sem_post.
17536
d4e07204
DJ
175372007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17538
17539 * gdb.base/readline.exp (operate_and_get_next): Match the final
17540 prompt.
17541
2b97317d
KB
175422007-07-23 Kevin Buettner <kevinb@redhat.com>
17543
17544 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17545 to restarting SID.
17546
44efa07a
KB
175472007-07-18 Kevin Buettner <kevinb@redhat.com>
17548
17549 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17550 prior to `gdb_start'.
17551
7b5ebade
KB
175522007-07-18 Kevin Buettner <kevinb@redhat.com>
17553
17554 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17555 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17556 Remove call to gdb_unload.
17557
255e7678
DJ
175582007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17559 Daniel Jacobowitz <dan@codesourcery.com>
17560
17561 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17562 for __WIN32__.
17563 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17564 * gdb.base/unload.exp: Use shared library test routines.
17565
3a40aaa0
UW
175662007-07-03 Markus Deuling <deuling@de.ibm.com>
17567
17568 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17569 * gdb.base/solib-symbol-lib.c: Likewise.
17570 * gdb.base/solib-symbol-main.c: Likewise.
17571
b0f4b84b
DJ
175722007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17573
17574 * config/gdbserver.exp (gdb_reconnect): New.
17575 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17576 gdb.base/solib-disc.exp: New files.
17577 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17578 remote debugging".
17579 (gdb_compile): Add shlib_load flag.
17580 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17581 port.
17582 (gdbserver_reconnect): New.
17583
1b05479a
DJ
175842007-07-01 Nick Roberts <nickrob@snap.net.nz>
17585 Daniel Jacobowitz <dan@codesourcery.com>
17586
17587 * gdb.base/annota3.exp: Test for if construct.
17588
86f78eb2
DJ
175892007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17590
17591 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17592
6a2eb474 175932007-06-21 Chris Dearman <chris@mips.com>
a9c64011 17594 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
17595
17596 * gdb.base/display.exp: Allow a newline after display/i.
17597 * gdb.base/pc-fp.exp: Likewise.
17598 * gdb.base/sigbpt.exp: Likewise.
17599
f8b73d13
DJ
176002007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17601
17602 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17603 required features to be included.
17604
4339e69e
DJ
176052007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17606
17607 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17608 in info threads output.
17609
23d964e7
UW
176102007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17611 Markus Deuling <deuling@de.ibm.com>
17612
17613 * gdb.arch/spu-info.exp: New testcase.
17614 * gdb.arch/spu-info.c: New file.
17615
fd20f75b
DJ
176162007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17617
17618 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17619 tpcs_offset. Restore lr after the call.
17620 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17621
2226f861
DJ
176222007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17623
17624 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17625 (gdbserver_run): Kill any running gdbserver.
17626 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17627
d12371a9
MR
176282007-05-17 Maciej W. Rozycki <macro@mips.com>
17629
17630 * gdb.base/sigbpt.exp: Preset segv_addr.
17631
93f02886
DJ
176322007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17633
17634 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17635 (gdb_compile_shlib): Likewise.
17636 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17637 (default_gdb_init): Clear cleanfiles.
17638 (gdb_finish): Delete recorded cleanfiles.
17639 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17640
17641 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17642 Do not use isnative.
17643 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17644 gdb.base/so-impl-ld.exp: Likewise.
17645 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17646 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17647 gdb_compile.
17648
b04e06d7
VP
176492007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17650
17651 * config/unknown.exp: Remove.
17652
069ed931
UW
176532007-05-15 Markus Deuling <deuling@de.ibm.com>
17654
17655 * gdb.base/info-proc.exp: Check is_remote.
17656
09db0d03
UW
176572007-05-14 Markus Deuling <deuling@de.ibm.com>
17658
17659 * gdb.base/gcore.exp: Initialize variable core_supported.
17660
af2cbe8c
DJ
176612007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17662
17663 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17664
027c0295
DJ
176652007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17666
17667 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17668 * gdb.threads/print-threads.exp (test_all_threads): Allow
17669 negative and hexadecimal thread IDs.
17670
dc5000e7
DJ
176712007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17672
17673 * gdb.java/jprint.java (public): Avoid invalid call to static
17674 method.
17675
2e74ed18
DP
176762007-05-14 Denis Pilat <denis.pilat@st.com>
17677
17678 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17679 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17680 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17681 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17682 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17683
83547f02
UW
176842007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17685
17686 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 17687 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
17688 this mode.
17689 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17690 * gdb.base/spu.ld: New file.
17691
b18be20d
DJ
176922007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17693
17694 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17695
be444858
DJ
176962007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17697
17698 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17699
b1d53152
DJ
177002007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17701
17702 * gdb.java/jmain.exp: Handle demangled names with and without method
17703 signatures.
17704
d084b331
DJ
177052007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17706
17707 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17708 (have_a_very_merry_interrupt): Remove calls to puts.
17709 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17710 inferior output.
17711 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17712 test names.
17713
db9d7fc5
DJ
177142007-04-29 Markus Deuling <deuling@de.ibm.com>
17715 Daniel Jacobowitz <dan@codesourcery.com>
17716
17717 * gdb.base/auxv.exp (core_works): Also check is_remote.
17718 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17719
ef783a7d 177202007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17721
ef783a7d
VP
17722 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17723 message, not the undefined 'module' variable.
17724 * gdb.base/siginfo.exp: Likewise.
17725 * gdb.base/sigstep.exp: Likewise.
17726 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17727 serialport.
17728 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17729
b7b73cae
CV
177302007-04-25 Corinna Vinschen <vinschen@redhat.com>
17731
17732 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17733 target sim fails. Return 0 otherwise.
17734 (gdb_load): Return prematurely if gdb_target_sim fails.
17735
7d90fdfa
DP
177362007-04-16 Denis Pilat <denis.pilat@st.com>
17737
17738 * gdb.base/setshow.exp: Reset height after having set it to 100.
17739
5d3e9c85
DP
177402007-04-16 Denis Pilat <denis.pilat@st.com>
17741
17742 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17743
18e75969
DP
177442007-04-16 Denis Pilat <denis.pilat@st.com>
17745
17746 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17747
25d5ea92
VP
177482007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17749
17750 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17751 tests. Run the frozen varobjs test.
17752 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 17753 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 17754
0b49cb80
JK
177552007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17756
17757 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17758 gdb.base/type-opaque.exp: New files.
17759
a73bafbc 177602007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
17761
17762 * gdb.mi/mi-var-child.c
a73bafbc
VP
17763 (do_children_tests): User char[2] instead of
17764 char so that automatic printing of pointers to char
17765 don't give unpredicable result.
17766 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17767 local variables.
17768 * gdb.mi/mi-var-child.exp: Step to right line
17769 of do_children_tests.
17770 * gdb.mi/mi2-var-child.exp: Likewise.
17771 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 17772 do_locals_tests.
a73bafbc
VP
17773 (do_children_tests): User char[2] instead of
17774 char so that automatic printing of pointers to char
a9c64011 17775 don't give unpredicable result.
a73bafbc 17776 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17777 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
17778 Pass test name to mi_wait_for_stop.
17779
7ce59000
DJ
177802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17781
17782 * gdb.asm/asm-source.exp: Remove d10v case.
17783 * lib/gdb.exp (skip_cplus_tests): Likewise.
17784 * gdb.asm/d10v.inc: Deleted.
17785
20389057
DJ
177862007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17787
17788 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17789
8807d78b
DJ
177902007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17791
17792 * config/netware.exp: Delete file.
17793
aa3edb8e
JB
177942007-03-29 Joel Brobecker <brobecker@adacore.com>
17795
17796 * gdb.dwarf2/dw2-noloc.S: New file.
17797 * gdb.dwarf2/dw2-noloc.exp: New file.
17798
297561ac
PA
177992007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17800
17801 * gdb.cp/method2.cc: New test.
17802 * gdb.cp/method2.exp: New test.
17803 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17804
1f81bd39
DJ
178052007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17806
17807 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17808
9453113a
DJ
178092007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17810
17811 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17812
b741e217
DJ
178132007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17814
17815 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17816 (gdb_load): Delete, replace with...
17817 (gdb_reload): ...this.
17818 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17819 * gdb.server/server-mon.exp: Likewise.
17820 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17821 (gdb_start_cmd): New.
17822 (gdb_file_cmd): Save the last loaded file.
17823 (gdb_reload): New.
17824 (gdb_gnu_strip_debug): Use transform.
17825 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17826 support here. Use new $last_loaded_file. Check mtime.
17827 (gdb_target_cmd): Handle ObjC failure case.
17828 (infer_host_exec): Delete.
17829 (gdbserver_load): Rename to...
17830 (gdbserver_run): ...this. Simplify.
17831 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17832 (mi_gdb_load): Move most contents to a new function...
17833 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17834 (mi_run_cmd): Use mi_gdb_target_load.
17835 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17836 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17837 Use gdb_run_cmd.
17838 * gdb.base/charsign.exp: Remove incorrect comment.
17839 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17840 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17841 gdb.base/start.exp: Use gdb_start_cmd.
17842
446ab585 178432007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17844 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17845
17846 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17847 * gdb.base/signull.exp: Similarly.
17848
bbb88ebf
UW
178492007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17850
17851 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17852 messages available to test cases (like chng-sym.exp).
17853
cb8c4a99
AS
178542007-03-14 Andreas Schwab <schwab@suse.de>
17855
17856 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17857 format changes.
17858
4e463ff5
DJ
178592007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17860
17861 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17862 (optimized_1): New.
17863 (main): Call optimized_1.
17864 (gdb2029): Correct typos. Call gdb2029_marker.
17865 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17866 for gdb2029.
17867
b6db2c47
MK
178682007-03-12 Mark Kettenis <kettenis@gnu.org>
17869
17870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17871 as tabs. Remove redundant test pattern.
17872
70ed3737
UW
178732007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17874
17875 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17876 for /a format output.
17877
47b67b60
DJ
178782007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17879
17880 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17881 collect output incrementally.
17882
b8953b0e
UW
178832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17884
17885 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17886 for -var-create lpcharacter test.
17887 * gdb.mi/mi2-var-cmd.exp: Likewise.
17888
7acd5c40
UW
178892007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17890
17891 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17892 pass on targets where address zero is readable.
17893
9c6759c1
UW
178942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17895
17896 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17897 just a single architecture.
17898
a2f1aeb4
UW
178992007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17900
17901 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17902 (fetch_all_registers): New function, uses gdb_test_multiple and
17903 exp_continue to fetch inferior output line-by-line.
17904 Replace all uses of do_get_all_registers by fetch_all_registers.
17905
46579ac2
UW
179062007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17907
17908 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17909 in target_info.
17910
fc133f24
MS
179112007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17912
a9c64011 17913 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17914 consistancy; add a default (timeout) case.
17915
7646a51d
MS
179162007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17917
17918 * gdb.base/watchpoint.exp: Fix truncated comment.
17919
dcfff61f
MS
179202007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17921
17922 * Makefile.in: Remove spurious single-quotes from sed command.
17923
664e3ee9
DJ
179242007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17925
17926 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17927 func.
17928 * gdb.mi/mi2-var-cmd.exp: Likewise.
17929
d7cc6f2f
JB
179302007-02-27 Joel Brobecker <brobecker@adacore.com>
17931
a9c64011
AS
17932 * gdb.dwarf2/dw2-producer.S: New file.
17933 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17934
179352007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17936
17937 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17938 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17939 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17940 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17941 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17942 Revert tests to use mi_gdb_test and include value field in output
17943 of -var-create.
17944
93d42b30
DJ
179452007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17946
17947 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17948
c499ed39
DJ
179492007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17950
17951 * gdb.base/maint.exp: Remove full paths from test names.
17952 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17953 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17954
9836f81b
JB
179552007-02-27 Joel Brobecker <brobecker@adacore.com>
17956
17957 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17958
c74d0ad8
DJ
179592007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17960
17961 * gdb.server/server-mon.exp: New test.
17962
2711e456
DJ
179632007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17964
17965 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17966
ff6f572f
DJ
179672007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17968
17969 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17970 register capitalization.
17971
fada3feb
DP
179722007-02-13 Denis Pilat <denis.pilat@st.com>
17973
17974 * gdb.mi/mi-var-invalidate.exp: New file.
17975
fb1e4ffc
DJ
179762007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17977
17978 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17979
3da939d7
DJ
179802007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17981
17982 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17983
123dc839
DJ
179842007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17985
17986 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17987 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17988
877e3645 179892007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
17990
17991 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17992 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17993 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17994 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17995 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 17996 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 17997 Update tests to include value field in output of -var-create.
a9c64011 17998
3c0a2960
AS
179992007-02-08 Andreas Schwab <schwab@suse.de>
18000
18001 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18002
108546a0
DJ
180032007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18004
18005 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18006 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18007
d701dcab
DP
180082007-02-02 Denis Pilat <denis.pilat@st.com>
18009
18010 * gdb.threads/threadapply.exp: check that frame is not changed by
18011 the thread apply all command.
18012
783e3e2f
AS
180132007-01-31 Andreas Schwab <schwab@suse.de>
18014
6d9c3a87
AS
18015 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18016
3c50d7b9
AS
18017 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18018 in the dwarf sections.
18019 * gdb.dwarf2/mac-fileno.S: Likewise.
18020
783e3e2f
AS
18021 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18022 bspstore register on ia64.
18023
78ff580e
AS
180242007-01-29 Andreas Schwab <schwab@suse.de>
18025
cc8e9b12
AS
18026 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18027 "frame-begin" annotation.
18028
78ff580e
AS
18029 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18030 number of "frames-invalid" annotations.
18031
704a4f78
DJ
180322007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18033
18034 * gdb.base/commands.exp: Call if_commands_test.
18035 (gdb_test_no_prompt, if_commands_test): New.
18036
e741bf94
MK
180372007-01-28 Mark Kettenis <kettenis@gnu.org>
18038
18039 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18040
474d0ad3
AS
180412007-01-27 Andreas Schwab <schwab@suse.de>
18042
18043 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18044 .short/.int/.quad in the dwarf sections.
18045 * gdb.dwarf2/dw2-intercu.S: Likewise.
18046 * gdb.dwarf2/dw2-intermix.S: Likewise.
18047
e784b426
JK
180482007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18049
18050 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
18051 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18052 array.
e784b426
JK
18053 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18054 * gdb.base/setvar.exp: Likewise.
18055
37f08e04
AS
180562007-01-26 Andreas Schwab <schwab@suse.de>
18057
9a01813a
AS
18058 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18059 test.
18060
37f08e04
AS
18061 * gdb.base/multi-forks.exp ("restart $i"): Also match
18062 __kernel_syscall_via_break.
18063
6e2a9270
VP
180642007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18065
18066 * lib/mi-support.exp (mi_delete_varobj): New.
18067 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18068 testcase.
18069 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18070 (main): Call the above.
18071 (reference_update_test, base_in_reference_test)
18072 (reference_to_pointer): Delete the created varobjs.
a9c64011 18073
e515b470
DJ
180742007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18075
18076 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18077 * configure: Regenerated.
18078 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18079 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18080 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18081 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18082 * lib/gdb.exp (gdb_skip_xml_test): New function.
18083
08d8bcd7
DJ
180842007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18085
18086 * gdb.base/sigrepeat.exp: Correct error message.
18087
180882007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
18089 Daniel Jacobowitz <dan@codesourcery.com>
18090
18091 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18092 gdb.arch/i386-gnu-cfi-asm.S: New files.
18093
97c3f1f3
JK
180942007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18095
18096 * lib/gdb.exp: Abort on missing `site.exp'.
18097
cb1df416
DJ
180982007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18099 Daniel Jacobowitz <dan@codesourcery.com>
18100
18101 * gdb.base/included.c, gdb.base/included.exp,
18102 gdb.base/included.h: New files.
18103
35990120
DJ
181042007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18105
18106 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18107 (maximize_rlimit): Reduce limits on 64-bit systems.
18108
6e81a116 181092007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
18110
18111 From Marcus Deuling <deuling@de.ibm.com>:
18112 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18113 every case.
18114
6c3c41f3
NR
181152007-01-13 Nick Roberts <nickrob@snap.net.nz>
18116
18117 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18118 (test_path_specification): Use objdir instead of srcdir to always
18119 get an absolute filename.
18120
2f12c312
DJ
181212007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18122
18123 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18124
81121995
VP
181252007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18126
18127 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18128 Make sure the variable we're using is in scope.
18129 (reference_to_pointer): Likewise.
18130
4741b737
DJ
181312007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18132
18133 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18134 has no debug information.
18135
054410c3
DJ
181362007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18137
18138 * gdb.base/annota1.exp: Remove extra send_gdb.
18139
818f79f6
DJ
181402007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18141
18142 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18143
f7a6bb70
DJ
181442007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18145
18146 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18147
57e66780
DJ
181482007-01-08 Nick Roberts <nickrob@snap.net.nz>
18149 Daniel Jacobowitz <dan@codesourcery.com>
18150
18151 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18152 lcharacter or linteger change. Correct duplicated test name.
18153 * gdb.mi/mi2-var-cmd.exp: Likewise.
18154
3d799a95
DJ
181552007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18156
18157 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18158
181592007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 18160
a9c64011
AS
18161 * gdb.base/nofield.c: New file.
18162 * gdb.base/nofield.exp: New testcase.
51679ba9 18163
eafb94e8
NR
181642007-01-05 Nick Roberts <nickrob@snap.net.nz>
18165
18166 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18167
18168 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18169 test.
18170
5e572bb4
DJ
181712007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18172
18173 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18174
74a44383
DJ
181752007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18176
18177 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18178 when continuing.
18179
1b572db9
DJ
181802007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18181
18182 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18183 Expect ".exe" extension.
18184
381bc39b
DJ
181852007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18186
18187 * gdb.base/charset.exp: Add explicit filename to break.
18188 * gdb.base/dbx.exp: Add explicit filename to breaks.
18189
2b70e4c6
DJ
181902007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18191
18192 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18193 * gdb.mi/mi2-file.exp: Likewise.
18194
303b6f5d
DJ
181952007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18196
18197 Implement specification of MI tests as comments
18198 in C and C++ sources.
18199 * lib/mi-support.exp (mi_autotest_data): New variable.
18200 (mi_autotest_source): New variable.
18201 (count_newlines, mi_prepare_inline_tests)
18202 (mi_get_inline_test, mi_continue_to_line)
18203 (mi_run_inline_test, mi_tbreak)
18204 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18205 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18206 Run inline tests.
18207 * gdb.mi/mi-var-cp.cc: Define tests here.
18208
23da0d94
VP
182092007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18210
18211 Simplify usage of mi_continue_to.
18212 * lib/mi-support.exp (mi_runto_helper): Renamed
18213 from mi_runto, added new parameter 'run_or_continue'.
18214 (mi_runto): Use mi_runto_helper.
18215 (mi_continue_to): Accept just function name as parameter.
18216 Use mi_runto_helper.
18217 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18218 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18219
f9e18282
JB
182202006-01-04 Joel Brobecker <brobecker@adacore.com>
18221
18222 Make this testcase a bit more realistic. The current code
18223 is too simplistic, and allows the compiler to optimize out
18224 some of the entities we need for this testcase.
18225 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18226 (Do_Nothing): Add extra parameter.
18227 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18228 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18229 by using a variable of type Void_Star.
18230
fd678c65
JB
182312006-01-04 Joel Brobecker <brobecker@adacore.com>
18232
18233 * gdb.ada/catch_ex/foo.adb: New file.
18234 * gdb.ada/catch_ex.exp: New testcase.
18235
05cfdb42
DJ
182362007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18237
18238 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18239 pass --image-base to linker.
18240
2e03ee74
DJ
182412007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18242 Daniel Jacobowitz <dan@codesourcery.com>
18243
18244 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18245 secondary prompts.
18246
0d5de010
DJ
182472007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18248
18249 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18250 output. Test the types of members and member pointers.
18251 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18252 gdb/2092.
18253 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18254 statement. Enable for GCC. Update expected output for some tests
18255 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18256 layout.
18257 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18258 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18259 (Diamond::vget_base): New.
18260 (main): Add new tests.
18261 * gdb.cp/printmethod.exp: Update expected output for member functions.
18262 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18263 print pEe->D::vg().
18264
61a771aa
DJ
182652007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18266
18267 * gdb.threads/tls.exp: Allow stops in sem_post.
18268
2fa63963
DJ
182692006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18270
18271 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18272 * gdb.base/annota3.exp: Likewise.
18273 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18274 again (instead of timing out).
18275 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18276 GCC bug 26475.
18277 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18278 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18279 test from jmisc1.exp.
18280 * gdb.java/jmisc1.exp: Delete.
18281 * gdb.java/jprint.exp: Adjust to work with method signatures including
18282 return types.
18283 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18284 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18285 * lib/java.exp (compile_java_from_source): Pass the correct type
18286 to target_compile.
18287
5eefc2b7
JB
182882006-12-31 Joel Brobecker <brobecker@adacore.com>
18289
18290 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18291 (stack_align_edx): New function.
18292 (stack_align_eax): New function.
18293 (main): Add calls to stack_align_edx and stack_align_eax.
18294 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18295 Add testing for the cases where the register used during a stack
18296 realignment is edx. Same for eax.
18297
227c54da
DJ
182982006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18299
18300 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18301 and generic PE targets.
18302
cab8ac94
JB
183032006-12-29 Joel Brobecker <brobecker@adacore.com>
18304
18305 * gdb.ada/array_return.exp: Update copyright date list.
18306
ba54f318
JB
183072006-12-27 Joel Brobecker <brobecker@adacore.com>
18308
18309 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18310 (Create_Small_Float_Vector): New function.
18311 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18312 function body.
18313 * gdb.ada/array_return/p.adb: Use new type and function from
18314 package Pck.
18315 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18316 able to print the value returned by a function returning an
18317 array of float.
18318
6b7a35dd
JB
183192006-12-20 Joel Brobecker <brobecker@adacore.com>
18320
18321 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18322 The associated tests should be PASSing.
18323
038224f6
VP
183242006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18325
18326 Test for base in references.
18327 * gdb.mi/mi-var-cp.cc: Add test code.
18328 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18329 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18330 * gdb.mi/mi2-watch.exp: Likewise.
18331 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18332 (mi_list_varobj_children): New function.
18333
b26ed50d
VP
183342006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18335
18336 * lib/mi-support.exp
18337 (mi_runto): Accept "()" after function name.
18338 (mi_create_varobj): New function.
18339 (mi_varobj_update): New function.
18340 (mi_Check_varobj_value): New function.
18341 * gdb.mi/mi-var-cp.exp: New file.
18342 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 18343
08232497
DJ
183442006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18345
18346 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18347 gdb.base/weaklib2.c: New files.
18348
d394c993 183492006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 18350
ac6c2fba
NS
18351 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18352 info. Adjust test names.
18353
8ec659a0 18354 * gdb.base/break.c (main): Move position of malloc.
d394c993 18355 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 18356
acd65feb
VP
183572006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18358
18359 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18360 assignement of arrays and function pointers.
18361 * gdb.mi/var-cmd.c: Add declaration necessary for above
18362 tests.
18363
f556d5e5
NS
183642006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18365
18366 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
18367
18368 * gdb.threads/linux-dp.exp: Read thread table before and after
18369 creating each philosopher and verify it.
18370
697bc68d
NS
183712006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18372 Paul Brook <paul@codesourcery.com>
18373 Daniel Jacobowitz <dan@codesourcery.com>
18374
18375 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 18376 main to remove duplication. Add start function of the form
697bc68d
NS
18377 '_*start[1-9]*'. Add RVDS start function.
18378
29d73ae4
DJ
183792006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18380
18381 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18382
c1d88655
UW
183832006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18384
18385 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18386 * gdb.asm/spu.inc: New file.
18387 * gdb.base/term.exp: Disable if [target_info exists noargs].
18388 * gdb.gdb/complaints.exp: Disable if ![isnative].
18389 * gdb.gdb/selftest.exp: Likewise.
18390 * gdb.gdb/observer.exp: Likewise.
18391 * gdb.gdb/xfullpath.exp: Likewise.
18392 * gdb.base/attach.exp: Disable on SPU target.
18393 * gdb.cp/bs145503.exp: Likewise.
18394 * gdb.cp/exception.exp: Likewise.
18395 * gdb.cp/userdef.exp: Likewise.
18396
32a13b1a
DJ
183972006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18398
18399 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18400
d8295fe9
VP
184012006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18402
18403 * gdb.base/completion.exp: Fix completion tests for
18404 'info' and 'info '.
18405 * gdb.base/help.exp (help_test_raw, test_class_help)
18406 (test_prefix_command_help): Move...
18407 * lib/gdb.exp: Here.
18408 * gdb.base/main.exp: Adjust.
18409 * gdb.cp/maint.exp: Adjust.
18410 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 18411
8c394015
VP
184122006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18413
18414 * gdb.stabs/weird.exp (print_weird_var): Use
18415 gdb_test_multiple instead of gdb_expect.
18416
027fc1bc
VP
184172006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18418
18419 * gdb.base/help.exp (help_test_raw): New.
18420 (test_class_help): New.
18421 (test_prefix_command_help): New.
18422 Adjust testcases.
18423
67609209
FR
184242006-11-09 Christophe Lyon <christophe.lyon@st.com>
18425
18426 * gdb.base/constvars.c (main): Write to crass and crips, so that
18427 they are allocated by the compiler.
18428
f73adfeb
AS
184292006-10-27 Andreas Schwab <schwab@suse.de>
18430
18431 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18432 "detach-fork".
18433
2f83a18e
DJ
184342006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18435
18436 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18437 of patterns.
18438
94277a38
DJ
184392006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18440
18441 * gdb.base/sepdebug.exp: Remove debug format test.
18442 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18443 Handle no-symtab.
18444 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18445
5bd2f6e2
DJ
184462006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18447
18448 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18449 int to pointer or pointer to int.
18450 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18451
8c008720
DJ
184522006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18453
18454 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18455
9e35dae4
DJ
184562006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18457
18458 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18459
d9639e13
DJ
184602006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18461
18462 PR c++/2116
18463 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18464
390a1bd0
JB
184652006-10-06 Joel Brobecker <brobecker@adacore.com>
18466
18467 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18468 the corresponding bug has been fixed in GDB (PR/2018).
18469
dd920c33
JB
184702006-10-06 Joel Brobecker <brobecker@adacore.com>
18471
18472 * gdb.base/subst.exp: New testcase.
18473
53bbefe9
JB
184742006-10-06 Joel Brobecker <brobecker@adacore.com>
18475
18476 * gdb.ada/array_return/pck.ads: Add copyright notice.
18477 * gdb.ada/array_return/pck.adb: Likewise.
18478 * gdb.ada/array_return/p.adb: Likewise.
18479 * gdb.ada/exec_changed/first.adb: Likewise.
18480 * gdb.ada/exec_changed/second.adb: Likewise.
18481
09851417
JB
184822006-10-06 Joel Brobecker <brobecker@adacore.com>
18483
18484 * gdb.ada/watch_arg/watch.adb: New file.
18485 * gdb.ada/watch_arg.exp: New testcase.
18486
041bf30d
VP
184872006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18488
18489 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 18490 via string_to_regexp.
041bf30d 18491 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 18492
f286fbdd 184932006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
18494
18495 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18496 Remove unused / obsolete files.
18497
7c07f349
NR
184982006-09-19 Nick Roberts <nickrob@snap.net.nz>
18499
18500 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18501
cd5ff84a
VP
185022006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18503
18504 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18505 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 18506 the number of frames.
cd5ff84a 18507
ae018d1a
DJ
185082006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18509
18510 * gdb.base/args.c (main): Add breakpoint marker.
18511 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18512 really test empty arguments.
18513 (args_load): Delete.
18514 (args_test): New.
18515
b399c549
NR
185162006-09-13 Nick Roberts <nickrob@snap.net.nz>
18517
18518 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 18519 check for one file.
b399c549 18520
2ab1eb7a
VP
185212006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18522
18523 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18524 HIGH_FRAME argument to -stack-list-locals can be larger than
18525 the number of frames.
a9c64011 18526
476308bf
FF
185272006-08-18 Fred Fish <fnf@specifix.com>
18528
18529 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18530 '$' in front of skip_vmx_tests_saved when setting that.
18531
8625200f
AS
185322006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18533
18534 * gdb.base/trace-commands.exp: New file.
18535
089ec8f1
DJ
185362006-08-10 Joel Brobecker <brobecker@adacore.com>
18537 Daniel Jacobowitz <dan@codesourcery.com>
18538
18539 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18540 expected output of the backtrace commands.
18541
b60f0898
JB
185422006-08-09 Joel Brobecker <brobecker@adacore.com>
18543
18544 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18545 untested followed by return combination.
18546 * gdb.arch/altivec-regs.exp: Likewise.
18547 * gdb.arch/e500-abi.exp: Likewise.
18548 * gdb.arch/e500-regs.exp: Likewise.
18549 * gdb.arch/gdb1291.exp: Likewise.
18550 * gdb.arch/gdb1431.exp: Likewise.
18551 * gdb.arch/gdb1558.exp: Likewise.
18552 * gdb.arch/i386-prologue.exp: Likewise.
18553 * gdb.arch/i386-unwind.exp: Likewise.
18554 * gdb.asm/asm-source.exp: Likewise.
18555 * gdb.base/a2-run.exp: Likewise.
18556 * gdb.base/advance.exp: Likewise.
18557 * gdb.base/all-bin.exp: Likewise.
18558 * gdb.base/annota1.exp: Likewise.
18559 * gdb.base/annota3.exp: Likewise.
18560 * gdb.base/args.exp: Likewise.
18561 * gdb.base/arithmet.exp: Likewise.
18562 * gdb.base/assign.exp: Likewise.
18563 * gdb.base/async.exp: Likewise.
18564 * gdb.base/attach.exp: Likewise.
18565 * gdb.base/bang.exp: Likewise.
18566 * gdb.base/bigcore.exp: Likewise.
18567 * gdb.base/bitfields.exp: Likewise.
18568 * gdb.base/bitfields2.exp: Likewise.
18569 * gdb.base/break.exp: Likewise.
18570 * gdb.base/call-sc.exp: Likewise.
18571 * gdb.base/call-strs.exp: Likewise.
18572 * gdb.base/callfuncs.exp: Likewise.
18573 * gdb.base/checkpoint.exp: Likewise.
18574 * gdb.base/chng-syms.exp: Likewise.
18575 * gdb.base/code-expr.exp: Likewise.
18576 * gdb.base/commands.exp: Likewise.
18577 * gdb.base/completion.exp: Likewise.
18578 * gdb.base/cond-expr.exp: Likewise.
18579 * gdb.base/condbreak.exp: Likewise.
18580 * gdb.base/consecutive.exp: Likewise.
18581 * gdb.base/constvars.exp: Likewise.
18582 * gdb.base/corefile.exp: Likewise.
18583 * gdb.base/cvexpr.exp: Likewise.
18584 * gdb.base/dbx.exp: Likewise.
18585 * gdb.base/define.exp: Likewise.
18586 * gdb.base/detach.exp: Likewise.
18587 * gdb.base/display.exp: Likewise.
18588 * gdb.base/dump.exp: Likewise.
18589 * gdb.base/ena-dis-br.exp: Likewise.
18590 * gdb.base/ending-run.exp: Likewise.
18591 * gdb.base/environ.exp: Likewise.
18592 * gdb.base/eval-skip.exp: Likewise.
18593 * gdb.base/exprs.exp: Likewise.
18594 * gdb.base/fileio.exp: Likewise.
18595 * gdb.base/finish.exp: Likewise.
18596 * gdb.base/float.exp: Likewise.
18597 * gdb.base/foll-exec.exp: Likewise.
18598 * gdb.base/foll-fork.exp: Likewise.
18599 * gdb.base/foll-vfork.exp: Likewise.
18600 * gdb.base/freebpcmd.exp: Likewise.
18601 * gdb.base/funcargs.exp: Likewise.
18602 * gdb.base/gcore.exp: Likewise.
18603 * gdb.base/gdb1090.exp: Likewise.
18604 * gdb.base/gdb1250.exp: Likewise.
18605 * gdb.base/huge.exp: Likewise.
18606 * gdb.base/info-proc.exp: Likewise.
18607 * gdb.base/interrupt.exp: Likewise.
18608 * gdb.base/jump.exp: Likewise.
18609 * gdb.base/langs.exp: Likewise.
18610 * gdb.base/lineinc.exp: Likewise.
18611 * gdb.base/list.exp: Likewise.
18612 * gdb.base/logical.exp: Likewise.
18613 * gdb.base/long_long.exp: Likewise.
18614 * gdb.base/macscp.exp: Likewise.
18615 * gdb.base/maint.exp: Likewise.
18616 * gdb.base/mips_pro.exp: Likewise.
18617 * gdb.base/miscexprs.exp: Likewise.
18618 * gdb.base/multi-forks.exp: Likewise.
18619 * gdb.base/opaque.exp: Likewise.
18620 * gdb.base/overlays.exp: Likewise.
18621 * gdb.base/pc-fp.exp: Likewise.
18622 * gdb.base/pointers.exp: Likewise.
18623 * gdb.base/printcmds.exp: Likewise.
18624 * gdb.base/psymtab.exp: Likewise.
18625 * gdb.base/ptype.exp: Likewise.
18626 * gdb.base/recurse.exp: Likewise.
18627 * gdb.base/relational.exp: Likewise.
18628 * gdb.base/relocate.exp: Likewise.
18629 * gdb.base/remote.exp: Likewise.
18630 * gdb.base/reread.exp: Likewise.
18631 * gdb.base/restore.exp: Likewise.
18632 * gdb.base/return.exp: Likewise.
18633 * gdb.base/return2.exp: Likewise.
18634 * gdb.base/scope.exp: Likewise.
18635 * gdb.base/sect-cmd.exp: Likewise.
18636 * gdb.base/sep.exp: Likewise.
18637 * gdb.base/sepdebug.exp: Likewise.
18638 * gdb.base/setshow.exp: Likewise.
18639 * gdb.base/setvar.exp: Likewise.
18640 * gdb.base/sigall.exp: Likewise.
18641 * gdb.base/sigbpt.exp: Likewise.
18642 * gdb.base/signals.exp: Likewise.
18643 * gdb.base/signull.exp: Likewise.
18644 * gdb.base/sizeof.exp: Likewise.
18645 * gdb.base/solib.exp: Likewise.
18646 * gdb.base/step-line.exp: Likewise.
18647 * gdb.base/step-test.exp: Likewise.
18648 * gdb.base/structs.exp: Likewise.
18649 * gdb.base/structs2.exp: Likewise.
18650 * gdb.base/term.exp: Likewise.
18651 * gdb.base/twice.exp: Likewise.
18652 * gdb.base/until.exp: Likewise.
18653 * gdb.base/varargs.exp: Likewise.
18654 * gdb.base/volatile.exp: Likewise.
18655 * gdb.base/watchpoint.exp: Likewise.
18656 * gdb.base/whatis-exp.exp: Likewise.
18657 * gdb.base/whatis.exp: Likewise.
18658 * gdb.cp/ambiguous.exp: Likewise.
18659 * gdb.cp/annota2.exp: Likewise.
18660 * gdb.cp/annota3.exp: Likewise.
18661 * gdb.cp/bool.exp: Likewise.
18662 * gdb.cp/breakpoint.exp: Likewise.
18663 * gdb.cp/casts.exp: Likewise.
18664 * gdb.cp/class2.exp: Likewise.
18665 * gdb.cp/classes.exp: Likewise.
18666 * gdb.cp/cplusfuncs.exp: Likewise.
18667 * gdb.cp/ctti.exp: Likewise.
18668 * gdb.cp/derivation.exp: Likewise.
18669 * gdb.cp/exception.exp: Likewise.
18670 * gdb.cp/gdb1355.exp: Likewise.
18671 * gdb.cp/hang.exp: Likewise.
18672 * gdb.cp/inherit.exp: Likewise.
18673 * gdb.cp/local.exp: Likewise.
18674 * gdb.cp/m-data.exp: Likewise.
18675 * gdb.cp/m-static.exp: Likewise.
18676 * gdb.cp/member-ptr.exp: Likewise.
18677 * gdb.cp/method.exp: Likewise.
18678 * gdb.cp/misc.exp: Likewise.
18679 * gdb.cp/namespace.exp: Likewise.
18680 * gdb.cp/overload.exp: Likewise.
18681 * gdb.cp/ovldbreak.exp: Likewise.
18682 * gdb.cp/pr-1023.exp: Likewise.
18683 * gdb.cp/pr-1210.exp: Likewise.
18684 * gdb.cp/pr-574.exp: Likewise.
18685 * gdb.cp/printmethod.exp: Likewise.
18686 * gdb.cp/psmang.exp: Likewise.
18687 * gdb.cp/ref-params.exp: Likewise.
18688 * gdb.cp/ref-types.exp: Likewise.
18689 * gdb.cp/rtti.exp: Likewise.
18690 * gdb.cp/templates.exp: Likewise.
18691 * gdb.cp/try_catch.exp: Likewise.
18692 * gdb.cp/userdef.exp: Likewise.
18693 * gdb.cp/virtfunc.exp: Likewise.
18694 * gdb.disasm/am33.exp: Likewise.
18695 * gdb.disasm/h8300s.exp: Likewise.
18696 * gdb.disasm/mn10300.exp: Likewise.
18697 * gdb.disasm/sh3.exp: Likewise.
18698 * gdb.disasm/t01_mov.exp: Likewise.
18699 * gdb.disasm/t02_mova.exp: Likewise.
18700 * gdb.disasm/t03_add.exp: Likewise.
18701 * gdb.disasm/t04_sub.exp: Likewise.
18702 * gdb.disasm/t05_cmp.exp: Likewise.
18703 * gdb.disasm/t06_ari2.exp: Likewise.
18704 * gdb.disasm/t07_ari3.exp: Likewise.
18705 * gdb.disasm/t08_or.exp: Likewise.
18706 * gdb.disasm/t09_xor.exp: Likewise.
18707 * gdb.disasm/t10_and.exp: Likewise.
18708 * gdb.disasm/t11_logs.exp: Likewise.
18709 * gdb.disasm/t12_bit.exp: Likewise.
18710 * gdb.disasm/t13_otr.exp: Likewise.
18711 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18712 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18713 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18714 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18715 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18716 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18717 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18718 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18719 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18720 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18721 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18722 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18723 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18724 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18725 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18726 * gdb.mi/gdb701.exp: Likewise.
18727 * gdb.mi/gdb792.exp: Likewise.
18728 * gdb.mi/mi-basics.exp: Likewise.
18729 * gdb.mi/mi-break.exp: Likewise.
18730 * gdb.mi/mi-cli.exp: Likewise.
18731 * gdb.mi/mi-console.exp: Likewise.
18732 * gdb.mi/mi-disassemble.exp: Likewise.
18733 * gdb.mi/mi-eval.exp: Likewise.
18734 * gdb.mi/mi-file.exp: Likewise.
18735 * gdb.mi/mi-read-memory.exp: Likewise.
18736 * gdb.mi/mi-regs.exp: Likewise.
18737 * gdb.mi/mi-return.exp: Likewise.
18738 * gdb.mi/mi-simplerun.exp: Likewise.
18739 * gdb.mi/mi-stack.exp: Likewise.
18740 * gdb.mi/mi-stepi.exp: Likewise.
18741 * gdb.mi/mi-syn-frame.exp: Likewise.
18742 * gdb.mi/mi-until.exp: Likewise.
18743 * gdb.mi/mi-var-block.exp: Likewise.
18744 * gdb.mi/mi-var-child.exp: Likewise.
18745 * gdb.mi/mi-var-cmd.exp: Likewise.
18746 * gdb.mi/mi-var-display.exp: Likewise.
18747 * gdb.mi/mi-watch.exp: Likewise.
18748 * gdb.mi/mi2-basics.exp: Likewise.
18749 * gdb.mi/mi2-break.exp: Likewise.
18750 * gdb.mi/mi2-cli.exp: Likewise.
18751 * gdb.mi/mi2-console.exp: Likewise.
18752 * gdb.mi/mi2-disassemble.exp: Likewise.
18753 * gdb.mi/mi2-eval.exp: Likewise.
18754 * gdb.mi/mi2-file.exp: Likewise.
18755 * gdb.mi/mi2-read-memory.exp: Likewise.
18756 * gdb.mi/mi2-regs.exp: Likewise.
18757 * gdb.mi/mi2-return.exp: Likewise.
18758 * gdb.mi/mi2-simplerun.exp: Likewise.
18759 * gdb.mi/mi2-stack.exp: Likewise.
18760 * gdb.mi/mi2-stepi.exp: Likewise.
18761 * gdb.mi/mi2-syn-frame.exp: Likewise.
18762 * gdb.mi/mi2-until.exp: Likewise.
18763 * gdb.mi/mi2-var-block.exp: Likewise.
18764 * gdb.mi/mi2-var-child.exp: Likewise.
18765 * gdb.mi/mi2-var-cmd.exp: Likewise.
18766 * gdb.mi/mi2-var-display.exp: Likewise.
18767 * gdb.mi/mi2-watch.exp: Likewise.
18768 * gdb.stabs/exclfwd.exp: Likewise.
18769 * gdb.stabs/weird.exp: Likewise.
18770 * gdb.threads/gcore-thread.exp: Likewise.
18771 * gdb.trace/actions.exp: Likewise.
18772 * gdb.trace/backtrace.exp: Likewise.
18773 * gdb.trace/circ.exp: Likewise.
18774 * gdb.trace/collection.exp: Likewise.
18775 * gdb.trace/deltrace.exp: Likewise.
18776 * gdb.trace/infotrace.exp: Likewise.
18777 * gdb.trace/limits.exp: Likewise.
18778 * gdb.trace/packetlen.exp: Likewise.
18779 * gdb.trace/passc-dyn.exp: Likewise.
18780 * gdb.trace/passcount.exp: Likewise.
18781 * gdb.trace/report.exp: Likewise.
18782 * gdb.trace/save-trace.exp: Likewise.
18783 * gdb.trace/tfind.exp: Likewise.
18784 * gdb.trace/tracecmd.exp: Likewise.
18785 * gdb.trace/while-dyn.exp: Likewise.
18786 * gdb.trace/while-stepping.exp: Likewise.
18787
f4b618d1
JB
187882006-08-08 Joel Brobecker <brobecker@adacore.com>
18789
18790 * gdb.base/step-bt.c: New file.
18791 * gdb.base/step-bt.exp: New testcase.
18792
3d00d119
DJ
187932006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18794
18795 * config/monitor.exp (gdb_load): Remove support for obsolete
18796 download-write-size.
18797 * gdb.base/remote.exp: Likewise. Update all callers of
18798 gdb_timed_load.
18799
017b5bd4
DJ
188002006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18801
18802 * cursal.exp: Pass binfile to gdb_load.
18803
837c599d
DJ
188042006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18805
18806 * gdb.base/cursal.exp: Add "" to gdb_load call.
18807
8dd4540b
MK
188082006-07-29 Mark Kettenis <kettenis@gnu.org>
18809
18810 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18811 NetBSD/ELF targets.
18812
ab5c9f60
DJ
188132006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18814
18815 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18816 operator*.
18817
4c42eaff
DJ
188182006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18819
18820 * gdb.base/completion.exp: Update for change in "file" behavior.
18821 * gdb.stabs/weird.exp: Likewise.
18822 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18823 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18824
0155cc76
NS
188252006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18826
18827 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18828 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18829
16026cd7
AS
188302006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18831
18832 * gdb.base/default.exp: Update source command error message.
18833 * gdb.base/help.exp: Update 'help source' message.
18834
16963cb6
DJ
188352006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18836
18837 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18838 test.
18839
6d7fd486
AS
188402006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18841
18842 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18843
29e8a844
DJ
188442006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18845
18846 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18847
6afcfa39
DJ
188482006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18849
18850 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18851
267a692b
MK
188522006-07-17 Mark Kettenis <kettenis@gnu.org>
18853
18854 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18855 *-*-openbsd* from targets for wich we expect ARM FPA floating
18856 point format.
18857
85d2fec4
NR
188582006-07-17 Nick Roberts <nickrob@snap.net.nz>
18859
18860 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18861
188622006-07-17 Mark Kettenis <kettenis@gnu.org>
18863
18864 * gdb.base/annota3.exp: Expect frame-begin annotation.
18865
85b4c6e8
JB
188662006-07-14 Joel Brobecker <brobecker@adacore.com>
18867
18868 * gdb.base/help.exp: Adjust "help unset" test to accept
18869 any list of unset commands.
18870
fb933624
DJ
188712006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18872 Daniel Jacobowitz <dan@codesourcery.com>
18873
18874 * gdb.cp/ref-params.exp: New test.
18875 * gdb.cp/ref-params.cc: New source file.
18876 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18877
1dff4b64
MK
188782006-07-08 Mark Kettenis <kettenis@gnu.org>
18879
18880 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18881 spaces/tabs in regular expressions since they might not be there.
18882
40d2e0e3
AS
188832006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18884
18885 * gdb.base/ifelse.exp: New file.
18886
f6c957d2
NS
188872006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18888
18889 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18890 line.
18891 * gdb.base/huge.exp: Loop over compilation to find a size that
18892 is acceptable.
18893 * gdb.base/remote.exp: Correct expected strings.
18894 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18895
b9c5a23d
DJ
188962006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18897
18898 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18899
9af2e58d
DJ
189002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18901
18902 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18903 native.
18904
30930ca5
DJ
189052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18906
18907 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18908 enable stabs testing.
18909
aa32fa1d
DJ
189102006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18911
bd4a4c80 18912 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18913 gdb_test_multiple does.
18914
321fef15
DJ
189152006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18916
18917 * Makefile.in (host_alias): Remove.
18918 (target_alias): Use @target_noncanonical@.
18919 (site.exp): Don't set host_alias.
18920 * aclocal.m4: Remove contents. Include acx.m4.
18921 * configure: Regenerated.
18922 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18923
e1c2defa
NS
189242006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18925
e63b55d1
NS
18926 * lib/gdb.exp (gdb_load_cmd): New.
18927
5600ea19
NS
18928 * gdb.base/fileio.c: Add system(NULL) test.
18929 * gdb.base/fileio.exp: Check it.
18930
e1c2defa
NS
18931 * gdb.base/break.c: Add 10a breakpoint at }
18932 * gdb.base/break.exp: Add test for breakpoint at }
18933 * gdb.cp/anon-union.cc: Add code at end of function.
18934 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18935 * gdb.mi/var-cmd.c: Add code at end of function.
18936 * gdb.mi/mi-var-display.exp: Adjust end of next.
18937 * gdb.mi/mi2-var-display.exp: Likewise.
18938 * gdb.base/fileio.c: Add stop function and insert calls at
18939 stopping places.
18940 * gdb.base/fileio.exp: Breakpoint stop function and remove
18941 explicit line number references.
18942
6c0112ec
JB
189432006-05-19 Joel Brobecker <brobecker@adacore.com>
18944
a9c64011
AS
18945 * gdb.base/del.exp (test_delete_alias): New function.
18946 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18947
154189a4
FF
189482006-05-18 Fred Fish <fnf@specifix.com>
18949
18950 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18951 required. Check for spurious output after program exits normally.
18952
582e64c2
FF
189532006-05-17 Fred Fish <fnf@specifix.com>
18954
18955 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18956 gdb_load, so it works in the simulator.
18957
8ef6493a
FF
189582006-05-11 Fred Fish <fnf@specifix.com>
18959
18960 * gdb.base/bang.exp: Ignore unexpected output between the
18961 "program exited normally" and the gdb prompt, as many other
18962 tests do.
18963
692b141c
MK
189642006-05-07 Mark Kettenis <kettenis@gnu.org>
18965
18966 * gdb.base/help.exp: Make "delete checkpoint" part option for
18967 "help d" and "help delete" tests.
18968
540b8a30
UW
189692006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18970
a9c64011 18971 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18972 expected output in some mi_gdb_test statements.
18973 * gdb.mi/mi2-basics.exp: Likewise.
18974
9b6462d9
JB
189752006-05-05 Joel Brobecker <brobecker@adacore.com>
18976
18977 * gdb.base/del.c: New file.
18978 * gdb.base/del.exp: New testcase.
18979
954de43b
DM
189802006-05-05 David S. Miller <davem@sunset.davemloft.net>
18981
18982 * gdb.base/break.exp: Do not assume a breakpoint on
18983 main will actually be in $srcfile when optimizing.
1303f75e
DM
18984 * gdb.base/savedregs.exp: Do not require that the dummy
18985 frame location match up to a symbol and source file location.
c3242428
DM
18986 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18987 will get printed without a mi_cmd_data_list_register_values prefix.
18988 (*-data-list-register-*): Correct regular expressions to expect the new
18989 pseudo d? floating point registers.
18990 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 18991
c7e64c9a
DJ
189922006-05-05 Christophe Lyon <christophe.lyon@st.com>
18993
18994 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18995 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18996 is allocated by the compiler.
18997 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18998 anons, e, anone to force their allocation by the compiler.
18999
190002006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
19001
19002 * gdb.base/help.exp: Update expected text for help d and
19003 help delete.
19004
27ce9a6d
MK
190052006-05-02 Mark Kettenis <kettenis@gnu.org>
19006
19007 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19008 NetBSD/ELF targets.
19009
8608915f
MK
190102006-04-30 Mark Kettenis <kettenis@gnu.org>
19011
19012 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19013 single-step breakpoint fails; make this a KFAIL on
19014 sparc*-*-openbsd*.
19015 * gdb.base/siginfo.exp: Likewise.
19016 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19017
b8db102d
MS
190182006-04-26 Michael Snyder <msnyder@redhat.com>
19019
19020 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19021 which may have to consume output from other forks.
19022 Add tests to make sure that "delete fork" succeeded.
19023
c702009a
MS
190242006-04-20 Michael Snyder <msnyder@redhat.com>
19025
19026 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19027 Add support for the Renesas M32C and M16C.
19028
19029 * gdb.asm/asm-source.exp: Add m32c target.
19030 * gdb.asm/m32c.inc: Support for m32c target.
19031
e28493f2
AS
190322006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19033
19034 * gdb.base/commands.exp (recursive_source_test): New test.
19035
880da185
DM
190362006-04-04 David S. Miller <davem@sunset.davemloft.net>
19037
19038 * gdb.base/float.exp: Add pattern for sparc targets.
19039
61d9b92f
DJ
190402006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19041
19042 * gdb.base/commands.exp (stray_arg0_test): New test.
19043
bd717df8
PB
190442006-03-30 Paul Brook <paul@codesourcery.com>
19045
19046 * gdb.mi/mi-until.exp: kfail broken until command.
19047 * gdb.mi/mi2-until.exp: Ditto.
19048
ec793d3c
NR
190492006-03-27 Nick Roberts <nickrob@snap.net.nz>
19050
19051 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19052
831004b7
AO
190532006-03-08 Alexandre Oliva <aoliva@redhat.com>
19054
19055 * gdb.base/prelink.exp: Anchor tested-for regular expression
19056 on gdb prompt.
19057
effe49a0
PB
190582006-03-07 Paul Brook <paul@codesourcery.com>
19059
19060 * gdb.base/assign.exp: Correct fail message.
19061
e5461016
PB
190622006-03-07 Paul Brook <paul@codesourcery.com>
19063
19064 * lib/compiler.c: Extract armcc version number.
19065 * lib/compiler.cc: Ditto.
19066
fc91c6c2
PB
190672006-03-07 Paul Brook <paul@codesourcery.com>
19068
19069 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19070 additional_flags=-w.
19071 * gdb.arch/altivec-regs.exp: Ditto.
19072 * gdb.arch/e500-abi.exp: Ditto.
19073 * gdb.arch/e500-regs.exp: Ditto.
19074 * gdb.base/all-bin.exp: Ditto.
19075 * gdb.base/annota1.exp: Ditto.
19076 * gdb.base/annota3.exp: Ditto.
19077 * gdb.base/args.exp: Ditto.
19078 * gdb.base/arithmet.exp: Ditto.
19079 * gdb.base/assign.exp: Ditto.
19080 * gdb.base/async.exp: Ditto.
19081 * gdb.base/bang.exp: Ditto.
19082 * gdb.base/break.exp: Ditto.
19083 * gdb.base/call-rt-st.exp: Ditto.
19084 * gdb.base/completion.exp: Ditto.
19085 * gdb.base/cond-expr.exp: Ditto.
19086 * gdb.base/condbreak.exp: Ditto.
19087 * gdb.base/consecutive.exp: Ditto.
19088 * gdb.base/define.exp: Ditto.
19089 * gdb.base/display.exp: Ditto.
19090 * gdb.base/ena-dis-br.exp: Ditto.
19091 * gdb.base/environ.exp: Ditto.
19092 * gdb.base/eval-skip.exp: Ditto.
19093 * gdb.base/info-proc.exp: Ditto.
19094 * gdb.base/jump.exp: Ditto.
19095 * gdb.base/logical.exp: Ditto.
19096 * gdb.base/long_long.exp: Ditto.
19097 * gdb.base/maint.exp: Ditto.
19098 * gdb.base/miscexprs.exp: Ditto.
19099 * gdb.base/pc-fp.exp: Ditto.
19100 * gdb.base/pointers.exp: Ditto.
19101 * gdb.base/relational.exp: Ditto.
19102 * gdb.base/reread.exp: Ditto.
19103 * gdb.base/sect-cmd.exp: Ditto.
19104 * gdb.base/sep.exp: Ditto.
19105 * gdb.base/sepdebug.exp: Ditto.
19106 * gdb.base/until.exp: Ditto.
19107 * gdb.base/whatis-exp.exp: Ditto.
19108 * gdb.cp/annota2.exp: Ditto.
19109 * gdb.cp/annota3.exp: Ditto.
19110 * gdb.trace/actions.exp: Ditto.
19111 * gdb.trace/backtrace.exp: Ditto.
19112 * gdb.trace/circ.exp: Ditto.
19113 * gdb.trace/collection.exp: Ditto.
19114 * gdb.trace/deltrace.exp: Ditto.
19115 * gdb.trace/infotrace.exp: Ditto.
19116 * gdb.trace/limits.exp: Ditto.
19117 * gdb.trace/packetlen.exp: Ditto.
19118 * gdb.trace/passc-dyn.exp: Ditto.
19119 * gdb.trace/passcount.exp: Ditto.
19120 * gdb.trace/report.exp: Ditto.
19121 * gdb.trace/save-trace.exp: Ditto.
19122 * gdb.trace/tfind.exp: Ditto.
19123 * gdb.trace/tracecmd.exp: Ditto.
19124 * gdb.trace/while-dyn.exp: Ditto.
19125 * gdb.trace/while-stepping.exp: Ditto.
19126 * lib/gdb.exp: Ditto.
19127 (gdb_compile): Handle nowarning option.
19128
5f4a23d9
AO
191292006-03-07 Alexandre Oliva <aoliva@redhat.com>
19130
19131 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19132 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19133 Rename executable to prelinkt. Don't re-prelink if we didn't
19134 get a core file. Test prelink -u exit status to tell whether
19135 prelinking failed. Use gdb_test_multiple.
19136
9733fc94
DJ
191372006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19138
19139 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19140 (do_tests): Call it.
19141
cc10cae3
AO
191422006-02-28 Alexandre Oliva <aoliva@redhat.com>
19143
19144 * gdb.base/prelink.exp: New test.
19145 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19146
15c46491
WZ
191472006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19148
19149 * gdb.fortran/derived-type.f90: New file.
19150 * gdb.fortran/derived-type.exp: New testcase.
19151
5c9f7ded
DJ
191522006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19153
19154 * gdb.base/default.exp: Allow ';' as a directory separator.
19155
5b96932b
AS
191562006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19157
19158 * gdb.base/help.exp (help add-symbol-file): Update.
19159
1986bccd
AS
191602006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19161
19162 * gdb.base/help.exp (help load): Update expected results.
19163
a8b7528f
FF
191642006-02-19 Fred Fish <fnf@specifix.com>
19165
19166 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19167 specifix hex value as part of results.
19168 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 19169
f8261448
FF
191702006-02-16 Fred Fish <fnf@specifix.com>
19171
19172 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19173 ushort_addr, and slong_addr, so the typedefs are not optimized
19174 away.
19175 * gdb.base/whatis.exp: Add tests using type name for struct type,
19176 union type, enum type, and typedef.
a9c64011 19177
31d8bdd2
MK
191782006-02-13 Mark Kettenis <kettenis@gnu.org>
19179
19180 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19181
34e41e63
JB
191822006-02-13 Jim Blandy <jimb@redhat.com>
19183
19184 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19185 case where it takes two "next" commands to skip past the init
19186 call.
19187
ac6e4f31
FF
191882006-02-12 Fred Fish <fnf@specifix.com>
19189
19190 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19191 to handle cases where it takes two "next" commands to skip
19192 past the init call.
19193
2db2d571
JB
191942006-02-07 Joel Brobecker <brobecker@adacore.com>
19195
19196 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19197 on hppa32 targets.
19198
38fcd64c
DJ
191992006-02-06 Vladimir Prus <ghost@cs.msu.su>
19200
19201 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19202 field.
19203
1315ad46
MK
192042006-01-29 Mark Kettenis <kettenis@gnu.org>
19205
19206 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19207
5625b943
DJ
192082006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19209
19210 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19211 files.
19212
80df1bbe
DJ
192132006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19214
19215 * gdb.cp/maint.exp: Set complaints to a positive value.
19216
9078e690
DJ
192172006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19218
19219 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19220 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19221 function name.
19222
9c903399
DJ
192232006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19224
19225 * gdb.base/checkpoint.c: Update copyright notice. Include
19226 <stdlib.h>.
19227
761ae4d6
JB
192282006-01-04 Jim Blandy <jimb@redhat.com>
19229
19230 * gdb.asm/asm-source.exp: Independently provide default values for
19231 asm-flags and debug-flags. Use 'string equal' to do the
19232 comparison, not the implicit expr's '==' operator. Remove
19233 now-unneeded assignments to asm-flags. In h8300 case, place
19234 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19235
099ac3dd
MS
192362006-01-04 Michael Snyder <msnyder@redhat.com>
19237
19238 * gdb.base/checkpoint.c: New file.
19239 * gdb.base/checkpoint.exp: New file.
19240 * gdb.base/multi-fork.c: New file.
19241 * gdb.base/multi-fork.exp: New file.
19242 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19243
f4d85314
FF
192442006-01-04 Fred Fish <fnf@specifix.com>
19245
19246 * gdb.base/ptype.c (foo): Add typedef.
19247 (intfoo): Add function.
19248 * gdb.base/ptype1.c: New file.
19249 * gdb.base/ptype.exp: Handle compilation and linking with two
19250 source files. Test that proper type for "foo" is found based
19251 on source context rather than first match found in symtabs.
19252
a1b06f35
MK
192532005-12-28 Mark Kettenis <kettenis@gnu.org>
19254
19255 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19256 * gdb.asm/openbsd.inc: Indent commands.
19257
d082a1e2
MK
192582005-12-26 Mark Kettenis <kettenis@gnu.org>
19259
c65016bd
MK
19260 * gdb.base/freebpcmd.exp: Increase timeout.
19261
d082a1e2
MK
19262 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19263
d3c32a0e
DJ
192642005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19265
19266 * gdb.base/default.exp: Update check for "show version".
19267
9fdb1f50
RC
192682005-12-09 Randolph Chung <tausq@debian.org>
19269
19270 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19271 * gdb.asm/pa64.inc: New file.
19272
5f2c56f7
RC
192732005-12-09 Randolph Chung <tausq@debian.org>
19274
19275 * gdb.asm/common.inc: Indent commands.
19276 * gdb.asm/asmsrc1.s: Likewise.
19277 * gdb.asm/asmsrc2.s: Likewise.
19278
8117349c
RC
192792005-12-09 Randolph Chung <tausq@debian.org>
19280
19281 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19282 (get_addr_of_sym): Remove duplicate print.
19283 (gen_core): xfail hppa*-*-hpux*, update expected output.
19284 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19285 * gdb.arch/pa64-nullify.s: New file.
19286
8f07f25a
RC
192872005-12-09 Randolph Chung <tausq@debian.org>
19288
19289 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19290
55b39184
DJ
192912005-12-07 Christophe Lyon <christophe.lyon@st.com>
19292
19293 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19294 code generation for these functions.
19295 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19296 error message.
19297
31e2b00f
AS
192982005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19299
19300 * gdb.base/help.exp (help b, help br, help bre, help brea)
19301 (help break): Update the expected message.
19302
c3d0b56e
SC
193032005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19304
19305 * gdb.asm/m68hc11.inc: Setup the data section.
19306 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19307 script for this test.
19308 (m6812-*-*): Likewise.
19309
36ae0ea9
RC
193102005-11-09 Randolph Chung <tausq@debian.org>
19311
19312 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19313
9d6f42e9
WZ
193142005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19315
19316 * gdb.base/break.exp: Fix a comment typo.
19317
e2126a14
EZ
193182005-11-03 Jim Blandy <jimb@redhat.com>
19319
a9c64011
AS
19320 Checked in by Elena Zannoni <ezannoni@redhat.com>
19321
889bf7c5 19322 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 19323
e0ac7199
CV
193242005-11-02 Corinna Vinschen <vinschen@redhat.com>
19325
19326 * gdb.arch/gdb1558.c: Include stdio.h.
19327
31d3fb18
MK
193282005-10-31 Mark Kettenis <kettenis@gnu.org>
19329
19330 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19331
e52b687c
MK
193322005-10-31 Mark Kettenis <kettenis@gnu.org>
19333
19334 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19335
f4711d79
PG
193362005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19337
a9c64011
AS
19338 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19339 vscr" tests to better match output.
f4711d79 19340
987a9106
JB
193412005-10-12 Jim Blandy <jimb@redhat.com>
19342
19343 * gdb.base/structs.exp (any): New function.
19344 (test_struct_returns): Don't make any assumptions at all about
19345 what value the function returns when GDB can't set the return
19346 value.
19347
2336bb58
JB
193482005-10-09 Joel Brobecker <brobecker@adacore.com>
19349
19350 * gdb.ada/arrayidx/p.adb: New file.
19351 * gdb.ada/arrayidx.exp: New testcase
19352
193532005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
19354
19355 * gdb.ada/array_return/pck.ads: New file.
19356 * gdb.ada/array_return/pck.adb: New file.
19357 * gdb.ada/array_return/p.adb: New file.
19358 * gdb.ada/array_return.exp: New testcase.
19359
705335ea
JB
193602005-10-03 Joel Brobecker <brobecker@adacore.com>
19361
a9c64011
AS
19362 * gdb.base/arrayidx.c: New file.
19363 * gdb.base/arrayidx.exp: New testcase.
705335ea 19364
11ee9940
NR
193652005-09-29 Nick Roberts <nickrob@snap.net.nz>
19366
19367 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19368 frames-invalid and breakpoints-invalid are no longer generated
19369 with level 3 so don't expect them in the output.
19370
39fb8e9e
BR
193712005-09-27 Bob Rossi <bob@brasko.net>
19372
a9c64011 19373 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
19374 from test. Escape the | in mi_gdb_test call.
19375 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19376 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19377 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19378 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19379 expected regex's in mi_gdb_test calls.
19380 * lib/mi-support.exp: Remove arbitrary .* from tests.
19381 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19382 Fully anchor GDB/MI expected results in mi_gdb_test.
19383 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19384 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19385
2af48f68
PB
193862005-09-26 Paul Brook <paul@codesourcery.com>
19387
19388 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19389
f34502bc
WZ
193902005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19391
19392 * bfp-test.c: New file.
19393 * bfp-test.exp: New testcase.
19394
ca929517
WZ
193952005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19396
19397 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19398 of subarray and substring variable.
19399 * gdb.fortran/subarray.f: New source file for the test of subarray
19400 and substring variable evaluation.
19401 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19402 of string constant.
19403
c761af65
DJ
194042005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19405
19406 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19407 copyright dates.
19408
561d7a1d
PG
194092005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19410
19411 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19412 powerpc altivec' test with an almost identical 'info vector' test.
19413
b2b64cc9
PG
194142005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19415
a9c64011
AS
19416 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19417 vscr" tests to match output.
b2b64cc9 19418
6ac4d15a
PG
194192005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19420
a9c64011
AS
19421 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19422 output.
6ac4d15a 19423
40e55bef
BR
194242005-09-11 Bob Rossi <bob@brasko.net>
19425
889bf7c5
PA
19426 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19427 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19428 commands that return an MI output command and an asyncronous MI output
19429 command.
40e55bef
BR
19430 * gdb.mi/mi-console.exp: Ditto.
19431
3c7385ec
BR
194322005-09-11 Bob Rossi <bob@brasko.net>
19433
19434 * gdb.mi/mi-var-child.c: Include <string.h>.
19435
a6cd0eb3
DJ
194362005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19437
19438 * killed.exp: Correct gdb_expect syntax.
19439
2f168eed
CV
194402005-08-09 Corinna Vinschen <vinschen@redhat.com>
19441
19442 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19443
ecd3fd0f
BR
194442005-08-02 Bob Rossi <bob@brasko.net>
19445
19446 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19447 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19448 Change tests to inferior-tty-set/show.
19449 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19450 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19451 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19452 inferior. Use mi_gdb_test to get GDB and Inferior output.
19453 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19454 descriptor.
19455 (mi_inferior_tty_name): Add inferior PTY file name.
19456 (mi_gdb_start): Add INFERIOR_PTY parameter.
19457 (mi_gdb_test): Add IPATTERN parameter.
19458
f1ea48cb 194592005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 19460
f1ea48cb
BR
19461 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19462 parameter to mi_gdb_test.
19463 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19464
6e650a67
DJ
194652005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19466
19467 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19468 struct_declarations.
19469 * gdb.mi/mi-var-child.exp: Step over the initialization of
19470 struct_declarations.
19471
8be260b6
DJ
194722005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19473
19474 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19475 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19476 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19477 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19478 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19479 file.
19480
4e660f07
NR
194812005-07-27 Nick Roberts <nickrob@snap.net.nz>
19482
19483 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19484 (do_children_tests): Assign values to the extra elements.
19485
19486 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19487 them for tests for "-var-update --no-values" and
a9c64011 19488 "-var-update --all-values".
4e660f07
NR
19489 Add test for "-var-list-children --simple-values".
19490
19491 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19492
19493 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19494 "-stack-list-locals --simple-values" Improve doc strings and
19495 comments.
19496
6bdae935
MK
194972005-07-18 Mark Kettenis <kettenis@gnu.org>
19498
598b7a6f
MK
19499 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19500 *-*-openbsd*.
19501 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19502
6bdae935
MK
19503 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19504 sigaltsatck'.
19505
1323e929 195062005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 19507
1323e929
BR
19508 * gdb.base/default.exp (tty): Changed output of command.
19509 * gdb.base/help.exp (help tty): Ditto.
19510
b1a9c082
MK
195112005-07-12 Mark Kettenis <kettenis@gnu.org>
19512
19513 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19514
10a844a2
MK
195152005-07-10 Mark Kettenis <kettenis@gnu.org>
19516
19517 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19518 -stack-select-frame without arguments.
19519 (test_stack_frame_listing): Add test for newly implemented command
19520 -stack-info-frame.
19521
3cb3b8df
BR
195222005-07-06 Bob Rossi <bob@brasko.net>
19523
19524 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19525 command.
19526 (Copyright): Update copyright.
19527
a0c5fbcf
WZ
195282005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19529
19530 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19531 tests to evaluate exponentiation expression.
19532
984971d0
AS
195332005-06-29 Andreas Schwab <schwab@suse.de>
19534
19535 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19536 main to avoid warnings.
19537
19538 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19539
fe03833f
NR
195402005-06-20 Nick Roberts <nickrob@snap.net.nz>
19541
19542 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19543 -stack-select-frame without arguments.
19544 (test_stack_frame_listing): Add test for newly implemented command
19545 -stack-info-frame.
a9c64011 19546
7a55f279
WZ
195472005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19548
0ffa0ea5
DJ
19549 * gdb.fortran/array-element.f: New file.
19550 * gdb.fortran/array-element.exp: New testcase.
7a55f279 19551
26585198
DJ
195522005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19553
19554 * gdb.base/bigcore.exp: Correct checks for systems which can
19555 not dump a large core file.
19556
c1bd25fd
DJ
195572005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19558
19559 * gdb.base/relocate.c: Add a copyright notice.
19560 (dummy): Remove.
19561 * gdb.base/relocate.exp: Test printing the values of variables
19562 from a relocatable file.
19563
589e074d
DJ
195642005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19565
19566 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19567 excess MI output after an error.
19568
0915f927
JB
195692005-05-29 Joel Brobecker <brobecker@adacore.com>
19570
19571 * gdb.arch/alpha-step.c: New file.
19572 * gdb.arch/alpha-step.exp: New testcase.
19573
76ff342d
DJ
195742005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19575 Dennis Brueni <dennis@slickedit.com>
19576
19577 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19578 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19579 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19580 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19581 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19582 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19583 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19584
96b0c7ac
DJ
195852005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19586 Wu Zhou <woodzltc@cn.ibm.com>
19587
19588 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19589 IBM's xlc compiler.
19590 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19591 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19592
f21565d2
JB
195932005-05-13 Jim Blandy <jimb@redhat.com>
19594
19595 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19596 calling gdb_suppress_entire_file.
19597 * gdb.base/charset.exp: Same.
19598 * gdb.base/call-rt-st.exp: Same.
19599
6006a3a1
BR
196002005-05-05 Bob Rossi <bob_rossi@cox.net>
19601
19602 * lib/gdb.exp (fullname_syntax): Added global regex.
19603 (fullname_syntax_POSIX): Ditto.
19604 (fullname_syntax_UNC): Ditto.
19605 (fullname_syntax_DOS_CASE): Ditto.
19606 (fullname_syntax_DOS): Ditto.
19607 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19608 fullname_syntax variable to scope and use it.
19609 (test_file_list_exec_source_files): Ditto.
19610 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19611
c3b69c04
DJ
196122005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19613
19614 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19615
3c95e6af
PG
196162004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19617
a9c64011
AS
19618 * lib/gdb.exp (skip_altivec_tests): New function, based on
19619 check_vmx_hw_available from the GCC testsuite.
19620 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19621 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 19622
78df6c56
JB
196232005-05-02 Jim Blandy <jimb@redhat.com>
19624
19625 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19626 calling gdb_suppress_entire_file.
19627
1690f9cf
DJ
196282005-04-30 Randolph Chung <tausq@debian.org>
19629
19630 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19631 Slightly relax "sem_post" name checking.
19632
5ea106f7
PG
196332005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19634
19635 * gdb.base/unload.exp: Use new shared library infrastructure.
19636
bf7234cf
PG
196372005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19638
19639 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 19640 infrastructure.
bf7234cf 19641
547b869a
CV
196422005-04-29 Corinna Vinschen <vinschen@redhat.com>
19643
19644 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19645 * gdb.asm/h8300.inc: New file.
19646
f07e55f0
PG
196472005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19648
19649 * gdb.base/shlib-call.exp: Change to use new shared library
19650 infrastructure.
19651
3cbba3d1
PG
196522005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19653
a9c64011
AS
19654 * gdb.base/pending.exp: Change to use new shared library
19655 infrastructure.
3cbba3d1 19656
ed6df200
PG
196572005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19658
a9c64011
AS
19659 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19660 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 19661
8c8f4ebe
PG
196622005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19663
a9c64011
AS
19664 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19665 shared objects being adjusted and update copyright years.
8c8f4ebe 19666
607fbc54
DJ
196672005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19668
19669 * ChangeLog: Correct some 2003-01-13 dates.
19670 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19671 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19672 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19673 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19674 gdb.trace/tfind.exp: Update copyright years.
19675
57bf0e56
DJ
196762005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19677 Daniel Jacobowitz <dan@codesourcery.com>
19678
19679 * lib/gdb.exp (gdb_compile): Handle shlib=.
19680 (gdb_compile_shlib): New function.
19681
9b593790
PG
196822005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19683
a9c64011 19684 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 19685
9494c6a5
DJ
196862005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19687
19688 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19689 gdb.server.
19690 * configure.ac: Likewise.
19691 * configure: Regenerated.
19692 * gdb.gdbserver/Makefile.in: Moved to...
19693 * gdb.server/Makefile.in: ... here.
19694 * gdb.gdbserver/server.c: Moved to...
19695 * gdb.server/server.c: ... here.
19696 * gdb.gdbserver/server-run.exp: Moved to...
19697 * gdb.server/server-run.exp: ... here.
19698
6f8eac0e
DJ
196992005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19700
19701 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19702 * configure.ac: Create gdb.gdbserver/Makefile.
19703 * configure: Regenerated.
19704 * lib/gdbserver-support.exp: New file, derived from
19705 config/gdbserver.exp.
19706 * config/gdbserver.exp: Use gdbserver-support.exp.
19707 * gdb.gdbserver/Makefile.in: New file.
19708 * gdb.gdbserver/server.c: New file.
19709 * gdb.gdbserver/server-run.exp: New file.
19710
6e87504d
PG
197112005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19712
a9c64011
AS
19713 * lib/gdb.exp (test_compiler_info): Return compiler_info
19714 if no arguments are given.
6e87504d 19715
d1779be4
PG
197162005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19717
19718 * gdb.arch/altivec-abi.exp: Check for compiler and set
19719 use altivec' flag accordingly.
19720 * gdb.arch/altivec-regs.exp: Likewise.
19721
88750304
DJ
197222005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19723
19724 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19725
f3fb768d
AS
197262005-03-27 Andreas Schwab <schwab@suse.de>
19727
19728 * gdb.base/bigcore.c (main): Add missing mode argument in open
19729 call.
19730
7e813ac5
DJ
197312005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19732
19733 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19734 downloads.
19735 * config/gdbserver.exp (gdb_load): Likewise.
19736
8e3049aa
PB
197372005-03-14 Paul Brook <paul@codesourcery.com>
19738
19739 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19740 targets.
19741
a9df7c44
JB
197422005-03-09 Joel Brobecker <brobecker@adacore.com>
19743
19744 * gdb.dwarf2/dup-psym.S: New file.
19745 * gdb.dwarf2/dup-psym.exp: New testcase.
19746
9f0d94e8
JB
197472005-03-09 Joel Brobecker <brobecker@adacore.com>
19748
19749 * gdb.ada/exec_changed/first.adb: New file.
19750 * gdb.ada/exec_changed/second.adb: New file.
19751 * gdb.ada/exec_changed.exp: New testcase.
19752
5f579bc5
NS
197532005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19754
36e9969c
NS
19755 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19756 (A2): New class.
19757 (main): Test operator+.
19758 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19759 breakpoint test.
19760
5f579bc5
NS
19761 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19762 * gdb.base/signull.exp: Disable if gdb,nosignals.
19763 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19764 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19765 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19766 * gdb.mi/mi2-console.exp: Likewise.
19767 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19768 continue output at start.
19769 (gdb_collect_locals_test): Robustify regexp.
19770 * gdb.trace/passc-dyn.exp: Fix comment typo.
19771 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19772
be46087e
CV
197732005-03-08 Corinna Vinschen <vinschen@redhat.com>
19774
19775 * gdb.asm/asm-source.exp: Add iq2000 case.
19776 * gdb.asm/iq2000.inc: New file.
19777
384e1a61 197782005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 19779
384e1a61
MI
19780 * gdb.base/command.exp: Change hardcoded value to regular expression.
19781 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19782
584b6e9e
DJ
197832005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19784
19785 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19786 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19787 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19788 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19789 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19790
ab5b5d61
MK
197912005-03-05 Mark Kettenis <kettenis@gnu.org>
19792
19793 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19794 changes.
19795
ae051c1b
PG
197962004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19797
a9c64011
AS
19798 * lib/compiler.c: Add test for IBM's xlc compiler.
19799 * lib/compiler.cc: Likewise.
ae051c1b 19800
3f0f6ed2
JB
198012004-02-24 Joel Brobecker <brobecker@adacore.com>
19802
19803 * gdb.ada/fixed_points.exp: Create compilation object directory
19804 before running the test.
19805 * gdb.ada/null_record.exp: Likewise.
19806 * gdb.ada/packed_array.exp: Likewise.
19807 * gdb.ada/start.exp: Likewise.
19808
724f452b
JB
198092005-02-15 Joel Brobecker <brobecker@adacore.com>
19810
19811 * gdb.ada/packed_array/pa.adb: New file.
19812 * gdb.ada/packed_array.exp: New testcase.
19813
57f5cdfb 198142005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19815
1f393151
MK
19816 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19817 files.
19818
ebdda337
MK
19819 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19820 on *-*-openbsd*. Correctly match whitespace in regukar
19821 expressions.
19822
cf309262
DJ
198232005-02-10 Daniel Jacobowitz <dan@debian.org>
19824
19825 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19826 PR exp/1821
19827 * gdb.base/gdb1821.c: New test file.
19828 * gdb.base/gdb1821.exp: New test file.
19829
3be49e7a
JB
198302005-02-09 Joel Brobecker <brobecker@adacore.com>
19831
19832 * gdb.base/start.c: New file.
19833 * gdb.base/start.exp: New testcase.
19834
e292e67d
JB
198352005-02-09 Joel Brobecker <brobecker@adacore.com>
19836
19837 * gdb.ada/start/dummy.adb: New file.
19838 * gdb.ada/start.exp: New testcase.
19839
dbdfa66c
CV
198402005-02-09 Corinna Vinschen <vinschen@redhat.com>
19841
19842 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19843 for printing symbols and statistics.
19844 Add test for using relative pathnames in "maint print msymbols" test.
19845 Mark "maint info sections DATA" XFAIL on Cygwin.
19846 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19847 tests.
19848
d7941671
AC
198492005-02-09 Andreas Schwab <schwab@suse.de>
19850
19851 Committed by Andrew Cagney <cagney@gnu.org>
19852 * gdb.base/remotetimeout.exp: New file.
19853
74e5ef44
MK
198542005-02-07 Mark Kettenis <kettenis@gnu.org>
19855
19856 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19857
464dd14d
JB
198582005-02-03 Joel Brobecker <brobecker@adacore.com>
19859
19860 * gdb.ada/gnat_ada.gpr: New file.
19861 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19862 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19863 * configure.ac: No longer generate gnat_ada.gpr.
19864 * configure: Regenerate.
19865 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19866 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19867 * gdb.ada/null_record/bar.ads: Likewise.
19868 * gdb.ada/null_record/bar.adb: Likewise.
19869 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19870 * gdb.ada/null_record.exp (testdir): New variable.
19871 (testfile): executable is now in testdir subdirectory.
19872 (srcfile): Use full path to the main compilation unit.
19873 * gdb.ada/fixed_points.exp: Same changes as above.
19874
30d756ae
NR
198752005-02-03 Nick Roberts <nickrob@snap.net.nz>
19876
19877 * gdb.base/interp.exp: New test.
19878
9d799f85
AC
198792005-01-24 Andrew Cagney <cagney@gnu.org>
19880
19881 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19882
15656118
AC
198832005-01-19 Andrew Cagney <cagney@gnu.org>
19884
a892c31b
AC
19885 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19886 configure.ac not configure.in.
19887
15656118
AC
19888 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19889 of powerpc*-*-*.
19890 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19891 * gdb.base/list.exp (test_list_function)
15656118
AC
19892 (test_list_filename_and_function): Ditto.
19893 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19894
a7b01baf
AC
198952005-01-16 Andrew Cagney <cagney@gnu.org>
19896
17d92a02
AC
19897 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19898
a7b01baf
AC
19899 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19900
bc8332bb
AC
199012005-01-14 Andrew Cagney <cagney@gnu.org>
19902
19903 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19904 * gdb.mi/mi2-var-cmd.exp: Ditto.
19905
4d074752
CV
199062005-01-10 Corinna Vinschen <vinschen@redhat.com>
19907
19908 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19909
bec39cab
AC
199102005-01-07 Andrew Cagney <cagney@gnu.org>
19911
19912 * configure.ac: Rename configure.in, require autoconf 2.59.
19913 * configure: Re-generate.
19914 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19915 * gdb.stabs/configure: Re-generate.
19916 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19917 * gdb.hp/configure: Re-generate.
19918 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19919 autoconf 2.59.
19920 * gdb.hp/gdb.objdbg/configure: Re-generate.
19921 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19922 autoconf 2.59.
19923 * gdb.hp/gdb.defects/configure: Re-generate.
19924 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19925 autoconf 2.59.
19926 * gdb.hp/gdb.compat/configure: Re-generate.
19927 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19928 autoconf 2.59.
19929 * gdb.hp/gdb.base-hp/configure: Re-generate.
19930 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19931 autoconf 2.59.
19932 * gdb.hp/gdb.aCC/configure: Re-generate.
19933
f10b16d4
JB
199342004-12-15 Jim Blandy <jimb@redhat.com>
19935
19936 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19937 under NPTL when there is debugging info available for libpthread.
19938
fb6e1814
JG
199392004-12-13 Jerome Guitton <guitton@gnat.com>
19940
19941 * gdb.ada/fixed_points.c: New file.
19942 * gdb.ada/fixed_points.exp: New file.
19943
fe46cd3a
RC
199442004-12-03 Randolph Chung <tausq@debian.org>
19945
19946 * gdb.arch/pa-nullify.exp: New file.
19947 * gdb.arch/pa-nullify.s: New file.
19948
8de0841b
RC
199492004-11-30 Randolph Chung <tausq@debian.org>
19950
19951 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19952 instead of "tbug". Fix regexp to work properly with gdb_test.
19953
c8170782
PH
199542004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19955
19956 * gdb.base/bitfields2.exp: New test.
19957 * gdb.base/bitfields2.c: New file.
19958
954269c2
RE
199592004-11-28 Richard Earnshaw <rearnsha@arm.com>
19960
19961 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19962
0107feed
RC
199632004-11-16 Randolph Chung <tausq@debian.org>
19964
19965 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19966
f073ae8c
DJ
199672004-11-14 Daniel Jacobowitz <dan@debian.org>
19968
19969 * gdb.threads/threadapply.exp: Correct "macro details" test.
19970
19ad59e7
JJ
199712004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19972
19973 * gdb.threads/threadapply.exp: New test.
19974 * gdb.threads/threadapply.c: New file.
19975
9cf0961b
MK
199762004-11-07 Mark Kettenis <kettenis@gnu.org>
19977
19978 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19979 frames.
19980
c789492a
FL
199812004-11-05 Felix Lee <felix+log1@specifixinc.com>
19982
19983 * gdb.base/cursal.exp: New file.
19984 * gdb.base/cursal.c: New file.
19985
a1e167bb
AC
199862004-11-03 Andrew Cagney <cagney@gnu.org>
19987
19988 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19989
b7cbf173
MK
199902004-10-30 Mark Kettenis <kettenis@gnu.org>
19991
19992 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19993 NetBSD/ELF targets.
19994
88f9d34f
JB
199952004-10-29 Joel Brobecker <brobecker@gnat.com>
19996
19997 * gdb.threads/bp_in_thread.c: New file, copied from
19998 pthread_cond_wait.c.
19999 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20000 file, rather than reusing the .c file from another testcase.
20001
ca7d6a0c
JB
200022004-10-20 Joel Brobecker <brobecker@gnat.com>
20003
20004 * gdb.ada/null_record.exp: Check where we stopped after
20005 sending the start command, instead of where the associated
20006 temporary breakpoint was inserted.
20007
0d863d03
AC
200082004-10-14 Andrew Cagney <cagney@gnu.org>
20009
20010 * gdb.mi/gdb701.c (main): Return 0.
20011
d11e72cb
DJ
200122004-10-13 Daniel Jacobowitz <dan@debian.org>
20013
d40539a4 20014 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 20015
e1923096
JJ
200162004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20017
20018 * gdb.threads/schedlock.c: Add comment markers to use to find
20019 line numbers.
20020 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20021 comments.
20022 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20023 breakpoint lines.
20024
ec8ba2c9
DJ
200252004-10-12 Daniel Jacobowitz <dan@debian.org>
20026
20027 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20028
0eb3658b
DJ
200292004-10-12 Daniel Jacobowitz <dan@debian.org>
20030
20031 * configure.in: Add gdb.dwarf2.
20032 * configure: Regenerated.
20033 * Makefile.in: Add gdb.dwarf2.
20034 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20035 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20036 gdb.dwarf2/file1.txt: New files.
20037
a271cc33
OF
200382004-10-11 Orjan Friberg <orjanf@axis.com>
20039
a9c64011 20040 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
20041 of "run", since the latter doesn't work with remote targets. Adjust
20042 the breakpoint numbering accordingly.
20043 * gdb.threads/pthread_cond_wait.exp: Ditto.
20044
895ce074
MC
200452004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20046
20047 * gdb.base/overlays.exp: Update copyright years.
20048
6be3092d
KI
200492004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20050
20051 * gdb.base/overlays.exp: Disable if target is Linux.
20052
e05389b8
FL
200532004-10-06 Felix Lee <felix+log1@specifixinc.com>
20054
20055 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20056
73cb587d
KI
200572004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20058
20059 * gdb.asm/asm-source.exp: Add m32r-linux target.
20060 * gdb.asm/m32r-linux.inc: New file.
20061
3c0edcdc
AC
200622004-09-24 Andrew Cagney <cagney@redhat.com>
20063 David Anderson <anderson@redhat.com>
20064
20065 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20066 command fails, assume things will work.
20067 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20068 (_GNU_SOURCE): Define.
20069 (print_unsigned, print_hex): Change parameter to "long long".
20070 (print_byte_count): New function, use to print byte counts.
20071 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20072 O_LARGEFILE.
20073 (main): Compute an upper bound on a corefile in max_core_size.
20074 Limit memory chunk size to max_core_size. Limit total memory
20075 allocated to max_core_size.
20076
4bb3667f
AC
200772004-09-23 Andrew Cagney <cagney@gnu.org>
20078
20079 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20080 from a separate process with code that creates a corefile by
20081 making the inferior dump core.
20082
60fe1a51
MK
200832004-09-23 Mark Kettenis <kettenis@gnu.org>
20084
20085 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20086 block.
20087
8e937346
MC
200882004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20091 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20092 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20093 Likewise.
20094
7213f6d6
JJ
200952004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20096
20097 * gdb.java/jprint.exp: New test case for java inferior call.
20098 * gdb.java/jprint.java: Ditto.
20099
eac69dca
JB
201002004-09-15 Joel Brobecker <brobecker@gnat.com>
20101
20102 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20103
22227696
MC
201042004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20105
20106 * gdb.threads/killed.c: Include <stdlib.h>.
20107 * gdb.threads/pthreads.c: Likewise.
20108
7dd403a4
MC
201092004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20110
20111 * gdb.threads/killed.c: Add copyright notice.
20112
33f2d567
JM
201132004-09-10 Jason Molenda (jmolenda@apple.com)
20114
a9c64011
AS
20115 * gdb.base/define.exp: Two new tests to verify zero space chars
20116 after 'if' and 'while' commands in a user-defined command is correctly
20117 parsed.
33f2d567 20118
e05b62ac
AC
201192004-09-08 Andrew Cagney <cagney@gnu.org>
20120
20121 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20122 delivery test with duplicate at end of file.
20123
9cbe82da
MK
201242004-09-06 Mark Kettenis <kettenis@jive.nl>
20125
20126 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20127
564803d9
MC
201282004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20129
20130 * config/hppro.exp: Removed.
20131
7c6807ce
MC
201322004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20133
20134 * config/sparclet.exp: Removed.
20135
bf7e26dd
MC
201362004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20137
20138 * config/udi.exp: Removed.
20139
714e341b
MC
201402004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20141
20142 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20143 of "exp_continue".
20144 (advancei): Likewise.
20145
1236e623
JJ
201462004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20147
20148 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20149
3bdcad15
MI
201502004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20151
228af206 20152 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
20153 to check for nodebug in executable.
20154 * gdb.gdb/observer.exp (setup_test): Likewise.
20155 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20156 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20157
c72b934c
AC
201582004-09-01 Andrew Cagney <cagney@gnu.org>
20159
20160 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20161 files.
20162
edd9b715
JJ
201632004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20164
20165 * gdb.base/unload.exp: Fix expected warning message to match
20166 latest format.
20167
fb4ce06b
CV
201682004-09-01 Corinna Vinschen <vinschen@redhat.com>
20169
20170 * gdb.base/call-rt-st.exp: Fix typos.
20171
ce78e7c3
MI
201722004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20173
20174 * gdb.threads/thread_check.exp: New testcase.
20175 * gdb.threads/thread_check.c: New testcase.
20176
2dedb159
AC
201772004-08-31 Andrew Cagney <cagney@gnu.org>
20178
20179 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20180 (skip_to_handler_entry): New procedures. Test stepping into a
20181 handler when the breakpoint is at the handler's entry point.
20182
68f53502
AC
201832004-08-30 Andrew Cagney <cagney@gnu.org>
20184
20185 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20186 gdb/1757.
20187
3e3ffd2b
MC
201882004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20189
20190 With code from Manoj Iyer <manjo@austin.ibm.com>:
20191 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20192 return value. Add an arm for "no debugging symbols found".
20193 Change a stray "error" to "perror".
20194 (gdb_run_cmd): Adapt to new return value.
20195 * gdb.base/remote.exp: Adapt to new return value.
20196 * gdb.gdb/complaints.exp: Likewise.
20197 * gdb.gdb/observer.exp: Likewise.
20198 * gdb.gdb/selftest.exp: Likewise.
20199 * gdb.gdb/xfullpath.exp: Likewise.
20200
4b6f5fd2
JB
202012004-08-27 Joel Brobecker <brobecker@gnat.com>
20202
20203 * gdb.threads/bp_in_thread.exp: New testcase.
20204
e5b25496
MC
202052004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20206
20207 Fix PR testsuite/1735.
20208 * gdb.threads/schedlock.c (thread_function): Add a cast
20209 to suppress a gcc warning.
20210 * gdb.threads/thread-specific.c (thread_function): Likewise.
20211
934353d6
MC
202122004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20213
20214 * gdb.base/unload.c: Include <stdlib.h>.
20215
f98a0aef 202162004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 20217
f98a0aef 20218 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
20219 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20220 synchronized after the "return".
20221
5a2e8882
MC
202222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20223
20224 * gdb.mi/basics.c: Include <stdio.h>.
20225 * gdb.mi/pthreads.c: Include <stdlib.h>.
20226 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20227
a9640423
MC
202282004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20229
20230 * gdb.threads/schedlock.c: Add copyright notice.
20231
b04e311d
AC
202322004-08-25 Andrew Cagney <cagney@gnu.org>
20233
20234 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20235 (skip_over_handler, breakpoint_over_hander): New test procedures.
20236 (advance, advancei): Add a proper prefix, do not use
20237 rerun_to_main.
20238 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20239
7c27f15b
MC
202402004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20241
20242 * gdb.mi/basics.c: Add copyright notice.
20243 * gdb.mi/var-cmd.c: Add copyright notice.
20244
fffc87ae
MC
202452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20246
20247 * lib/gdb.exp: Remove signed_keyword_not_used.
20248 * lib/compiler.c: Likewise.
20249 * lib/compiler.cc: Likewise.
20250
d782e0bf
MC
202512004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20252
20253 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20254 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20255
96033e83
MC
202562004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20257
20258 * gdb.base/whatis.c: Add copyright notice.
20259
cf38c229
MK
202602004-08-20 Mark Kettenis <kettenis@gnu.org>
20261
20262 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20263 it to skip the breakpoints encoded in the inline assembly.
20264
f4b49756
MC
202652004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20266
20267 * Makefile.in: Add gdb.fortran.
20268
2f193b69
MC
202692004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20270
20271 * gdb.base/call-sc.exp (test_scalar_returns):
20272 Fix cut-and-paste glitch in "Make fun return now".
20273
89a237cb
MC
202742004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20275
20276 * configure.in: Add gdb.fortran.
20277 * configure: Regenerate.
20278 * gdb.fortran/Makefile.in: New file.
20279 * lib/gdb.exp (skip_fortran_tests): New procedure.
20280
469aff8e
MC
202812004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20282
20283 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20284 reference to bug-gnu@prep.ai.mit.edu.
20285 * gdb.mi/mi-var-child.exp: Likewise.
20286 * gdb.mi/mi-var-cmd.exp: Likewise.
20287 * gdb.mi/mi-var-display.exp: Likewise.
20288 * gdb.mi/mi2-var-block.exp: Likewise.
20289 * gdb.mi/mi2-var-child.exp: Likewise.
20290 * gdb.mi/mi2-var-cmd.exp: Likewise.
20291 * gdb.mi/mi2-var-display.exp: Likewise.
20292
00b51b9f
MK
202932004-08-15 Mark Kettenis <kettenis@gnu.org>
20294
20295 * gdb.base/unload.c (main): Make local variable msg const.
20296
45f07fef
MC
202972004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20298
20299 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20300 to bug-gnu@prep.ai.mit.edu.
20301 * gdb.mi/mi-disassemble.exp: Likewise.
20302 * gdb.mi/mi-eval.exp: Likewise.
20303 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20304 default line number.
20305 * gdb.mi/mi-return.exp: Likewise.
20306 * gdb.mi/mi-simplerun.exp: Likewise.
20307 * gdb.mi/mi-stack.exp: Likewise.
20308 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20309 number with explicit range test.
20310 * gdb.mi/mi-watch.exp: Likewise.
20311 * gdb.mi/mi2-break.exp: Likewise.
20312 * gdb.mi/mi2-cli.exp: Likewise.
20313 * gdb.mi/mi2-disassemble.exp: Likewise.
20314 * gdb.mi/mi2-eval.exp: Likewise.
20315 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20316 default line number.
20317 * gdb.mi/mi2-return.exp: Likewise.
20318 * gdb.mi/mi2-simplerun.exp: Likewise.
20319 * gdb.mi/mi2-stack.exp: Likewise.
20320 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20321 number with explicit range test.
20322 * gdb.mi/mi2-watch.exp: Likewise.
20323
dd8c8ee7
MC
203242004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20325
20326 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20327 * gdb.cp/m-static.exp: Likewise.
20328 * gdb.cp/rtti.exp: Likewise.
20329
4e838464
MK
203302004-08-14 Mark Kettenis <kettenis@gnu.org>
20331
20332 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20333
8d8cb839
EZ
203342004-08-14 Eli Zaretskii <eliz@gnu.org>
20335
20336 * ChangeLog: Prefix Local Variables with semi-colons and indent
20337 the reference to older ChangeLog files, to fix fontification in
20338 Emacs.
20339
deea8bb0
MC
203402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20341
20342 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20343 * gdb.mi/mi2-break.exp: Likewise.
20344
c3297504
MC
203452004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20346
20347 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20348
25808999
MC
203492004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20350
20351 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20352
226a8d71
MC
203532004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20354
20355 * gdb.cp/classes.exp: Remove unused declarations. Just let
20356 test names default instead of providing special names. Remove
20357 extraneous demangler test.
20358
37fdf854
JJ
203592004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20360
20361 * gdb.base/unload.exp: New test for breakpoints in dynamically
20362 loaded libraries.
20363 * gdb.base/unload.c: Ditto.
20364 * gdb.base/unloadshr.c: Ditto.
20365
2d3a7986
MC
203662004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20367
20368 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20369 cp_test_ptype_class.
20370 (test_enums): Likewise.
20371
c72b934c
AC
203722004-08-10 Andrew Cagney <cagney@gnu.org>
20373
20374 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20375 files.
20376
cc503c8a
AC
203772004-08-10 Andrew Cagney <cagney@gnu.org>
20378
20379 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20380 init_malloc call.
20381
902f2ccb
MC
203822004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20383
20384 * ChangeLog: Add copyright notice. The notice is copied
20385 from emacs 21.3 top level ChangeLog.
20386
78c90502
MC
203872004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20388
20389 * lib/cp-support.exp: New file.
20390 * lib/cp-support.exp (cp_test_type_class): New function.
20391 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20392 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20393 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20394 cp_test_ptype_class.
20395
88e5ea78
MC
203962004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20397
20398 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20399 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20400 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20401 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20402 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20403 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20404 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20405 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20406 gdb.mi/mi2-watch.exp: Update copyright years.
20407
6a89fc9c
MK
204082004-08-09 Mark Kettenis <kettenis@gnu.org>
20409
20410 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20411
1482e0de
MC
204122004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20413
20414 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20415 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20416 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20417 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20418 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20419 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20420 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20421 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20422 gdb.mi/mi-watch.exp: Update copyright years.
20423
1a5ce3f3
DJ
204242004-08-08 Daniel Jacobowitz <dan@debian.org>
20425
20426 PR gdb/1738
20427 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20428 from a breakpoint with a pending signal.
20429
04f6ecf2
DJ
204302004-08-08 Daniel Jacobowitz <dan@debian.org>
20431
20432 PR gdb/1736
20433 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20434 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20435 the prompt.
20436 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20437
54d90d35
DJ
204382004-08-08 Daniel Jacobowitz <dan@debian.org>
20439
20440 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20441
d2f6abb0
DJ
204422004-08-08 Daniel Jacobowitz <dan@debian.org>
20443
20444 PR gdb/1736
20445 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20446 for i?86-*-linux*.
20447
5598c03d
DJ
204482004-08-08 Daniel Jacobowitz <dan@debian.org>
20449
20450 * gdb.arch/i386-prologue.exp: Compile without debug information.
20451
c6fee705
MC
204522004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20453
20454 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20455 rather than asking gdb to search.
20456
dd90efdb
MC
204572004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20458
20459 * gdb.base/gcore.c: Include <string.h>.
20460
1e84bec1
MC
204612004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20462
20463 * gdb.base/gcore.c: Add copyright notice.
20464
e425eb2b
MC
204652004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20466
20467 * gdb.base/freebpcmd.c: Include <stdio.h>.
20468 * gdb.base/long_long.c: Include <string.h>.
20469 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20470 * gdb.base/siginfo.c: Include <string.h>.
20471 * gdb.base/sigstep.c: Include <string.h>.
20472
cb9aaed5
MC
204732004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20474
20475 * gdb.base/complex.c: Include <stdlib.h>.
20476
55944f3d
MC
204772004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20478
20479 * gdb.base/complex.c: Add copyright notice.
20480
7b2953d9
MC
204812004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20482
20483 * gdb.base/charset.c: Include <stdlib.h>.
20484
c9133d23
MC
204852004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20486
20487 * gdb.base/auxv.c: Include <stdlib.h>.
20488
0a8490ad
MC
204892004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20490
20491 * gdb.base/auxv.c: Add copyright notice.
20492
3426d5ec
MC
204932004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20494
20495 * gdb.base/coremaker.c: Add copyright notice.
20496 * gdb.base/coremaker2.c: Add copyright notice.
20497
8da195dd
AC
204982004-08-04 Andrew Cagney <cagney@gnu.org>
20499
20500 * gdb.base/store.exp: Update copyright.
20501 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20502 names, do not import gdb_prompt.
20503
8d394f98
AC
205042004-08-01 Andrew Cagney <cagney@gnu.org>
20505
20506 Fix PR testsuite/1729.
20507 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20508 not use capture_value with value 4.
20509 (capture_value): Add optional test name parameter.
20510 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20511 the prefix, pass to capture_value.
20512
b6702b23
MK
205132004-08-01 Mark Kettenis <kettenis@gnu.org>
20514
20515 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20516 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20517 (main): Call new function.
20518
c203e0ca
MC
205192004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20520
20521 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20522
a7995a30
MC
205232004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20524
20525 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20526
9366563b
MC
205272004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20528
b6eeaf26 20529 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
20530 Accept more values of vtbl pointer. Remove some messages
20531 about "obsolete gcc or gdb".
20532
2fc1f950
MC
205332004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20534
20535 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20536
c724d49b
MC
205372004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20538
20539 * gdb.base/asm-source.exp: Properly convert target board
20540 debug flags from gcc format to binutils format.
20541
736b0fce
MK
205422004-07-28 Mark Kettenis <kettenis@gnu.org>
20543
20544 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20545 gdb1718". PR backtrace/1718 partially fixed.
20546
5633ea5c
JJ
205472004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20548
20549 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20550
575eebb1
NC
205512004-07-26 Nick Clifton <nickc@redhat.com>
20552
20553 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20554 good default value for a specific architecture is available then
20555 set it to that value. Otherwise default to the -gstabs switch.
20556 Remove the -g... switches from the asm-flags variable. Allow the
20557 target board info to override the value if it wants to. Pass the
20558 switch on the assembler command line.
20559
62104619
MK
205602004-07-23 Mark Kettenis <kettenis@gnu.org>
20561
20562 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20563 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20564 (main): Call new function.
20565
4a1135b8
MC
205662004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20567
20568 Test for PR exp/1715.
20569 * gdb.base/radix.exp: Refactor common procedures. Make all
20570 test names unique. Change XFAIL to KFAIL.
20571
8a12c1f0
MC
205722004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20573
20574 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20575 * gdb.ada/gnat_ada.gin: ... to here.
20576 * configure.in: Use gnat_ada.gin.
20577 * configure: Regenerate.
20578
23b451cf
AC
205792004-07-20 Andrew Cagney <cagney@gnu.org>
20580
20581 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20582 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20583 XFAILs. Clean up test messages and comments. Check backtraces.
20584 Delete re-sync code.
20585
ab618a02
MC
205862004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20587
20588 Fix PR cli/740.
20589 * gdb.base/annota1.exp: Honor gdb,nosignals.
20590 * gdb.base/annota3.exp: Likewise.
20591
46dad340
MC
205922004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20593
20594 * lib/java.exp: Update copyright notice.
20595
756d8c70
AC
205962004-07-19 Andrew Cagney <cagney@gnu.org>
20597
20598 * gdb.base/selftest.exp: Copy file from here ...
20599 * gdb.gdb/selftest.exp: ... to here.
20600
586027e6
AC
206012004-07-16 Andrew Cagney <cagney@redhat.com>
20602
20603 * lib/insight-support.exp: Delete file.
20604 * lib/java.exp (java_init): Fix copyright.
20605
029d2200
AC
206062004-07-16 Andrew Cagney <cagney@gnu.org>
20607
20608 * gdb.base/restore.c: Append "prologue" to comments marking the a
20609 function's prologue.
20610 * gdb.base/restore.exp: Update copyright, re-indent.
20611 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20612 callerN" prefix where needed. Update patterns that match a
20613 function's prologue.
20614
653b62c5
MC
206152004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20616
20617 * gdb.base/restore.c: Add copyright notice.
20618
f7d690e5
AC
206192004-07-16 Andrew Cagney <cagney@gnu.org>
20620
20621 * gdb.base/logical.exp: Update copyright.
20622 (evaluate): New procedure. Use to re-implement tests using
20623 several tables.
20624
d629a7cb
MH
206252004-07-14 Martin Hunt <hunt@redhat.com>
20626
20627 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20628 which fixes some problems where init.tcl was not found.
20629
9c7bb332
AC
206302004-07-13 Andrew Cagney <cagney@gnu.org>
20631
6bf46641
AC
20632 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20633 (check_sizeof, check_valueof): Do not include the output in the
20634 test name. Use gdb_test.
20635 (get_valueof): Use gdb_test_multiple.
20636
c4ffd4c0
AC
20637 * gdb.base/step-test.exp: Update copyright. Use
20638 gdb_test_multiple. Ensure that test names do not include
20639 architecture dependent output.
20640
ab89363a
AC
20641 * gdb.gdb/observer.exp: Update copyright.
20642 (setup_test): Use gdb_test_multiple.
20643 (attach_first_observer, attach_second_observer)
20644 (attach_third_observer, detach_first_observer)
20645 (detach_second_observer, detach_third_observer)
20646 (reset_counters, check_counters): Make $message a prefix.
20647 (test_normal_stop_notifications): Add "args" parameter - a list of
20648 init functions to be called. Make $message a prefix,
20649 (test_observer_normal_stop): Change the message prefixes so that
20650 they are unique, pass the attach / detach procedures to
20651 test_normal_stop_notifications.
20652
ec58997a
AC
20653 * gdb.base/signull.exp (test_segv): Prefix all tests with
20654 "${name}". Clean up test messages.
20655
b475183b
AC
20656 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20657
9c7bb332
AC
20658 * gdb.base/ena-dis-br.exp: Update copyright.
20659 (break_at): New function. Replace send_gdb with gdb_test,
20660 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20661 ignore count, not stopped at bpt", with KFAIL.
20662
2dd95497
CV
206632004-07-13 Corinna Vinschen <vinschen@redhat.com>
20664
20665 * gdb.base/attach.exp: Remove cleanupfile handling.
20666
419e626b
AC
206672004-07-12 Andrew Cagney <cagney@gnu.org>
20668
20669 * gdb.base/annota1.exp: Cleanup corefile test name.
20670 * gdb.base/annota3.exp: Ditto.
20671
8b1b3228
AC
206722004-07-12 Andrew Cagney <cagney@gnu.org>
20673
78650829
AC
20674 * gdb.base/signals.exp: Clean up copyright, re-indent.
20675
8b1b3228
AC
20676 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20677 gdb_test and gdb_test_multiple.
20678
935c2760
JJ
206792004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20680
20681 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 20682 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
20683 provide line number info for first statement in main.
20684
1544280f
AC
206852004-07-08 Andrew Cagney <cagney@gnu.org>
20686
1279f4ff
AC
20687 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20688
1544280f
AC
20689 * gdb.base/sigbpt.exp: Make the common part of each test name a
20690 prefix instead of suffix.
20691
bcc82369
BR
206922004-07-07 Bob Rossi <bob_rossi@cox.net>
20693
20694 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20695 test from test_tbreak_creation_and_listing to
20696 test_file_list_exec_source_file
20697 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20698 Changed name of test from test_tbreak_creation_and_listing to
20699 test_file_list_exec_source_file
20700
23f4b0aa
JJ
207012004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20702
20703 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20704 the jmisc() constructor instead of <init>.
20705 * gdb.java/jmisc1.exp: Ditto.
20706
56401cd5
AC
207072004-07-07 Andrew Cagney <cagney@gnu.org>
20708
20709 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20710 corrupting the PC.
20711
44ae2f6a
MC
207122004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20713
20714 * gdb.cp/templates.exp: Accept whitespace change in demangler
20715 output.
20716
45a83408
AC
207172004-07-06 Andrew Cagney <cagney@gnu.org>
20718
20719 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20720
d205ad70
MC
207212004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20722
20723 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20724 * lib/compiler.cc: Likewise.
20725
06ea1a61
MC
207262004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20727
20728 * lib/compiler.cc: Work around string preprocessing problem
20729 with old hp c++ compiler.
20730 * lib/compiler.c: Likewise.
20731
daab1251
CV
207322004-06-29 Corinna Vinschen <vinschen@redhat.com>
20733
20734 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20735 directives to conditionalize symbol prefixing.
20736 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20737 additional_flags handling. Add underscore prefix for Cygwin.
20738 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20739 conditionalize symbol prefixing.
20740 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20741 additional_flags handling. Add underscore prefix for Cygwin.
20742
cc984116
CV
207432004-06-29 Corinna Vinschen <vinschen@redhat.com>
20744
20745 * gdb.base/bigcore.exp: Skip test on Cygwin.
20746
c279b077
MC
207472004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20748
20749 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20750 formats for "info register". Use gdb_test_multiple. Fix
20751 the "invalid register" test.
20752
0e915747
CV
207532004-06-28 Corinna Vinschen <vinschen@redhat.com>
20754
20755 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20756 PID for Cygwin. Add Cygwin specific strings to check for in some
20757 tests.
20758 (do_attach_tests): Add a test for user interaction when attaching
20759 to a process with no matching symbol table already loaded.
20760
11422c86
AC
207612004-06-26 Andrew Cagney <cagney@gnu.org>
20762
20763 Test PR java/1567 and PR java/1565.
20764 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20765 * gdb.java/jmisc2.exp: Delete file.
20766
cefbce26
MC
207672004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20768
20769 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20770
e19f872c
CV
207712004-06-25 Corinna Vinschen <vinschen@redhat.com>
20772
20773 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20774 attach process.
20775
d931ba3b
MC
207762004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20777
20778 * gdb.cp/pr-1553.exp: Remove.
20779
aef68c48
MC
207802004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20781
20782 * gdb.cp/pr-1553.cc: Remove.
20783 * gdb.cp/pr-1553.exp: Disable this test.
20784
8d5df71a
JB
207852004-06-20 Jim Blandy <jimb@redhat.com>
20786
a9c64011 20787 Fix PR testsuite/1680.
8d5df71a
JB
20788 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20789 regular expressions.
20790
4ac6f39d
MC
207912004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20792
20793 Fix PR testsuite/1679.
20794 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20795 Issue an UNSUPPORTED result instead.
20796
1b413552
JB
207972004-06-18 Jim Blandy <jimb@redhat.com>
20798
20799 * gdb.base/charset.exp: Only send a control-C if we see a new
20800 prompt and incomplete command.
20801
6daa6ebd
MC
208022004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20803
20804 * gdb.cp/pr-574.cc: Add copyright notice.
20805
51fa4ae0
JB
208062004-06-17 Jim Blandy <jimb@redhat.com>
20807
20808 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20809 cases where the regexp has no groups; this grabs random text from
20810 the previous test suite, whatever that was.
20811
8fea26c5
MC
208122004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20813
20814 * gdb.cp/printmethod.cc: Add copyright notice.
20815
1e3aeb41
MC
208162004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20817
20818 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20819
9d9030bc
AC
208202004-06-16 Andrew Cagney <cagney@gnu.org>
20821
20822 * gdb.base/signull.c: Update copyright. Include <string.h>.
20823 (bowler): Replace data_pointer with data_read
20824 and data_write cases. Add code_descriptor case.
20825 (zero, desc): New array and pointer.
20826 (data, code): Change to simple pointers.
20827 * gdb.base/signull.exp: Fix probe pattern matching a function
20828 descriptor SIGSEGV. Replace data_pointer with data_read and
20829 data_write tests.
20830
acd4ad44
AC
208312004-06-16 Andrew Cagney <cagney@gnu.org>
20832
20833 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20834
08fd625c
MC
208352004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20836
20837 * gdb.base/long_long.c: Add copyright notice.
20838
1903502c
MC
208392004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20840
20841 * gdb.base/long_long.exp: Remove reference to
20842 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20843 to gdb_breakpoint and gdb_continue_to_breakpoint.
20844
83313cb1
JB
208452004-06-14 Jim Blandy <jimb@redhat.com>
20846
20847 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20848 endian case.
20849
1bf404ef
AC
208502004-06-14 Andrew Cagney <cagney@gnu.org>
20851
20852 * gdb.base/gcore.exp (capture_command_output): Delete the always
20853 passing tests containing inferior values.
20854 * gdb.base/ending-run.exp: Do not include the breakpoint address
20855 in the test message. Update copyright.
20856 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20857 size in the test name, use gdb_test_multiple. Update copyright.
20858
ef220b33
MC
208592004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20860
20861 * gdb.cp/ref-types.cc: Add copyright notice.
20862
4f70a4c9
MC
208632004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20864
20865 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20866 hp_aCC_compiler.
20867 * lib/compiler.cc: Likewise.
20868 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20869 'set' commands. Log diagnostics for other lines. Set
20870 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20871
335928ac
MC
208722004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20873
20874 * gdb.cp/try_catch.cc: Add copyright notice.
20875
2efb12e8
MC
208762004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20877
20878 * gdb.cp/userdef.cc: Add copyright notice.
20879
0bbed51a
MC
208802004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20881
20882 * gdb.cp/virtfunc.cc: Add copyright notice.
20883
e12a46c9
RC
208842004-06-11 Randolph Chung <tausq@debian.org>
20885
20886 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20887 problem.
20888
338e05af
AC
208892004-06-10 Andrew Cagney <cagney@gnu.org>
20890
20891 * lib/compiler.cc, lib/compiler.c: Append either
20892 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20893 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20894 instead of gcc-3-3.
20895
dc3f10cb
AC
208962004-06-09 Andrew Cagney <cagney@gnu.org>
20897
b4d946af
AC
20898 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20899 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20900
dc3f10cb
AC
20901 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20902 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20903 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20904 fixed.
20905
b5c0bfa2
AC
209062004-06-09 Andrew Cagney <cagney@gnu.org>
20907
20908 * gdb.base/structs.exp (test_struct_returns): Replace
20909 "return_value_unknown" and "finish_value_unknown" by
20910 "return_value_known" and "finish_value_known". Instead of
20911 "return_value_unknown" iff "finish_value_unknown", check
20912 "return_value_known" implies "finish_value_known".
20913
caeb605f
MH
209142004-06-08 Martin Hunt <hunt@redhat.com>
20915
20916 * gdb.base/float.exp: Add pattern for mips targets.
20917
c892bb64
RC
209182004-06-08 Randolph Chung <tausq@debian.org>
20919
20920 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20921 message for unknown architectures more clear.
20922
48306d3e
JB
209232004-06-08 Joel Brobecker <brobecker@gnat.com>
20924
20925 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20926 start the execution of the program.
20927
83ecb59f
JB
209282004-06-07 Jim Blandy <jimb@redhat.com>
20929
20930 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20931 * gdb.arch/i386-cpuid.h: New helper file.
20932
55264cb4
RC
209332004-06-07 Randolph Chung <tausq@debian.org>
20934
20935 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20936 has started.
20937
23cadb28
RM
209382004-06-04 Roland McGrath <roland@redhat.com>
20939
20940 Fix PR gdb/1647.
20941 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20942 differently to be robust to output buffering differences.
20943
51d01eda
MC
209442004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20945
20946 * gdb.threads/pthreads.exp: Update copyright years.
20947 (check_control_c): Change asynchronous 'after' to synchronous.
20948
f4fc3b93
RM
209492004-06-04 Roland McGrath <roland@redhat.com>
20950
20951 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20952 next gdb prompt.
20953
4013522b
MC
209542004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20955
20956 Fix PR gdb/1636.
20957 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20958 calls to synchronous.
20959
7a8f1e6b
JB
209602004-05-26 Jim Blandy <jimb@redhat.com>
20961
20962 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20963
81bb3443
RC
209642004-05-24 Randolph Chung <tausq@debian.org>
20965
20966 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20967 * gdb.asm/pa.inc: New file.
20968
8f5a3103
MK
209692004-05-22 Mark Kettenis <kettenis@gnu.org>
20970
20971 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20972
734b8fe8 209732004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20974 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20975
20976 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20977 GDB prompt.
20978
725603e1
UW
209792004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20980
f4fc3b93 20981 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20982 setjmp/longjmp. Use sigaction instead of signal.
20983
8b923272 209842004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20985 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20986
20987 * gdb.threads/pthread_cond_wait.c: New file.
20988 * gdb.threads/pthread_cond_wait.exp: New testcase.
20989
8bfabb04
AC
209902004-05-13 Andrew Cagney <cagney@redhat.com>
20991
20992 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20993 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20994
42edda50
AC
209952004-05-11 Andrew Cagney <cagney@redhat.com>
20996
20997 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20998 fixed but revealed gdb/1639.
20999
d303a6c7
AC
210002004-05-10 Andrew Cagney <cagney@redhat.com>
21001
21002 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21003 func1" and "next to 2nd alarm", kernel bug avoided.
21004
bf08c2a1
DJ
210052004-05-10 Daniel Jacobowitz <dan@debian.org>
21006
21007 PR external/1568
21008 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21009 XFAIL if it is smaller than bytes_allocated.
21010 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21011 (main): Make chunks_allocated unsigned. Correct comment.
21012
c0586a34
JB
210132004-05-07 Joel Brobecker <brobecker@gnat.com>
21014
21015 * gdb.arch/powerpc-aix-prologue.c: New file.
21016 * gdb.arch/powerpc-aix-prologue.exp: New file.
21017
f2785d12
JB
210182004-05-07 Jim Blandy <jimb@redhat.com>
21019
21020 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21021 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21022
bd7f6e30
JB
210232004-05-06 Joel Brobecker <brobecker@gnat.com>
21024
21025 * gdb.base/sep.exp: No longer setup_kfail when the program was
21026 built with dwarf2.
21027
0a5e7efe
JI
210282004-05-05 Jim Ingham <jingham@apple.com>
21029
21030 * gdb.base/pending.exp: Make sure pending breakpoints
21031 preserve the ignore count.
f4fc3b93 21032
a8958849
MK
210332004-04-27 Jerome Guitton <guitton@gnat.com>
21034
21035 * i386-prologue.exp: Add testcase for jump instruction as first
21036 instruction of the real code.
21037 * i386-prologue.c (jump_at_beginning): New function.
21038
7e103f5b
MK
210392004-04-28 Mark Kettenis <kettenis@gnu.org>
21040
21041 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21042 x86_64-*-*.
21043
5d38b224
MK
210442004-04-28 Mark Kettenis <kettenis@gnu.org>
21045
21046 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21047 i*86-*-*.
21048
0ef32fd9
MK
210492004-04-25 Mark Kettenis <kettenis@gnu.org>
21050
21051 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21052 expression that checks the return type.
21053
71d7dd7c
AC
210542004-04-23 Andrew Cagney <cagney@redhat.com>
21055
21056 * gdb.base/call-sc.exp: New test of scalar call/return values.
21057 * gdb.base/call-sc.c: Ditto.
21058
1e9f977e
JJ
210592004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21060
21061 * gdb.threads/manythreads.c: Reduce thread stack size.
21062
899d9e3a
JJ
210632004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21064
21065 * gdb.threads/manythreads.c: Add copyright notice.
21066
61bcae62
AC
210672004-04-23 Andrew Cagney <cagney@redhat.com>
21068
21069 * gdb.base/siginfo.exp: Better handle step out of signal.
21070 * gdb.base/sigstep.exp: Ditto.
21071
7339a42e 210722004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 21073 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
21074
21075 * gdb.threads/manythreads.c: New testcase.
21076 * gdb.threads/manythreads.exp: Ditto.
21077
5c98409b
JB
210782004-04-22 Jim Blandy <jimb@redhat.com>
21079
21080 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21081 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21082
3b611f1a
MC
210832004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21084
21085 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21086
f0fd9238
AC
210872004-04-21 Andrew Cagney <cagney@redhat.com>
21088
21089 * gdb.base/sigstep.c: New file.
21090 * gdb.base/sigstep.exp: New file.
21091
90990674
JB
210922004-04-16 Joel Brobecker <brobecker@gnat.com>
21093
21094 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21095 call to observer_notify_normal_stop.
21096
78cef34b
AC
210972004-04-15 Andrew Cagney <cagney@redhat.com>
21098
21099 * gdb.base/siginfo.c: New file.
21100 * gdb.base/siginfo.exp: New file.
21101
d2343407
JB
211022004-04-12 J. Brobecker <brobecker@gnat.com>
21103
21104 * gdb.base/sep.exp: Fix typo in comment.
21105
a2dba3c8
JB
211062004-04-12 J. Brobecker <brobecker@gnat.com>
21107
21108 * gdb.base/sep.c: New file.
21109 * gdb.base/sep-proc.c: New file.
21110 * gdb.base/sep.exp: New testcase.
21111
15f7b60e
MK
211122004-04-09 Mark Kettenis <kettenis@gnu.org>
21113
21114 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21115 support.
21116
44f4de1a
AC
211172004-04-05 Andrew Cagney <cagney@redhat.com>
21118
21119 * gdb.base/sigaltstack.c: New file.
21120 * gdb.base/sigaltstack.exp: New file.
21121
ef04f396
JB
211222004-04-04 Joel Brobecker <brobecker@gnat.com>
21123
21124 * gdb.base/foll-fork.exp: Update the expected output for
21125 "help set follow-fork-mode", to match a change that was made
21126 to the help of this variable on 2004-01-13.
21127
d40d2c92
JB
211282004-04-01 Joel Brobecker <brobecker@gnat.com>
21129
21130 * lib/ada.exp: Add copyright notice.
21131 * bar.ads: Likewise.
21132 * bar.adb: Likewise.
21133 * null_record.adb: Likewise.
21134 * null_record.exp: Likewise.
21135 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21136
f86ef5a3
JB
211372004-04-01 Joel Brobecker <brobecker@gnat.com>
21138
21139 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21140 * configure: Regenerate.
21141
414e70e3
JB
211422004-04-01 Joel Brobecker <brobecker@gnat.com>
21143
21144 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21145 to build the application. Remove the message printed when in
21146 verbose mode, redundant with the UNSUPPORTED message above.
21147
f0aaee49
JB
211482004-03-31 Joel Brobecker <brobecker@gnat.com>
21149
21150 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21151 * gdb.ada (null_record.exp): New testcase.
21152
ac81cb54
JB
211532004-03-31 Joel Brobecker <brobecker@gnat.com>
21154
21155 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21156
854af2f7
JB
211572004-03-31 Joel Brobecker <brobecker@gnat.com>
21158
21159 * gdb.ada: New subdirectory.
21160 * gdb.ada/Makefile.in: New file.
21161 * gdb.ada/gnat_ada.gpr.in: New file.
21162
034cb681
JB
211632004-03-31 Joel Brobecker <brobecker@gnat.com>
21164
21165 * lib/ada.exp: New file.
21166
78a1a894
DJ
211672004-03-24 Daniel Jacobowitz <drow@mvista.com>
21168
21169 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21170 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21171
4b2b3b3e
AC
211722004-03-22 Andrew Cagney <cagney@redhat.com>
21173
21174 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21175 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21176 Problem identified by Ulrich Weigand.
21177
23c73aa3
DC
211782004-03-17 David Carlton <carlton@kealia.com>
21179
21180 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21181 PR c++/826.
21182
d63a86f8
RM
211832004-03-16 Roland McGrath <roland@redhat.com>
21184
21185 * gdb.base/auxv.exp: New file.
21186 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21187
0e02aa50
DC
211882004-03-12 David Carlton <carlton@kealia.com>
21189
21190 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21191 * gdb.cp/pr-1553.cc: Ditto.
21192 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21193 pass branch.
21194
c20b71be
MC
211952004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21196
21197 * gdb.cp/templates.exp: Accept more template types.
21198
c7414a01
MC
211992004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 From Corinna Vinschen with modifications.
21202 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21203 local variable obj_with_enum.
21204 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21205 results with obj_with_enum.
21206
ed69573c
MC
212072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21208
21209 * gdb.cp/classes.cc: New file, copied from misc.cc.
21210 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21211
28301461
MC
212122004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21213
21214 * gdb.cp/misc.cc: Add copyright notice.
21215
1198ecbe
DC
212162004-03-05 David Carlton <carlton@kealia.com>
21217
21218 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21219 * gdb.cp/rtti.h: Update copyright.
21220 (namespace n2::n3): New.
21221 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21222 (n2::n3::func3): New.
21223 (main): Call n2::n3::func3.
21224 * gdb.cp/rtti2.cc: Update copyright.
21225 (n2::create3): New.
21226
9e08c470
MK
212272004-03-04 Mark Kettenis <kettenis@gnu.org>
21228
21229 * gdb.asm/openbsd.inc: Fix typo.
21230
4bebc3aa
FF
212312004-03-03 Fred Fish <fnf@redhat.com>
21232
21233 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21234 "val" instead of unused "size". Update copyright year.
21235
6ea9fb37
DJ
212362004-02-29 Daniel Jacobowitz <drow@mvista.com>
21237
21238 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21239 to use unsigned char.
21240 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21241 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21242
23b23974
DJ
212432004-02-29 Daniel Jacobowitz <drow@mvista.com>
21244
21245 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21246 line of output.
21247
7574fd53
DJ
212482004-02-28 Daniel Jacobowitz <drow@mvista.com>
21249
21250 * gdb.base/relocate.c (dummy): Initialize.
21251
a195357f
DJ
212522004-02-28 Daniel Jacobowitz <drow@mvista.com>
21253
21254 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21255 a breakpoint at exit.
21256
72fd54a9
FF
212572004-02-27 Fred Fish <fnf@redhat.com>
21258
21259 * gdb.base/chng-syms.exp: Add expect condition to match failing
21260 case that isn't a timeout.
21261
b9d23137
AC
212622004-02-27 Andrew Cagney <cagney@redhat.com>
21263
21264 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21265 support.
21266
15d208f6 212672004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 21268
15d208f6
FF
21269 * gdb.arch/gdb1431.c: Remove.
21270 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21271 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21272 of "until" incorrectly.
21273
98f9cd2d
JB
212742004-02-26 J. Brobecker <brobecker@gnat.com>
21275
21276 * gdb.cp/class2.cc (empty): New class.
21277 (refer): New function.
21278 (main): Declare an object of type empty and use it.
21279 * gdb.cp/class2.exp: Print the value of an object of type empty.
21280
9b50c11b
JJ
212812004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21282
21283 * gdb.base/langs.exp: Update query string to match the
21284 new nquery format used for pending breakpoints.
21285
0dcd613f
AC
212862004-02-26 Andrew Cagney <cagney@redhat.com>
21287
21288 Fix PR i18n/1570.
21289 * gdb.base/charset.c: Update copyright notice.
21290 (main, init_string): Remove the escape character '\e' tests.
21291 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21292 * gdb.base/charset.exp (valid_host_charset): Ditto.
21293 * gdb.base/setvar.exp: Ditto.
21294
b8a56647
AC
212952004-02-24 Andrew Cagney <cagney@redhat.com>
21296
90d59e34
AC
21297 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21298 mmapped data in core file" PASS and FAIL messages consistent.
21299
b8a56647
AC
21300 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21301 setting a breakpoint. Work around PR java/1565.
21302
9f27c604
JJ
213032004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21304
21305 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21306 new nquery format.
21307 * gdb.base/pending.exp: Ditto.
21308
3224a706
MK
213092004-02-22 Mark Kettenis <kettenis@gnu.org>
21310
21311 * configure.in: Run stabs tests on *BSD.
21312 * configure: Regenerated.
21313
41e0a9ca
MK
213142004-02-21 Mark Kettenis <kettenis@gnu.org>
21315
21316 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21317
1e1b3428
FF
213182004-02-20 Fred Fish <fnf@redhat.com>
21319
21320 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21321 blank in test for "returns short", for consistency with other
21322 "returns xxx" tests. Update copyright year.
21323
f9a7572a
FF
213242004-02-19 Fred Fish <fnf@redhat.com>
21325
21326 New testcase for PR breakpoint/1558.
21327 * gdb.arch/gdb1558.exp: New file.
21328 * gdb.arch/gdb1558.c: New file.
21329
b2ce2854
EZ
213302004-02-19 Elena Zannoni <ezannoni@redhat.com>
21331
21332 * gdb.base/nodebug.exp: Fix typo.
21333
e7c9ff01
JB
213342004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21335
21336 Committed by Jim Blandy <jimb@redhat.com>.
21337
62f4b920
JB
21338 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21339
2db536a1
JB
21340 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21341
e7c9ff01
JB
21342 * gdb.base/float.exp: Support s390*-*-* targets.
21343
f3205b34
AF
213442004-02-17 Adam Fedor <fedor@gnu.org>
21345
21346 * gdb.base/gdb1555.exp: New file.
21347 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21348
9d62932d
EZ
213492004-02-17 Elena Zannoni <ezannoni@redhat.com>
21350
21351 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21352
344c9711
FF
213532004-02-16 Fred Fish <fnf@redhat.com>
21354
21355 * gdb.arch/gdb1291.c: Remove
21356 * gdb.arch/gdb1291.s: New test input file.
21357 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21358 fail. Test for correct result, known incorrect result, other
21359 failures and timeouts.
21360
2d822687
AC
213612004-02-16 Andrew Cagney <cagney@redhat.com>
21362
21363 * gdb.base/bigcore.exp: New file.
21364 * gdb.base/bigcore.c: New file.
21365
dac15b66
AC
213662004-02-13 Andrew Cagney <cagney@redhat.com>
21367
21368 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21369 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21370 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21371 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21372 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21373 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21374 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21375 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21376 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21377 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21378
6bdfc2c4
JJ
213792004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21380
21381 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21382 executed is an alloc instruction.
21383
87b3ede8
DC
213842004-02-11 David Carlton <carlton@kealia.com>
21385
21386 * gdb.cp/breakpoint.exp: New.
21387 * gdb.cp/breakpoint.cc: New.
21388
6e19e2bf
MC
213892004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21390
21391 Partial fix for PR gdb/1543.
21392 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21393 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21394 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21395 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21396 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21397 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21398 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21399 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21400 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21401 to bug-gdb@prep.ai.mit.edu .
21402 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21403 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21404 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21405 Likewise.
21406
5c5455dc
AC
214072004-02-10 Andrew Cagney <cagney@redhat.com>
21408
21409 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21410 using gdb_internal_error_resync.
21411
9cf689d7
DJ
214122004-02-09 Daniel Jacobowitz <drow@mvista.com>
21413
21414 * gdb.threads/thread-specific.exp: Stop early if no threads are
21415 found.
21416
d2dc51db
MC
214172004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21418
21419 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21420
14b1a056
DJ
214212004-02-08 Daniel Jacobowitz <drow@mvista.com>
21422
21423 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21424 breakpoints.
21425
83f66e8f
DJ
214262004-02-07 Daniel Jacobowitz <drow@mvista.com>
21427
21428 * config/sim.exp (gdb_load): Handle $arg == "".
21429 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21430 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21431
30fc0091
EZ
214322004-02-07 Elena Zannoni <ezannoni@redhat.com>
21433
a9c64011
AS
21434 * gdb.base/maint.exp: Update test to reflect
21435 obstack changes.
30fc0091 21436
4d806929
JJ
214372004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21438
21439 * gdb.base/pendshr.c (pendfunc): New function that calls
21440 pendfunc1.
21441 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21442
7bfdd688
FF
214432004-02-04 Fred Fish <fnf@redhat.com>
21444
21445 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21446 function symbols and update copyright years.
21447 * gdb.arch/gdb1291.c: Ditto.
21448
aaa08ee4
MC
214492004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21450
21451 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21452
dbad7755
MC
214532004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21454
21455 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21456
ec4646ef
MC
214572004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21458
21459 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21460
1b802196
FF
214612004-02-02 Fred Fish <fnf@redhat.com>
21462
21463 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21464 remote targets. Update copyright years.
21465
18fe2033
JJ
214662004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21467
21468 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21469 support.
21470 * gdb.base/langs.exp: Fix test which attempts to create
21471 breakpoint on non-existent function to handle new pending
21472 support.
21473 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21474 a breakpoint.
21475 * gdb.base/pending.exp: New test.
21476 * gdb.base/pending.c: New file.
21477 * gdb.base/pendshr.c: Ditto.
21478
8d577d32
DC
214792004-02-02 David Carlton <carlton@kealia.com>
21480
21481 * gdb.cp/overload.exp: Add overloadNamespace tests.
21482 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21483 (overloadNamespace, XXX): New.
21484 (main): Call XXX::marker2.
21485
3ad13771
FF
214862004-02-01 Fred Fish <fnf@redhat.com>
21487
21488 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21489 * gdb.base/finish.exp: Ditto.
21490 * gdb.base/gcore.exp: Ditto.
21491 * gdb.base/huge.exp: Ditto.
21492 * gdb.base/info-proc.exp: Ditto.
21493 * gdb.base/return2.exp: Ditto.
21494 * gdb.threads/gcore-thread.exp: Ditto.
21495
44c75849
DJ
214962004-02-01 Daniel Jacobowitz <drow@mvista.com>
21497
21498 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21499
005bc093
MK
215002004-02-01 Mark Kettenis <kettenis@gnu.org>
21501
21502 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21503 that opening the file succeeds on OpenBSD.
21504
c47cebdb
DJ
215052004-02-01 Daniel Jacobowitz <drow@mvista.com>
21506
21507 * gdb.threads/thread-specific.c: New file.
21508 * gdb.threads/threads-specific.exp: New test script.
21509 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21510 to expect_out.
21511
5a01311c
MK
215122004-02-01 Mark Kettenis <kettenis@gnu.org>
21513
21514 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21515 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21516 only on the "print_small_structs from print_long_arg_list" test.
21517
ce22a4f1
DJ
215182004-02-01 Daniel Jacobowitz <drow@mvista.com>
21519
21520 * gdb.base/completion.exp: Kill a stray backslash.
21521
21522 From Jim Ingham <jingham@apple.com>:
21523 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21524 agrees with the result from sending a tab.
21525
abbab9d3
DJ
215262004-01-31 Daniel Jacobowitz <drow@mvista.com>
21527
21528 * gdb.base/chng-syms.exp: Remove stray newline.
21529
53904d1e
MK
215302004-01-31 Mark Kettenis <kettenis@gnu.org>
21531
21532 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21533 *-*-openbsd*.
21534 * gdb.asm/openbsd.inc: New file.
21535
3a4b3aac
MK
215362004-01-30 Mark Kettenis <kettenis@gnu.org>
21537
21538 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21539 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21540 *-*solaris2*. Remove commented out default settings for
21541 asm-flags. Replace gdb_compile with target_link.
21542
ebac27b4
MC
215432004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21544
21545 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21546 for all tests. Remove old hp-ux and cygnus xfail cases.
21547
d8679d84
PH
215482004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21549
21550 * gdb.base/chng-syms.exp: New file.
21551 * gdb.base/chng-syms.c: New file.
21552
0a55bc22
MC
215532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21554
21555 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21556 Provide arms for current output in all my configurations.
21557
94b8e876
MC
215582004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21559
21560 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21561 * lib/compiler.cc: Likewise.
21562 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21563 get the right preprocessor. Eval the output directly. Remove
21564 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21565 hp_f77_compiler and hp_f90_compiler completely.
21566 (gdb_preprocess): Delete.
21567 (get_compiler): Delete.
21568
7cf03d44
MK
215692004-01-24 Mark Kettenis <kettenis@gnu.org>
21570
21571 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21572 <string.h>.
21573
68b6dce9
NR
215742004-01-24 Nick Roberts <nick@nick.uklinux.net>
21575
21576 * gdb.mi/mi-stack.exp: Update copyright.
21577
b368761e
DC
215782004-01-23 David Carlton <carlton@kealia.com>
21579
21580 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21581 test for cp_lookup_transparent_type.
21582 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21583 call them.
21584
f2061b53
DJ
215852004-01-23 Daniel Jacobowitz <drow@mvista.com>
21586
21587 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21588 after -var-update.
21589
37fc574a
DC
215902004-01-23 David Carlton <carlton@kealia.com>
21591
21592 * gdb.cp/namespace.cc (C::ensureRefs): New.
21593 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21594
8e94b928
NR
215952004-01-20 Nick Roberts <nick@nick.uklinux.net>
21596
21597 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21598 case "-stack-list-locals 2".
21599 * gdb.mi/mi-var-child.exp: Test for case
21600 "-var-list-children --all-values NAME".
21601
997b0952
MC
216022004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21603
21604 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21605
52470da3
MK
216062004-01-18 Mark Kettenis <kettenis@gnu.org>
21607
7049b4b8
MK
21608 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21609 used with gdb_test_multiple.
21610
52470da3
MK
21611 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21612 read at address 0. This fixes PR testsuite/1504.
21613
da6012e5
DJ
216142004-01-18 Daniel Jacobowitz <drow@mvista.com>
21615
21616 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21617 Remove downloading, guessing the host executable, the calls to
21618 gdb_file_cmd and gdb_target_cmd, and "load" support.
21619 (infer_host_exec): New function broken out from gdb_load.
21620 (gdb_load): New wrapper for gdbserver_gdb_load.
21621 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21622 gdb_target_cmd. Use -target-select.
21623 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21624 Download binaries to the host. Clear last_mi_remote_file when
21625 we load a new binary.
21626 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21627 call gdbserver_gdb_load and mi_gdb_target_cmd.
21628
32c70722
MC
216292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21630
21631 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21632 type patterns.
21633
b0cecf36
MC
216342004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21635
21636 * gdb.cp/templates.exp: Fix typo in test name of
21637 "print Foo<volatile char*>::foo".
21638
4120d7e6
MC
216392004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21640
21641 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21642
f679e530
BE
216432004-01-16 Ben Elliston <bje@wasabisystems.com>
21644
21645 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21646 (clean mostlyclean): Remove empty rm.
21647
091c48f6
MC
216482004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21649
21650 * gdb.base/setvar.exp: Add copyright years.
21651
3e5fc8d2
DC
216522004-01-14 David Carlton <carlton@bactrian.org>
21653
21654 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21655 PR c++/1511 and update coment.
21656 * gdb.cp/templates.exp: Update patterns to match current output.
21657 If changes involve something other than whitespace, KFAIL
21658 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21659
63d06c5c
DC
216602004-01-14 David Carlton <carlton@kealia.com>
21661
21662 * gdb.cp/namespace.exp: Add tests involving classes defined within
21663 namespaces.
21664 * gdb.cp/namespace.cc (C::CClass): New.
21665 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21666
a51dab88
EZ
216672004-01-14 Elena Zannoni <ezannoni@redhat.com>
21668
21669 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21670 what debug info we have. Print a better message if something goes
21671 wrong while producing the separate debug info file.
21672
a476ccc9
MC
216732004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21674
21675 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21676
f453692c
MC
216772004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21678
21679 * gdb.base/callfuncs.c: Add copyright notice.
21680
f40063a5
MC
216812004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21682
21683 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21684 inheritance. PR gdb/1498, PR gcc/13539.
21685
19ac3974
EZ
216862004-01-13 Elena Zannoni <ezannoni@redhat.com>
21687
a9c64011
AS
21688 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21689 test specific name.
21690 * gdb.mi/gdb669.exp: Ditto.
21691 * gdb.mi/mi-pthreads.exp: Ditto.
21692 * gdb.mi/mi1-pthreads.exp: Ditto.
21693 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 21694
56c97c6e
MC
216952004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21696
21697 * gdb.cp/member-ptr.cc: Add copyright notice.
21698
a0644324
MC
216992004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21700
21701 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21702 some patterns for recent versions of gcc and hpacc. Delete
21703 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21704 Delete tests that access a NULL pointer-to-member-data. This
21705 script is still disabled for gcc.
21706
32fabe09
EZ
217072004-01-12 Elena Zannoni <ezannoni@redhat.com>
21708
21709 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 21710 escaped correctly.
32fabe09 21711
1f8a6abb
EZ
217122004-01-12 Elena Zannoni <ezannoni@redhat.com>
21713
21714 * gdb.base/sepdebug.exp: New file.
21715 * gdb.base/sepdebug.c: New file.
21716 * lib/gdb.exp (separate_debug_filename): New procedure.
21717 (gdb_gnu_strip_debug): New procedure.
21718
48efe704
AC
217192004-01-12 Andrew Cagney <cagney@redhat.com>
21720
21721 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21722 * gdb.mi/ChangeLog-1999-2003: New file.
21723
a9415475
AC
217242004-01-12 Andrew Cagney <cagney@redhat.com>
21725
21726 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21727 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21728 or EEXIST", treat EBUSY as an XFAIL.
21729
83b8cf9d
MC
217302004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21731
21732 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21733 hp_cc_compiler.
21734
9939d2a8
MC
217352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21736
21737 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21738 decorations.
21739
1ff8cadf
MC
217402004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21741
21742 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21743 and "(aCC)" decorations. Remove obsolete doco about old
21744 test results.
21745
6fa9022e
MC
217462004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21747
21748 * gdb.cp/exception.exp: Fix typo in doco.
21749
209721fe
MK
217502004-01-09 Mark Kettenis <kettenis@gnu.org>
21751
21752 * gdb.base/gdb1476.exp: Fix typo.
21753
ef11303e
MC
217542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21755
21756 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21757 file.
21758
041ab88c
MC
217592004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21760
21761 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21762 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21763 Use gdb_compile. Remove restriction on gcc. Add some patterns
21764 for recent version of gdb. Delete second half, which was a copy
21765 of the first half with different build flags. This test is
21766 still disabled because it is still not ready for production.
21767
e36d075a
MC
217682004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21769
21770 * gdb.cp/exception.cc: Add copyright notice.
21771 * gdb.cp/exception.exp: Add a notice that this file is broken
21772 because of line number changes caused by addition of copyright
21773 notice.
21774
42b190ad
MC
217752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21776
21777 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21778 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21779
8f25f06b
MC
217802004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21781
21782 * gdb.cp/classes.exp: Accept gnu abi 2.
21783 * gdb.cp/derivation.exp: Likewise.
21784 * gdb.cp/overload.exp: Likewise.
21785 * gdb.cp/virtfunc.exp: Likewise.
21786
06ded8b8
MC
217872004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21788
21789 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21790 semicolon after end of function.
21791
77c26ae3
MC
217922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21793
21794 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21795 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21796 boilerplate code for compiling and running the program under
21797 test. Add some string method tests.
21798
20757486
MC
217992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21800
21801 * gdb.cp/bs15503.cc: Add copyright notice.
21802 * gdb.cp/bs15503.exp: Adjust line number.
21803
0fd3b503
MC
218042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21805
21806 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21807 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21808
10d1bea8
MC
218092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21810
21811 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21812 hp_cc_compiler.
21813
2789202a
MC
218142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21815
21816 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21817 * gdb.cp/ctti.exp: Use the marker instead of "next".
21818 With gcc, run further before bailing.
21819
b862f14c
MC
218202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21821
21822 * gdb.cp/cttiadd.cc: Add copyright notice.
21823 * gdb.cp/cttiadd1.cc: Likewise.
21824 * gdb.cp/cttiadd2.cc: Likewise.
21825 * gdb.cp/cttiadd3.cc: Likewise.
21826
96da2469
MC
218272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21828
21829 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21830 Use gdb_test, gdb_test_multiple. Use floating-point values that
21831 have exact representations in IEEE-ish formats.
21832
053248ff
MC
218332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21834
21835 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21836 compilers. Delete duplicate call to get_compiler_info.
21837 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21838 * gdb.base/volatile.exp: Likewise.
21839
84acecdd
MK
218402004-01-07 Mark Kettenis <kettenis@gnu.org>
21841
21842 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21843 memory at address 0.
21844
fe11a27f
MC
218452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21846
21847 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21848 to test for hp-ux assembler. Fix copyright years.
21849
60ad077b
AC
218502004-01-07 Andrew Cagney <cagney@redhat.com>
21851
21852 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21853
1c9b8f33
AC
218542004-01-07 Andrew Cagney <cagney@redhat.com>
21855
21856 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21857 when creating the read-only file. From analysis by Roland McGrath
21858 and Elena Zannoni.
21859
753ccc7a
MC
218602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21861
21862 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21863
eca3e36b
MC
218642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21865
21866 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21867 data pointers.
21868
f8d4bac4
MC
218692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21870
21871 * gdb.cp/m-static.exp: Compile one source file at a time.
21872 Delete unused call to get_compiler_info.
21873
9b4e0f94
MC
218742004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21875
21876 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21877 * gdb.base/call-rt-st.exp: Likewise.
21878 * gdb.base/nodebug.exp: Likewise.
21879 * gdb.base/volatile.exp: Likewise.
21880 * gdb.cp/ref-types.exp: Likewise.
21881 * gdb.cp/templates.exp: Likewise.
21882
023c1024
MK
218832004-01-05 Mark Kettenis <kettenis@gnu.org>
21884
21885 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21886
19703c4a
MC
218872004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21888
21889 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21890 hppa*-hp-hpux*.
21891
18b67037
MK
218922004-01-04 Mark Kettenis <kettenis@gnu.org>
21893
ba6219c8
MK
21894 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21895 x86_64-*-*.
21896
18b67037
MK
21897 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21898 sparc64-*-* and sparc*-solaris2*.
21899
1bfbbb9d
MK
219002004-01-04 Mark Kettenis <kettenis@gnu.org>
21901
21902 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21903 return ${tests}" test. The ${tests} already mentions the
21904 filename.
21905
06846494
MC
219062004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21907
21908 * gdb.cp/local.exp: Accept gcc abi 2.
21909
3b0cb202
MC
219102004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21911
21912 * gdb.cp/templates.exp: Accept gcc abi 2.
21913
0643ec3f
MC
219142004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21915
21916 * lib/compiler.cc: Remove supports_template_debugging.
21917 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21918
d231d0b1
MC
219192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21920
21921 * gdb.cp/namespace.exp: Accept gcc abi 2.
21922
44ffb27c
MC
219232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21924
21925 * gdb.cp/method.exp: Accept gcc abi 2.
21926
184ad485
MC
219272004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21928
21929 * gdb.cp/classes.exp: Generate identical results as old version.
21930 * gdb.cp/derivation.exp: Likewise.
21931 * gdb.cp/overload.exp: Likewise.
21932 * gdb.cp/virtfunc.exp: Likewise.
21933
116f09e7
MC
219342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21935
21936 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21937 mysterious bug with sourceware version of expect.
21938
b1379776
MC
219392004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21940
21941 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21942 current versions of gcc, including gcc abi 2. Remove gratuitous
21943 restart of test program. Use gdb_test_multiple and gdb_test for
21944 all tests. Add patterns to xfail missing "const" in "const char *"
21945 and kfail PR gdb/1155.
21946
6b7a4c0e
MC
219472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21948
21949 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21950 current versions of gcc, including gcc abi 2. Remove gratuitous
21951 restart of test program. Use gdb_test_multiple and gdb_test for
21952 all tests. Add patterns to kfail PR gdb/1498.
21953
51615d72
MC
219542003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21955
21956 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21957 current versions of gcc, including gcc abi 2. Use "breakpoint"
21958 and "continue" instead of restarting the target program. Use
21959 gdb_test_multiple and gdb_test for all tests.
21960
7b79a9d7
MK
219612004-01-01 Mark Kettenis <kettenis@gnu.org>
21962
21963 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21964 for *-*-solaris2*.
21965
1cd3489f
MC
219662003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21967
21968 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21969 current versions of gcc, including gcc abi 2. Use "breakpoint"
21970 and "continue" instead of restarting the target program several
21971 times. Use gdb_test_multiple and gdb_test for all tests.
21972
850742db
MC
219732003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21974
21975 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21976 source files.
21977
eb4bbda8
MC
219782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21979
21980 * gdb.base/environ.exp: Handle compiling test case from multiple
21981 source files.
21982
e42c7771
MC
219832003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21984
21985 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21986
80e4b428
JB
219872003-12-17 Jim Blandy <jimb@redhat.com>
21988
5f06973a
JB
21989 * gdb.base/freebpcmd.c: Add copyright notice.
21990
80e4b428
JB
21991 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21992
0ab84fb7
MC
219932003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21994
21995 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21996
1b3bb3d0
JB
219972003-12-13 Jim Blandy <jimb@redhat.com>
21998
21999 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22000
3a4c9371
KB
220012003-12-12 Kevin Buettner <kevinb@redhat.com>
22002
22003 * gdb.asm/frv.inc: New file.
22004 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22005
a1dea79a
FF
220062003-12-09 Fred Fish <fnf@redhat.com>
22007
22008 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22009 functions to break1.c and leave prototypes behind. Add more
22010 "set breakpoint NN here" comments.
22011 * gdb.base/break1.c: New file.
22012
22013 * gdb.base/break.exp: Handle compiling test case from multiple
22014 source files and change source file references as needed.
22015 * gdb.base/completion.exp: Ditto.
22016 * gdb.base/condbreak.exp: Ditto.
22017 * gdb.base/define.exp: Ditto.
22018 * gdb.base/ena-dis-br.exp: Ditto.
22019 * gdb.base/info-proc.exp: Ditto.
22020 * gdb.base/maint.exp: Ditto.
22021 * gdb.base/until.exp: Ditto.
22022
22023 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22024 hardcoded line numbers.
22025 * gdb.base/define.exp: Ditto.
22026 * gdb.base/ena-dis-br.exp: Ditto.
22027 * gdb.base/maint.exp: Ditto.
22028 * gdb.base/until.exp: Ditto.
22029
22030 * gdb.base/completion.exp: Use "break1" for completion tests since
22031 "break" is no longer a unique prefix.
22032
5266b69c
AC
220332003-12-06 Andrew Cagney <cagney@redhat.com>
22034
22035 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22036 "return_value_unimplemented". When an unimplemented struct return
22037 architecture, report incorrect values as a KFAIL
22038
374451f0
MC
220392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22040
22041 * gdb.cp/rtti.exp: Accept new wording of warning from
22042 cp_lookup_rtti_type.
22043
ba9b20a7
MC
220442003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22045
22046 Partial fix for PR testsuite/1456.
22047 * gdb.base/scope.exp (test_at_main): Replace references to
22048 gcc_compiled with calls to test_compiler_info.
22049 (test_at_foo): Likewise.
22050 (test_at_bar): Likewise.
22051
b74b6d0b
MC
220522003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22053
22054 Partial fix for PR testsuite/1456.
22055 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22056 to test_compiler_info.
22057
ccfa3402
MC
220582003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22059
22060 * gdb.base/so-impl-ld.exp: Update copyright notice.
22061
f6246aba
MC
220622003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22063
22064 Partial fix for PR testsuite/1456.
22065 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22066 to test_compiler_info.
22067
13ae734a
MC
220682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22069
22070 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22071 from current versions of gdb. Clean up regular expressions.
22072 Delete redundant timeout case.
22073
d8e1cdee
MC
220742003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22075
22076 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22077 from current versions of gdb. Clean up regular expressions.
22078 Delete redundant timeout case.
22079
96457b64
MC
220802003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22081
22082 Partial fix for PR testsuite/1456.
22083 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22084 gcc_compiled with call to test_compiler_info.
22085
f35309fc
MC
220862003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22087
22088 Partial fix for PR testsuite/1456.
22089 * gdb.base/list.exp (test_list_function): Delete unused declaration
22090 of gcc_compiled.
22091
d7afdf9b
MC
220922003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22093
22094 Partial fix for PR testsuite/1456.
22095 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22096 call to test_compiler_info.
22097
71507b56
MK
220982003-11-29 Mark Kettenis <kettenis@gnu.org>
22099
22100 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22101 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22102 it to create the appropriate note.inc.
22103 * gdb.asm/asmsrc1.s: Include "note.inc".
22104 * gdb.asm/netbsd.inc: New file.
22105 * gdb.asm/empty.inc: New file.
22106
f81f93f7
MC
221072003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22108
22109 Partial fix for PR testsuite/1456.
22110 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22111 calls to test_compiler_info.
22112
9a77938e
MC
221132003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22114
22115 Partial fix for PR testsuite/1456.
22116 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22117 calls to test_compiler_info.
22118
e8367dc7
MK
221192003-11-27 Mark Kettenis <kettenis@gnu.org>
22120
22121 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22122 pattern for the KFAILs.
22123
526c61ee
AF
221242003-11-25 Adam Fedor <fedor@gnu.org>
22125
22126 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22127 * gdb.objc/objcdecode.m: New file.
22128
28f2d600
AF
221292003-11-25 Adam Fedor <fedor@gnu.org>
22130
22131 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22132 * gdb.objc/nondebug.m: New file.
22133
a3895cee
BE
221342003-11-26 Ben Elliston <bje@wasabisystems.com>
22135
22136 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22137 NetBSD as it does on FreeBSD. Modelled on a similar change by
22138 Mark Kettenis on 2003-05-30.
22139 (link-flags): Set to "--entry _start" regardless of target.
22140 Special linker flags are to be appended to $link-flags.
22141 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22142
c9f2c8a3
MC
221432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22144
22145 * gdb.cp/method.exp: Accept output of new demangler.
22146
15a0587a 221472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
22148
22149 * gdb/class2.exp: New file.
22150 * gdb/class2.cc: New file.
22151
3c00b570
MC
221522003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22153
22154 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22155 of new demangler.
22156
7027acc7
MK
221572003-11-23 Mark Kettenis <kettenis@gnu.org>
22158
22159 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22160 of gdb_test "run".
22161
b0e1598a
MK
221622003-11-23 Mark Kettenis <kettenis@gnu.org>
22163
22164 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22165 "continue" into "run".
22166
4d9eda44
MC
221672003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22168
22169 Partial fix for PR testsuite/1456.
22170 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22171 call to test_compiler_info.
22172 * gdb.cp/ctti.exp: Likewise.
22173 * gdb.cp/derivation.exp: Likewise.
22174 * gdb.cp/member-ptr.exp: Likewise.
22175 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22176 reference to gcc_compiled.
22177
221782003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
22179
22180 Fix PR testsuite/1463.
22181 * gdb.base/structs.exp (start_structs_test): Call
22182 get_debug_format before using the debug format.
22183
d422fe19
AC
221842003-11-22 Andrew Cagney <cagney@redhat.com>
22185
22186 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22187 * gdb.base/structs.exp: Use gdb_test_multiple.
22188
039cf96d
AC
221892003-11-20 Andrew Cagney <cagney@redhat.com>
22190
6882279b
AC
22191 * gdb.base/structs.exp: Handle and recover from internal errors.
22192 Replace "foo${n}" with "foo<n>" in test messages.
22193
e53890ae
AC
22194 * gdb.base/structs.exp: Update copyright. Rewrite.
22195 * gdb.base/structs.c: Update copyright. Rewrite.
22196
2b211c59
AC
22197 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22198 resync count exceeded.
d63a86f8 22199
039cf96d
AC
22200 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22201 from the internal error.
22202 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22203 Original from Jim Blandy.
22204 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 22205
eac98b22
AC
222062003-11-19 Andrew Cagney <cagney@redhat.com>
22207
22208 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22209 KFAIL.
22210
67455b2a
MK
222112003-11-17 Mark Kettenis <kettenis@gnu.org>
22212
22213 New testcase for PR backtrace/1435.
22214 * gdb.arch/i386-unwind.exp: New file.
22215 * gdb.arch/i386-unwind.c: New file.
22216
853d6e5b
AC
222172003-11-17 Andrew Cagney <cagney@redhat.com>
22218
22219 * lib/gdb.exp (compiler_info): New global.
22220 (test_compiler_info): New function.
22221 (get_compiler_info): Set compiler_info.
22222 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22223 "compiler_info" to gcc-<major>-<minor>.
22224
38cf6e11
MC
222252003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22226
22227 * gdb.trace/configure: Remove.
22228
a50d3602
EZ
222292003-11-13 Elena Zannoni <ezannoni@redhat.com>
22230
22231 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 22232 breakpoints.
a50d3602
EZ
22233 * gdb.base/break.exp: Remove all references to explicit line
22234 numbers.
22235
d9407aaa
NC
222362003-11-11 Nick Clifton <nickc@redhat.com>
22237
22238 * gdb.base/shreloc.exp: Do not run for targets which do not
22239 support shared objects.
22240
db488fc1
CV
222412003-11-10 Corinna Vinschen <vinschen@redhat.com>
22242
22243 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22244 Don't run tests if nofileio flag is given.
22245
6a90a18e
EZ
222462003-11-07 Elena Zannoni <ezannoni@redhat.com>
22247
22248 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 22249 as well as 'Watchpoint'.
6a90a18e 22250
0b915e9c
EZ
222512003-11-06 Elena Zannoni <ezannoni@redhat.com>
22252
22253 Reported by Jim Ingham <jingham@apple.com>:
22254 * gdb.base/annota1.exp: Match at least one occurrence of the
22255 signal handler annotation.
22256
d7e4b55f
EZ
222572003-11-06 Elena Zannoni <ezannoni@redhat.com>
22258
a9c64011
AS
22259 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22260 as well as 'Watchpoint'.
d7e4b55f 22261
2fe4e8d0
MC
222622003-11-05 Michael Chastain <mec@shout.net>
22263
22264 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22265
6ef88553
KW
222662003-11-03 Kris Warkentin <kewarken@qnx.com>
22267
22268 * gdb.arch/gdb1291.c: New test file.
22269 * gdb.arch/gdb1291.exp: New test script.
22270 * gdb.arch/gdb1431.c: New test file.
22271 * gdb.arch/gdb1431.exp: New test script.
22272
ae7dc4d8
MC
222732003-10-22 Michael Chastain <mec@shout.net>
22274
22275 * gdb.mi/pthreads.c: Add copyright notice.
22276
c39d7427
MC
222772003-10-22 Michael Chastain <mec@shout.net>
22278
22279 * gdb.threads/pthreads.c: Add copyright notice.
22280
8b7d96c1
MC
222812003-10-20 Michael Chastain <mec@shout.net>
22282
22283 * gdb.base/gdb1056.exp: New test script.
22284
d1d69fdd
DJ
222852003-10-13 Daniel Jacobowitz <drow@mvista.com>
22286
22287 * gdb.threads/killed.exp: Use gdb_run_cmd.
22288
7d605576
DJ
222892003-10-13 Daniel Jacobowitz <drow@mvista.com>
22290
22291 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22292 create a core file.
22293 * gdb.threads/gcore-thread.exp: Likewise.
22294
618ec112
CV
222952003-10-13 Corinna Vinschen <vinschen@redhat.com>
22296
22297 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22298 type, based on char type.
22299 (struct bit_flags_short_t): New bitfield type, based on short type.
22300 (init_bit_flags_char): New fuction.
22301 (init_bit_flags_short): Ditto.
22302 (print_bit_flags_char): Ditto.
22303 (print_bit_flags_short): Ditto.
22304 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22305
9367a73c
MC
223062003-10-11 Michael Chastain <mec@shout.net>
22307
22308 * gdb.base/call-rt-st.exp: Update copyright year.
22309
1decf120
KI
223102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22311
22312 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22313 * gdb.disasm/sh3.s: Ditto.
22314
5445b2ae
DJ
223152003-10-07 Daniel Jacobowitz <drow@mvista.com>
22316
22317 * gdb.threads/switch-threads.exp: New test.
22318 * gdb.threads/switch-threads.c: New source file.
22319
aec24853
CV
223202003-10-07 Corinna Vinschen <vinschen@redhat.com>
22321
22322 * gdb.base/ending-run.exp: Add sh specific case.
22323
adc7428d
AC
223242003-10-06 Andrew Cagney <cagney@redhat.com>
22325
22326 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22327 * gdb.disasm/mn10200.exp: Delete obsolete file.
22328
c9d37158
DJ
223292003-09-29 Daniel Jacobowitz <drow@mvista.com>
22330
22331 * ChangeLog: Correct an entry command.exp -> commands.exp.
22332 * gdb.base/commands.exp (bp_deleted_in_command_test)
22333 (temporary_breakpoint_commands): Check noargs.
22334
79c2c32d
DC
223352003-09-25 David Carlton <carlton@kealia.com>
22336
22337 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22338 of some print tests, where appropriate. Add tests for C::D::cd,
22339 E::ce, F::cXfX, G::XgX.
22340 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22341
594e6d67
RE
223422003-09-25 Richard Earnshaw <rearnsha@arm.com>
22343
22344 * lib/java.exp (java_init): Import target_alias before using it.
22345
10f0d451
DC
223462003-09-25 David Carlton <carlton@kealia.com>
22347
22348 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22349
274bcba0
EZ
223502003-09-23 Elena Zannoni <ezannoni@redhat.com>
22351
d63a86f8 22352 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 22353 weirdness.
274bcba0 22354
cdbf20f7
MC
223552003-09-17 Michael Chastain <mec@shout.net>
22356
22357 * gdb.cp/gdb1355.exp: New file.
22358 * gdb.cp/gdb1355.c: New file.
22359
71e06f80
CV
223602003-09-15 Corinna Vinschen <vinschen@redhat.com>
22361
22362 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22363 * gdb.asm/sh.inc: New file.
22364
5c4e30ca
DC
223652003-09-11 David Carlton <carlton@kealia.com>
22366
bd45b7af
DC
22367 * gdb.cp/namespace.exp: Add tests for namespace types.
22368 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
22369 (test_namespace): New.
22370
1c199746
EZ
223712003-09-11 Elena Zannoni <ezannoni@redhat.com>
22372
a9c64011 22373 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 22374 * gdb.stabs/weird.exp: Ditto.
1c199746 22375
04ed252f
MC
223762003-09-08 Michael Chastain <mec@shout.net>
22377
22378 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22379
d8a2d9e7
MC
223802003-09-07 Michael Chastain <mec@shout.net>
22381
22382 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22383 'parse error'.
22384
161afb24
MK
223852003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22386
22387 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22388
49f2741a
MC
223892003-08-30 Michael Chastain <mec@shout.net>
22390
22391 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22392 * gdb.gdb/observer.exp: Ditto.
22393 * gdb.gdb/xfullpath.exp: Ditto.
22394
8afa723e
MK
223952003-08-29 Mark Kettenis <kettenis@gnu.org>
22396
22397 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22398 *-*-*bsd*.
22399
f31dfe3b
JJ
224002003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22401
22402 * gdb.base/dump.exp: Skip for ia64.
22403
4630e498
JJ
224042003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22405
22406 * gdb.asm/asm-source.exp: Add ia64 support.
22407 * gdb.asm/ia64.inc: New file.
22408
1105b7ef
MC
224092003-08-22 Michael Chastain <mec@shout.net>
22410
22411 * gdb.cp: New directory.
22412 * gdb.cp/*: Copy from gdb.c++/*.
22413 * gdb.c++/*: Remove.
22414 * Makefile.in: Change gdb.c++ to gdb.cp.
22415 * configure.in: Ditto.
22416 * configure: Regnerate.
22417
c945b932
MK
224182003-08-18 Mark Kettenis <kettenis@gnu.org>
22419
22420 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22421 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22422
2b66634b
DJ
224232003-08-17 Daniel Jacobowitz <drow@mvista.com>
22424
22425 * mi-var-display.exp (-var-list-children weird): Accept function
22426 pointers with argument types.
22427 * mi1-var-display.exp (-var-list-children weird): Likewise.
22428 * mi2-var-display.exp (-var-list-children weird): Likewise.
22429
a356f73b
DJ
224302003-08-17 Daniel Jacobowitz <drow@mvista.com>
22431
22432 * gdb.base/annota3.exp: Add missing newline.
22433
483417b8
MC
224342003-08-06 Michael Chastain <mec@shout.net>
22435
22436 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22437
c99c59c3
MS
224382003-08-12 Michael Snyder <msnyder@redhat.com>
22439
22440 * gdb.base/float.exp: Add test for SH.
22441
55ed7501
MK
224422003-08-10 Mark Kettenis <kettenis@gnu.org>
22443
22444 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22445
1a371f2e
EZ
224462003-08-07 Elena Zannoni <ezannoni@redhat.com>
22447
22448 * gdb.base/completion.exp: Remove reduntant completion test
22449 on filename.
22450
e0f353ce
EZ
224512003-08-07 Elena Zannoni <ezannoni@redhat.com>
22452
a9c64011
AS
22453 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22454 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22455 gdb.trace/save-trace.exp: Make sure that full pathnames are
22456 escaped correctly.
e0f353ce 22457
5710a1af 224582003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 22459
a9c64011
AS
22460 * configure.in: Don't generate config.h from config.hin.
22461 * configure: Regenerate.
22462 * config.hin: Remove file.
22463 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22464 * gdb.threads/pthreads.c: Ditto.
5710a1af 22465
dcd81ce9
DJ
224662003-08-07 Daniel Jacobowitz <drow@mvista.com>
22467
22468 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22469 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22470 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22471 Replace ld24 with seth/add3.
22472
6009d884
AC
224732003-08-02 Andrew Cagney <cagney@redhat.com>
22474
22475 * gdb.base/annota3.exp: New file.
22476 * gdb.base/annota3.c: New file.
22477 * gdb.c++/annota3.exp: New file.
22478 * gdb.c++/annota3.cc: New file.
22479
51514e06
MC
224802003-07-29 Michael Chastain <mec@shout.net>
22481
22482 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22483 actually failed.
22484 (do_pass): Likewise.
22485 * gdb.threads/tls.exp: Always initialize no_of_threads.
22486
4ee6625b
DJ
224872003-07-27 Daniel Jacobowitz <drow@mvista.com>
22488
22489 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22490 pattern.
22491 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22492 * gdb.threads/tls.exp: Recognize one case of the host library not
22493 supporting TLS.
22494
225f2bf6
AC
224952003-07-27 Andrew Cagney <cagney@redhat.com>
22496
22497 * gdb.base/fileio.exp: Use SH when running commands using
22498 remote_exec.
22499
bcb27c9f
DJ
225002003-07-24 Daniel Jacobowitz <drow@mvista.com>
22501
22502 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22503 * gdb.base/relocate.c (dummy): New padding array.
22504
3d67be83
MS
225052003-07-22 Michael Snyder <msnyder@redhat.com>
22506
d63a86f8 22507 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
22508
22509 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22510 patterns to be more general, accepting old and new output.
22511 Some output chars (such as '+') also must be quoted.
d63a86f8 22512 Some addresses are displayed numerically instead of
3d67be83
MS
22513 symbolically.
22514
57ba3b85
MS
225152003-07-23 Michael Snyder <msnyder@redhat.com>
22516
686d097c
MS
22517 * gdb.base/return2.exp: Don't test long-long return.
22518
57ba3b85
MS
22519 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22520 * gdb.disasm/t01_mov.exp: Ditto.
22521 * gdb.disasm/t02_mova.s: Ditto.
22522 * gdb.disasm/t02_mova.exp: Ditto.
22523 * gdb.disasm/t03_add.s: Ditto.
22524 * gdb.disasm/t03_add.exp: Ditto.
22525 * gdb.disasm/t04_sub.s: Ditto.
22526 * gdb.disasm/t04_sub.exp: Ditto.
22527 * gdb.disasm/t05_cmp.s: Ditto.
22528 * gdb.disasm/t05_cmp.exp: Ditto.
22529 * gdb.disasm/t06_ari2.s: Ditto.
22530 * gdb.disasm/t06_ari2.exp: Ditto.
22531 * gdb.disasm/t07_ari3.s: Ditto.
22532 * gdb.disasm/t07_ari3.exp: Ditto.
22533 * gdb.disasm/t08_or.s: Ditto.
22534 * gdb.disasm/t08_or.exp: Ditto.
22535 * gdb.disasm/t09_xor.s: Ditto.
22536 * gdb.disasm/t09_xor.exp: Ditto.
22537 * gdb.disasm/t10_and.s: Ditto.
22538 * gdb.disasm/t10_and.exp: Ditto.
22539 * gdb.disasm/t11_logs.s: Ditto.
22540 * gdb.disasm/t11_logs.exp: Ditto.
22541 * gdb.disasm/t12_bit.s: Ditto.
22542 * gdb.disasm/t12_bit.exp: Ditto.
22543 * gdb.disasm/t13_otr.s: Ditto.
22544 * gdb.disasm/t13_otr.exp: Ditto.
22545
e00759ef
EZ
225462003-07-22 Elena Zannoni <ezannoni@redhat.com>
22547
22548 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22549
8bc2021f
EZ
225502003-07-22 Elena Zannoni <ezannoni@redhat.com>
22551
a9c64011
AS
22552 * gdb.threads/tls.c : New file.
22553 * gdb.threads/tls.exp : New file.
22554 * gdb.threads/tls-main.c : New file.
22555 * gdb.threads/tls-shared.c : New file.
22556 * gdb.threads/tls-shared.exp : New file.
8bc2021f 22557
89320c4c
AS
225582003-07-22 Andreas Schwab <schwab@suse.de>
22559
22560 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22561
180dea7c
AS
225622003-07-20 Andreas Schwab <schwab@suse.de>
22563
22564 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22565 due to insn reordering.
22566
0714963c
AC
225672003-07-15 Andrew Cagney <cagney@redhat.com>
22568
22569 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22570
98a23b3f
MC
225712003-07-15 Michael Chastain <mec@shout.net>
22572
22573 * gdb.base/gdb1250.exp: New file.
22574 * gdb.base/gdb1250.c: New file.
22575
27e417a2
ML
225762003-07-09 Michal Ludvig <mludvig@suse.cz>
22577
22578 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22579 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22580
8bc2021f
EZ
225812003-07-09 Elena Zannoni <ezannoni@redhat.com>
22582
a9c64011
AS
22583 * gdb.threads/tls.c: New file.
22584 * gdb.threads/tls.exp: New file.
22585 * gdb.threads/tls-main.c: New file.
22586 * gdb.threads/tls-shared.c: New file.
22587 * gdb.threads/tls-shared.exp: New file.
8bc2021f 22588
d99968dc
EZ
225892003-07-09 Elena Zannoni <ezannoni@redhat.com>
22590
22591 * gdb.base/annota1.exp: Make sure that we properly escape the
22592 full path of the source file. Xfail more permissive patterns,
d63a86f8 22593 due to a compiler debug info problem.
d99968dc 22594
83876b3b
AS
225952003-07-07 Andreas Schwab <schwab@suse.de>
22596
2705e972
AS
22597 * gdb.asm/m68k.inc: New file.
22598 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22599
83876b3b
AS
22600 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22601 arguments"): Also match negative number.
22602
22603 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22604
3a871b37
DJ
226052003-07-03 Daniel Jacobowitz <drow@mvista.com>
22606
22607 * gdb.base/store.c (charest): New typedef.
22608 (add_char): Rename to add_charest, update.
22609 (wack_char): Rename to wack_charest, update types. Return l + r
22610 to keep r live across the call.
22611 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22612 (wack_double, wack_doublest): Return l + r to keep r live across
22613 the call.
22614 * gdb.base/store.exp: Accomodate store.c changes.
22615
b2a7f303
DC
226162003-06-30 David Carlton <carlton@kealia.com>
22617
22618 * gdb.c++/maint.exp (test_invalid_name): New.
22619 (test_first_component): Add tests for invalid names.
22620
3c6cb4a1
MC
226212003-06-29 Michael Chastain <mec@shout.net>
22622
22623 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22624 output of '<VTT for class>' for virtual base classes.
22625
f1c2644b
DJ
226262003-06-29 Daniel Jacobowitz <drow@mvista.com>
22627
22628 * gdb.base/completion.exp: Tab-complete "complet" instead of
22629 "compl".
22630 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22631
18080350
DJ
226322003-06-29 Daniel Jacobowitz <drow@mvista.com>
22633
22634 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22635 * gdb.base/volatile.exp: Likewise.
22636
f56973f8
DJ
226372003-06-29 Daniel Jacobowitz <drow@mvista.com>
22638
22639 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22640 gdb/1265.
22641
226422003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
22643 Daniel Jacobowitz <drow@mvista.com>
22644
22645 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22646 initial line count of 'captured_main' from 26 to 32.
22647 (test_with_self): Allow xmalloc call to be interleaved with the
22648 preceding two lines.
22649
e766d4d6
JB
226502003-06-24 Joel Brobecker <brobecker@gnat.com>
22651
22652 * gdb.base/bang.exp: New testcase.
22653
f125c9a4
JB
226542003-06-23 Joel Brobecker <brobecker@gnat.com>
22655
22656 * gdb.base/langs.exp: Add some tests for the "minimal" language
22657 support.
22658
6e25beaf
EZ
226592003-06-23 Elena Zannoni <ezannoni@redhat.com>
22660
22661 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22662 the testcase.
22663
2f816dda
DJ
226642003-06-22 Daniel Jacobowitz <drow@mvista.com>
22665
22666 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22667 offset.
22668
db5a5748
DJ
226692003-06-22 Daniel Jacobowitz <drow@mvista.com>
22670
22671 * gdb.c++/pr-1210.cc: New file.
22672 * gdb.c++/pr-1210.exp: New file.
22673
1df0c130
DJ
226742003-06-21 Daniel Jacobowitz <drow@mvista.com>
22675
22676 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22677 000-exec-continue.
22678
a92feac0
MK
226792003-06-15 Mark Kettenis <kettenis@gnu.org>
22680
22681 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22682 on *-*-*bsd* instead of *-*-freebsd*.
22683
81a58f5b
AC
226842003-06-14 Andrew Cagney <cagney@redhat.com>
22685
22686 * gdb.base/store.exp: Test longest and doublest. Test all
22687 parameters. Weaken return statement match.
22688 * gdb.base/store.c: Add longest and doublest - aka long long and
22689 long double functions. Put all parameters into local register
22690 variables. Use negative values.
22691
b257a0d3
AC
226922003-06-14 Andrew Cagney <cagney@redhat.com>
22693
22694 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22695 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22696 exit status.
22697 * gdb.base/fileio.exp: Disable target when nointerrupts and
22698 noinferiorio, instead of limiting it to remote. Use remote_exec
22699 instead of system.
d63a86f8 22700
21c38304
JJ
227012003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22702
22703 * gdb.base/float.exp: Add ia64 support.
22704
1bcdb424
CV
227052003-06-12 Corinna Vinschen <vinschen@redhat.com>
22706
22707 * gdb.base/fileio.exp: Run only on remote targets.
22708
6aeb981f
CV
227092003-06-10 Corinna Vinschen <vinschen@redhat.com>
22710
22711 * gdb.base/fileio.c: New file, testing File-I/O.
22712 * gdb.base/fileio.exp: Ditto.
22713
53df362e
RG
227142003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22715
22716 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22717 shared objects after relocation at load time (gdb PR/1132).
22718 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 22719 as above, part of the shared object relocation test.
53df362e 22720
ffee1b46
MK
227212003-06-08 Mark Kettenis <kettenis@gnu.org>
22722
b5ca3722
MK
22723 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22724 fully filled history list.
22725 * gdb.base/gdb_history: New file.
22726
03ed860d
MK
22727 * gdb.base/signals.exp: XFAIL "continue to func1" on
22728 i*86-*-freebsd*.
22729
ffee1b46
MK
22730 * gdb.base/attach.exp: When trying to attach to a nonexistent
22731 process, make it possible to specify the PID based on the target,
22732 and do so for *-*-freebsd*.
22733
d80dbb52
RH
227342003-06-02 Richard Henderson <rth@redhat.com>
22735
22736 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22737
6dd77b81
RH
227382003-06-02 Richard Henderson <rth@redhat.com>
22739
22740 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22741
f6347e16
RH
227422003-06-02 Richard Henderson <rth@redhat.com>
22743
22744 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22745
2c161407
DJ
227462003-06-01 Daniel Jacobowitz <drow@mvista.com>
22747
22748 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22749 of globalvar.
22750
572eb746
MK
227512003-06-01 Mark Kettenis <kettenis@gnu.org>
22752
22753 * gdb.asm/asm-source.exp: Check for memory read errors in
22754 disassembler test on *BSD too.
22755
9e9617a5
RH
227562003-06-01 Richard Henderson <rth@redhat.com>
22757
22758 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22759 for .frame.
22760 (gdbasm_call): Lose ldgp.
22761 (gdbasm_startup): Add frame information.
22762 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22763
7b34ad4e
MK
227642003-05-31 Mark Kettenis <kettenis@gnu.org>
22765
22766 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22767 i?86-*-*.
22768
10059fdf
MK
227692003-05-30 Mark Kettenis <kettenis@gnu.org>
22770
22771 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22772 FreeBSD.
22773
acf4b816
RH
227742003-05-29 Richard Henderson <rth@redhat.com>
22775
22776 * gdb.asm/alpha.inc: New file.
22777 * gdb.asm/asm-source.exp: Use it.
22778
e9ecd949
JB
227792003-05-29 Jim Blandy <jimb@redhat.com>
22780
22781 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22782 'core.PID'.
22783
e3e5a4f3
JB
227842003-05-22 Jim Blandy <jimb@redhat.com>
22785
22786 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22787 backtrace.
d63a86f8 22788
72fe3d25
DC
227892003-05-20 David Carlton <carlton@math.stanford.edu>
22790
22791 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22792 this time.
22793
58da2eb2
DC
227942003-05-19 David Carlton <carlton@bactrian.org>
22795
22796 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22797 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22798
1fcb5155
DC
227992003-05-19 David Carlton <carlton@bactrian.org>
22800
22801 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22802 namespace tests.
22803 Bump copyright date.
22804 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22805 (main): Call C::D::marker2.
22806 * gdb.c++/namespace1.cc: New file.
22807
85e85163
JJ
228082003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22809
22810 Roland McGrath <roland@redhat.com>
d63a86f8 22811 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22812 there is no manager thread.
22813
a25fbfec
JJ
228142003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22815
d63a86f8
RM
22816 * gdb.threads/schedlock.exp: Remove assumption that all threads
22817 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22818 in one of the child threads rather than the main thread.
22819
be375bae
JB
228202003-05-07 Jim Blandy <jimb@redhat.com>
22821
09bf6082
JB
22822 Add support for assembly source testing on the s390x.
22823 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22824 architecture.
22825 * gdb.asm/s390x.inc: New file.
22826
be375bae
JB
22827 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22828 succession of 'if' statements.
22829
00905d52
AC
228302003-05-05 Andrew Cagney <cagney@redhat.com>
22831
22832 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22833
b1e29e33
AC
228342003-05-05 Andrew Cagney <cagney@redhat.com>
22835
22836 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22837 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22838
e33d66ec
EZ
228392003-05-02 Elena Zannoni <ezannoni@redhat.com>
22840
22841 * gdb.base/charset.exp: Update based on new behavior of set/show
22842 charset commands.
22843
2b6fd0d8
AC
228442003-05-01 Andrew Cagney <cagney@redhat.com>
22845
22846 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22847 variable do not give memory errors.
22848
130cacce
AF
228492003-04-30 Adam Fedor <fedor@gnu.org>
22850
22851 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22852 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22853 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22854 gdb.objc/basicclass.m: : New files
22855
22856 * lib/gdb.exp (gdb_compile_objc): New procedure.
22857
bea71854
DJ
228582003-04-27 Daniel Jacobowitz <drow@mvista.com>
22859
22860 * gdb.base/signals.exp: Make backtrace tests more specific.
22861
0f20eeea
DC
228622003-04-23 David Carlton <carlton@bactrian.org>
22863
22864 * gdb.c++/maint.exp (test_first_component): Add tests for
22865 'operator' in more locations.
22866
c8c4d8dc
KB
228672003-04-16 Kevin Buettner <kevinb@redhat.com>
22868
22869 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22870
3fe60e3c
EZ
228712003-04-16 Elena Zannoni <ezannoni@redhat.com>
22872
22873 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22874 func marke' instead. Update test name.
3fe60e3c 22875
9219021c
DC
228762003-04-15 David Carlton <carlton@math.stanford.edu>
22877
22878 * gdb.c++/maint.exp: New file.
22879
5dd55bdd
EZ
228802003-04-14 Elena Zannoni <ezannoni@redhat.com>
22881
22882 * gdb.threads/schedlock.c: Change type of thread function argument
22883 to long, to avoid warnings on 64-bit platforms.
22884
00890572
EZ
228852003-04-14 Elena Zannoni <ezannoni@redhat.com>
22886
a9c64011
AS
22887 * gdb.base/attach.exp: Add new message from ptrace in case of
22888 attaching to nonexistent process.
d63a86f8 22889
93201743
JB
228902003-04-11 Jim Blandy <jimb@redhat.com>
22891
22892 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22893 gdb.c++/userdef.cc: Place comments on the lines to which the
22894 marker function might return.
22895 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22896 gdb.c++/userdef.exp: Look for those comments to check that we've
22897 returned to the right place, instead of checking line numbers.
22898
2a11c64d
EZ
228992003-04-11 Elena Zannoni <ezannoni@redhat.com>
22900
a9c64011
AS
22901 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22902 match on sourcefile name, instead of directory name.
2a11c64d 22903
68ab8fc5
EZ
229042003-04-10 Elena Zannoni <ezannoni@redhat.com>
22905
d63a86f8 22906 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22907 working directory name.
22908
5624293a
JB
229092003-04-09 Jim Blandy <jimb@redhat.com>
22910
22911 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22912 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22913 after an inferior function call, report the failure, but allow the
22914 test to continue.
22915
f1f02ee4
SC
229162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22917
22918 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22919 with -DPROTOTYPES.
22920
6eb79af0
SC
229212003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22922
22923 * gdb.base/break.exp: Revert last patch.
22924
8dfb4cf0
SC
229252003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22926
22927 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22928 with -DPROTOTYPES.
22929
ed4c619a
AC
229302003-04-02 Andrew Cagney <cagney@redhat.com>
22931
22932 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22933 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22934 matching directories by the name breakpoint.
22935 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22936 Make "continue to marker1" consistent.
22937 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22938 message consistent.
22939 * lib/gdb.exp: Put "the program is no longer running", and "the
22940 program exited" in parenthesis.
22941 * lib/mi-support.exp: Ditto.
d63a86f8 22942
4e35d5f0 229432003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22944
4e35d5f0
BR
22945 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22946
71900fe8
AC
229472003-03-29 Andrew Cagney <cagney@redhat.com>
22948
22949 * gdb.base/sizeof.c (main): Print the value of '\377'.
22950 * gdb.base/sizeof.exp: Check the sign of '\377'.
22951
c0655a16
MC
229522003-03-27 Michael Chastain <mec@shout.net>
22953
22954 * gdb.base/gdb1090.exp: New file.
22955 * gdb.base/gdb1090.cc: New file.
22956
5b2a3989
JB
229572003-03-27 J. Brobecker <brobecker@gnat.com>
22958
22959 * gdb.gdb/observer.exp: New regression test.
22960
79876890
MC
229612003-03-27 Michael Chastain <mec@shout.net>
22962
22963 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22964 * gdb.base/ptype.exp: Likewise.
22965
6eac95e3
CV
229662003-03-27 Corinna Vinschen <vinschen@redhat.com>
22967
22968 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22969
e8c71839
MC
229702003-03-26 Michael Chastain <mec@shout.net>
22971
22972 * gdb.base/ptype.exp: Actually use some typedef'd types.
22973
71b10041
SC
229742003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22975
22976 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22977 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22978
2512cf80
CV
229792003-03-20 Corinna Vinschen <vinschen@redhat.com>
22980
22981 * gdb.base/default.exp: Fix regular expression.
22982
0d195a4f
CV
229832003-03-20 Corinna Vinschen <vinschen@redhat.com>
22984
22985 * gdb.base/args.exp: Fix regular expression.
22986
8a2dbca8
CV
229872003-03-20 Corinna Vinschen <vinschen@redhat.com>
22988
22989 * gdb.base/help.exp: Allow Win32 child process.
22990
bf028682
CV
229912003-03-20 Corinna Vinschen <vinschen@redhat.com>
22992
22993 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22994 when stepping out of main().
22995
182dbe85
CV
229962003-03-20 Corinna Vinschen <vinschen@redhat.com>
22997
22998 * gdb.base/default.exp: Check for win32 specific message when calling
22999 "run" without executable.
23000
d67a6ba5
CV
230012003-03-20 Corinna Vinschen <vinschen@redhat.com>
23002
23003 * gdb.base/args.exp: Expect .exe in output.
23004
a955b5bb
CV
230052003-03-20 Corinna Vinschen <vinschen@redhat.com>
23006
23007 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23008 Cygwin native.
23009
bf6bad4b
AC
230102003-03-17 Andrew Cagney <cagney@redhat.com>
23011
23012 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23013 vector registes.
23014 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23015 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23016
293e9a31
DC
230172003-03-17 David Carlton <carlton@math.stanford.edu>
23018
23019 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23020 test, for PR breakpoints/38.
23021 Call test_watchpoint_and_breakpoint.
23022 * gdb.base/watchpoint.c (func3): New function.
23023 (main): Call func3.
23024
5330f2db
DC
230252003-03-04 David Carlton <carlton@math.stanford.edu>
23026
23027 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23028 Garply<Garply<char> >:: garply".
23029 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23030 with respect to PR c++/1111; note also PR c++/1113.
23031 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23032 respect to PR c++/1062.
23033 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23034
6ece72da
DC
230352003-03-03 David Carlton <carlton@math.stanford.edu>
23036
23037 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23038 with respect to PR c++/57.
23039 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23040 c++/826.
23041 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23042 respect to PR c++/57.
23043
85ca1584
DC
230442003-03-03 David Carlton <carlton@math.stanford.edu>
23045
23046 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23047 respect to PR c++/33 into FAILs.
23048
98e9c5b8
MC
230492003-03-03 Michael Chastain <mec@shout.net>
23050
7bedbf27
MC
23051 * configure.in: Update copyright years.
23052
230532003-03-03 Michael Chastain <mec@shout.net>
23054
23055 * Makefile.in: Update copyright years.
98e9c5b8 23056
f683e100
DC
230572003-02-28 David Carlton <carlton@math.stanford.edu>
23058
23059 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23060 print class instead of struct and/or superfluous protection
23061 specifiers, as long as the resulting output is equivalent to the
23062 source code.
23063 Delete FIXME from end of messages on tests that don't need
23064 fixing.
23065
a9e0cf2c
DC
230662003-02-28 David Carlton <carlton@math.stanford.edu>
23067
23068 * gdb.c++/templates.exp (do_tests): Allow const in the two
23069 Foo<volatile char *>::foo tests.
23070
e8d359df
MS
230712003-02-27 Michael Snyder <msnyder@redhat.com>
23072
d63a86f8 23073 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
23074 will be consistant.
23075
0b71dc91
DC
230762003-02-26 David Carlton <carlton@math.stanford.edu>
23077
23078 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23079 char *>::foo" test with respect to PR c++/33. Create a new test
23080 which is identical to that one except that it doesn't put the
23081 space between the "char" and the "*"; KFAIL it, too.
23082
dd14ab43
DC
230832003-02-26 David Carlton <carlton@math.stanford.edu>
23084
23085 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23086 template types into either PASSes or KFAILs (corresponding to PR
23087 c++/57). Tweak indentation. Update copyright.
23088
1146c7f1
SC
230892003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23090
23091 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23092
74641dfb
MC
230932003-02-13 Michael Chastain <mec@shout.net>
23094
23095 * gdb.base/exprs.exp: Remove i960 remnants.
23096 * gdb.base/funcargs.exp: Likewise.
23097 * gdb.base/list.exp: Likewise.
23098 * gdb.base/ptype.exp: Likewise.
23099
559cd2d0
DC
231002003-02-14 David Carlton <carlton@math.stanford.edu>
23101
23102 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23103 pEe->D::vg()" from XFAIL to KFAIL.
23104
c4f90d87
JM
231052003-02-13 Jason Molenda (jmolenda@apple.com)
23106
23107 * gdb.base/maint.exp: Update maint print statistics regexp to include
23108 new entries.
23109
cbc4d97c
MC
231102003-02-13 Michael Chastain <mec@shout.net>
23111
23112 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23113
40f235b7
MC
231142003-02-12 Michael Chastain <mec@shout.net>
23115
23116 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23117 * gdb.c++/inherit.exp: Likewise.
23118 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23119 * gdb.c++/templates.exp: Likewise.
23120 * gdb.c++/virtfunc.exp: Likewise.
23121
c56716b0
JM
231222003-02-06 Jason Molenda (jason-cl@molenda.com)
23123
23124 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23125 why the code is written that way.
23126
070afcf8
MC
231272003-02-05 Michael Chastain <mec@shout.net>
23128
23129 * gdb.base/dump.exp: Add missing copyright line.
23130
5d0331e5
JM
231312003-02-05 Jason Molenda (jason-cl@molenda.com)
23132
f7ae6d3e 23133 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
23134 at the beginning so the breakpoint doesn't get set on the loop.
23135
92851186
MC
231362003-02-05 Michael Chastain <mec@shout.net>
23137
23138 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23139 output for configurations with gcc 2.95.3.
23140
cbf1e085
AC
231412003-02-05 Keith Seitz <keiths@redhat.com>
23142 Andrew Cagney <ac131313@redhat.com>
23143
23144 * gdb.mi/mi-cli.exp: New file.
d63a86f8 23145
29518e1e
MC
231462003-02-04 Michael Chastain <mec@shout.net>
23147
23148 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23149 Call perror and then continue.
23150
5af1d5f3
MC
231512003-02-03 Michael Chastain <mec@shout.net>
23152
23153 * gdb.c++/pr-1023.cc: New file.
23154 * gdb.c++/pr-1023.exp: New file.
23155
6b549786
JB
231562003-02-05 Jim Blandy <jimb@redhat.com>
23157
23158 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23159 it's local to foobar. Check for it there, and check that it's not
23160 present in main.
23161 * gdb.c++/local.cc (marker2): New function.
23162 (foobar): Call marker1.
23163 (main): Call marker2 instead of marker1.
23164
67f16606
AC
231652003-02-04 Andrew Cagney <ac131313@redhat.com>
23166
23167 * gdb.disasm/mn10200.exp: Obsolete file.
23168 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23169 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23170 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23171
1c5cb38e
DC
231722003-02-04 David Carlton <carlton@math.stanford.edu>
23173
23174 * gdb.c++/overload.exp: Test intToChar(1).
23175 * gdb.c++/overload.cc (intToChar): New.
23176 (main): Call intToChar.
23177
d1fe6965
DC
231782003-02-03 David Carlton <carlton@math.stanford.edu>
23179
23180 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23181 'might_kfail' arg.
23182 KFAIL some of the continue_to_bp_overloaded calls, according to
23183 PR c++/1025.
23184
9ba61c5d
MC
231852003-02-01 Michael Chastain <mec@shout.net>
23186
23187 * gdb.base/advance.c (marker1): New marker function.
23188 * gdb.base/advance.exp: When the 'advance' command lands on the
23189 return breakpoint, it can legitimately stop on either the
23190 current line or the next line. Accommodate both outcomes.
23191 * gdb.base/until.exp: Likewise.
23192
e7494ffb
AC
231932003-02-02 Andrew Cagney <ac131313@redhat.com>
23194
23195 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23196 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23197 now a list, not a tuple.
23198 * gdb.mi/mi-var-display.exp: Ditto.
23199 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 23200
075559bc
AC
232012003-02-01 Andrew Cagney <ac131313@redhat.com>
23202
23203 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23204 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23205 stack backtraces.
23206 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 23207
2bd4c7b1
MK
232082003-02-01 Mark Kettenis <kettenis@gnu.org>
23209
23210 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23211 gdb.mi/mi1-pthreads.exp: Return instead of calling
23212 gdb_suppress_entire_file.
23213
eabd8992
MS
232142003-02-01 Mark Salter <msalter@redhat.com>
23215
23216 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23217
71469e2f
MS
232182003-01-31 Mark Salter <msalter@redhat.com>
23219
23220 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23221 Support empty arg.
23222
38a94d44
MC
232232003-01-30 Michael Chastain <mec@shout.net>
23224
23225 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23226 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23227 has been fixed in gdb/readline on 2003-01-09.
23228
19ea9e73
MS
232292003-01-29 Michael Snyder <msnyder@redhat.com>
23230
e8d359df
MS
23231 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23232 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
23233 * gdb.base/args.exp: Skip if target does not support args passing.
23234
2307bd6a
DJ
232352003-01-22 Daniel Jacobowitz <drow@mvista.com>
23236
19ea9e73 23237 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
23238 gdb_test. Accept a list of expect arguments as the third
23239 parameter.
23240 (gdb_test): Use it.
23241
f2dd3617
EZ
232422003-01-20 Elena Zannoni <ezannoni@redhat.com>
23243
23244 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23245 allow for different test tree configurations. Update some
23246 tescases accordingly.
23247 * gdb.arch/altivec-regs.exp: Ditto.
23248 * gdb.asm/asm-source.exp: Ditto.
23249 * gdb.base/advance.exp: Ditto.
23250 * gdb.base/display.exp: Ditto.
d63a86f8 23251 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
23252 * gdb.base/mips_pro.exp: Ditto.
23253 * gdb.base/overlays.exp: Ditto.
23254 * gdb.base/relocate.exp: Ditto.
23255 * gdb.base/setshow.exp: Ditto.
23256 * gdb.base/step-line.exp: Ditto.
23257 * gdb.base/step-test.exp: Ditto.
23258 * gdb.base/until.exp: Ditto.
23259 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23260
c71cdefd
DC
232612003-01-17 David Carlton <carlton@math.stanford.edu>
23262
23263 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23264 corresponding to PR c++/945.
23265 Update copyright.
23266
fdba05d7
DC
232672003-01-17 David Carlton <carlton@math.stanford.edu>
23268
23269 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23270 corresponding to PR c++/68.
23271
232722003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
23273
23274 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23275 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23276 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23277
c362c33a
EZ
232782003-01-15 Elena Zannoni <ezannoni@redhat.com>
23279
0fbc361c
EZ
23280 * gdb.base/break.exp: Fix change of default location, because of
23281 removal of until tests.
23282 * gdb.base/help.exp: Update test for new 'until' help message.
23283 Add test for help on 'advance'.
a9c64011 23284 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 23285
dabf8a35
MK
232862003-01-15 Mark Kettenis <kettenis@gnu.org>
23287
23288 * gdb.base/default.exp: Adapt "info float" test for recent changes
23289 to that command. Add test for "info vector".
23290 * gdb.base/float.exp: New file. Add test for "info float" that
23291 resembles the old test in gdb.base/default.exp.
23292
a1769aca
DC
232932003-01-15 David Carlton <carlton@math.stanford.edu>
23294
23295 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23296
82025e13
EZ
232972003-01-15 Elena Zannoni <ezannoni@redhat.com>
23298
23299 * gdb.base/break.exp: Move the tests of until command from here...
23300 * gdb.base/until.exp: ... to here. New file. Add other tests.
23301 * gdb.base/advance.c: New file.
23302 * gdb.base/advance.exp: New file.
23303
8f9ab801
EZ
233042003-01-14 Elena Zannoni <ezannoni@redhat.com>
23305
a9c64011
AS
23306 * gdb.base/args.c: New file.
23307 * gdb.base/args.exp: New file.
8f9ab801 23308
9ae66589
DJ
233092003-01-14 Daniel Jacobowitz <drow@mvista.com>
23310
23311 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23312
8d77e5c3
DJ
233132003-01-14 Daniel Jacobowitz <drow@mvista.com>
23314
23315 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23316
12d2f0a1
DJ
233172003-01-14 Daniel Jacobowitz <drow@mvista.com>
23318
23319 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23320 dates.
23321
6ca37014
DJ
233222003-01-13 Daniel Jacobowitz <drow@mvista.com>
23323
23324 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23325
b0023472
DJ
233262003-01-13 Daniel Jacobowitz <drow@mvista.com>
23327
23328 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23329 (ptype &*"foo").
23330 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23331
607fbc54 233322003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
23333
23334 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23335 * gdb.mi/mi1-console.exp: Likewise.
23336
607fbc54 233372003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
23338
23339 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23340 * gdb.mi/mi1-console.exp: Likewise.
23341
a1fb14a2
DJ
233422003-01-13 Daniel Jacobowitz <drow@mvista.com>
23343
23344 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23345
c4cf40b7
DJ
233462003-01-09 Daniel Jacobowitz <drow@mvista.com>
23347
23348 * gdb.base/detach.exp: New test.
23349
696d5a5b
DJ
233502003-01-09 Daniel Jacobowitz <drow@mvista.com>
23351
23352 * Makefile.in (ALL_SUBDIRS): New variable.
23353 (subdirs, clean, distclean): Use it.
23354 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23355 regenerating Makefile, since it is generated from the top level.
23356 * gdb.asm/Makefile.in: Likewise.
23357 * gdb.base/Makefile.in: Likewise.
23358 * gdb.c++/Makefile.in: Likewise.
23359 * gdb.disasm/Makefile.in: Likewise.
23360 * gdb.java/Makefile.in: Likewise.
23361 * gdb.mi/Makefile.in: Likewise.
23362 * gdb.threads/Makefile.in: Likewise.
23363 * gdb.trace/Makefile.in: Likewise.
23364
754533e4
DC
233652003-01-09 David Carlton <carlton@math.stanford.edu>
23366
23367 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23368 Add copyright year 2003.
23369
d8b3e9ee
MC
233702003-01-06 Michael Chastain <mec@shout.net>
23371
23372 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23373 When selecting a thread, 'line' and 'file' are optional.
23374 * gdb.mi/mi1-pthreads.exp: Likewise.
23375
8e9e0fe6
AS
233762003-01-06 Andreas Schwab <schwab@suse.de>
23377
23378 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23379 failures.
23380
b5ab8ff3
DJ
233812003-01-04 Daniel Jacobowitz <drow@mvista.com>
23382
23383 Fix PR gdb/844
23384 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23385 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23386
23387 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23388 instead of calling gdb_suppress_entire_file.
23389 * gdb.threads/print-threads.exp: Likewise.
23390 * gdb.threads/schedlock.exp: Likewise.
23391
23392 * gdb.threads/killed.exp: Return instead of calling
23393 gdb_suppress_entire_file.
23394 * gdb.threads/linux-dp.exp: Likewise.
23395 * gdb.threads/pthreads.exp: Likewise.
23396
1e698235
DJ
233972003-01-04 Daniel Jacobowitz <drow@mvista.com>
23398
23399 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23400 stabs.
23401 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23402 * gdb.base/whatis.exp: Always allow (void) after function names.
23403
147ff08c
DJ
234042003-01-04 Daniel Jacobowitz <drow@mvista.com>
23405
23406 * gdb.c++/casts.exp: Correct regexp.
23407
dc62bfc2
MK
234082003-01-04 Mark Kettenis <kettenis@gnu.org>
23409
23410 * configure.in: Call AC_CONFIG_HEADER. Don't call
23411 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23412 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23413 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23414 aforementioned directories in the AC_OUPUT call.
23415 * config.hin: New file.
23416 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23417 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23418 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23419 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23420 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23421 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23422 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23423 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23424 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23425 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23426 gdb.threads/configure.in, gdb.threads/configure,
23427 gdb.threads/config.in, gdb.trace/configure.in,
23428 gdb.trace/configure: Removed.
23429
77afa639
MC
234302003-01-03 Michael Chastain <mec@shout.net>
23431
23432 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23433 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23434
7634bb6e
DJ
234352003-01-03 Daniel Jacobowitz <drow@mvista.com>
23436
23437 * gdb.base/store.exp: Fix regular expressions.
23438
b39c905e
MK
234392002-12-28 Mark Kettenis <kettenis@gnu.org>
23440
23441 * configure.in: Rewrite.
23442 * configure: Regenerated.
23443
0a8551dd
DC
234442003-01-03 David Carlton <carlton@math.stanford.edu>
23445
23446 * gdb.base/psymtab.exp: New file.
23447 * gdb.base/psymtab1.c: Ditto.
23448 * gdb.base/psymtab2.c: Ditto.
23449
c60b7188
AF
234502002-12-23 Adam Fedor <fedor@gnu.org>
23451
23452 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23453
ee73db83
DC
234542002-12-23 David Carlton <carlton@math.stanford.edu>
23455
23456 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23457 and current_directory initialization.
23458
d6c1774e
JB
234592002-12-22 Jim Blandy <jimb@redhat.com>
23460
f0a847b8
JB
23461 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23462 rather than as part of the output file name.
23463
d6c1774e
JB
23464 * gdb.base/attach.exp: There's no need to copy the test program to
23465 /tmp; that was only ever necessary on HP/UX, and this test is
23466 entirely disabled there anyway.
23467
f0708dbb
JB
234682002-12-21 Jim Blandy <jimb@redhat.com>
23469
4c2acfea
JB
23470 * gdb.c++/psmang.exp: Doc fix.
23471
f0708dbb
JB
23472 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23473 test.
23474
9579e000
DC
234752002-12-20 David Carlton <carlton@math.stanford.edu>
23476
23477 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23478
d1810171
MC
234792002-12-18 Michael Chastain <mec@shout.net>
23480
23481 * gdb.c++/annota2.exp: Add copyright year 2002.
23482
76565097
DC
234832002-12-17 David Carlton <carlton@math.stanford.edu>
23484
23485 * gdb.c++/try_catch.cc: Add marker comments.
23486 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23487 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23488 * gdb.c++/m-static.cc: Ditto.
23489 * gdb.c++/m-static1.cc: Ditto.
23490 * gdb.c++/try_catch.cc: Ditto.
23491
da81390b
JJ
234922002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23493
23494 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23495 to see whether we are using the new -environment-directory
23496 command which resets via -r or the old version of the command
23497 which may prompt the user. Part of fix for gdb/741.
23498
b304d130
AC
234992002-12-13 Andrew Cagney <ac131313@redhat.com>
23500
23501 * gdb.fortran/types.exp: Update obsolete comment.
23502 * gdb.fortran/exprs.exp: Ditto.
23503 * lib/gdb.exp: Delete obsolete code.
23504 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23505 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23506 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23507 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23508 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23509 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23510 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23511 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23512 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23513 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23514 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23515 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23516 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23517 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23518 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23519 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23520 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23521 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23522 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23523 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23524 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23525 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23526 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23527 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23528 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23529 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23530 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23531 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23532 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23533 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23534 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23535 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23536 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23537 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23538 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23539 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23540 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23541
a23b6e6a
DC
235422002-12-11 David Carlton <carlton@math.stanford.edu>
23543
23544 * gdb.c++/m-data.exp: Add test for members that shadow global
23545 variables: see PR gdb/804.
23546 * gdb.c++/m-data.cc: Ditto.
23547
6604731b
DJ
235482002-12-10 Daniel Jacobowitz <drow@mvista.com>
23549
23550 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23551
de46ecd7
DC
235522002-12-06 David Carlton <carlton@math.stanford.edu>
23553
23554 * gdb.base/store.c: Don't declare functions static.
23555
27e829d0
AC
235562002-12-04 Andrew Cagney <ac131313@redhat.com>
23557
23558 * gdb.base/store.exp, gdb.base/store.c: New files.
23559
92806416
DJ
235602002-12-03 Daniel Jacobowitz <drow@mvista.com>
23561
23562 * gdb.base/selftest.exp: Update for current gdb.
23563
3bcbaac5
DJ
235642002-12-03 Daniel Jacobowitz <drow@mvista.com>
23565
23566 * gdb.base/maint.exp: Only dump symbols from one source file
23567 or objfile.
23568
f4f00b1f
DJ
235692002-12-03 Daniel Jacobowitz <drow@mvista.com>
23570
23571 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23572 function call.
23573
f1c8a949
JB
235742002-11-25 Jim Blandy <jimb@redhat.com>
23575
23576 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23577 function appearing in error message.
23578
9e297a97
DJ
235792002-11-21 Daniel Jacobowitz <drow@mvista.com>
23580
23581 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23582
1f312e79
JJ
235832002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23584
d63a86f8
RM
23585 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23586 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
23587 should be in mi console format. This is part of fix for PR gdb/604.
23588
83c31e7d
FN
235892002-09-18 Fernando Nasser <fnasser@redhat.com>
23590
23591 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23592 which explicitly prints the zero offset as "+0".
23593
322b3f65
DJ
235942002-10-22 Daniel Jacobowitz <drow@mvista.com>
23595
23596 * gdb.threads/schedlock.c (args): Make unsigned.
23597
235982002-10-21 Daniel Jacobowitz <drow@mvista.com>
23599
23600 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23601 numbers. Allow "foo2|selected stack frame".
23602 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23603 * gdb.asm/asmsrc2.s: Likewise.
23604 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23605 comments.
23606 * gdb.asm/mips.inc: New file.
23607
5e2fe5b8
AF
236082002-10-18 Adam Fedor <fedor@gnu.org>
23609
23610 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23611 * gdb.base/help.exp: Likewise.
23612
abe1a5d0
KB
236132002-10-17 Kevin Buettner <kevinb@redhat.com>
23614
23615 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23616 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23617
10abb1d4
JB
236182002-10-02 Jim Blandy <jimb@redhat.com>
23619
23620 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23621
1f609b42
AC
236222002-10-01 Andrew Cagney <ac131313@redhat.com>
23623
23624 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23625 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23626 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23627 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23628 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23629 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23630 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23631
0aee02e4
AC
236322002-09-29 Andrew Cagney <ac131313@redhat.com>
23633
23634 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23635 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23636 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23637 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23638 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23639 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23640 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 23641
6fde09ad
KB
236422002-09-27 Kevin Buettner <kevinb@redhat.com>
23643
23644 * gdb.base/annota1.exp (info break): Make directory components of
23645 path optional since not all compilers emit this debug information.
23646
889bf7c5
PA
23647 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23648 step ends up stepping out of the function instead of stopping on
23649 the epilogue.
6fde09ad 23650
9e8aab75
KS
236512002-09-26 Keith Seitz <keiths@redhat.com>
23652
23653 * lib/insight-support.exp (gdbtk_start): Figure out where
23654 the insight executable is based on where gdb is. Use this
23655 executable to start insight instead of gdb.
23656
e36180d7
AC
236572002-09-25 Andrew Cagney <cagney@redhat.com>
23658
23659 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23660
9dd34b2b
AC
236612002-09-24 Andrew Cagney <ac131313@redhat.com>
23662
23663 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23664 test_isolated_complaints.
23665 (test_empty_complaint): New function.
23666 (test_empty_complaints): New function. Check no output when no
23667 complaints.
d63a86f8 23668
dea97812
KB
236692002-09-19 Jim Blandy <jimb@redhat.com>
23670
a9c64011 23671 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 23672
54951bd7
AC
236732002-09-19 Andrew Cagney <ac131313@redhat.com>
23674
23675 * gdb.gdb/complaints.exp: New file.
23676
dec43320
AC
236772002-09-18 Andrew Cagney <ac131313@redhat.com>
23678
23679 * gdb.base/maint.exp: Check `help maint internal-warning'.
23680
e70d6e3f
DC
236812002-09-18 David Carlton <carlton@math.stanford.edu>
23682
23683 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23684 numbers, and replace them by a single breakpoint after the
23685 constructors are all finished.
23686 Add test 4.
23687 * gdb.c++/m-static.cc: Add test 4.
23688 * gdb.c++/m-static.h: New file.
23689 * gdb.c++/m-static1.cc: New file.
23690
23691 * gdb.c++/printmethod.exp: New file.
23692 * gdb.c++/printmethod.cc: New file.
23693
23694 * gdb.c++/pr-574.exp: New file.
23695 * gdb.c++/pr-574.cc: New file.
23696
afb5c968
CV
236972002-09-18 Corinna Vinschen <vinschen@redhat.com>
23698
23699 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23700 embedded targets which never actually exit.
23701
31e45dee
FN
237022002-09-18 Fernando Nasser <fnasser@redhat.com>
23703
23704 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23705 "don't step after run" as unresolved or unsupported, instead of xfail.
23706
a283c5a1
CV
237072002-09-18 Corinna Vinschen <vinschen@redhat.com>
23708
23709 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23710 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23711 Add newline to expected string in "step out of main (status wrapper)"
23712 case.
23713
11350d2a
CV
237142002-09-18 Corinna Vinschen <vinschen@redhat.com>
23715
23716 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23717 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23718
0deec7d6
TT
237192002-09-17 Tom Tromey <tromey@redhat.com>
23720
23721 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23722 \000, not \0, in double-quoted string.
23723
b2b4a1b5
CV
237242002-09-14 Corinna Vinschen <vinschen@redhat.com>
23725
c9d37158 23726 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
23727 string after running the commands execution on breakpoint tests.
23728
1c56143a
CV
237292002-09-13 Corinna Vinschen <vinschen@redhat.com>
23730
23731 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23732
37f8da45
JB
237332002-09-12 Joel Brobecker <brobecker@gnat.com>
23734
23735 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23736
08b468e0
KS
237372002-09-10 Keith Seitz <keiths@redhat.com>
23738
23739 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23740 runto proc.
23741 (mi_run_to_main): Use mi_runto.
23742 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23743
dc360f58
KS
237442002-09-10 Keith Seitz <keiths@redhat.com>
23745
23746 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23747 regexp for stopping at main. Could have multiple event notifications.
23748 Don't assume that main was declared with no parameters.
23749 (mi_next): Use mi_step_to.
23750 (mi_step): Use mi_next_to.
23751
ce3abcfb
CV
237522002-09-09 Corinna Vinschen <vinschen@redhat.com>
23753
23754 * gdb.base/default.exp: Fix expected string in `info float' test.
23755
d1f5b980
BE
237562002-09-09 Ben Elliston <bje@redhat.com>
23757
23758 * config/mips.exp: Update comments.
23759 * config/mips-idt.exp: Likewise.
23760 * config/nind.exp: Likewise.
23761 * config/slite.exp: Likewise.
23762 * config/sparclet.exp: Likewise.
23763 * config/udi.exp: Likewise.
23764 * config/vx.exp: Likewise.
23765 * config/vxworks29k.exp: Likewise.
23766
2f71430b
JB
237672002-09-05 Jim Blandy <jimb@redhat.com>
23768
23769 * gdb.threads/killed.exp: Fix test failure message.
23770
7ddebc7e
KS
237712002-09-04 Keith Seitz <keiths@redhat.com>
23772
23773 * lib/mi-support.exp: Update copyright.
23774 (mi_gdb_test): Increase the priority of the expected pattern
23775 so that it matches gdb_test.
23776
0ae67eb3
KS
237772002-09-03 Keith Seitz <keiths@redhat.com>
23778
23779 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23780 Use integer comparison instead of string comparison for testing
23781 whether binary was built.
23782
38fc42c8
JB
237832002-09-03 Jim Blandy <jimb@redhat.com>
23784
23785 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23786
b6ff0e81
JB
237872002-08-29 Jim Blandy <jimb@redhat.com>
23788
23789 * gdb.threads/pthreads.exp: Move the portable thread compilation
23790 code into a function in lib/gdb.exp, and call that from here.
23791 * lib/gdb.exp (gdb_compile_pthreads): New function.
23792
07c98896
KS
237932002-08-29 Keith Seitz <keiths@redhat.com>
23794
23795 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23796 expect_out so that callers can get at it.
23797
0312286c
DJ
237982002-08-23 Daniel Jacobowitz <drow@mvista.com>
23799
23800 * gdb.threads/print-threads.c: New file.
23801 * gdb.threads/print-threads.exp: New file.
23802 * gdb.threads/schedlock.c: New file.
23803 * gdb.threads/schedlock.exp: New file.
23804
dd039bc4
EZ
238052002-08-22 Elena Zannoni <ezannoni@redhat.com>
23806
a9c64011
AS
23807 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23808 not altivec.c.
dd039bc4 23809
1f36144c
MK
238102002-08-17 Mark Kettenis <kettenis@gnu.org>
23811
23812 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23813 targets. The problem should be fixed now.
23814
16057ec7 238152002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23816
23817 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23818 2002-07-24 change that removes final dots from error messages.
23819
3c1499ad
TT
238202002-08-13 Tom Tromey <tromey@redhat.com>
23821
23822 * gdb.base/readline.exp: New file.
23823
a20ce2c3
AC
238242002-08-01 Andrew Cagney <ac131313@redhat.com>
23825
23826 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23827 supress message.
23828
db034ac5
AC
238292002-08-01 Andrew Cagney <cagney@redhat.com>
23830
23831 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23832 CHILL_FOR_TARGET and CHILL_LIB.
23833 * configure.in (configdirs): Remove gdb.chill.
23834 * configure: Regenerate.
23835 * lib/gdb.exp: Obsolete references to chill.
23836 * gdb.fortran/types.exp: Ditto.
23837 * gdb.fortran/exprs.exp: Ditto.
23838
3e000b18
KB
238392002-07-30 Kevin Buettner <kevinb@redhat.com>
23840
23841 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23842 set Irix-specific compile and link flags.
23843
28f4966b
KB
238442002-07-29 Kevin Buettner <kevinb@redhat.com>
23845
23846 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23847 source files. The ``-o'' option doesn't work with the ``-E'' option
23848 when using the Irix compiler.
23849
46c0d5a6
DJ
238502002-07-19 Daniel Jacobowitz <drow@mvista.com>
23851
23852 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23853 Improve support for reusing an exec file. Copy exec file
23854 to target, and run gdbserver on the target instead of on the host.
23855
eecf4bed
JB
238562002-07-18 Jim Blandy <jimb@redhat.com>
23857
0f815cdf
JB
23858 * gdb.base/ending-run.exp: Don't expect to see the program end in
23859 some orderly fashion when we're running on a real stand-alone
23860 board.
23861
eecf4bed
JB
23862 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23863 targets that don't support interrupts.
23864
52d309e4
JB
238652002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23866
23867 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23868 systems.
23869 Move comments in expect statements to inside the actions, so that they
23870 don't get matched against.
23871
ff683d9e
MK
238722002-07-10 Mark Kettenis <kettenis@gnu.org>
23873
23874 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23875 function when asleep" test.
23876
b5356753
AC
238772002-07-10 Andrew Cagney <ac131313@redhat.com>
23878
23879 * gdb.base/page.exp: Rewrite to handle problems with very long
23880 `info set' output. Update copyright.
23881
6aa4d13a
AC
238822002-06-26 Andrew Cagney <ac131313@redhat.com>
23883
23884 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23885 gdb.threads-hp.
23886 * gdb.hp/configure: Regenerate.
23887 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23888 * gdb.hp/gdb.threads-hp/configure: Delete file.
23889 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23890
8cf8c2b8
AC
238912002-06-22 Andrew Cagney <ac131313@redhat.com>
23892
23893 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23894 setlocale, bindtextdomain and textdomain.
23895
6827a8f8
JB
238962002-06-11 Jim Blandy <jimb@redhat.com>
23897
919d772c
JB
23898 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23899 preprocessor macro information is present.
23900
6827a8f8
JB
23901 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23902 tests.
23903
c15b0d21
MS
239042002-06-06 Michael Snyder <msnyder@redhat.com>
23905
c5984d70
MS
23906 * gdb.base/overlays.exp: Record addresses of overlay
23907 functions in TCL variables rather than in GDB variables,
23908 to avoid having GDB convert them to pointers (with loss
23909 of information).
23910
d63a86f8 23911 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23912 default linker script changes.
c15b0d21
MS
23913 * gdb.base/long_long.exp: Add check for sizeof (long double).
23914
be26fe0d
ML
239152002-06-06 Michal Ludvig <mludvig@suse.cz>
23916
23917 * gdb.asm/asm-source.exp: Add x86-64 target.
23918 * gdb.asm/x86_64.inc: New.
d63a86f8 23919
258093ca 239202002-05-30 Michael Chastain <mec@shout.net>
258093ca 23921
4b3153f1 23922 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23923 * gdb.c++/m-static.cc: New file.
23924 * gdb.c++/m-static.exp: New file.
23925
241264c6
MS
239262002-05-28 Michael Snyder <msnyder@redhat.com>
23927
23928 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23929 precision.
23930
9bba8c8f 239312002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23932
4b3153f1 23933 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23934 * gdb.c++/m-data.cc: New file.
23935 * gdb.c++/m-data.exp: New file.
23936
239372002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23938
4b3153f1 23939 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23940 * gdb.c++/try_catch.cc: New file.
d63a86f8 23941 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23942
def1b996
MC
239432002-05-27 Michael Chastain <mec@shout.net>
23944
23945 * gdb.c++/local.exp: Accept more nested types in output.
23946
522ba268
MC
239472002-05-26 Michael Chastain <mec@shout.net>
23948
23949 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23950
277254ba
MS
239512002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23952
23953 * lib/gdb.exp (gdb_wrapper_init): Just because
23954 gdb_wrapper_file exists, this does not mean that the file
23955 should not be rebuilt. That is what gdb_wrapper_initialized
23956 is for.
23957 (default_gdb_init): Reset gdb_wrapper_initialized.
23958
b61a8733
MS
239592002-05-23 Michael Snyder <msnyder@redhat.com>
23960
d63a86f8 23961 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23962 the precision of the floating point test results.
23963 * gdb.base/call-rt-st.exp: Ditto.
23964
b61a8733
MS
23965 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23966 * gdb.base/call-rt-st.exp: Ditto.
23967
56f6e910
MC
239682002-05-19 Michael Chastain <mec@shout.net>
23969
23970 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23971
ad0b0016
EZ
239722002-05-19 Elena Zannoni <ezannoni@redhat.com>
23973
a9c64011
AS
23974 * configure.in (configdirs): Add gdb.arch.
23975 * configure: Regenerate.
ad0b0016 23976
f617d2b6
JB
239772002-05-17 Jim Blandy <jimb@redhat.com>
23978
23979 * gdb.base/completion.exp: Recognize the more detailed error
23980 messages produced by the macro expander's lexical analyzer.
23981
eac2a696
EZ
239822002-05-14 Elena Zannoni <ezannoni@redhat.com>
23983
a9c64011
AS
23984 * gdb.arch/altivec-abi.c: New file.
23985 * gdb.arch/altivec-abi.exp: New file.
23986 * gdb.arch/altivec-regs.c: New file.
23987 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23988
2fdde8f8
DJ
239892002-05-14 Daniel Jacobowitz <drow@mvista.com>
23990
23991 * gdb.base/maint.exp (maint print type): Update for new type
23992 structure.
d63a86f8 23993
e31f1a7c
EZ
239942002-05-14 Elena Zannoni <ezannoni@redhat.com>
23995
23996 * gdb.arch: New directory.
23997 * gdb.arch/configure.in: New file.
23998 * gdb.arch/configure: New file.
23999 * gdb.arch/Makefile.in: New file.
24000
db589741
CV
240012002-05-13 Corinna Vinschen <vinschen@redhat.com>
24002
24003 * gdb.asm/asm-source.exp: Add v850 as supported target.
24004 * gdb.asm/v850.inc: New file.
24005
8ce2a7dc
DJ
240062002-05-13 Daniel Jacobowitz <drow@mvista.com>
24007
24008 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24009
df763c7f
DJ
240102002-05-12 Daniel Jacobowitz <drow@mvista.com>
24011
24012 * gdb.base/break.exp: Check 'break "marker2"'.
24013
377daeed
MS
240142002-05-10 Michael Snyder <msnyder@redhat.com>
24015
24016 * gdb.base/long_long.exp: Fix typo.
24017
c4b7bc2b
JB
240182002-05-10 Jim Blandy <jimb@redhat.com>
24019
ecac9a4e
JB
24020 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24021 a bug.
24022
c4b7bc2b
JB
24023 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24024 Recognize more detailed error message produced by the macro
24025 expander's lexical analyzer.
24026 * lib/gdb.exp (test_print_reject): Same.
24027
e71019a1
MK
240282002-05-09 Mark Kettenis <kettenis@gnu.org>
24029
24030 * gdb.c++/method.exp: Fix typo.
24031
fedfc8e6
MS
240322002-05-08 Michael Snyder <msnyder@redhat.com>
24033
166a1957
MS
24034 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24035 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 24036 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
24037 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24038 Add iftarget clause for strongarm.
d63a86f8 24039
f1c47eb2
MS
240402002-05-06 Michael Snyder <msnyder@redhat.com>
24041
cb9a9d3e
MS
24042 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24043 (gdb_continue_to_end): Accept output from status wrapper.
24044 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24045 Clean up fail messages to match pass messages.
24046
f1c47eb2
MS
24047 Enable the "needs_status_wrapper" testsuite feature.
24048 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24049 (gdb_compile): Conditionally call gdb_wrapper_init.
24050 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24051 * gdb.c++/method.exp: Recognize output from status wrapper.
24052
6079c749
BE
240532002-05-06 Ben Elliston <bje@redhat.com>
24054From Graydon Hoare <graydon@redhat.com>
24055
24056 * config/sid.exp: Include support for "rawsid" protocol.
24057
188baff3
JB
240582002-05-03 Jim Blandy <jimb@redhat.com>
24059
24060 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24061 * gdb.c++/hang3.C: New file.
24062
b9c07f0f
AC
240632002-05-04 Andrew Cagney <ac131313@redhat.com>
24064
24065 * gdb.base/default.exp: Remove obsolete code.
24066 * gdb.c++/misc.exp: Ditto. Update copyright.
24067 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24068 * gdb.base/whatis.exp: Ditto. Update copyright.
24069 * gdb.base/scope.exp: Ditto. Update copyright.
24070 * gdb.base/ptype.exp: Ditto. Update copyright.
24071 * gdb.base/printcmds.exp: Ditto. Update copyright.
24072 * gdb.base/opaque.exp: Ditto. Update copyright.
24073 * gdb.base/list.exp: Ditto.
24074 * gdb.base/funcargs.exp: Ditto. Update copyright.
24075 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24076 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24077 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24078 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24079 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24080 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24081
5c7a0397
MS
240822002-05-02 Michael Snyder <msnyder@redhat.com>
24083
d6dcc264 24084 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
24085 * gdb.base/long_long.exp: Add xscale target.
24086 * gdb.base/default.exp: Add xscale target.
24087
eb7f1c48
JB
240882002-05-01 Jim Blandy <jimb@redhat.com>
24089
24090 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24091 gdb.c++/hang.exp: New test.
24092
a6befae8
FF
240932002-05-01 Fred Fish <fnf@redhat.com>
24094
24095 * gdb.base/completion.exp: Handle completions of "./Make" for
24096 more than one completion possibility, as is the case when we
24097 build and test in the source tree.
24098
0a310277
AG
240992002-04-29 Anthony Green <green@redhat.com>
24100
24101 * gdb.java/jmisc1.exp: New file.
24102 * gdb.java/jmisc2.exp: New file.
24103
6ff9af88
DJ
241042002-04-24 Daniel Jacobowitz <drow@mvista.com>
24105
24106 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24107
96b3d632
EZ
241082002-04-23 Elena Zannoni <ezannoni@redhat.com>
24109
24110 * gdb.base/help.exp: Change 'help status' to allow for target
24111 dependent output differences.
24112
5019bb54
MC
241132002-04-22 Michael Chastain <mec@shout.net>
24114
24115 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24116
a805a116
MC
241172002-04-22 Michael Chastain <mec@shout.net>
24118
24119 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24120
a1706bfd
DM
241212002-04-17 David S. Miller <davem@redhat.com>
24122
24123 * gdb.asm/sparc64.inc: New file.
24124 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24125
a73a20a2
EZ
241262002-04-19 Elena Zannoni <ezannoni@redhat.com>
24127
24128 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24129 instruction file directly into the build tree. Clean up at end of
24130 test.
24131
ba678339
DM
241322002-04-18 David S. Miller <davem@redhat.com>
24133
24134 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24135 handle 64-bit platforms correctly.
24136 * gdb.base/maint.exp: Likewise.
24137
b03399da
KB
241382002-04-18 Kevin Buettner <kevinb@redhat.com>
24139
24140 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24141 ``-fpic'' when compiling files comprising a shared library, but
24142 it does need additional linker flags in order to find shared
24143 libraries at run time.
24144
e2004992
KB
241452002-04-18 Kevin Buettner <kevinb@redhat.com>
24146
24147 * gdb.base/cvexpr.c (use): New function.
24148 (main): Invoke use() on all global variables to prevent
24149 some linkers from deleting these otherwise unused symbols.
24150
d8937120
MC
241512002-04-17 Michael Chastain <mec@shout.net>
24152From David S. Miller <davem@redhat.com>
24153
24154 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24155 handle 64-bit platforms correctly.
24156
ffd61a58
MS
241572002-04-12 Michael Snyder <msnyder@redhat.com>
24158From Jim Blandy <jimb@redhat.com>
a9c64011 24159 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
24160 script can handle this instead.
24161 * gdb.base/bar.c (barx): Same.
24162 * gdb.base/baz.c (bazx): Same.
24163 * gdb.base/grbx.c (grbxx): Same.
24164
24165 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24166 manager doesn't automatically unmap overlays unnecessarily.
24167
6b8426a6
MH
241682002-04-10 Martin M. Hunt <hunt@redhat.com>
24169
24170 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24171 stepping out of main.
24172
34af4875
MC
241732002-04-09 Michael Chastain <mec@shout.net>
24174
24175 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24176 scope so that the nested scope tests will make sense.
24177 * gdb.c++/local.exp: Write patterns that actually work with gcc
24178 (the HP patterns "were never known to work with gcc").
24179 Keep the old aCC patterns too.
24180
2d1676a0
DJ
241812002-04-09 Daniel Jacobowitz <drow@mvista.com>
24182
24183 * gdb.base/attach.exp: Correct target board test.
24184
3a63e3f9
MC
241852002-04-08 Michael Chastain <mec@shout.net>
24186
24187 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24188 in a const method. Add some xfail and fail cases for configurations
24189 that do not emit the "const ...".
24190
f18dabd2
MC
241912002-04-07 Michael Chastain <mec@shout.net>
24192
24193 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24194 Accept "A * const" and "const A * const" as type of "this".
24195 Fix spelling of getFunky throughout. Make messages uniform.
24196
0fcddd82
EZ
241972002-04-07 Elena Zannoni <ezannoni@redhat.com>
24198
a9c64011 24199 Work around for PR gdb/285:
0fcddd82
EZ
24200 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24201
16a8534a
EZ
242022002-04-07 Elena Zannoni <ezannoni@redhat.com>
24203
24204 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24205 instructions file at run time instead of configure time.
24206 Sometimes we run the test in a directory that is not the one we
24207 configured in.
24208 * gdb.asm/configure.in: Delete creation of symlink.
24209 * gdb.asm/configure: Regenerate.
24210
24181d81
JB
242112002-04-05 J. Brobecker <brobecker@gnat.com>
24212
24213 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24214 xfullpath () function.
24215
7cdb7107
DJ
242162002-04-04 Daniel Jacobowitz <drow@mvista.com>
24217
24218 * gdb.asm/Makefile.in: Correct dependencies.
24219
24220 * gdb.asm/powerpc.inc: New file.
24221 * gdb.asm/asm-source.exp: Add PowerPC.
24222 * gdb.asm/configure.in: Likewise.
24223 * gdb.asm/configure: Regenerated.
24224
a7d17088
DJ
242252002-04-04 Daniel Jacobowitz <drow@mvista.com>
24226
24227 * gdb.base/relocate.exp: New file.
24228 * gdb.base/relocate.c: New file.
24229
cd721503
FF
242302002-04-04 Fred Fish <fnf@redhat.com>
24231
24232 * gdb.base/step-test.exp: Update comment regarding stopping in
24233 memcpy/bcopy calls inserted as part of the compiler runtime.
24234
b22ad7a7
MS
242352002-04-04 Michael Snyder <msnyder@redhat.com>
24236
24237 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24238
5f279fa6
DJ
242392002-04-03 Daniel Jacobowitz <drow@mvista.com>
24240
24241 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24242 (gdb_expect): Remove $notransfer hack.
24243
dd0fd3ce
DJ
242442002-04-02 Daniel Jacobowitz <drow@mvista.com>
24245
24246 * gdb.c++/classes.exp ("calling method for small class"): Match
24247 updated register output.
24248
1e50cda1
DJ
242492002-03-30 Daniel Jacobowitz <drow@mvista.com>
24250
24251 Fix PR gdb/452
24252 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24253 when finished. Make gdb_file_cmd send "exec-file" when
24254 appropriate.
24255
24015922
DJ
242562002-03-30 Daniel Jacobowitz <drow@mvista.com>
24257
24258 * gdb.base/attach.exp: Remove extra setup_xfail.
24259
dd7dfd64
MS
242602002-03-26 Michael Snyder <msnyder@redhat.com>
24261
24262 * gdb.base/default.exp: Add tests for dump, append, and restore.
24263 * gdb.base/help.exp: Add tests for dump, append, and restore.
24264 * gdb.base/dump.exp: New file, test dump, append and restore.
24265 * gdb.base/dump.c: New file.
24266
48b2f8d7
MS
242672002-03-27 Michael Snyder <msnyder@redhat.com>
24268
d63a86f8 24269 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
24270 clean-ups in help messages.
24271
05b4d525
FF
242722002-03-26 Fred Fish <fnf@redhat.com>
24273
24274 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24275 have debugging info for those functions and the compiler uses them
24276 internally to copy structs around.
24277
d7679631
FF
242782002-03-26 Fred Fish <fnf@redhat.com>
24279
24280 * gdb.base/list.exp: Revert the change made yesterday and add note
24281 about why we don't list the default lines for remote targets.
24282
523ac3f9
MS
242832002-03-25 Michael Snyder <msnyder@redhat.com>
24284
24285 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24286
754b2b8d
FF
242872002-03-25 Fred Fish <fnf@redhat.com>
24288
24289 * gdb.base/list.exp: This test works on remote targets so remove
24290 the short circuit for remote targets. Update copyright.
24291
33c3e192
FF
242922002-03-25 Fred Fish <fnf@redhat.com>
24293
24294 * gdb.base/attach.exp: Fix logic error that was suppressing this
24295 test for all non hppa*-*-hpux* targets, instead of the hp target.
24296 Move comments closer to the suppression point. Also now need to
24297 check that we are running natively.
24298
d43e73ee
MS
242992002-03-22 Michael Snyder <msnyder@redhat.com>
24300
882c8f02
MS
24301 * gdb.base/default.exp: Add test for gcore. Update copyright.
24302 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 24303
04c12f60
FF
243042002-03-06 Fred Fish <fnf@redhat.com>
24305
24306 * gdb.base/funcargs.c: Remove extraneous ';' character.
24307 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24308
b43df995
MC
243092002-03-04 Michael Chastain <mec@shout.net>
24310
24311 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24312 accommodate gcc v3 function signature.
24313 * gdb.mi/mi0-var-cmd-exp: Ditto.
24314
92362027
AC
243152002-02-24 Andrew Cagney <ac131313@redhat.com>
24316
24317 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24318 ``GNU/Linux'' or ``Linux kernel''
24319 * testsuite/gdb.threads/pthreads.c: Ditto.
24320
258ad32d
MC
243212002-02-24 Michael Chastain <mec@shout.net>
24322
24323 * gdb.threads/pthreads.c (thread1): Add a return statement.
24324 (thread2): Likewise.
24325 (foo): Likewise.
24326
04c3b3d4
MC
243272002-02-23 Michael Chastain <mec@shout.net>
24328
24329 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24330 to placate gcc.
24331
5a2a0a20
MC
243322002-02-23 Michael Chastain <mec@shout.net>
24333
24334 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24335 test "ptype bint". The test passes on all my stabs configurations.
24336
a640f7fc
JB
243372002-02-21 Jim Blandy <jimb@redhat.com>
24338
27924826
JB
24339 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24340 filename at a time, and watch for the ones we want to see.
24341
a640f7fc
JB
24342 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24343 types of pointers to prototyped functions.
24344
edcc8c75
AC
243452002-02-20 Andrew Cagney <ac131313@redhat.com>
24346
24347 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24348 signed, unsigned and straight char.
24349 (padding_char, padding_short, padding_int, padding_long,
24350 padding_long_long, padding_float, padding_double,
24351 padding_long_double): New global variables.
24352 (fill, fill_structs): New functions.
24353
24354 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24355 for correctly sized writes. Update copyright.
24356 (get_valueof): New procedure.
24357 (get_sizeof): Call get_valueof.
24358 (check_valueof): New procedure.
24359 (check_padding): New procedure.
24360
ac57ea44
MC
243612002-02-20 Michael Chastain <mec@shout.net>
24362
24363 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24364 to setup_xfail. Document some of the remaining calls.
24365
7a10c941
MC
243662002-02-18 Michael Chastain <mec@shout.net>
24367
24368 * gdb.c++/userdef.exp: Update copyright year.
24369
fb8acdcc
DJ
243702002-02-18 Daniel Jacobowitz <drow@mvista.com>
24371
24372 * gdb.c++/userdef.exp: Test overloaded operators properly.
24373 Remove xfails.
24374
fda6ae12
MS
243752002-02-14 Michael Snyder <msnyder@redhat.com>
24376
24377 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24378
676a0442
DJ
243792002-02-14 Daniel Jacobowitz <drow@mvista.com>
24380
24381 * gdb.base/a2-run.exp: Check for a remote target properly.
24382 * gdb.base/annota1.exp: Likewise.
24383 * gdb.base/list.exp: Likewise.
24384 * gdb.base/reread.exp: Likewise.
24385 * gdb.base/scope.exp: Likewise.
24386 * gdb.base/shlib-call.exp: Likewise.
24387 * gdb.base/term.exp: Likewise.
24388 * gdb.c++/annota2.exp: Likewise.
24389
78b4f468
RE
243902002-02-13 Richard Earnshaw <rearnsha@arm.com>
24391
24392 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24393
9a81ba51
MC
243942002-02-10 Michael Chastain <mec@shout.net>
24395
24396 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24397 (call_after_alloca): Ditto.
24398
004af6c7
DJ
243992002-02-10 Daniel Jacobowitz <drow@mvista.com>
24400
24401 * gdb.base/ending-run.exp: Guard "cont" test with
24402 gdb_skip_stdio_test.
24403
37225f62
JB
244042002-02-06 Jim Blandy <jimb@redhat.com>
24405
24406 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24407 from here...
24408 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24409 To here. Disable this test on non-HP platforms. Add big comment.
24410
fe6fdd96
MS
244112002-02-04 Michael Snyder <msnyder@redhat.com>
24412
24413 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24414 other than d10v and m32r.
24415
036fad3f
RE
244162002-02-02 Richard Earnshaw <rearnsha@arm.com>
24417
24418 * gdb.base/default.exp: Rewrite test patterns to reduce time
24419 taken to match them.
24420
7148ab62
DJ
244212002-01-30 Daniel Jacobowitz <drow@mvista.com>
24422
24423 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24424 Allow a start function above main.
24425 * gdb.threads/linux-dp.exp: Fix copyright date.
24426
396cc255
DJ
244272002-01-30 Daniel Jacobowitz <drow@mvista.com>
24428
a9c64011
AS
24429 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24430 (check_philosopher_stack): Check for manager thread before checking
24431 for a just-starting thread.
396cc255 24432
f038d31b
DJ
244332002-01-30 Daniel Jacobowitz <drow@mvista.com>
24434
24435 From Neil Booth <neil@daikokuya.demon.co.uk>:
24436 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24437 warnings.
24438
b3ff9d9a
FF
244392002-01-21 Fred Fish <fnf@redhat.com>
24440
24441 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24442 not caller.
24443
39ad761d
JB
244442002-01-21 Jim Blandy <jimb@redhat.com>
24445
24446 * gdb.base/reread.exp: Check that GDB properly re-reads the
24447 executable file when it changes while no inferior is running.
24448
aaf320fa
FF
244492002-01-21 Fred Fish <fnf@redhat.com>
24450
a9c64011
AS
24451 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24452 optionally accept the "shlib events" variation.
aaf320fa 24453
808a31f5
JB
244542002-01-21 Jim Blandy <jimb@redhat.com>
24455
24456 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24457 call `fflush' after every `printf', so that the output is produced
24458 at predictable points, regardless of whatever buffering does (or
24459 doesn't) take place.
24460 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24461 at different points.
24462
4420d5e2
DJ
244632002-01-20 Daniel Jacobowitz <drow@mvista.com>
24464
24465 * gdb.c++/inherit.exp: Update copyright years.
24466 * gdb.c++/method.exp: Likewise.
24467
3e36a0f4
DJ
244682002-01-20 Daniel Jacobowitz <drow@mvista.com>
24469
24470 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24471 artificial methods/arguments.
24472 * gdb.c++/derivation.exp: Likewise.
24473 * gdb.c++/inherit.exp: Likewise.
24474 * gdb.c++/method.exp: Likewise.
24475 * gdb.c++/virtfunc.exp: Likewise.
24476
b4ceaee6
AC
244772002-01-18 Andrew Cagney <ac131313@redhat.com>
24478
24479 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24480 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24481 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24482 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24483 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24484 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24485
ecace851
JB
244862002-01-17 Jim Blandy <jimb@redhat.com>
24487
24488 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24489 anchoring the pattern matching the entry point symbol's name.
24490
375fc983
AC
244912002-01-17 Andrew Cagney <ac131313@redhat.com>
24492
24493 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24494 continue/quit query. Update copyright.
24495
fe6fdd96
MS
244962002-01-14 Michael Snyder <msnyder@redhat.com>
24497
24498 * gdb.base/gcore.exp: Remove extra debugging output.
24499
e017c81f
DJ
245002002-01-13 Daniel Jacobowitz <drow@mvista.com>
24501
24502 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24503 for slightly dubious v2 mangled string.
24504
37ab3bf8
DJ
245052002-01-13 Daniel Jacobowitz <drow@mvista.com>
24506
24507 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24508
1bc05c3a 245092002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 24510
1bc05c3a 24511 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 24512
1bc05c3a
JM
24513 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24514 constructors.
24515 * gdb.c++/derivation.exp: Likewise.
24516 * gdb.c++/templates.exp: Likewise.
24517 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 24518
1bc05c3a
JM
245192002-01-10 Michael Snyder <msnyder@redhat.com>
24520
24521 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 24522
a911c360
MS
245232002-01-08 Michael Snyder <msnyder@redhat.com>
24524
24525 * gdb.base/gcore.exp: New test for generate-core-file command.
24526 * gdb.base/gcore.c: Testcase for above.
24527 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24528
ea2119ec
JM
245292002-01-08 Jason Merrill <jason@redhat.com>
24530
24531 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24532
68203136
FF
245332002-01-07 Fred Fish <fnf@redhat.com>
24534
24535 * gdb.c++/overload.exp: Remove unconditional xfails for:
24536 print foo_instance1.overloadargs(1)
24537 print foo_instance1.overloadargs(1, 2)
24538 print foo_instance1.overloadargs(1, 2, 3)
24539 print foo_instance1.overloadargs(1, 2, 3, 4)
24540 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24541 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24542 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24543 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24544 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24545 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24546 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24547 print foo_instance1.overload1arg()
24548 print foo_instance1.overload1arg((char)arg2)
24549 print foo_instance1.overload1arg((signed char)arg3)
24550 print foo_instance1.overload1arg((unsigned char)arg4)
24551 print foo_instance1.overload1arg((int)arg7)
24552 print foo_instance1.overload1arg((unsigned int)arg8)
24553 print foo_instance1.overload1arg((float)arg11)
24554 print foo_instance1.overload1arg((double)arg12)
d63a86f8 24555
21b9b5b1
MS
245562002-01-07 Michael Snyder <msnyder@redhat.com>
24557
24558 * gdb.base/huge.exp: New test. Print a very large target data object.
24559 (skip_huge_test): New test variable. Define if you want to skip this
24560 test. The test reads an 8 megabyte data object from the target, so it
24561 might be very time consuming on remote targets with a slow connection.
24562 * gdb.base/huge.c: New file. Test case for above.
24563
725f922e
FF
245642002-01-07 Fred Fish <fnf@redhat.com>
24565
24566 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24567 g_instance.bfoo, and g_instance.cfoo.
24568
889bf7c5 245692002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 24570
889bf7c5
PA
24571 * gdb.base/break.c (multi_line_if_conditional): New function.
24572 (multi_ilne_while_conditional): Likewise.
24573 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24574 IF or WHILE condition puts the breakpoint at the start of
24575 the condition.
f286b2c3 24576
634d57ec
JL
24577 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24578 hppa*-*-hpux* expected failure.
24579 * gdb.base/structs.exp (do_function_calls): Similarly.
24580
24581 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24582 watchpoints.
24583
9fbfe2dc
AC
245842002-01-06 Andrew Cagney <ac131313@redhat.com>
24585
24586 Fix PR gdb/66.
24587 * gdb.base/structs.exp: Replace skip for a29k with skip for
24588 gdb,cannot_call_functions.
24589 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24590 * gdb.base/callfuncs.exp: Ditto.
24591 * gdb.base/call-rt-st.exp: Ditto.
24592 * gdb.base/call-strs.exp: Ditto.
24593 * gdb.base/callfwmall.exp: Ditto.
24594 * gdb.base/scope.exp: Obsolete xfail a29k.
24595 * gdb.c++/misc.exp: Ditto.
24596 * gdb.c++/cplusfuncs.exp: Ditto.
24597 * gdb.base/ptype.exp: Ditto.
24598 * gdb.base/printcmds.exp: Ditto.
24599 * gdb.base/opaque.exp: Ditto.
24600 * gdb.base/list.exp: Ditto.
24601 * gdb.base/funcargs.exp: Ditto.
24602 * gdb.base/default.exp: Ditto.
24603
8ddad156
MS
246042002-01-04 Michael Snyder <msnyder@redhat.com>
24605
ca4976a6 24606 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
24607 * gdb.base/maint.exp: Add tests for maint info sections options.
24608
1b074332
JL
24609Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24610
24611 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24612
7d159115
CV
246132001-12-20 Corinna Vinschen <vinschen@redhat.com>
24614
24615 * gdb.asm/arm.inc: New file.
24616 * gdb.asm/asm-source.exp: Add arm targets.
24617 * gdb.asm/configure.in: Ditto.
24618 * gdb.asm/configure: Recreated from configure.in.
24619
8fb87725
JL
24620Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24621
afabe08c
JL
24622 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24623 with HP's compiler.
24624 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24625 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24626 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24627 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24628
24629 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24630 either HP's compilers or GCC.
24631
db521deb
JL
24632 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24633 a SIGBUS or SIGSEGV.
24634
24635 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24636
24637 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24638 can be compiled with either HP's compiler or GCC.
24639
cfa88ab7
JL
24640 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24641 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24642 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24643
ca344dff
JL
24644 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24645 to match current gdb output. Update due to using auto-solib-limit
24646 for limiting instead of overloading auto-solib-add.
24647 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24648 test program.
24649
3f3c6e55 24650 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
24651 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24652 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24653 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24654 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24655 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24656 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24657 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24658 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24659 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24660 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24661 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24662 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 24663
8fb87725
JL
24664 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24665 a SIGTRAP to the inferior.
24666
cf599fa7
CV
246672001-12-19 Corinna Vinschen <vinschen@redhat.com>
24668
24669 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24670 Substitute call to target_link by call to gdb_compile.
24671
2cd045cd
JL
24672Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24673
a9c64011
AS
24674 * gdb.base/break.exp: Fix HP specific search string when testing
24675 backtracing in a called function.
2cd045cd 24676
a9c64011
AS
24677 * gdb.base/constvars.exp: Only set lang to C++ if we're
24678 compiling the test with HP's compilers.
24679 * gdb.base/volatile.exp: Similarly.
2cd045cd 24680
99ebe9ac
JB
246812001-12-19 Jim Blandy <jimb@redhat.com>
24682
24683 * gdb.base/printcmds.exp: Expect the null character to be printed
24684 as '\0', and the '\013' to be printed as '\v'.
24685 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24686 * gdb.base/setvar.exp: Same.
24687
b9891b29
JB
246882001-12-17 Jim Blandy <jimb@redhat.com>
24689
0eba65ab
JB
24690 * gdb.base/completion.exp: Rather than completing very long
24691 filenames, which can make the readline library produce output we
24692 don't recognize, cd to the directory first, and then complete
24693 using nice, short relative paths.
24694
6970b5b1
JB
24695 * gdb.base/completion.exp: On some systems, there is, in fact, a
24696 variable named `b' in scope, since GDB treats all static
a9c64011
AS
24697 variables as being in scope. So use `no_var_named_this'
24698 instead of `b'.
6970b5b1 24699
b9891b29 24700 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 24701 can't find the core file's registers as a failure.
b9891b29 24702
e6ccd35f
JSC
247032001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24704
a9c64011
AS
24705 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24706 test expect string more specific.
e6ccd35f 24707
105ba819
CV
247082001-12-13 Corinna Vinschen <vinschen@redhat.com>
24709
24710 * gdb.asm/asm-source.exp: Add support for xstormy16.
24711 * gdb.asm/configure.in: Ditto.
24712 * gdb.asm/configure: Rebuild.
24713 * gdb.asm/xstormy16.inc: New file.
24714
e9e79dd9
FF
247152001-12-10 Fred Fish <fnf@redhat.com>
24716
24717 * gdb.base/maint.exp: Update to match changes in type dumping code.
24718
347dc97d
JB
247192001-12-10 Jim Blandy <jimb@redhat.com>
24720
24721 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
24722 matching the entry point symbol's name at the beginning of the
24723 line.
347dc97d 24724
5178b9d6
DJ
247252001-12-07 Daniel Jacobowitz <drow@mvista.com>
24726
24727 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24728 gdb.c++/inherit.exp, gdb.c++/method.exp,
24729 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24730 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24731 and class layout support.
24732
af890c52
DJ
247332001-12-07 Daniel Jacobowitz <drow@mvista.com>
24734
24735 * gdb.c++/classes.exp: Add test for static member function.
24736 * gdb.c++/misc.cc: Add class with static member function.
24737
7a345fb3
JB
247382001-12-07 Jim Blandy <jimb@redhat.com>
24739
f2e54a80 24740 If GDB says it can't find the struct the function returned, report
8032bf31
JB
24741 those tests as `unsupported'.
24742 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24743 Rewrite subsequent tests to use it.
24744
24745 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
24746 those tests as `unsupported'.
24747 * gdb.base/structs.exp (call_struct_func): New function.
24748 (do_function_calls): Use call_struct_func to call the functions
24749 returning structs.
24750
0bc69509
JB
24751 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24752 whether functions are prototyped or not, so we can't possibly pass
24753 arguments to t_float_values2 properly.
24754
7a345fb3
JB
24755 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24756 value of `timeout' for targets other than the mips*tx39-*.
24757
edb6ede1
MS
247582001-12-06 Michael Snyder <msnyder@redhat.com>
24759
d63a86f8 24760 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
24761 and detect whether the start symbol has a leading underscore.
24762
2d842f13
JB
247632001-12-04 Jim Blandy <jimb@redhat.com>
24764
24765 * gdb.base/completion.exp: Clarify indentation.
24766
68550daf
JB
247672001-12-03 Jim Blandy <jimb@redhat.com>
24768
24769 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24770 variables on the S/390, not `.word'.
24771
cd5195a8
JB
247722001-11-30 Jim Blandy <jimb@redhat.com>
24773
24774 Add assembly-source tests for s390-ibm-linux.
24775 * gdb.asm/s390.inc: New file.
24776 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24777 the S/390 architecture.
a9c64011 24778 * gdb.asm/configure: Regenerated.
cd5195a8 24779
ca9efc90
MS
247802001-11-30 Michael Snyder <msnyder@redhat.com>
24781
24782 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24783 next, info source, info sources, info line, global and static
24784 variables, and static functions.
24785 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24786 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24787 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24788 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24789 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24790 (gdbasm_leave): Restore frame pointer.
24791 (gdbasm_startup): Copy stack set-up from crt0.S.
24792
d0e66976
FN
247932001-11-26 Fernando Nasser <fnasser@redhat.com>
24794
24795 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24796 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24797 to a local (non-static) variable. Copy tstruct.a to a static buffer
24798 and return a pointer to that buffer.
24799 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24800
e2334072
MK
248012001-11-24 Mark Kettenis <kettenis@gnu.org>
24802
24803 * gdb.asm/configure.in: Fix recognition of ix86 target.
24804 * gdb.asm/configure: Regenerate.
24805
756caa3d
MS
248062001-11-21 Michael Snyder <msnyder@redhat.com>
24807
24808 * gdb.asm/sparc.inc: New file.
24809 * gdb.asm/asm-source.exp: Recognize sparc target.
24810 * gdb.asm/configure.in: Recognize sparc target.
24811 * gdb.asm/configure: Regenerate.
d63a86f8 24812
9a4d72d5
MS
248132001-11-21 Michael Snyder <msnyder@redhat.com>
24814
24815 * gdb.asm/m32r.inc: New file.
24816 * gdb.asm/asm-source.exp: Recognize m32r target.
24817 * gdb.asm/configure.in: Recognize m32r target.
24818 * gdb.asm/configure: Regenerate.
24819
a773d1cd
MS
248202001-11-20 Michael Snyder <msnyder@redhat.com>
24821
017ac23d
MS
24822 * gdb.asm/i386.inc: New file.
24823 * gdb.asm/asm-source.exp: Recognize ix86 target.
24824 * gdb.asm/configure.in: Recognize ix86 target.
24825 * gdb.asm/configure: Regenerate.
24826
a773d1cd
MS
24827 * gdb.c++/namespace.exp: Fix quotes in output messages.
24828
bb632afb
MS
248292001-11-14 Michael Snyder <msnyder@redhat.com>
24830
25d559ca 24831 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24832 qualifier in a type cast expression, to designate an address
24833 in the instruction space (Harvard architecture).
24834
4749e309
MS
248352001-11-13 Michael Snyder <msnyder@redhat.com>
24836
24837 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24838 Tests for expressions using 'const' and 'volatile'.
24839
25050984
CV
248402001-11-13 Corinna Vinschen <vinschen@redhat.com>
24841
24842 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24843
1902c51f
DJ
248442001-11-12 Daniel Jacobowitz <drow@mvista.com>
24845
24846 * lib/mi-support.exp (mi_run_to_helper): Move comments
24847 outside of gdb_expect.
24848
dcf95b47
DJ
248492001-11-11 Daniel Jacobowitz <drow@mvista.com>
24850
24851 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24852 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24853 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24854 mi0_run_to): New functions.
24855 * gdb.mi/mi-simplerun.exp: Use them.
24856 * gdb.mi/mi0-simplerun.exp: Likewise.
24857 * gdb.mi/mi-var-cmd.exp: Likewise.
24858 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24859
45b074e1
AC
248602001-11-10 Andrew Cagney <ac131313@redhat.com>
24861
24862 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24863 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24864
bf50d346
AC
248652001-11-09 Andrew Cagney <ac131313@redhat.com>
24866
24867 * gdb.base/restore.exp: Include $expected value in restored test
24868 message.
24869
9383332c
AC
248702001-11-09 Andrew Cagney <ac131313@redhat.com>
24871
24872 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24873 implemented.
24874
db62520a
MS
248752001-11-08 Michael Snyder <msnyder@redhat.com>
24876
24877 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24878 Add pass/fail message for stop at breakpoint in call dummy function.
24879
b5703437
MS
248802001-11-07 Michael Snyder <msnyder@redhat.com>
24881
d63a86f8
RM
24882 * gdb.c++/templates.exp (test_template_breakpoints):
24883 If we get an overload menu, but it does not match what
760f6330 24884 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24885 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24886 making the whitespace optional. Argument for "new" may be
24887 "unsigned" as well as "unsigned int/long".
d63a86f8 24888 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24889 making the whitespace optional. Also replace "(void) with
24890 "((void|)), making the keyword "void" optional.
d63a86f8 24891 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24892 making the whitespace optional. Also replace "(void) with
24893 "((void|)), making the keyword "void" optional.
3bf40917
MS
24894 * gdb.base/callfuncs.c (t_float_values): This function must
24895 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24896 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24897 can be tested against both cases. Usually one case involves
24898 promotion of float to double, while the other does not.
24899 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24900 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24901 includes a stack frame for "start".
24902
c8ab4e6d
JB
249032001-11-05 Jim Blandy <jimb@redhat.com>
24904
24905 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24906 pointers are 32 bits long, and that offsets of relocs are always
24907 stored in the data (REL-style), and not in the reloc entry itself
24908 (RELA-style).
24909 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24910 stabs.
24911
3f08ced9
MS
249122001-11-01 Michael Snyder <msnyder@redhat.com>
24913
24914 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24915 and regular expression operators by using quoting.
24916
cbfa24cd
MS
249172001-10-31 Michael Snyder <msnyder@redhat.com>
24918
24919 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24920 depending on what the symbol table contains.
24921 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24922 the output of the ptype command. Similarly, accept both "const &"
24923 and "const&".
24924
aaa68313
CV
249252001-10-31 Corinna Vinschen <vinschen@redhat.com>
24926
24927 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24928 symbol `STORAGE' to allow to choose the storage class of
24929 the local datastructures.
24930 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24931 compiler directive.
24932
91740388
MS
249332001-10-30 Michael Snyder <msnyder@redhat.com>
24934
24935 * gdb.base/jump.exp: Allow it to run for all targets.
24936
1b7c05e7
CV
249372001-10-29 Corinna Vinschen <vinschen@redhat.com>
24938
24939 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24940 with new double_array size.
24941 (main): Change storage class of all local variables to static.
24942 Reduce size of double_array to 9.
24943 * gdb.base/call-ar-st.exp: Increase timeout value.
24944 Change expected output for double array to match new size in
24945 call-ar-st.c.
24946
36a22261
CV
249472001-10-29 Corinna Vinschen <vinschen@redhat.com>
24948
24949 * gdb.base/ending-run.exp: Create identical output when passing
24950 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24951 Stormy16 target.
36a22261 24952
92b8ae91
MK
249532001-10-28 Mark Kettenis <kettenis@gnu.org>
24954
24955 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24956 that we catch the expected failure under Linux/x86.
24957
cb135b83
OF
249582001-10-29 Orjan Friberg <orjanf@axis.com>
24959
24960 * gdb.base/setvar.exp: Escape curly braces.
24961 * gdb.stabs/weird.exp: Ditto.
24962
6884aa54
DJ
249632001-10-27 Daniel Jacobowitz <drow@mvista.com>
24964
24965 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24966 * gdm.mi/mi0-hack-cli.exp: Likewise.
24967
0398c9aa
AC
249682001-10-25 Andrew Cagney <ac131313@redhat.com>
24969
24970 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24971 messages.
24972
d20bf2e8
AC
249732001-10-21 Andrew Cagney <ac131313@redhat.com>
24974
24975 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24976 checking MI enabled.
24977
03dd63aa
CV
249782001-10-09 Corinna Vinschen <vinschen@redhat.com>
24979
24980 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24981
1d9d99f3
FCE
249822001-10-04 Frank Ch. Eigler <fche@redhat.com>
24983
24984 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24985 if gdb child process crashes, just signal an error.
24986
838ae6c4
JB
249872001-10-02 Jim Blandy <jimb@redhat.com>
24988
24989 * lib/gdb.exp (test_xfail_format): Simplify.
24990
24991 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24992 front of the variable name `format'. Simplify `if'.
24993
8f0cbc1c
DJ
249942001-10-01 Daniel Jacobowitz <drow@mvista.com>
24995
24996 * gdb.threads/pthreads.exp: Wait for output and delay
24997 before sending ^C.
24998
1f08dafd
DJ
249992001-10-01 Daniel Jacobowitz <drow@mvista.com>
25000
25001 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25002 some incorrect output instead of timing out.
25003 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25004
674f90ff
CV
250052001-09-28 Corinna Vinschen <vinschen@redhat.com>
25006
25007 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25008 check to allow additional `int'.
25009
9b284272
DJ
250102001-09-27 Daniel Jacobowitz <drow@mvista.com>
25011
25012 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25013 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25014
b55a4771
MS
250152001-09-27 Michael Snyder <msnyder@redhat.com>
25016
25017 * lib/gdb.exp (test_debug_format): New proc.
25018 (setup_xfail_format): Use new proc test_debug_format.
25019 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25020 proc; use new service proc test_debug_format.
25021 Replace all other "gcc_compiled" tests with this test.
25022 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25023 proc; use new service proc test_debug_format.
25024 Replace all other "gcc_compiled" tests with this test.
25025
250262001-09-27 Michael Snyder <msnyder@redhat.com>
25027
25028 * gdb.base/cvexpr.exp: New file.
25029 * gdb.base/cvexpr.c: New file
25030 Test for expressions using const and volatile keywords.
25031
4e6667ac
CV
250322001-09-26 Corinna Vinschen <vinschen@redhat.com>
25033
25034 * gdb.base/constvars.exp: Check for different orders of keywords
25035 and additional "int" strings in output.
25036
4f337972
AC
250372001-09-22 Andrew Cagney <ac131313@redhat.com>
25038
25039 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25040 responses from "help maint".
25041
2015650d
FCE
250422001-09-19 Frank Ch. Eigler <fche@redhat.com>
25043
25044 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25045 to localhost:NNN instead of :NNN, in case Xvfb is listening
25046 only on TCP.
25047
f3bcedc1
CV
250482001-09-19 Corinna Vinschen <vinschen@redhat.com>
25049
25050 * gdb.base/recurse.exp: When checking leaving the watchpoint
25051 scope, recognize when gdb is in function's epilogue and pass.
25052
6b819c92
KS
250532001-09-18 Keith Seitz <keiths@redhat.com>
25054
25055 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25056 support for running tests against sid targets.
25057 (gdbtk_done): Ditto.
25058
a10c9419
CV
250592001-09-18 Corinna Vinschen <vinschen@redhat.com>
25060
25061 * gdb.base/ending-run.c (main): Set stdout buffersize
25062 to the same reasonable value for any target.
25063 * gdb.base/ending-run.exp: Add a regular expression
25064 to make testsuite happy on Sanyo Stormy16 target.
25065
739d0d99
CV
250662001-09-17 Corinna Vinschen <vinschen@redhat.com>
25067
25068 * gdb.base/display.c (do_loops): Add float variable `f'.
25069 Increment f in loop.
25070 * gdb.base/display.exp: Increment timeout by 60 seconds.
25071 Change float display test to use variable `f'.
25072
1b8947f0
JB
250732001-09-17 Jim Blandy <jimb@redhat.com>
25074
25075 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25076 overflowing the limited breakpoint tables on some ROM monitors
25077 (like the ROM68K).
25078
9890ac81
FCE
250792001-09-15 Frank Ch. Eigler <fche@redhat.com>
25080
25081 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25082 the "-ac" (disable access control) flag.
25083
6db765ea
JH
250842001-08-30 Jeff Holcomb <jeffh@redhat.com>
25085
25086 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25087 ints.
25088
4c32cc04
KS
250892001-08-30 Keith Seitz <keiths@redhat.com>
25090
25091 * lib/gdb.exp: Move all insight-related functionality into
25092 separate file.
25093 * lib/insight-support.exp: New file.
25094
8d6e6f81
FCE
250952001-08-29 Frank Ch. Eigler <fche@redhat.com>
25096
25097 * config/sid.exp (sid_start): Never set sid verbosity; disable
25098 expect_background {} that consumed its stdout; tolerate </dev/null.
25099 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25100
6a90e1d0
AC
251012001-08-18 Andrew Cagney <ac131313@redhat.com>
25102
25103 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25104 CLI jump command to start it.
25105 (mi_run_to_main): Fail immediatly when unexpected output.
25106
1759b3c3
AC
251072001-08-18 Andrew Cagney <ac131313@redhat.com>
25108
25109 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25110 beginning of function. Fix PR gdb/191.
25111
61d11d80
FCE
251122001-08-16 Frank Ch. Eigler <fche@redhat.com>
25113
25114 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25115 what to force sid endianness to.
25116
942a4df2
KS
251172001-08-15 Keith Seitz <keiths@redhat.com>
25118
25119 * lib/gdb.exp (gdbtk_start): Don't set environment
25120 variables for TCL_LIBRARY and friends. Insight will
25121 now figure these out for itself.
25122
0521c418
MS
251232001-08-02 Michael Snyder <msnyder@redhat.com>
25124
25125 * gdb.base/completion.exp: Remove the symbol "a64l" from
25126 the expect string; this is target-specific, and not related
25127 to what is being tested.
25128
74a9a58a
DB
251292001-08-02 Dave Brolley <brolley@redhat.com>
25130
25131 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25132
c70819fa
MS
251332001-07-25 Michael Snyder <msnyder@redhat.com>
25134
c2b8fa57
MS
25135 * gdb.base/consecutive.exp: New file. Test stepping over
25136 breakpoints on consecutive instructions.
25137 * gdb.base/consecutive.c: New file.
25138
c70819fa
MS
25139 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25140 curly braces in regular expressions.
25141
2b1a1355
MS
251422001-07-25 Michael Snyder <msnyder@redhat.com>
25143
25144 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25145 legitimate output from stepping out of main.
25146
413eca6f
KS
251472001-07-22 Keith Seitz <keiths@redhat.com>
25148
25149 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25150 the empty string, do not run the tests.
25151
7e5a9322
SC
251522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25153
25154 * gdb.base/long_long.exp: Detect size of pointer. Take into
25155 account 2-byte pointers when testing for p/a results.
25156
de58f10f
SC
251572001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25158
d63a86f8 25159 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
25160 and defined to 1K for m68hc11.
25161 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25162 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25163 (sizeof_random_data): New variable to tell the size of the data table;
25164 don't test past this size; always run to main.
25165
d6f5fea1
SC
251662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25167
25168 * gdb.base/return2.exp: return of long long and double fails for
25169 68HC11; don't execute these tests on that platform.
25170 * gdb.base/return.exp: Return of a double fails for 68hc11.
25171
c477543d
SC
251722001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25173
25174 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25175 tests that print a float.
25176 * call-rt-st.exp: Likewise.
25177
63cf1c79
MK
251782001-07-12 Mark Kettenis <kettenis@gnu.org>
25179
25180 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25181 running this test on Linux.
25182
112f9ab5
MC
251832001-06-24 Michael Chastain <chastain@redhat.com>
25184
25185 * gdb.base/arithmet.exp: Remove some tests to make all test names
25186 unique.
25187
4970cb0f
MS
251882001-07-03 Michael Snyder <msnyder@redhat.com>
25189
25190 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25191 the output of the ptype command.
25192
d85da69f
MS
251932001-07-02 Michael Snyder <msnyder@redhat.com>
25194
4c8a82de
MS
25195 * gdb.base/completion.exp: Don't assume that break.c is the only
25196 source file that may contain functions named "marker".
d85da69f
MS
25197 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25198
8afc772b
AC
251992001-06-28 Andrew Cagney <ac131313@redhat.com>
25200
25201 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25202 of files to delete.
25203
25204 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25205 * gdb.disasm/h8300s.exp: New file.
25206 gdb.disasm/h8300s.s: Likewise.
25207
cff22675
AC
252082001-06-27 Andrew Cagney <ac131313@redhat.com>
25209
25210 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25211 empty breakpoint tables.
25212
68c81b54
AC
252132001-06-25 Andrew Cagney <ac131313@redhat.com>
25214
25215 * lib/mi-support.exp: Update args=... part of stop-reason
25216 patterns. Accept either a list or a tuple.
25217
2dd62704
AC
252182001-06-23 Andrew Cagney <ac131313@redhat.com>
25219
25220 * lib/mi-support.exp: Remove local emacs variable defining
25221 change-log-default-name.
25222
b4127474
MC
252232001-06-22 Michael Chastain <chastain@redhat.com>
25224
25225 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25226 This is operationally compatible with the previous version.
25227
8dbfb380
JB
252282001-06-13 Jim Blandy <jimb@redhat.com>
25229
25230 * lib/gdb.exp (gdb_test): Doc fix.
25231
f2d8c86d
MC
252322001-06-10 Michael Chastain <chastain@redhat.com>
25233
25234 * gdb.base/exprs.exp: Remove a duplicate test.
25235
81564d34
JB
252362001-06-06 Jim Blandy <jimb@redhat.com>
25237
25238 * gdb.base/return2.exp (main): Use values to test float and double
25239 returns that are not NaN's, to avoid being confused by IEEE
25240 comparison rules.
25241
da55addb
MS
252422001-06-04 Michael Snyder <msnyder@redhat.com>
25243
25244 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 25245 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
25246 rather than wait for 12 more tests to time out.
25247
42c65987
JB
252482001-06-06 Jim Blandy <jimb@redhat.com>
25249
b18bced9 25250 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 25251 Don't forget to match the GDB prompt.
b18bced9 25252
42c65987
JB
25253 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25254
5b41e5f0
JB
252552001-06-04 Jim Blandy <jimb@redhat.com>
25256
25257 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25258 command.
25259
015e046f
KB
252602001-05-31 Kevin Buettner <kevinb@redhat.com>
25261
25262 * gdb.base/annota1.exp (info break): Match four or more spaces
25263 after "Address".
25264
fb1ffbbe
MC
252652001-05-31 Michael Chastain <chastain@redhat.com>
25266
25267 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25268 (dm_type_int_star): Likewise.
25269 (dm_type_long_star): Likewise.
25270 (dm_type_void_star): Likewise.
25271
5ea2a32c
KB
252722001-05-29 Kevin Buettner <kevinb@redhat.com>
25273
25274 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25275 to a known value in order to get consistent results regardless
25276 of the setting of INPUTRC or the presence or contents of .inputrc.
25277
ae23c492
MS
252782001-05-24 Michael Snyder <msnyder@redhat.com>
25279
ac55707e
MS
25280 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25281 Don't require that the main thread and the manager thread are the
25282 first in the list.
25283
ae23c492
MS
25284 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25285 debugging. If test fails, issue an "unsupported" not a "fail".
25286
400071f1
JB
252872001-05-24 Jim Blandy <jimb@redhat.com>
25288
25289 Don't assume that short is shorter than int.
25290 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25291 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 25292 this isn't true.
400071f1
JB
25293 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25294 an int, is not equal to ~0 stored in an unsigned char. This tests
25295 the same thing that the previous test meant to, but works on
25296 16-bit machines, too.
25297 ("print unsigned char != (~0)"): Same test, complemented.
25298
0816a3e5
MS
252992001-05-24 Michael Snyder <msnyder@redhat.com>
25300
25301 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 25302 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
25303 and prevents dejagnu getting out of step.
25304
f6dc23a9
KB
253052001-05-23 Kevin Buettner <kevinb@redhat.com>
25306
25307 * gdb.base/finish.exp (finish_void): Revise pattern for
25308 stopping on the call statement to not permit stopping at
25309 the start of the instructions comprising the call sequence.
25310
7dbd117d
MC
253112001-05-19 Michael Chastain <chastain@redhat.com>
25312
25313 * gdb.base/callfuncs.exp: Make all test names unique.
25314 * gdb.base/commands.exp: Make all test names unique.
25315 * gdb.base/condbreak.exp: Make all test names unique.
25316 * gdb.base/dbx.exp: Make all test names unique.
25317 * gdb.base/default.exp: Make all test names unique.
25318 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25319 and TIMEOUT messages to their corresponding PASS message.
25320 * gdb.base/ending-run.exp: Make all test names unique.
25321 * gdb.base/long_long.exp: Remove duplicate test.
25322
6b0b0a9e
KB
253232001-05-21 Kevin Buettner <kevinb@redhat.com>
25324
25325 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25326 stop on the call statement as well as the statement after the
25327 call.
25328
2caa35cb
MS
253292001-05-21 Michael Snyder <msnyder@redhat.com>
25330
25331 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25332
40713331
EZ
253332001-05-10 Elena Zannoni <ezannoni@redhat.com>
25334
a9c64011
AS
25335 * gdb.base/completion.exp: Revamp test. Make it execute on all
25336 platforms.
40713331 25337
c2c1be8d
EZ
253382001-05-10 Elena Zannoni <ezannoni@redhat.com>
25339
a9c64011
AS
25340 * config/gdbserver.exp (gdb_load): Handle the case
25341 in which the arguments to gdbserver are given in the
25342 baseboard configuration file.
25343 Also handle the case in which the server needs to do a
25344 load.
2c9cd303 25345
9671de48
KS
253462001-05-07 Keith Seitz <keiths@cygnus.com>
25347
a9c64011
AS
25348 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25349 set up the display for testing.
25350 (gdbtk_start): Convert all paths to paths that tcl will like.
25351 Export target information to environment.
25352 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25353 necessary.
25354 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25355 (to_tcl_path): New proc to convert a given pathname into
25356 a path acceptible as an argument to a tcl command.
25357 (_gdbtk_export_target_info): New proc to export target info
25358 into the environment for gdbtk testing.
25359 (gdbtk_done): New proc to signal end-of-test.
9671de48 25360
5a360f47
JB
253612001-05-06 Jim Blandy <jimb@redhat.com>
25362
25363 * restore.c: Make the code of caller0 correspond to its comment.
25364
66c756c6
MS
253652001-05-03 Michael Snyder <msnyder@redhat.com>
25366
25367 * config/sid.exp (gdb_target_sid): Check for error messages.
25368 On error or timeout, don't make expect exit (which will terminate
25369 all subsequent tests); instead just make gdb exit.
d63a86f8 25370 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
25371 return a negative value.
25372
a966fde5
JB
253732001-04-24 Jim Blandy <jimb@redhat.com>
25374
851c18e0
JB
25375 * gdb.c++/templates.exp: If we see the prompt for the overload
25376 list, but we haven't recognized any of the longer patterns,
25377 arrange for this test to fail, not hang.
25378
a966fde5
JB
25379 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25380 variations.
25381
db144853
MC
253822001-04-22 Michael Chastain <chastain@redhat.com>
25383
25384 * gdb.c++/local.exp: Use the 'runto' library function.
25385 * gdb.c++/namespace.exp: Likewise.
25386 * gdb.c++/overload.exp: Likewise.
25387
3207ec21
KB
253882001-03-26 Kevin Buettner <kevinb@redhat.com>
25389
25390 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25391 * gdb.base/step-line.exp: New file. Test step/next in presence of
25392 #line directives.
25393 * gdb.base/step-line.c: New file. Test program for the above.
25394 * gdb.base/step-line.inp: New file. We pretend that this file has
25395 been transformed by some other tool into step-line.c.
25396
13b57657
JB
253972001-03-21 Jim Blandy <jimb@redhat.com>
25398
25399 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25400 unmangled operator names.
25401
754cbe1c
JB
254022001-03-20 Jim Blandy <jimb@redhat.com>
25403
25404 * gdb.threads/linux-dp.exp: Recognize an additional message
25405 generated by GDB when it doesn't understand how to debug threads
25406 on the target system.
25407
177495c9
AC
254082001-03-19 Andrew Cagney <ac131313@redhat.com>
25409
25410 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25411
f266096b
MC
254122001-03-12 Michael Chastain <chastain@redhat.com>
25413
25414 * gdb.c++/derivation.exp: Use the 'runto' library function.
25415
cac3c2ff
MC
254162001-03-12 Michael Chastain <chastain@redhat.com>
25417
25418 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25419
b6c11a24
MC
254202001-02-24 Michael Chastain <chastain@redhat.com>
25421
25422 * gdb.c++/ref-types.exp: Change handwritten code to library
25423 function 'runto'.
25424
6bae5bce
OF
254252001-03-16 Orjan Friberg <orjanf@axis.com>
25426
25427 * gdb.base/signals.exp: Set count to 0 explicitly.
25428
0015fd9a
MS
254292001-03-15 Mark Salter <msalter@redhat.com>
25430
25431 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25432 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
25433 (gdb_load): Add support for additional target_info: gdb_download_size
25434 and gdb_load_timeout.
0015fd9a 25435
fc33412a
DT
25436Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25437
25438 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
25439 file -- to prevent failing when the compile fails but we have no
25440 intention of running the tests anyway.
fc33412a
DT
25441
25442 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25443 tests if set.
25444
25445 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 25446 integers.
fc33412a
DT
25447
25448 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25449 * gdb.c++/namespace.exp: Ditto.
25450
115f06de
OF
254512001-03-07 Orjan Friberg <orjanf@axis.com>
25452
25453 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25454 * gdb.base/pointers.exp: Relax pattern match of decimals.
25455
b6ba6518
KB
254562001-03-06 Kevin Buettner <kevinb@redhat.com>
25457
25458 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25459 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25460 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25461 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25462 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25463 config/sh.exp, config/sid.exp, config/slite.exp,
25464 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25465 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25466 config/vxworks.exp, config/vxworks29k.exp,
25467 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25468 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25469 gdb.base/arithmet.exp, gdb.base/assign.exp,
25470 gdb.base/async.exp, gdb.base/attach.exp,
25471 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25472 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25473 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25474 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25475 gdb.base/commands.exp, gdb.base/completion.exp,
25476 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25477 gdb.base/constvars.exp, gdb.base/corefile.exp,
25478 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25479 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25480 gdb.base/ending-run.exp, gdb.base/environ.exp,
25481 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25482 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25483 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25484 gdb.base/funcargs.exp, gdb.base/help.exp,
25485 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25486 gdb.base/logical.exp, gdb.base/long_long.exp,
25487 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25488 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25489 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25490 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25491 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25492 gdb.base/regs.exp, gdb.base/relational.exp,
25493 gdb.base/remote.exp, gdb.base/reread.exp,
25494 gdb.base/restore.exp, gdb.base/return2.exp,
25495 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25496 gdb.base/selftest.exp, gdb.base/setshow.exp,
25497 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25498 gdb.base/sigall.exp, gdb.base/signals.exp,
25499 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25500 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25501 gdb.base/step-test.exp, gdb.base/structs.c,
25502 gdb.base/structs.exp, gdb.base/structs2.exp,
25503 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25504 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25505 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25506 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25507 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25508 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25509 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25510 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25511 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25512 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25513 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25514 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25515 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25516 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25517 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25518 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25519 gdb.trace/circ.exp, gdb.trace/collection.exp,
25520 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25521 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25522 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25523 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25524 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25525 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25526 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25527 notices.
25528
dc96c6c7 255292001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
25530
25531 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25532 first arg is int not float.
25533
dc96c6c7 255342001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
25535
25536 * gdb.base/reread.exp: Unsupported for non-native targets;
25537 doesn't work for remote debugging.
25538
9b0c4aeb
FN
255392001-02-19 Fernando Nasser <fnasser@redhat.com>
25540
25541 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
25542 * gdb.base/ending-run.exp: Properly handle the BSP state when
25543 stepping past the end of main.
9b0c4aeb 25544
02aa71d5
MC
255452001-02-19 John Moore <jmoore@redhat.com>
25546
25547 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25548 Converted HPUX fix for non-expected items following multiple
25549 step commands into general solution for all platforms.
25550
1fa449a4
MC
255512001-02-18 Michael Chastain <chastain@redhat.com>
25552
25553 * gdb.c++/classes.exp (do_tests): Change runto statements
25554 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25555 statements demangler agnostic.
25556 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25557 (gdb_virtfunc_restart): Likewise.
25558
b2f9ec70
MC
255592001-02-14 Michael Chastain <chastain@redhat.com>
25560
25561 * gdb.c++/inherit.exp (do_tests): Change runto statements
25562 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25563 statements demangler agnostic.
25564
cf74b8ca
AC
25565Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25566
25567 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
25568 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25569 before calling common_routine 15 times'' tests.
cf74b8ca 25570
99f78f56
MC
255712001-02-11 Michael Chastain <chastain@redhat.com>
25572
25573 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25574 Helps the test script figure out which demangler is in use.
25575 (dm_type_foo_ref): Ditto.
25576 (dm_type_int_star): Ditto.
25577 (dm_type_long_star): Ditto.
25578 (dm_type_unsigned_int): Ditto.
25579 (dm_type_void): Ditto.
25580 (dm_type_void_star): Ditto.
99707966 25581 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
25582 Probe the gdb demangler and set variables to accommodate
25583 formatting differences.
25584 (info_func_regexp): New function. Same as info_func, but
25585 matches against a regexp.
25586 (info_func): Match against a literal string.
25587 (print_addr_2): New function. Match against a literal string,
25588 which can be different from the input to gdb.
25589 (print_addr): Simply call print_addr_2 with the same argument twice.
25590 (test_lookup_operator_functions): Use demangler formatting variables.
25591 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25592 the tests in the same order as the C++ class declaration.
25593 (test_paddr_operator_functions): Ditto.
25594 (test_paddr_overloaded_functions): Ditto.
25595 (test_paddr_hairy_functions): Use demangler formatting variables.
25596 Add reference to gdb/19 for related tests.
25597 (do_tests): Call probe_demangler.
25598
1de8f023
KB
255992001-01-30 Kevin Buettner <kevinb@redhat.com>
25600
25601 * gdb.c++/templates.cc (printf): Remove unused function definition.
25602
ca3f91ed
MS
256032001-01-26 Felix Lee <flee@redhat.com>
25604
25605 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25606
256072001-01-25 matthew green <mrg@redhat.com>
25608
25609 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25610 up sid.
25611 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25612
256132001-01-25 matthew green <mrg@redhat.com>
25614
25615 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 25616 Deprecate $sid_spawn_id.
ca3f91ed
MS
25617 (sid_exit): Remove code necessary only for `spawn.'
25618
256192001-01-25 matthew green <mrg@redhat.com>
25620
25621 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25622
fb18ec4a
MC
256232001-01-28 Michael Chastain <chastain@redhat.com>
25624
25625 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25626 to call when tests fail. It takes gdb out of the overloaded
25627 function choice menu back to the main prompt, so that the test
25628 program stays synchronized.
25629 (set_bp_overloaded): New proc to collect all the common
25630 code for setting a breakpoint on an overloaded name. Calls
25631 take_gdb_out_of_choice_menu when needed.
25632 (menu_overload1arg): New variable to collect the repeated
25633 instances of the expected menu for an overloaded name. Change
25634 the regular expression to handle changes in g++ type encoding:
25635 "void" can be either "void" or "", and "unsigned int" can be
25636 either "unsigned int" or "unsigned".
25637 (continue_to_bp_overloaded): Change regular expressions to handle
25638 changes in g++ type encoding.
25639 (no proc): Call take_gdb_out_of_choice_menu when needed.
25640 Remove redundant calls to "info break". Accept either "canceled"
25641 or "cancelled". Change regular expressions in "info break"
25642 calls to handle changes in g++ type encoding. Give all tests
25643 unique strings.
25644
9c646a6e
BE
256452001-01-17 Ben Elliston <bje@redhat.com>
25646
25647 * config/sid.exp: New file.
25648
9549d9c1
AC
25649Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25650
25651 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25652
dc96c6c7 256532000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
25654
25655 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25656 Add a RE to accept a non-ascii char if one is ever presented.
25657
b4df4f68
FN
256582000-12-20 Fernando Nasser <fnasser@redhat.com>
25659
297dd0fd 25660 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 25661
dc96c6c7 256622000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 25663
d63a86f8 25664 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
25665 in regexp. One '\' does not suffice on Linux.
25666
4a7bddb6
MC
256672000-12-09 Michael Chastain <chastain@redhat.com>
25668
25669 * gdb.base/break.exp (test_clear_command): Use a marker function
25670 rather than 'main' for the test function. Also move this
25671 test to an execution point where the marker function names are
25672 guaranteed to be bound to functions. (Executing tests after a
25673 'finish' from main runs into name conflicts with local names
25674 in __libc_start_main).
25675
dc96c6c7 256762000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
25677
25678 * gdb.base/finish.exp: New test for gdb's "finish" command.
25679 * gdb.base/return2.exp: New test for gdb's "return" command.
25680 * gdb.base/return2.c: New source file for above.
25681
dc96c6c7 256822000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
25683
25684 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25685 * gdb.base/miscexprs.exp: Ditto.
25686 * gdb.base/pointers.exp: Ditto.
25687 * gdb.c++/derivation.exp: Ditto.
25688 * gdb.c++/local.exp: Ditto.
25689 * gdb.c++/namespace.exp: Ditto.
25690 * gdb.c++/overload.exp: Ditto.
25691 * gdb.c++/ref-types.exp: Ditto.
25692
dc96c6c7 256932000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
25694
25695 * gdb.base/constvars.exp: Test result of "up" command.
25696 * gdb.base/miscexprs.exp: Ditto.
25697 * gdb.base/pointers.exp: Ditto.
25698 * gdb.base/scope.exp: Ditto.
25699 * gdb.c++/derivation.exp: Ditto.
25700 * gdb.c++/local.exp: Ditto.
25701 * gdb.c++/namespace.exp: Ditto.
25702 * gdb.c++/overload.exp: Ditto.
25703 * gdb.c++/ref-types.exp: Ditto.
25704
44097287
FN
257052000-11-22 Michael Chastain <chastain@redhat.com>
25706
25707 * mips_pro.exp: Accept either "middle -> top -> main" or
25708 "middle -> main" in the backtrace, because gcc can optimize
25709 tail calls to jumps. Remove setup_xfail for the hppa case.
25710 Add a comment with the original warning messages from PR 3016,
25711 which was filed in 1993, to preserve them for posterity.
25712
9d2e1bab
ND
257132000-11-17 Nick Duffek <nsd@redhat.com>
25714
25715 * lib/gdb.exp (gdb_test): Override timeout with board info.
25716
1aca8eb7
ND
257172000-11-17 Nick Duffek <nsd@redhat.com>
25718
25719 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25720 the second kill and detach messages.
25721
93076499
ND
257222000-11-17 Nick Duffek <nsd@redhat.com>
25723
25724 * configure.in: Add AC_EXEEXT.
25725 * configure: Regenerate.
25726 * Makefile.in (just-check): Export EXEEXT.
25727 * lib/gdb.exp ($EXEEXT): Import from environment.
25728 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25729 expect "maint dump-me" on Cygwin.
25730 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25731 $EXEEXT.
25732
30e87cd3
ND
257332000-11-17 Nick Duffek <nsd@redhat.com>
25734
25735 * gdb.base/break.exp: Test backtrace and finish from called
25736 function on all platforms, not just HP-UX.
25737
dc96c6c7 257382000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
25739
25740 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25741 code from gdb_target_monitor, so it can be used independantly
25742 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 25743
dc96c6c7 257442000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
25745
25746 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25747 * gdb.base/corefile.exp: Expect the message "Program is being
25748 debugged already" when we send the "corefile" command, since
25749 the preceeding gdb_load may have connected gdb to a remote target.
25750 * gdb.base/display.exp: Disable hardware watchpoints if new
25751 board info variable "no_hardware_watchpoints" is true.
25752 Replace single-letter commands with more readable ones.
25753 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25754 if new board info variable "no_hardware_watchpoints" is true.
25755 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25756 to see if stdio (printf) testing is possible.
25757 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25758 board info variable "no_hardware_watchpoints" is true. Use new
25759 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25760
39124dea
FN
257612000-11-13 Fernando Nasser <fnasser@redhat.com>
25762
25763 From Orjan Friberg <orjanf@axis.com>:
25764 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25765 in array print pattern match.
25766
a9e2e984
FN
257672000-11-09 Fernando Nasser <fnasser@redhat.com>
25768
25769 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25770 spelling "cancelled" to U.S. spelling "canceled" to match changes
25771 made to gdb.
25772 * gdb.c++/ovldbreak.exp: Ditto.
25773
c7db355b
PS
257742000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25775
25776 * gdb.base/callfuncs.c (main): Moved to end of file, call
25777 t_double_values to initialize the FPU before inferior calls are made.
25778 * gdb.base/callfuncs.exp: Test for register preservation after calling
25779 inferior functions. Add tests for continuining, finishing and
25780 returning from a stop in a call dummy.
25781
dc96c6c7 257822000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
25783
25784 * gdb.base/commands.exp: Break up long lines, and re-indent.
25785
dc96c6c7 257862000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25787
25788 * config/gdbserver.exp: Rewritten from the ground up, to make it
25789 compatible with the current dejagnu tree, and to make it work with
25790 the new "gdbserver" in libremote.
25791
dc96c6c7 257922000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25793
25794 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25795 * gdb.base/varargs.exp: Skip entire test if no printf support.
25796 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25797 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25798
dc96c6c7 257992000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25800
25801 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25802 no floating point support.
25803 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25804 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25805 * gdb.base/call-rt-st.exp: Ditto.
25806 * gdb.base/call-strs.exp: Ditto.
25807
bac5fc66
JG
258082000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25809
25810 * gdb.base/sizeof.c: include <stdio.h>.
25811
25812 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25813 'finish', otherwise uncaptured gdb_prompt would potentially
25814 throw remaining test points out of sync.
bac5fc66 25815
b22a6027
SB
258162000-07-26 Scott Bambrough <scottb@netwinder.org>
25817
25818 * gdb.base/recurse.exp: Run tests for all targets.
25819 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25820 gnu-oldld case on ARM.
25821 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25822 for ARM targets.
d63a86f8 25823
d8231941
AG
25824Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25825
25826 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25827 * gdb.java/configure: Rebuild.
25828
8caabe69
AG
25829Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25830
25831 * gdb.java/jv-exp.exp: New file.
25832
9d273ca3
AG
25833Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25834
25835 * configure: Rebuilt.
25836 * configure.in (configdirs): Add gdb.java.
25837 * gdb.java/jmisc.java: New file.
25838 * gdb.java/jmisc.exp: New file.
25839 * gdb.java/Makefile.in: New file.
25840 * gdb.java/configure: Rebuilt.
25841 * gdb.java/configure.in: New file.
25842 * lib/java.exp: New file.
25843
4f823a66
AC
25844Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25845
25846 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25847 underflow.
4f823a66 25848
2391e11d
AC
25849Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25850
25851 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25852 and the compilers sizes.
2391e11d 25853
54602222
ND
258542000-07-09 Nick Duffek <nsd@redhat.com>
25855
25856 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25857 (use_methods): New function.
25858 (main): Call use_methods().
25859 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25860 (do_tests): Call test_method_param_class.
25861
2bec0572
ND
258622000-07-09 Nick Duffek <nsd@redhat.com>
25863
25864 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25865 spelling.
25866 (test_enums): New procedure. Move enum tests from end of script
25867 to here. Set breakpoint on function name instead of line number.
25868 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25869 (enums2): New marker function.
25870 (enums1): New function.
25871 (main): Call enums1(). Move enum tests to enums1().
25872
78492fde
AC
25873Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25874
25875 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25876 compile/link program. Update line numbers.
78492fde
AC
25877 * gdb.asm/d10v.inc: Define ``startup''.
25878 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25879
49a2cef8
AC
25880Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25881
25882 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25883
3e6c8688
EZ
258842000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25885
25886 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25887 of 'help maint print' command.
3e6c8688 25888
9ff5cbe9
AC
25889Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25890
25891 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25892 they use gdb_expect_list.
9ff5cbe9 25893
17c579bd
AC
25894Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25895
25896 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25897 memory-read-packet-size'' instead of ``set endian big'' to test
25898 long commands.
17c579bd 25899
e6d71bf3
DB
259002000-06-03 Daniel Berlin <dan@cgsoftware.com>
25901
25902 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25903 g++, and stop skipping them.
e6d71bf3
DB
25904
25905 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25906 work under g++.
25907
d63a86f8 25908 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25909 initialization.
25910
dc96c6c7 259112000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25912
25913 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25914 the regular expression: accept an (almost) arbitrary sequence of
25915 "frames-invalid" and "breakpoints-invalid" messages both before
25916 and after the "starting" message.
25917
dc96c6c7 259182000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25919
25920 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25921
dc96c6c7 259222000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25923
25924 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25925 Relax the regular expression a little, make it pass on Solaris 8.
25926
8216cda9
KB
259272000-05-12 Kevin Buettner <kevinb@redhat.com>
25928
25929 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25930 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25931 Instead, it is permissible for gdb to stop on the line of the
25932 call itself.
25933
1a570b2f
MS
259342000-05-12 Michael Snyder <msnyder@.cygnus.com>
25935
25936 * gdb.base/break.exp (bp on small function, optimized file):
25937 Add a second pass pattern. The behavior differs here between stabs
25938 and dwarf for one-line functions. Stabs preserves two line symbols
25939 (one before the prologue and one after) with the same line number,
25940 but dwarf regards these as duplicates and discards one of them.
25941 Therefore the address after the prologue (where the breakpoint is)
25942 has no exactly matching line symbol, and GDB reports the breakpoint
25943 as if it were in the middle of a line rather than at the beginning.
25944
dc96c6c7 259452000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25946
d63a86f8 25947 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25948 rather than "send_gdb" (for consistancy).
25949
7d418785
AC
25950Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25951
25952 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25953 * gdb.c++/templates.cc: Properly check for GCC version number.
25954 * lib/compiler.cc: Likewise
25955
dc96c6c7 259562000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25957
d63a86f8 25958 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25959 gdb may not stop at the first line of main, due to code motion.
25960
dc96c6c7 259612000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25962
25963 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25964 This test depends on parsing the printf output from the target.
25965 Since the sparclet stub doesn't do stdio, this will never work.
25966 * gdb.base/call-rt-st.exp: ditto.
25967 * gdb.base/call-strs: ditto.
25968
dc96c6c7 259692000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25970
25971 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25972
25973 * gdb.base/ending-run.exp: After connecting to a remote target,
25974 but before running, the target will appear to be in a random
25975 location. Specify both a file and a line for breakpoints.
25976 Also, the function that calls main may be called 'init'
25977 rather than 'start'.
25978
a5a51225
EZ
259792000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25980
25981 * gdb.base/help.exp: Update output for add-symbol-file command.
25982
7930cc7c
FN
259832000-04-10 Fernando Nasser <fnasser@cygnus.com>
25984
25985 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25986 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25987
23e37ab1
C
259882000-04-07 J.T. Conklin <jtc@redback.com>
25989
e93c542c
C
25990 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25991
23e37ab1
C
25992 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25993
591b8fa3
PDM
25994Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25995
25996 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 25997 values that can be represented exactly.
591b8fa3
PDM
25998 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25999 above change, and to not check against the directory part of the source
26000 file name.
26001 (step into print_long_arg_list): Likewise.
26002 (print print_small_structs from print_long_arg_list): Likewise.
26003 (print print_long_arg_list): Likewise.
26004
7a495180
EZ
260052000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26006
30b53638 26007 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 26008
beb998c6
AC
26009Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26010
26011 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26012
1c689132
DB
260132000-03-25 Daniel Berlin <dan@cgsoftware.com>
26014
26015 * gdb.base/commands.exp (deprecated_command_test): Add test for
26016 deprecate with no arguments.
26017
c1790a9d
JL
260182000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26019
26020 * gdb.base/break.exp: Add new test for setting breakpoints on
26021 optimized code so we can test breakpoints work even when function
26022 prologues may be optimized away
26023
003ba290
FN
260242000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26025
26026 From David Whedon <dwhedon@gordian.com>
a9c64011 26027 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 26028
6837a0a2
DB
260292000-03-22 Daniel Berlin <dan@cgsoftware.com>
26030
26031 * gdb.base/help.exp: Added test for new apropos command.
26032
b9593231
KB
260332000-03-21 Kevin Buettner <kevinb@redhat.com>
26034
26035 * gdb.base/pointers.c (usevar): New function.
26036 (main): Make sure that global variables v_int_pointer2, rptr,
26037 and y are all referenced someplace in the program by calling
26038 usevar() on them. [Some linkers delete symbols which are
26039 never referenced. The space remains, but there's no way to
26040 get a (symbolic) handle on the variable from the debugger.]
26041
751a959b
EZ
260422000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26043
26044 * gdb.base/printcmds.c: Add typedeffed arrays.
26045
26046 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 26047 procedure to test arrays that are typedef'd.
751a959b 26048
73a93a32
JI
260492000-03-13 James Ingham <jingham@leda.cygnus.com>
26050
26051 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 26052 the library directories.
73a93a32 26053
fb40c209
AC
26054Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26055
26056 * configure.in (configdirs): Add sub directory gdb.mi.
26057 * configure: Re-generate.
26058
26059 * gdb.mi: New directory.
d63a86f8 26060
ee4dd2c9
AC
260612000-02-25 Scott Bambrough <scottb@netwinder.org>
26062
26063 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 26064 a long long value as a double on ARM platforms.
ee4dd2c9 26065
70f0cc22
JB
260662000-02-16 Jim Blandy <jimb@redhat.com>
26067
26068 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26069 default source file is set properly before running this test.
26070
853819b8
EZ
260712000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26072
26073 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 26074 gdbtk/library directory, not in gdbtcl2.
853819b8 26075
dfcd3bfb
JM
260762000-02-04 Jim Blandy <jimb@redhat.com>
26077
26078 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26079 backslash from regexp pattern.
26080
26081 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26082 procedure. Use it to run all the "continue to bp overloaded"
26083 tests. Note that this changes the names of the tests slightly.
26084 If the breakpoint hit message includes a hex PC value, because
26085 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26086 from the real source code, still consider that a pass.
26087
26088 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26089 XFAIL here if the breakpoint message contains a hex address. Note
26090 similar change on 1999-11-02.
26091
26092 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26093
26094 * gdb.base/ptype.exp: Establish a default source file before
26095 calling get_debug_format.
26096
260972000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26098
26099 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26100
8b93c638
JM
261012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26102
26103 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26104 of successive stepi commands -- while in the prologue we should see
26105 the function entry bracket.
26106
261072000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26108
26109 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26110 reach __change_mode() when stepping through the end of main().
26111
c5394b80
JM
261122000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26113
26114 * gdb.base/default.exp: Fix expected pattern.
26115 * gdb.base/help.exp: Same.
26116
0d06e24b
JM
261172000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26118
26119 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 26120 Don't use xfail's because that affects only the following test.
d63a86f8 26121
0d06e24b 26122 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 26123 solaris or linux.
0d06e24b
JM
26124
26125 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26126
dc96c6c7 261272000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 26128
d63a86f8 26129 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
26130 "A syntax error" rather than "A parse error". Accept both.
26131
261322000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26133
26134 * gdb.base/default.exp: Remove OS dependent string from "target
26135 remote" test.
26136 * gdb.base/help.exp: Same for "help target remote" test.
26137
c3f6f71d
JM
261382000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26139
26140 From Jim Kingdon <kingdon@redhat.com>:
26141
26142 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
26143 prompt (cleanup rather than necessity, but still might keep output
26144 from spilling to next test).
c3f6f71d
JM
26145
261462000-01-02 Fred Fish <fnf@cygnus.com>
26147
26148 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26149 AIX, which defines them in <sys/types.h>.
26150
ed9a39eb 261511999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 26152
ed9a39eb 26153 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 26154 float" test.
ed9a39eb
JM
26155
261561999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 26157
ed9a39eb 26158 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
26159
26160 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26161 outermost frame disallowed".
26162
261631999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26164
26165 * gdb.base/setvar.exp: New tests for setting the value of a struct
26166 with a constant list.
26167
261681999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26169
26170 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26171 require the user to type a cast before setting the value of a struct.
26172
de57eccd
JM
261731999-12-06 Jim Blandy <jimb@cygnus.com>
26174
26175 * gdb.base/default.exp: Expect the new 'info float' command on
26176 all i386 platforms.
26177
26178 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26179 LinuxThreads libraries that don't support debugging.
26180
c2d11a7d
JM
26181Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26182
26183 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
26184 Change the buffer type to ``unsigned char'' to simplify size
26185 arithmetic.
c2d11a7d
JM
26186
26187 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
26188 stub only handles 400-1 byte packets. Verify that the download
26189 worked.
c2d11a7d
JM
26190
261911999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26192
26193 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26194 tests, using UNRESOLVED for the untested cases. Also, does not wait
26195 for a timeout if the prompt was received before a recognizable pattern.
26196
261971999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26198
26199 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26200
262011999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26202
26203 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 26204 watchpoints.
c2d11a7d
JM
26205
262061999-11-24 Jason Merrill <jason@casey.cygnus.com>
26207
26208 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26209
26210 * gdb.c++/local.exp: Be more flexible in recognizing local class
26211 name mangling. Don't allow horribly truncated method names.
26212 * gdb.c++/derivation.exp: Expect protected inheritance.
26213 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26214 * gdb.c++/virtfunc.exp: Likewise.
26215 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26216 when printing a nested enum.
26217
262181999-11-22 Jim Blandy <jimb@cygnus.com>
26219
26220 * gdb.base/step-test.exp: Properly await GDB's response to setting
26221 a breakpoint on the call to large_struct_by_value.
26222
26223 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26224 just because we have debug info for the `start' function.
26225
262261999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26227
26228 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26229 "Unknown signal" messages, which indicate (on LinuxThreads) that
26230 GDB doesn't know how to debug threads on this system. This is
26231 better than hanging while philosopher 0 dumps chatter into gdb.log.
26232
262331999-11-18 Tom Tromey <tromey@cygnus.com>
26234
26235 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26236
262371999-11-18 Fred Fish <fnf@cygnus.com>
26238
26239 * gdb.base/coremaker2.c: Add sample program for generating
26240 cores that is more self contained than coremaker.c. Eventually
26241 I'll add more code to this and tie it into the testsuite.
26242
4ce44c66
JM
262431999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26244
26245 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26246
262471999-11-10 Jimmy Guo <guo@cup.hp.com>
26248
26249 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 26250 from $srcdir/lib/.
4ce44c66 26251 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 26252 and gdb.c++/.
4ce44c66
JM
26253
26254 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26255
d63a86f8 26256 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
26257 'continue with watch' test point.
26258
262591999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26260
26261 Merged from p2linux-990323-branch:
d63a86f8 26262
4ce44c66
JM
26263 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26264
11cf8741
JM
26265Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26266
26267 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 26268 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
26269
26270Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26271
26272 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 26273 gdb_expect_list.
11cf8741
JM
26274
26275Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26276
26277 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26278
262791999-11-03 Mark Salter <msalter@cygnus.com>
26280
26281 * gdb.base/break.exp: Fix "stub continue" pattern.
26282
262831999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26284
26285 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26286
262871999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26288
26289 * gdb.base/display.exp ("finish"): Add timeout clause.
26290
26291 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26292 plain prompt clause, so this doesn't have to time out in order to
26293 fail.
26294
26295 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 26296 breakpoint hit messages include an address.
11cf8741
JM
26297
26298 * gdb.base/display.exp: Don't forget to escape parens in regular
26299 expressions. Unix regexp notatation sucks.
26300
263011999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26302
26303 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 26304 order for 'signalled' message.
11cf8741 26305
5c44784c
JM
263061999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26307
26308 From Jimmy Guo <guo@cup.hp.com>:
26309 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26310 * gdb.base/annota1.c: Add code for tests to work with.
26311
263121999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26313
26314 * gdb.base/remote.exp: New test for remote downloading settings.
26315 * gdb.base/remote.c: New file with large .data.
26316
917317f4
JM
263171999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26318
26319 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26320 for LinuxThreads support, merged from the Code Fusion branch.
26321
26322Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26323
26324 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
26325 containing exp_continue into a while within an expect. Don't
26326 attempt a start more than three times. Check return value from
26327 gdb_load.
d63a86f8 26328
2df3850c
JM
26329Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26330
26331 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 26332 a pass case.
2df3850c 26333
2acceee2
JM
263341999-10-01 Kevin Buettner <kevinb@cygnus.com>
26335
26336 * gdb.base/break.c (main): Added a statement that we can step
26337 off of.
26338 * gdb.base/break.exp: Added tests for setting a breakpoint
26339 at an offset and stepping onto a breakpoint.
26340
263411999-10-01 Fred Fish <fnf@cygnus.com>
26342
d63a86f8 26343 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
26344 gdb output.
26345
c2c6d25f
JM
263461999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26347
26348 * gdb.base/break.exp: Code locations are in hex, don't forget!
26349 (For HP-UX.)
26350
263511999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26352
26353 * condbreak.exp: Use break.c as test program.
26354 * condbreak.c: Remove, redundant with break.c.
26355
263561999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26357
26358 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 26359 Z-packets if the target needs it.
c2c6d25f
JM
26360
263611999-09-13 James Ingham <jingham@leda.cygnus.com>
26362
26363 * gdb.c++/overload.exp: Added tests for listing overloaded
26364 functions with function pointers in the arg, explicitly calling
26365 out the version you want.
26366
cff3e48b
JM
263671999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26368
26369 * long_long.exp: Add variations of test cases that work for
26370 targets with 16-bit ints and 32-bit doubles.
26371
d4f3574e
SS
263721999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26373
26374 * break.c (main): Compare a possibly-uninitialized argc with an
26375 unlikely value that fits in 16 bits.
26376
263771999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26378
26379 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26380 0xfeeb, don't want negative numbers if ints are 16 bits.
26381
26382 * lib/gdb.exp (skip_cplus_tests): New proc.
26383 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
26384 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26385 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26386 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26387 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26388 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26389 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26390 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
26391
26392 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26393
26394Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26395
26396 * gdb.base/corefile.exp (up): Allow a parameter to appear
26397 in the frame that we're going up to.
26398
26399 From Jim Blandy <jimb@cygnus.com>:
26400
26401 * gdb.base/default.exp (info float): Expect some output now.
26402
26403 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26404 returning floating-point values to fail on the x86.
26405 * gdb.base/callfwmall.exp (do_function_calls): Same.
26406
26407 * gdb.base/list.exp (test_listsize): Correct expectations for
26408 listing line 1 with listsize 2. Also, listing a single line
26409 works now, as does listing three lines. [Kevin's note: There
26410 were a number of other cases fixed too where the expectations
26411 differed...]
26412
264131999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26414
26415 * gdb.base/selftest.exp: Add case for when version prints as
26416 constant string instead of char pointer.
26417
104c1213
JM
264181999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26419
26420 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 26421 stepping out of main.
104c1213
JM
26422
26423 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26424 G++ used.
26425
26426 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 26427 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
26428
26429 * gdb.c++/ovldbreak.exp: Update match string in test that
26430 includes a warning of multiple breakpoints.
26431
264321999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26433
26434 * gdb.base/display.exp: Improve precision of step-after-finish
26435 added yesterday.
26436
26437 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 26438 test.
104c1213
JM
26439
26440 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26441 configs when using G++, not just hppa*.
26442
264431999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26444
26445 * gdb.base/async.c: New file.
26446 * gdb.base/async.exp: New file.
26447
26448Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26449
26450 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26451 PA64.
26452
53a5351d
JM
26453Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26454
104c1213
JM
26455 * gdb.base/display.exp: "finish" can leave us mid-line on many
26456 targets, deal with it. Add a small constant to main, instead of
26457 1000 since main+1000 may not be a valid address in the target.
26458
53a5351d
JM
26459 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26460 on hpux11.
26461
26462 * gdb.base/attach.exp: Handle another hpux11 error message variant
26463 when attaching to a process that does not exist.
26464
264651999-08-19 J.T. Conklin <jtc@redback.com>
26466
26467 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 26468 characters in 'continue to 1241' test.
53a5351d
JM
26469
264701999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26471
26472 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26473 stop in print_long_arg_list, define and use a whitespace
26474 variable in print_small_structs test, add an XFAIL for Solaris.
26475 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26476 interested enough to fix.
26477
7be570e7
JM
264781999-08-13 Keith Seitz <keiths@cygnus.com>
26479
26480 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26481 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26482 proc knows about targets other than the natives.
26483 (test_assign): Use "gdb_run_cmd" to "run" the target.
26484 Check that we've actually hit the breakpoint at main.
26485 When we attempt to assign a value to a local variable, check
26486 that the variable is in the current scope, i.e., don't use
26487 a test with an empty result.
26488
26489Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26490
26491 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 26492 command.
7be570e7
JM
26493
264941999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26495
26496 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26497 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26498 gdb.compat, gdb.threads-hp.
26499 gdb.hp/configure, gdb.hp/configure.in: New files.
26500 gdb.hp/Makefile.in: Recurse into new subdirs.
26501 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26502 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26503 in object files.
26504 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26505
96baa820
JM
265061999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26507
26508 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 26509 funky printf, remove a bogus p/a test.
96baa820
JM
26510
265111999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26512
26513 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
26514 connected to the target. This is necessary when running not
26515 natively.
96baa820
JM
26516
265171999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26518
26519 * gdb.base/step-test.exp: Removed some extraneous messages.
26520
26521 * gdb.base/long_long.exp: Don't run memory examination tests
26522 on little-endian targets (they will need a different set of
26523 results to match).
26524
265251999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26526
26527 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26528 until somebody decides to fix GDB.
26529
26530 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 26531 constant as "ULL".
96baa820
JM
26532 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26533 matches for a couple x/2 commands.
26534
a0b3c4fd
JM
265351999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26536
26537 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26538 by merging in ref-types2 tests.
26539 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26540
26541 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26542 * gdb.c++/Makefile.in: Add standard actions.
26543 (EXECUTABLES): Rename from PROGS, update list.
26544 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26545 from gdb.hp.
26546 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26547 foo and bar locals.
26548 * gdb.c++/anon-union.exp: Fix tests to match.
26549 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26550 expect matches to handle output variations.
26551 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26552 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 26553 output, add HP alternatives for new and delete prints.
a0b3c4fd 26554 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 26555 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
26556 * gdb.c++/demangle.exp: Use $style when reporting failure.
26557 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26558 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26559 match alternatives.
26560 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 26561 compilers.
a0b3c4fd
JM
26562 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26563 * gdb.c++/method.exp: Add match alternatives.
26564 * gdb.c++/misc.cc: Add bool types.
26565 * gdb.c++/misc.exp: Add tests for bool types.
26566 * gdb.c++/overload.exp: Add xfails.
26567 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26568 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26569 add some more template parameter tests (only for HP currently).
26570 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26571 * gdb.c++/virtfunc.cc: Add return type and value for main.
26572 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26573 match alternatives.
d63a86f8 26574
a0b3c4fd
JM
265751999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26576
26577 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26578
265791999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26580
26581 * gdb.base/signals.exp: Don't expect getting a backtrace from
26582 within a signal handler to fail on Linux.
26583
265841999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26585
26586 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26587 * lib/gdb.exp: Remove some gratuitious semicolons.
26588 (delete_breakpoints): Increase timeout.
26589 (gdb_expect): Add -notransfer option.
26590 (gdb_test): Use -notransfer option.
26591 (get_compiler_info): Add f77 case.
26592 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 26593 case.
a0b3c4fd
JM
26594 (gdb_preprocess): Call get_compiler.
26595
26596 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26597 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
26598 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26599 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26600 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26601 third arg to gdb_test.
a0b3c4fd
JM
26602 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26603 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 26604 HP-UX xfails, add others.
a0b3c4fd
JM
26605 * gdb.base/completion.exp: Reflect name change of self-test.
26606 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
26607 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26608 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26609 HP failure number.
a0b3c4fd
JM
26610 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26611 useless HP-UX 10.30 references.
26612 * gdb.base/maint.exp: Loosen matches.
26613 * gdb.base/pointers.c (main): Declare more_code.
26614 * gdb.base/pointers.exp: Match on output of a `next'.
26615 * gdb.base/structs.c: Add prototypes.
26616 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26617 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26618
266191999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26620
26621 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 26622 command.
a0b3c4fd
JM
26623
266241999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26625
26626 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26627 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
26628
26629 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
26630 debug info. Deal with lack of signal hanlder info in stack.
26631
a9c64011 26632 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
26633 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26634
5a2468f5
JM
266351999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26636
26637 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 26638 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 26639
adf40b2e
JM
26640Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26641
26642 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 26643 a1-selftest.exp.
adf40b2e
JM
26644 * gdb.base/configure: Re-generate.
26645
266461999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26647
26648 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26649 in trying to run first and name is too long.
26650
26651 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26652 pointers2.c and pointers2.exp, respectively.
26653 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26654 doschk happier.
26655
43e526b9
JM
266561999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26657
26658 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26659 callfuncs2.c and callfuncs2.exp.
26660
26661 * gdb.base/list.exp: Remove mistaken xfails.
26662 * gdb.base/list0.h: Add optional prototypes.
26663
9846de1b
JM
26664Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26665
a9c64011 26666 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 26667 calling malloc.
a9c64011
AS
26668 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26669 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 26670 use.
9846de1b
JM
26671
266721999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26673
26674 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26675 * gdb.base/annota2.cc, annota2.exp: Move from here.
26676 * gdb.c++/annota2.cc, annota2.exp: To here.
26677 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26678
43ff13b4
JM
26679Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26680
26681 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 26682 a consistent format.
43ff13b4 26683
085dd6e6
JM
266841999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26685
26686 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26687 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26688 HP compilers, also set the globals $true and $false.
26689
26690 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
26691 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26692 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26693 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26694 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26695 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26696 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26697 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26698 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26699 whatis.c} Add C++ compatible function definitions and return
26700 types, add includes for library functions.
085dd6e6
JM
26701 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26702 * gdb.base/step-test.c (myglob): Rename from glob.
26703 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
26704 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26705 files, move here from gdb.hp.
085dd6e6 26706 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
26707 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26708 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26709 Adjust line numbers in regexps.
085dd6e6
JM
26710
26711 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26712 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26713 instead of 0/1.
26714
26715 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26716 foll-vfork.exp: New files, move here from gdb.hp.
26717 * gdb.base/page.exp: New file, test of pagination command.
26718
26719 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26720 recursion test.
26721 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26722
26723 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 26724 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
26725
26726 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 26727 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 26728 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 26729 watchpoint test.
085dd6e6
JM
26730 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26731 them work.
26732 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26733 expressions properly.
26734 * gdb.base/corefile.exp: Loosen the match slightly.
26735 * gdb.base/default.exp: Allow "Error accessing memory" message
26736 also.
26737 * gdb.base/display.exp: Skip over x/0 j if PA64.
26738 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26739 * gdb.base/interrupt.exp: Ditto.
26740 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26741 in use.
26742 * gdb.base/list.exp: Add xfails for HP-UX.
26743 * gdb.base/long_long.exp: Refine some of the numeric matches.
26744 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26745 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26746 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26747 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26748 * gdb.base/ptype.exp: Succeed on more varieties of output.
26749 * gdb.base/scope.exp: Add xfails for HP-UX.
26750 * gdb.base/sect-cmd.exp: Add more cases.
26751 * gdb.base/setvar.exp: Add xfails for HP-UX.
26752 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26753 * gdb.base/signals.exp: Match on void symbolically.
26754 * gdb.base/step-test.exp: Add case for PA64.
26755 * gdb.base/term.exp: Add exit and restart.
26756 * gdb.base/twice.exp: Clean up after self.
26757 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26758 * gdb.base/whatis.exp: Allow more ways to pass tests.
26759
26760 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 26761 no longer useful.
085dd6e6
JM
26762
26763Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26764
26765 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 26766 list of patterns.
085dd6e6 26767 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
26768 print_double_array(double_array)", "continuing to breakpoint
26769 1018", "print print_double_array(array_d)" and "continuing to
26770 1034" tests.
d63a86f8 26771
085dd6e6
JM
267721999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26773
a9c64011 26774 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
26775
267761999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26777
26778 * config/mt-*: Remove, these haven't been used since 1996.
26779
267801999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26781
26782 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 26783 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26784 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26785
9e0b60a8
JM
267861999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26787
26788 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26789 simpler match case for the ptype of the big class.
26790
267911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26792
26793 * gdb.exp: Fix test for gdb_prompt existence.
26794
267951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26796
26797 * gdb.exp (gdb_test): Add fail after calls to perror.
26798
267991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26800
26801 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26802
268031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26804
26805 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26806
0f71a2f6
JM
26807Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26808
26809 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26810 malloc() is linked in.
0f71a2f6
JM
26811
268121999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26813
26814 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26815 step at end.
26816
26817 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26818
268191999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26820
26821 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26822
cce74817
JM
26823Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26824
26825 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26826 * gdb.base/mips_pro.exp: Likewise.
26827
268281999-06-02 Keith Seitz <keiths@cygnus.com>
26829
26830 * gdb.c++/templates.cc: Change all "new" operators to throw
26831 an exception.
26832 * gdb.c++/cplusfuncs.cc: Likewise.
26833
26834 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26835
26836Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26837
26838 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26839 * gdb.base/ending-run.exp: When stepping out of main, accept a
26840 step into an arbitrary assembler file.
cce74817 26841
392a587b
JM
268421999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26843
d63a86f8 26844 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26845 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26846 * gdb.base/annota2.exp: Revise line number for main
26847 breakpoint. Allow any number of "frames-invalid" and
26848 "breakpoint-invalid" to be printed.
392a587b
JM
26849 * gdb.base/annota2.cc: Initialize a.x to 0.
26850
9e086581
JM
268511999-05-17 Keith Seitz <keiths@cygnus.com>
26852
6fdff2c5
PA
26853 * gdb.base/call-ar-st.exp: Skip
26854 "print print_double_array (double_array)" when "skip_float_tests" set.
26855 Ditto for "print print_double_array(array_d)",
26856 "print print_small_structs", "print print_ten_doubles", and
26857 "step into print_long_arg_list".
26858 Don't assume we can step into "print_long_arg_list": we could step
26859 into memcpy.
26860 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26861 "skip_float_tests" is set: "print print_one_double(*d1)"
26862 and "print print_two_floats(*f3)".
9e086581
JM
26863 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26864 "skip_float_tests" is set.
6fdff2c5
PA
26865 * gdb.base/varargs.exp: Skip
26866 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26867 "skip_float_tests" set.
d63a86f8 26868
cd0fc7c3
SS
268691999-05-06 Keith Seitz <keiths@cygnus.com>
26870
26871 * gdb.base/annota2.cc: Include stdio.h.
26872
26873Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26874
26875 * gdb.base/crossload.exp: Remove, this has been disabled ever
26876 since BFD stopped including all targets, and cross-GDB gets
26877 plenty of testing anyway.
26878 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26879 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26880 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26881 * gdb.base/README: Remove, was doc for this.
26882 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26883 needed.
cd0fc7c3 26884
b83266a0
SS
268851999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26886
26887 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26888 output.
26889
26890 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26891 * gdb.base/annota2.exp: New file. More annotation tests.
26892 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26893 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26894
268951999-04-23 Angela Marie Thomas <angela@cygnus.com>
26896
26897 * config/cfdbug.exp: New file.
26898
7a292a7a
SS
268991999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26900
26901 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26902 Marcus Daniel's and Dale Hawkins's demangler crashes.
26903
26904 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26905 test_lucid_style_demangling, test_arm_style_demangling,
26906 test_hp_style_demangling): Try Tom Tromey's core-dumping
26907 identifier under each demangling style.
7a292a7a
SS
26908
269091999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26910
26911 * gdb.c++/demangle.exp: Include the current demangling style
26912 in all test names.
26913 (current_demangling_style): New global variable.
26914 (set_demangling_style, test_demangling_core, test_demangling,
26915 test_demangling_exact): New functions.
26916 (test_gnu_style_demangling, test_lucid_style_demangling,
26917 test_arm_style_demangling, test_hp_style_demangling): Use those,
26918 instead of calling gdb_test and gdb_test_exact directly.
26919 (catch_demangling_errors): New function, which reports errors
26920 signalled by the demangling test functions in an orderly way.
26921 (do_tests): Use catch_demangling_errors.
26922
269231999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26924
26925 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26926 grouping in expressions, not {}.
7a292a7a
SS
26927
26928 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26929 initialized yet.
7a292a7a
SS
26930
269311999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26932
26933 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26934 are listed.
26935
269361999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26937
26938 * gdb.stabs/weird.exp: Test for CC being defined before
26939 looking at its value.
26940
269411999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26942
26943 * gdb.base/call-ar-st.exp: Remove stray '#'.
26944 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26945 "short int" and "long int".
26946 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26947 change, to mollify finicky HP compiler.
7a292a7a
SS
26948 * gdb.hp/reg-test.exp (testfile): Fix file name.
26949 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26950
7a292a7a
SS
26951 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26952 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26953 alternate form of enum ptype.
26954
c906108c
SS
269551999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26956
7a292a7a
SS
26957 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26958 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26959 passing skip_hp_tests, so as not to waste time on guaranteed
26960 failure.
7a292a7a 26961
c906108c
SS
26962 * gdb.c++/overload.cc: Pass string instead of char addr, always
26963 init ccpfoo.
26964 * gdb.c++/templates.cc: Fix syntax error.
26965
7a292a7a
SS
26966Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26967
26968 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26969 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26970 command.
26971
269721999-03-18 James Ingham <jingham@cygnus.com>
26973
26974 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26975
26976 * gdb.c++/method.exp: It was testing an uninitialized int on the
26977 stack and assuming it was positive.
26978
26979 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26980
26981 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26982 keep it from killing the rest of the tests.
7a292a7a
SS
26983 Use gdb_continue_to_end.
26984
26985 * gdb.base/sigall.exp: use gdb_continue_to_end.
26986
26987 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26988
26989 * gdb.base/display.exp: use runto_main, not run.
26990
d63a86f8
RM
26991 * gdb.base/default.exp: Check for the current error message in the
26992 r abbreviation test.
7a292a7a
SS
26993 Add strongarm to the targets that know info float.
26994
d63a86f8 26995 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
26996 run which doesn't work with monitors.
26997
6fdff2c5
PA
26998 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26999 1034 test.
7a292a7a
SS
27000
27001 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27002
6fdff2c5
PA
27003 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27004 end of a program. Traps the case (in Cygmon) when the program
27005 never really exits. Same as Mark's continue_to_exit, but I had
27006 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
27007
27008 * config/monitor.exp (gdb_target_monitor): added another
27009 target_info parameter: remotebinarydownload. This will set the
27010 remotebinarydownload flag if this is causing some boards trouble.
27011
270121999-03-18 Mark Salter <msalter@cygnus.com>
27013
27014 * lib/gdb.exp (continue_to_exit): New function.
27015
27016 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27017 * gdb.base/ending-run.exp: Ditto.
27018 * gdb.base/step-test.exp: Ditto.
27019
270201999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27021
27022 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27023 (suggested by Art Haas <ahaas@neosoft.com>).
27024
270251999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27026
889bf7c5 27027 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
27028
27029Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27030
27031 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 27032 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
27033
270341999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27035
27036 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27037 a call to strlen; sometimes we do have sources.
27038
270391999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
27040
27041 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 27042 character, so GDB won't print garbage after its end.
d63a86f8 27043
c906108c
SS
27044 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27045 breakpoint there instead. Sometimes GCC emits memcpy to handle
27046 the large structures being passed by value, so we step into that
27047 instead of sum_array_print, which obscures what we're really testing.
27048 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
27049 the bizarre steps into memcpy, so do that here. Add check for
27050 stepping into function calls that pass large structures by value.
27051 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
27052 Remove all references to specific line numbers.
27053 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27054 New type and function.
27055 (main): Call large_struct_by_value, passing it a large struct by value.
27056 * lib/gdb.exp (gdb_get_line_number): New function.
27057
27058 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27059 more portable.
27060
7a292a7a
SS
270611999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27062
c906108c
SS
27063 * lib/gdb.exp: Doc fixes.
27064
7a292a7a
SS
270651999-03-05 Nick Clifton <nickc@cygnus.com>
27066
d63a86f8 27067 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
27068
270691999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27070
c906108c 27071 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
27072 commands. They're not germane to this test, and they don't work
27073 that way on remote targets.
c906108c 27074
3fc11d3e
JM
270751999-03-01 James Ingham <jingham@cygnus.com>
27076
27077 * Changelog entries merged over from gdb development branch.
27078
3fc11d3e
JM
27079 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27080
27081 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27082 for outputting results of test run.
27083
2d4a1622 27084 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
27085
27086 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 27087
7a292a7a
SS
270881999-02-25 Felix Lee <flee@cygnus.com>
27089
27090 * lib/gdb.exp (debug_format): initialize
27091
c906108c
SS
270921999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27093
27094 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27095 * gdb.base/call-rt-st.c: Ditto.
27096
c906108c
SS
270971999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27098
27099 * gdb.threads/pthreads.exp (horiz): New variable.
27100 (test_startup): Fix regexps that capture thread numbers.
27101
271021999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27103
27104 * gdb.base/smoke.exp: Disambiguate two test case names (both
27105 called ``print'').
27106
27107Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27108
27109 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 27110 compilation.
c906108c
SS
27111
271121999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27113
27114 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27115 actual output formatting.
27116 * gdb.base/smoke.exp: GDB removes leading 0's.
27117 * gdb.base/volatile.exp: Don't check type of remuneration;
27118 that variable is no longer defined in constvars.c.
27119 * gdb.base/step-test.c (main): Exit with explicit exit code.
27120 * gdb.base/step-test.exp: Remove two nexti checks--they are
27121 not portable.
27122
271231999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27124
27125 * gdb.base/help.exp ("help delete display"): Fix test to match
27126 gdb's output.
27127
27128 * gdb.base/long_long.c (known_types): Initialize values to zero.
27129 * gdb.base/long_long.exp: Step one more line
27130 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
27131 leading zeros. Explicitly ask for hex formatting. Use
27132 unique test case names.
c906108c
SS
27133
27134Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27135
d63a86f8 27136 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
27137
27138 * gdb.c++/method.exp: Add missing close brace.
27139
271401999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27141
27142 * gdb.base/maint.exp: Use 'set height 0' to disable page
27143 prompting, not 'set height 400'.
27144
27145 Fix a bunch of timeouts.
27146 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27147 four separate tests, so expect doesn't take forever to match a ton
27148 of text against a regexp with lots of .* forms.
27149 ("maint print psymbols", "maint print symbols"): Make some of
27150 these greps more selective, so that expect doesn't try to wade
27151 through huge piles of output and time out.
27152
27153 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27154
27155 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
27156 tests: one which doesn't expect shlib events to be reported, and
27157 another which does, but is XFAIL for all platforms other than
27158 HP/UX.
c906108c
SS
27159
27160 * gdb.base/break.exp: Teach the test suite that the `catch
27161 fork', `catch vfork', and `catch exec' commands produce error
27162 messages on platforms that don't provide these features.
27163
27164Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27165
27166 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
27167 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27168 (shortening names from solib_threshold.exp etc), won't run on
27169 anything but HP-UX for the foreseeable future.
c906108c 27170 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 27171 reflect move.
c906108c
SS
27172
27173Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27174
27175 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 27176 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
27177
27178Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27179
27180 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27181 successfully re-sets breakpoints in shared libraries.
27182 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27183
27184Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27185
d63a86f8
RM
27186 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27187 and compiled w/o GCC.
c906108c
SS
27188
27189 * gdb.hp/watch-cmd.exp: ditto.
27190
27191 * gdb.hp/watch-hp.exp: ditto.
27192
27193 * gdb.hp/xdb1.exp: ditto.
27194
27195 * gdb.hp/xdb2.exp: ditto.
27196
27197 * gdb.hp/dbx.exp: ditto.
27198
27199Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27200
27201 * constvars.c: Remove C++-isms.
27202 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 27203 with GCC.
c906108c
SS
27204
27205Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27206
27207 The following changes are part of the HP merge.
27208
27209 * gdb.base/break.exp: new tests to verify that catchpoints for
27210 fork, vfork, and exec don't trigger inappropriately.
27211
27212 * gdb.base/opaque.exp: compile one file at a time, then link.
27213
27214 * gdb.base/signals.exp: be more restrictive about which hppa
27215 systems receive a setup_xfail. new tests.
27216
27217 * gdb.base/solib_threshold.build: new file.
27218 * gdb.base/solib_threshold.exp: new file.
27219 * gdb.base/solib_threshold.link_opts: new file.
27220 * gdb.base/solib_threshold.mk: new file.
27221 * gdb.base/gen_solib_threshold.c: new file.
27222
27223 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27224 tests. New tests for enums inside classes.
27225
27226 * gdb.c++/compiler.cc: indicate support of template debugging.
27227
27228 * gdb.c++/demangle.exp: run hp style demangling tests.
27229
27230 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27231 tests.
27232
27233 * gdb.c++/misc.cc: changes to support new tests.
27234
27235 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27236 to support new tests.
27237
27238 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27239 gcc, then skip these tests.
27240
27241Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27242
27243 The following files are part of the HP merge; some had longer
27244 names at HP, but have been renamed to be no more than 14
27245 characters in length.
27246
27247 * gdb.hp/ambiguous.cc: new file.
27248 * gdb.hp/ambiguous.exp: new file.
27249 * gdb.hp/attach.exp: new file.
27250 * gdb.hp/attach2.exp: new file.
27251 * gdb.hp/classes-hp.exp: new file.
27252 * gdb.hp/ctti.exp: new file.
27253 * gdb.hp/ctti-add.cc: new file.
27254 * gdb.hp/ctti-add1.cc: new file.
27255 * gdb.hp/ctti-add2.cc: new file.
27256 * gdb.hp/ctti-add3.cc: new file.
27257 * gdb.hp/dbx.exp: new file.
27258 * gdb.hp/exception.cc: new file.
27259 * gdb.hp/exception.exp: new file.
27260 * gdb.hp/foll-exec.c: new file.
27261 * gdb.hp/foll-exec.exp: new file.
27262 * gdb.hp/foll-fork.c: new file.
27263 * gdb.hp/foll-fork.exp: new file.
27264 * gdb.hp/foll-vfork.c: new file.
27265 * gdb.hp/foll-vfork.exp: new file.
27266 * gdb.hp/inherit-hp.exp: new file.
27267 * gdb.hp/more-steps.exp: new file.
27268 * gdb.hp/namespace.cc: new file.
27269 * gdb.hp/namespace.exp: new file.
27270 * gdb.hp/optimize.exp: new file.
27271 * gdb.hp/pxdb.c: new file.
27272 * gdb.hp/pxdb.exp: new file.
27273 * gdb.hp/quicksort.exp: new file.
27274 * gdb.hp/reg-test.exp: new file.
27275 * gdb.hp/reg-test.s: new file.
27276 * gdb.hp/sized-enum.c: new file.
27277 * gdb.hp/sized-enum.exp: new file.
27278 * gdb.hp/start-stop.exp: new file.
27279 * gdb.hp/templ-hp.cc: new file.
27280 * gdb.hp/templ-hp.exp: new file.
27281 * gdb.hp/thr-lib.c: new file.
27282 * gdb.hp/thr-lib.exp: new file.
27283 * gdb.hp/thr-lib.h: new file.
27284 * gdb.hp/thr-liblib.c: new file.
27285 * gdb.hp/virtfun-hp.c: new file.
27286 * gdb.hp/virtfun-hp.exp: new file.
27287 * gdb.hp/watch-cmd.exp: new file.
27288 * gdb.hp/watch-hp.exp: new file.
27289 * gdb.hp/xdb1.exp: new file.
27290 * gdb.hp/xdb2.exp: new file.
27291 * gdb.hp/xdb3.exp: new file.
27292
27293Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27294
27295 The following files are part of the HP merge; some had longer
27296 names at HP, but have been renamed to be no more than 14
27297 characters in length.
27298
27299 * gdb.base/ss.h: new file.
27300 * gdb.base/call-ar-st.c: new file.
27301 * gdb.base/call-ar-st.exp: new file.
27302 * gdb.base/call-rt-st.c: new file.
27303 * gdb.base/call-rt-st-exp: new file.
27304 * gdb.base/call-strs.exp: new file.
27305 * gdb.base/ena-dis-br.exp: new file.
27306 * gdb.base/environ.exp: new file.
27307 * gdb.base/long_long.exp: new file.
27308 * gdb.base/sect-cmd.exp: new file.
27309 * gdb.base/shlib-cl2.exp: new file.
27310 * gdb.base/smoke.exp: new file.
27311 * gdb.base/so-impl-ld.c: new file.
27312 * gdb.base/so-impl-ld.exp: new file.
27313 * gdb.base/so-indr-cl.c: new file.
27314 * gdb.base/so-indr-cl.exp: new file.
27315 * gdb.base/varargs.exp: new file.
27316 * gdb.base/volatile.exp: new file.
27317 * gdb.base/whatis-exp.exp: new file.
7a292a7a 27318 * gdb.base/display.exp: new file.
c906108c
SS
27319 * gdb.c++/derivation.exp: new file.
27320 * gdb.c++/local.exp: new file.
27321 * gdb.c++/member-ptr.exp: new file.
27322 * gdb.c++/overload.exp: new file.
27323 * gdb.c++/ovldbreak.exp: new file.
27324 * gdb.c++/ref-types.exp: new file.
27325 * gdb.c++/ref-types2.exp: new file.
27326 * gdb.c++/userdef.exp: new file.
d63a86f8 27327
c906108c
SS
27328Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27329
27330 * gdb.base/default.exp: Reflect wording change in remote.c.
27331
dc96c6c7 27332Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27333
27334 * gdb.base/help.exp: Update to reflect current text.
27335
27336Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27337
27338 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27339 they're stack variables and contain garbage.
27340 * gdb.c++/anon-union.exp: new file.
27341
27342 The following changes were made by David Taylor
889bf7c5
PA
27343 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27344 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27345 in changes by HP.
c906108c
SS
27346
27347 * gdb.base/bitops.exp: new file.
27348 * gdb.base/default.exp: change expected messages for catch and
27349 info catch tests to reflect HP merge changes.
27350 * gdb.base/enable-disable-break.exp
27351 * gdb.base/ending-run.c: new file.
27352 * gdb.base/long_long.c: new file.
27353 * gdb.base/maint.exp: new file.
27354 * gdb.base/pointers2.exp: new file.
27355 * gdb.base/shlib-call2.exp: new file.
27356 * gdb.base/solib.exp: new file.
27357 * gdb.base/step-test.c: new file.
27358 * gdb.c++/anon-union.cc: new file.
27359 * gdb.c++/local.cc: new file.
27360 * gdb.c++/member-pointer.cc: new file.
27361 * gdb.c++/method.cc: new file.
27362 * gdb.c++/ref-types.cc: new file.
27363 * gdb.c++/ref-types2.cc: new file.
27364 * gdb.c++/userdef.cc: new file.
d63a86f8 27365
c906108c
SS
27366 * gdb.base/scope.exp: compile one file at a time, then link.
27367 * gdb.base/langs.exp: ditto.
27368 * gdb.base/list.exp: ditto.
d63a86f8 27369
c906108c
SS
27370Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27371
27372 The following changes were made by David Taylor
889bf7c5
PA
27373 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27374 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27375 in changes by HP.
d63a86f8 27376
c906108c
SS
27377 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27378 skip tests. When compiling pass c++ flag to gdb_compile.
27379 * gdb.c++/
d63a86f8 27380
c906108c
SS
27381 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27382 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27383 (skip_hp_tests): new function.
27384 (gdb_preprocess): new function.
27385
27386 * configure.in (hpdir): decide whether to configure gdb.hp.
27387 * configure: regenerated.
27388
27389 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27390 to delete on clean.
27391 (EXECUTABLES): update to reflect new additions.
27392 * gdb.base/commands.exp: update message expected.
27393 * gdb.base/default.exp: add copyright notice.
27394 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27395 * gdb.base/help.exp: update messages to reflect current text.
27396 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27397 targets for recurse tests.
27398 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27399 skip this file.
27400
27401 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27402 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27403 compilation.
27404 * gdb.c++/misc.exp: ditto.
27405 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27406 run the tests. tell gdb_compile that it's a c++ compilation.
27407
27408 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 27409
c906108c
SS
27410 * gdb.base/all-bin.exp: new file.
27411 * gdb.base/arithmet.exp: new file.
27412 * gdb.base/assign.exp: new file.
27413 * gdb.base/completion.exp: new file.
27414 * gdb.base/cond-expr.exp: new file.
27415 * gdb.base/condbreak.exp: new file.
27416 * gdb.base/define.exp: new file.
27417 * gdb.base/dollar.exp: new file.
27418 * gdb.base/environment.exp: new file.
27419 * gdb.base/eval-skip.exp: new file.
27420 * gdb.base/jump.exp: new file.
27421 * gdb.base/logical.exp: new file.
27422 * gdb.base/pointers.exp: new file.
27423 * gdb.base/relational.exp: new file.
27424 * gdb.base/section_command.exp: new file.
27425 * gdb.base/whatis-expr.exp: new file.
27426
27427 * gdb.base/all-types.c: new file.
27428 * gdb.base/call-array-struct.c: new file.
27429 * gdb.base/call-return-struct.c: new file.
27430 * gdb.base/call-strings.c: new file.
27431 * gdb.base/callfuncs2.c: new file.
27432 * gdb.base/condbreak.c: new file.
27433 * gdb.base/constvars.c: new file.
27434 * gdb.base/display.c: new file.
27435 * gdb.base/int-type.c: new file.
27436 * gdb.base/jump.c: new file.
27437 * gdb.base/miscexprs.c: new file.
27438 * gdb.base/pointers.c: new file.
27439 * gdb.base/pointers2.c: new file.
27440 * gdb.base/shmain.c: new file.
27441 * gdb.base/shr1.c: new file.
27442 * gdb.base/shr2.c: new file.
27443 * gdb.base/solib.c: new file.
27444 * gdb.base/solib1.c: new file.
27445 * gdb.base/solib2.c: new file.
27446 * gdb.base/varargs.c: new file.
27447 * gdb.c++/derivation.cc: new file.
27448 * gdb.c++/overload.cc: new file.
27449 * gdb.c++/ovldbreak.cc: new file.
27450 * gdb.hp/attach.c: new file.
27451 * gdb.hp/attach2.c: new file.
27452 * gdb.hp/average.c: new file.
27453 * gdb.hp/compiler.c: new file.
27454 * gdb.hp/compiler.cc: new file.
27455 * gdb.hp/execd-program.c: new file.
27456 * gdb.hp/follow-exec.c: new file.
27457 * gdb.hp/follow-fork.c: new file.
27458 * gdb.hp/follow-vfork-and-exec.c: new file.
27459 * gdb.hp/misc-hp.cc: new file.
27460 * gdb.hp/more-steps.c: new file.
27461 * gdb.hp/optimize.c: new file.
27462 * gdb.hp/quicksort.c: new file.
27463 * gdb.hp/run-hp.c: new file.
27464 * gdb.hp/start-stop.c: new file.
27465 * gdb.hp/sum.c: new file.
27466 * gdb.hp/templates-hp.cc: new file.
27467 * gdb.hp/thread-local-in-lib.c: new file.
27468 * gdb.hp/thread-local-in-lib.h: new file.
27469 * gdb.hp/thread-local-in-lib.lib.c: new file.
27470 * gdb.hp/vforked-program.c: new file.
27471 * gdb.hp/virtfunc-hp.cc: new file.
27472 * gdb.hp/watchpoint-hp.c: new file.
27473 * gdb.hp/xdb.c: new file.
27474 * gdb.hp/xdb0.c: new file.
27475 * gdb.hp/xdb0.h: new file.
27476 * gdb.hp/xdb1.c: new file.
27477
27478Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27479
27480 The following change was made by Edith Epstein
889bf7c5
PA
27481 <eepstein@cygnus.com> as part of a project to merge in changes
27482 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
27483
27484 * gdb.c++/demangle.exp: changed the expected output for some
27485 ARM-style mangling -- removed second reference to datatype.
889bf7c5 27486 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 27487 T1<char>::~T1<char>(void)
c906108c 27488 becomes,
a9c64011
AS
27489 maint demangle __dt__11T1__pt__2_cFv
27490 T1<char>::~T1(void)
c906108c 27491
889bf7c5 27492 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 27493
c906108c
SS
27494Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27495
27496 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27497 * gdb.trace/backtrace.exp: Likewise.
27498 * gdb.trace/circ.exp: Likewise.
27499 * gdb.trace/collection.exp: Likewise.
27500 * gdb.trace/deltrace.exp: Likewise.
27501 * gdb.trace/infotrace.exp: Likewise.
27502 * gdb.trace/limits.exp: Likewise.
27503 * gdb.trace/packetlen.exp: Likewise.
27504 * gdb.trace/passc-dyn.exp: Likewise.
27505 * gdb.trace/passcount.exp: Likewise.
27506 * gdb.trace/report.exp: Likewise.
27507 * gdb.trace/save-trace.exp: Likewise.
27508 * gdb.trace/tfind.exp: Likewise.
27509 * gdb.trace/tracecmd.exp: Likewise.
27510 * gdb.trace/while-dyn.exp: Likewise.
27511 * gdb.trace/while-stepping.exp: Likewise.
27512
275131998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27514
27515 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27516
27517Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27518
27519 From Brendan Kehoe:
27520 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27521 int return types.
27522
27523Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27524
27525 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 27526 remote dos host testing right.
c906108c
SS
27527
27528Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27529
27530 * gdb.base/corefile.exp: remove some xfails.
27531
27532Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27533
27534 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 27535 have different timestamps.
c906108c
SS
27536
27537Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27538
27539 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 27540 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
27541
27542Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27543
27544 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 27545 delta.
c906108c
SS
27546
27547Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27548
27549 * gdb.base/default.exp: Add brace missing from previous delta.
27550
27551Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27552
27553 * gdb.base/default.exp: Support test for info float for all
27554 varieties of arm toolchain.
27555
dc96c6c7 27556Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27557
27558 * gdb.trace/*.exp: remove "remote_download" command.
27559
dc96c6c7 27560Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27561
27562 * gdb.trace/*.exp: remove -gdwarf from compile.
27563
27564Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27565
27566 * gdb.trace/configure.in(AC_INIT): typo
27567 * gdb.trace/configure: regenerated
27568
dc96c6c7 27569Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27570
27571 * config/m68k-emc.exp: New file.
27572 * lib/<emc-support.exp trace-support.exp}: New files.
27573 * configure.in: add new test directory gdb.trace.
27574 * gdb.trace/{configure configure.in Makefile.in}: New files.
27575 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27576 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27577 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27578 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27579 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27580 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27581 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 27582
dc96c6c7 27583Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27584
27585 * gdb.c++/classes.exp: Change all regular expressions to match
27586 arbitrary combinations of newline/carriage-return, so that they
27587 will work equally well on Unix and Windows.
27588 * gdb.c++/inherit.exp: ditto.
27589 * gdb.c++/virtfunc.exp: ditto.
27590
275911998-08-11 Dawn Perchik <dawn@cygnus.com>
27592
27593 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27594
c2d11a7d
JM
27595Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27596
27597 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27598 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27599 to use a0-a3/d0-d3 as needed.
27600
27601Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27602
27603 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27604 * gdb.disasm/am33.exp: Corresponding changes.
27605
c906108c
SS
276061998-07-11 Felix Lee <flee@cygnus.com>
27607
27608 * gdb.base/callfuncs.exp: add cmp10 test.
27609 * gdb.base/callfuncs.c (cmp10): new function.
27610
27611Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27612
d63a86f8 27613 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
27614 into two parts to get around a synchronization problem in expect.
27615
3fc11d3e
JM
27616Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27617
27618 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27619
27620 * configure.in: Add options for gdbtk testsuite.
27621
27622 * configure: Regenerate.
27623
27624 * gdb.gdbtk: New directory to hold gdbtk tests.
27625
c906108c
SS
27626Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27627
27628 * gdb.fortran/types.exp: Escape brackets in expect patterns
27629 for test_float_literal_types_accepted tests.
27630 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27631 before run test.
27632
c2d11a7d
JM
27633Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27634
27635 * am33.exp: Just compile, do not link the testcase.
27636 * am33.s: Add ".am33" pseudoop to force am33 mode.
27637
c906108c
SS
276381998-06-25 Felix Lee <flee@cygnus.com>
27639
27640 * gdb.base/setshow.exp: make sure $pc is sane.
27641
27642 * gdb.stabs/weird.exp: split expect patterns properly.
27643
c2d11a7d
JM
27644Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27645
27646 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27647 * gdb.disasm/am33.exp: Run it.
27648
dc96c6c7 27649Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27650
27651 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27652 match processing (and eliminate spurious timeouts when running).
27653
dc96c6c7 27654Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27655
27656 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27657 exception test, but conditionalize it on target [mach | gnu].
27658
dc96c6c7 27659Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27660
27661 * gdb.base/overlays.exp: fixup compile line for linker script.
27662
27663Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27664
27665 * gdb.fortran/types.exp: don't guess at float size.
27666
27667Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27668
27669 * gdb.base/exprs.exp: delete test that depends on int size.
27670
27671Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27672
27673 * config/sim.exp: Removed checks for target triplets.
27674 (gdb_target_sim): Use gdb,target_sim_options.
27675
27676Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27677
27678 * gdb.base/reread.exp: New file.
27679 * gdb.base/reread1.c: New file.
27680 * gdb.base/reread2.c: New file.
27681
27682Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27683
27684 * config/sim.exp: Use 'target sim -sparclite' when running
27685 SPARClite programs.
27686
27687Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27688
27689 * gdb.base/structs2.exp: New file.
27690 * gdb.base/structs2.c: New file.
27691
27692Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27693
27694 * gdb.asm/common.inc: New file.
27695 * gdb.asm/d10v.inc: New file.
27696 * asm-source.exp: Pass -I's to gas to find .inc files.
27697 Update line numbers in expected output.
27698 * asmsrc1.s: Rewrite.
27699 * asmsrc2.s: Rewrite.
27700 * configure.in: Create arch.inc symlink.
27701 * configure: Regenerate.
27702 * Makefile.in (distclean): Delete arch.inc.
27703
27704Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27705
27706 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
27707 (t_enum_value2): ditto
27708 (t_enum_value3): ditto
27709 (main): ditto
c906108c
SS
27710Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27711
27712 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27713 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27714 change.
27715 Use gdb_test instead of send_gdb/gdb_expect sequences.
27716
27717Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27718
27719 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27720 not void.
27721
27722Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27723
27724 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
27725 subroutines. Used to test gdbs ability to single step through PC
27726 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
27727
27728Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27729
27730 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27731 more rigorous EGCS C++ error checking.
27732
27733Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27734
a9c64011
AS
27735 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27736 tests.
27737 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27738 function when asleep.
27739 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27740 for i*86 Linux and SVR4 signal handling problems.
27741 Remove linux xfail for `next to handler in signals_tests_1', fixed
27742 by recent infrun.c change.
27743 Limit backtrace to 10 frames to avoid timeout problems with infinite
27744 stack backtraces.
27745 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27746 target.[ch] change.
c906108c
SS
27747
27748Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27749
27750 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27751 for a newline from gdb before continuing.
27752 (default_gdb_exit): Just look for y or n.
27753 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27754 it does, fail the rests of the tests in the file.
27755
27756Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27757
27758 * config/cygmon.exp: New file.
27759
27760Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27761
27762 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 27763 main" test on remote targets.
c906108c
SS
27764
27765 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27766 run test on remote targets.
27767
27768Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27769
27770 * gdb.asm: New directory.
27771 * configure.in: Configure it.
27772 * configure: Regenerate.
27773 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27774 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27775
27776Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27777
27778 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27779
dc96c6c7 27780Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27781
a9c64011
AS
27782 * gdb.base/overlays (several files): Merge the two overlay
27783 managers into one. Change variables (foox, barx, bazx, grbxx)
27784 back into ints but force them to load in their proper sections.
c906108c
SS
27785
27786Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27787
27788 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27789 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27790 (D10VCopy): Handle memory regions crossing 16k boundaries.
27791 (D10VCopy): Transfer data in 32 bit chunks.
27792
27793Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27794
27795 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27796 correct.
c906108c
SS
27797
27798 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27799 map. Include space for printf in .text segment.
c906108c
SS
27800
27801 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27802 updated d10v memory VMA/LMA map.
c906108c 27803 (D10VCopy): Call D10VTranslate.
d63a86f8 27804
c906108c
SS
27805Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27806
27807 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27808
27809 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27810 that it won't be put into the .sdata - small data -
27811 section. Update reference.
c906108c
SS
27812 * gdb.base/baz.c (bazx, baz): Ditto.
27813 * gdb.base/foo.c (foox, foo): Ditto.
27814 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27815
27816 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27817 to be arrays.
d63a86f8 27818
dc96c6c7 27819Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27820
a9c64011
AS
27821 * gdb.base/overlays.exp: fix up and get working again.
27822 Add tests for backtraces from an overlay function.
d63a86f8 27823
c906108c
SS
27824Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27825
27826 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27827 "calling function with watchpoint enabled".
27828
27829Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27830
27831 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27832 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27833 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27834 pending review of whether it is useful or not.
27835
27836Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27837
27838 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27839
27840Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27841
27842 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27843 * config/dve.exp: New file to support Densan boards.
27844
27845Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27846
27847 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27848 reads and BSD.
c906108c
SS
27849
27850Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27851
27852 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27853 response.
27854
27855 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27856
27857Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27858
27859 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27860 test.
c906108c
SS
27861
27862 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27863 target_sizeof_long and target_bigendian_p.
c906108c 27864 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27865 to targets word size and endianess.
d63a86f8 27866
c906108c
SS
27867Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27868
27869 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27870 output.
c906108c
SS
27871
27872Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27873
27874 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27875 Update test of set args help to match source change.
c906108c
SS
27876
27877Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27878
27879 * gdb.base/default.exp: Expect help system output to be in
27880 alphabetical order.
27881 * gdb.base/help.exp: Ditto.
27882
27883Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27884
27885 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27886 "i*86-pc-linux-gnu*".
27887 * gdb.base/interrupt.exp: Ditto.
27888 * gdb.base/corefile.exp: Ditto.
27889
27890 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27891 define vxworks when building the testcase.
c906108c
SS
27892
27893 * gdb.base/ptype.exp: Fix testnames to be unique.
27894 * gdb.base/radix.exp: Ditto.
27895 * gdb.base/term.exp: Ditto.
27896 * gdb.base/whatis.exp: Ditto.
27897 * gdb.c++/classes.exp: Ditto.
27898
27899Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27900
27901 * gdb.base/callfuncs.exp: Fix indentation.
27902
27903 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27904 suppress_flag has been set.
27905 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27906 target feature.
27907
27908Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27909
27910 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27911 the testcase.
27912
27913 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27914 set_debug_traps() and breakpoint().
c906108c
SS
27915 * gdb.c++/misc.cc (main): Ditto.
27916 * gdb.c++/templates.cc (main): Ditto.
27917 * gdb.c++/virtfunc.cc (main): Ditto.
27918
27919Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27920
27921 * lib/gdb.exp(gdb_step_for_stub): New function.
27922 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27923 exists, reload the executable and do a "continue" instead of
27924 doing a jump.
27925 (runto_main): Use gdb_step_for_stub.
d63a86f8 27926
c906108c 27927 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27928 tests to have unique names.
c906108c
SS
27929 * gdb.base/callfuncs.exp: Ditto.
27930 * gdb.base/commands.exp: Ditto.
27931 * gdb.base/default.exp: Ditto.
27932 * gdb.base/help.exp: Ditto.
27933 * gdb.base/list.exp: Ditto.
27934 * gdb.base/opaque.exp: Ditto.
27935 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27936 similar tests.
d63a86f8 27937
c906108c
SS
27938 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27939 * gdb.c++/cplusfuncs.cc: Ditto.
27940 * gdb.c++/virtfunc.cc: Ditto.
27941
27942 * config/monitor.exp: Keep track of the last file we saw, rather
27943 than trying to get the info from gdb.
27944
27945 * gdb.fortran/types.exp: Move comment to previous line.
27946
27947Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27948
27949 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27950 target mode.
c906108c
SS
27951
27952Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27953
27954 From Bob Manson:
27955 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27956 string from GDB when it connects.
c906108c
SS
27957
27958 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27959
27960Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27961
27962 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27963 if we can't get a debug format from GDB (we may be testing an
27964 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27965
27966 * gdb.stabs/weird.exp: Fix quoting.
27967
27968 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27969
27970Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27971
27972 * config/arm-ice.exp: New file.
27973
27974Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27975
27976 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27977 until it has been modified to work with the new testsuite.
c906108c 27978
99707966 27979 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27980 testcase won't compile, cause all of the testcases in the file to
27981 fail instead.
c906108c
SS
27982
27983 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27984 (gdb_clear_suppressed): New procedure.
27985 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27986 it contains a positive value.
27987
27988Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27989
27990 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27991
27992 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27993
27994Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27995
27996 * lib/gdb.exp (setup_xfail_format): New function.
27997 (get_debug_format): New function to get debug format.
27998 (debug_format): New global variable to hold last value set
27999 by get_debug_format.
28000 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 28001 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
28002 * gdb.c++/ptype.exp: Ditto.
28003 * gdb.c++/classes.exp: Ditto.
28004 * gdb.c++/cplusfuncs.exp: Ditto.
28005 * gdb.c++/inherit.exp: Ditto.
28006 * gdb.c++/templates.exp: Ditto.
28007 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 28008
c906108c
SS
28009Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28010
28011 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28012 host doesn't have a currently-open connection.
28013
28014 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
28015 any gdb stub target. Handle cases where gdb doesn't respond when
28016 interrupted in a sane fashion.
c906108c
SS
28017
28018 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 28019 same thing in a totally different way.
c906108c
SS
28020
28021 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 28022 setting "timeout".
c906108c 28023 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 28024 default_gdb_init now.
c906108c
SS
28025
28026Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28027
28028 * gdb.base/printcmds.exp: Fix "check for floating addition"
28029 regexp to accept results within approx +/- .01 of exact value.
28030 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28031
28032Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28033
28034 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 28035 properly.
c906108c
SS
28036 (gdb_expect): Add optional timeout parameter, and add timeout
28037 value to various calls.
28038 (gdb_suppress_tests): Only give one warning message per group.
28039
28040Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28041
28042 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
28043 global variables. Handle getting a value for $timeout more
28044 gracefully.
c906108c
SS
28045
28046Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28047
28048 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 28049 initialize.
c906108c 28050 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 28051 by a target configuration file.
c906108c
SS
28052 (gdb_expect): Pass the timeout to remote_expect.
28053
28054 * config/monitor.exp(gdb_load): Fix typo in regexp.
28055
28056Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28057
28058 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28059
28060Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28061
28062 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
28063 here. Call gdb_target_exec before rebooting the target, to make
28064 sure the connection to the target is closed.
c906108c
SS
28065 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28066 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28067 Also detect "Timeout reading from remote" error.
28068
28069 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
28070 gdb_target_monitor. Don't call gdb_file_cmd here; let
28071 gdb_target_monitor do it.
c906108c
SS
28072
28073 * gdb.disasm/hppa.exp: Don't use exec_output.
28074
28075Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28076
28077 * gdb.base/list.exp: If we're debugging a non-native target,
28078 try to set the pc register to point to the start of the
28079 program before doing the first list command.
28080
28081 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 28082 test_calls after restarting.
c906108c
SS
28083
28084 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 28085 reloading.
c906108c
SS
28086
28087 * gdb.base/watchpoint.exp: Fix typo.
28088
28089 * gdb.base/setshow.exp: Check for use_gdb_stub.
28090
28091 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 28092 stub case.
c906108c
SS
28093 * gdb.base/langs.exp: Ditto.
28094
28095 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
28096 gdb_load_offset. If we weren't given a file to load, figure out
28097 what the current file is and use it.
c906108c
SS
28098
28099 * config/i386-bozo.exp: New file.
28100
28101Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28102
28103 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28104 feature.
28105
28106 * config/proelf.exp: New entry.
28107
28108Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28109
28110 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28111 of regexps.
28112
28113 * gdb.base/watchpoint.exp: Don't run the test_stepping
28114 tests if gdb can't call functions on the target.
28115
28116 * gdb.base/setshow.exp: Don't run the set prompt tests if
28117 the board has gdb_prompt set.
28118
28119Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28120
28121 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28122 * gdb.base/commands.exp: Likewise.
28123 * gdb.base/setshow.exp: Likewise.
28124
28125Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28126
28127 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28128 feature.
28129
28130 * config/i960.exp: New file.
28131
28132Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28133
28134 * gdb.base/funcargs.exp: Check for gdb,short_int target
28135 feature instead of looking for explicit target triplets.
28136
dc96c6c7 28137Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 28138
d63a86f8 28139 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
28140 "p 123DEADBEEF", to check parse_number.
28141 * top.c: change "to enable to enable" to "to enable" in a couple
28142 of help strings.
28143
28144Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28145
28146 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28147 on the mn10300.
d63a86f8 28148
c906108c
SS
28149Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28150
28151 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28152 where the test executable is run with explicit args.
28153 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28154
28155Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28156
28157 * gdb.base/run.c: Use FAKEARGV to build test executable that
28158 does not require a command line arg, since most simulators
28159 don't currently support passing such an arg into the simulated
28160 program.
28161 * gdb.base/commands.exp: Change tests to insert the proper
28162 value as the arg to the first recursive factorial call. Change
28163 compilation line to define FAKEARGV at compile time.
28164
28165Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28166
28167 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28168 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28169 function with watchpoint enabled" test.
28170
28171Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28172
28173 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 28174 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
28175
28176 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 28177 "Tests restarted" messages.
c906108c
SS
28178
28179Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28180
28181 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28182
dc96c6c7 28183Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28184
28185 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28186 for INFO SYMBOL; add help tests for OVERLAY commands.
28187 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28188 add tests for OVERLAY commands
28189 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28190 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28191 * gdb.base/sigall.c: add usestubs code frag
28192 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 28193
c906108c
SS
28194Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28195
28196 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28197 failures.
28198 (gdb_stop_suppressing_tests): Note that tests have restarted.
28199
28200Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28201
28202 * config/h8300.exp: New file.
28203
28204Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28205
28206 * gdb.base/setshow.exp: Check for the existence of a
28207 feature, not its value.
28208
28209Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28210
28211 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28212
28213 * gdb.base/scope.exp: It's now init0(), not init().
28214
28215 * gdb.base/scope0.c: For now, change init() to be init0().
28216
28217 * config/monitor.exp: Use gdb_serial in preference to serial
28218 or netport.
28219
28220 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 28221 and it's not already set.
c906108c
SS
28222
28223Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28224
28225 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 28226 isn't using a stub and if it supports argument passing.
c906108c
SS
28227
28228Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28229
28230 * config/udi.exp(gdb_start): Make sure UDICONF is set
28231 properly before starting gdb.
28232
28233Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28234
28235 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28236 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28237 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28238
28239Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28240
28241 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 28242 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
28243
28244 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28245
28246 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28247
28248 * config/monitor.exp: Make sure we disconnect from the target.
28249 Also, try a reboot/reload cycle instead of failing if the
28250 load fails.
28251
28252Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28253
28254 * gdb.base/default.exp: Don't set match_max.
28255 * gdb.base/help.exp: Ditto.
28256 * gdb.base/list.exp: Ditto.
28257 * gdb.base/signals.exp: Ditto.
28258
28259 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28260 set, use remote_ld to download the testcase instead of
28261 the GDB loader.
28262
28263Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28264
28265 * config/vr5000.exp: New file.
28266
28267 * config/monitor.exp(gdb_target_monitor): Add pattern for
28268 "Ending remote" to detect errors in connecting.
28269
28270 * gdb.base/setshow.exp: Add .* within auto language test.
28271
28272 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28273 target feature.
28274
28275 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 28276 and reboot the board if necessary.
c906108c
SS
28277
28278 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28279 a set of tests. Remove print.* from the patterns being checked.
28280
28281Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28282
28283 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28284 refer to gdb_spawn_id.
28285
28286 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28287 longer used.
28288 * config/sparclet.exp: Ditto.
28289 * config/sparclet-old.exp: Ditto.
28290 * config/slite.exp: Ditto.
28291 * config/sim.exp: Ditto.
28292 * gdb.base/funcargs.exp: Ditto.
28293
28294 * lib/gdb.exp:Remove references to gdb_spawn_id.
28295 (gdb_expect): Move to remote.exp.
28296
28297Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28298
28299 * config/monitor.exp: Detect the "Couldn't establish connection"
28300 message from GDB.
28301
28302Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28303
28304 * gdb.base/bitfields.exp: Use runto instead of explicit
28305 gdb_run_cmd/gdb_expect sequences.
28306
28307 * gdb.base/break.exp(text_next_with_recursion): Add match for
28308 gdb_expect call.
28309
28310 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28311 We also need to handle the "A program is being debugged already"
28312 prompt from gdb. Use gdb_test to set the baud rate.
28313
28314 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28315 to 20000. Really. I mean it.
28316
28317Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28318
28319 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
28320 fails. If suppress_flag is set, skip perror message about not
28321 being able to send to GDB.
c906108c 28322 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 28323 GDB.
c906108c
SS
28324 (gdb_expect): If suppress_flag is set, always fail immediately.
28325 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28326 (gdb_init): Call gdb_stop_suppressing_tests.
28327 (default_gdb_exit): Ditto.
28328 (default_gdb_start): Ditto.
28329
28330 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 28331 gdb_stop_suppressing_tests as appropriate.
c906108c 28332 * gdb.base/break.exp: Ditto.
889bf7c5 28333 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
28334 * gdb.base/commands.exp: Ditto.
28335 * gdb.base/exprs.exp: Ditto.
889bf7c5 28336 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
28337 * gdb.base/list.exp: Ditto.
28338 * gdb.base/recurse.exp: Ditto.
889bf7c5 28339 * gdb.base/scope.exp: Ditto.
c906108c
SS
28340 * gdb.base/structs.exp: Ditto.
28341 * gdb.c++/inherit.exp: Ditto.
28342
28343Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28344
28345 * config/vr4300.exp: New file.
28346
99707966 28347 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 28348
99707966 28349 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
28350
28351Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28352
28353 * lib/gdb.exp(gdb_init): New function.
28354
28355 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 28356 for each individual variable set.
c906108c
SS
28357
28358 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28359 name.
28360
28361 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28362
28363 * gdb.base/scope.exp: Use gdb_test.
28364
28365 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28366 aborting; the testsuite driver will do that for us (see
28367 gdb_finish). Also, use gdb_test in a few more places.
28368
28369Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28370
28371 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28372
28373Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28374
28375 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28376 and "add_tests" are not at the same address.
28377
28378Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28379
28380 * gdb.base/ptype.exp: Use gdb_test.
28381
28382Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28383
28384 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28385 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28386 left in. No longer expect them to fail.
28387
28388 * gdb.stabs/*.mt; Deleted, no longer used.
28389 * gdb.stabs/configure.in: Remove references to target makefile
28390 frags.
28391 * gdb.stabs/configure: Rebuilt.
28392
28393 * gdb.disasm/*.mt: Deleted, no longer used.
28394 * gdb.disasm/configure.in: Remove references to target makefile
28395 frags. Use "sh3.s" as the unique filename for this directory.
28396 * gdb.disasm/configure: Rebuilt.
28397
28398 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28399 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28400 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28401
28402Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28403
28404 * config/udi.exp: Use mondfe,name instead of remote_host.
28405
28406Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28407
28408 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28409 a function with a watchpoint enabled on the mn10200.
28410
28411 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28412 before trying to create it!
28413
28414Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28415
28416 * config/vx.exp: Use hostname instead of netport.
28417
28418 * config/vxworks.exp: New file.
28419
28420 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28421
28422 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 28423 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
28424 occurs.
28425
28426 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28427 $gdb_spawn_id directly.
28428 (gdb_run_cmd): Try _start as well as start. Use the target feature
28429 gdb,start_symbol as the symbol to start from when jumping.
28430
28431Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28432
28433 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28434 redundant) test.
28435
28436 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28437 it doesn't lose for 16bit integer systems.
28438
28439Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28440
28441 * gdb.fortran/types.exp: If the target doesn't support "double"
28442 data types, then expect "real" types to only be 4 bytes.
28443
28444 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28445 call tests if the target doesn't support inferior function calls.
28446
28447 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28448 in printf tests.
28449
28450Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28451
28452 * gdb.base/help.exp: Disable "help set", "help show", and
28453 "help support". Simplify regexp for "help stack".
28454
28455 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28456 to 60 seconds. Temporarily set match_max to 15000 around the
28457 "info copying" test.
28458
28459 * gdb.base/nodebug.exp: Don't try to do an inferior function
28460 call if the target doesn't support them.
28461 * gdb.base/printcmds.exp: Likewise.
28462 * gdb.base/setvar.exp: Likewise.
28463 * gdb.base/structs.exp: Likewise.
28464 * gdb.c++/templates.exp: Likewise.
28465 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28466
28467 * gdb.base/recurse.exp: Enable for the mn10200.
28468
28469 * configure.in: Do configure gdb.stabs directory for *-*-elf
28470 targets.
28471 * configure: Rebuilt.
28472
28473 * gdb.base/break.exp: Check for gdb,noresults before testing
28474 exit status and/or results from the target.
28475 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28476 * lib/gdb.exp: Remove old (now bogus) initialization of
28477 noinferior, noargs, noresults and nosignals.
28478
28479Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28480
28481 * config/sh.exp: New file.
28482
28483 * config/slite.exp: Try to connect multiple times to the board
28484 before rebooting. Only send a "monitor run" if need_monitor_run
28485 is set.
28486
28487 * gdb.base/break.exp: Don't do the "stub continue" test if
28488 the target has gdb_stub set.
28489
28490 * gdb.base/callfuncs.exp: Increase the timeout.
28491
28492 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28493 if the target has gdb,noinferiorio set.
28494
28495 * gdb.base/list.exp: Increase match_max to 10000 characters.
28496
28497 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28498
28499 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28500 target.
28501
28502 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28503
28504Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28505
28506 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
28507 trying to delete the copy of gdb. Catch the file delete so we
28508 don't die if the delete fails; also, the file should be copied to
28509 the host, not to the build.
c906108c
SS
28510
28511Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28512
28513 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 28514 parenthesis in case it contains multiple regexps separated
c906108c
SS
28515 with |.
28516
28517 * gdb.base/watchpoint.exp: Use gdb_test.
28518 * gdb.base/default.exp: Ditto.
28519
28520Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28521
99707966 28522 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 28523
c906108c
SS
28524 * gdb.base/scope.exp: Use gdb_test.
28525 * gdb.c++/classes.exp: Ditto.
28526 * gdb.c++/inherit.exp: Ditto.
28527
28528Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28529
28530 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28531 remote_exec instead.
28532 * gdb.base/corefile.exp: Don't be ridiculous.
28533 * gdb.base/*.c: Add missing stub invocations.
28534
28535Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28536
28537 * config/slite.exp: Miscellaneous fixes.
28538
28539 * lib/gdb.exp: Fix runto.
28540
28541 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28542 the target.
28543
28544 * gdb.base/watchpoint.exp: Fix regexp.
28545
28546 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28547 close and wait commands, as the descriptor may now be
28548 invalid. Always call "remote_close host".
28549
28550Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28551
28552 Major rewrite for testsuite revision.
d63a86f8 28553
c906108c
SS
28554 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28555 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28556 instead of relying on spawn_id to always contain a valid
28557 spawn id.
28558 (get_compiler_info): New procedure to build the ${binfile}.ci
28559 file, instead of replicating this in N different places.
28560 (gdb_compile): New procedure.
d63a86f8 28561
c906108c 28562 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
28563 appropriate arguments) instead of compile. Use gdb_test in a lot
28564 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
28565 at the start of a testcase, as this is no longer done magically.
28566
28567 config/*-gdb.exp: Rename without the -gdb suffix.
28568
28569 config/mips.exp: Use remote_close instead of exit_remote_shell.
28570 config/monitor.exp: Use target_info instead of looking at
28571 baud, timeout, etc.
28572 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28573
28574Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28575
28576 * gdb.c++/templates.exp (test_ptype_of_templates),
28577 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28578 Update expect patterns for destructors and assignment operators
28579 to match corresponding c-typeprint.c changes.
28580 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28581 to destructor breakpoint test, GDB should be able to set the
28582 destructor breakpoint without specifying arguments.
28583
28584Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28585
28586 * gdb.threads/pthreads.exp: Change result for failure to compile due
28587 to lack of pthreads runtime support from an error to simply an
28588 unsupported test, per dejagnu standards.
28589
28590Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28591
28592 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28593 where GDB exits to reduce pattern match time.
28594 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28595
28596 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28597
dc96c6c7 28598Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28599
28600 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28601 * gdb.base/default.exp: ditto.
28602 * gdb.base/nodebug.exp: ditto.
28603 * gdb.base/printcmds.exp: ditto.
28604 * gdb.base/ptype.exp: ditto.
28605 * gdb.base/setvar.exp: ditto.
28606 * gdb.base/structs.exp: ditto.
28607 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28608
28609Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28610
28611 * configure, */configure: Rebuild with autoconf 2.12.
28612
28613Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28614
28615 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28616 use new i*86-pc-linux*-gnu quads.
28617 * gdb.base/corefile.exp: Ditto.
28618 * gdb.base/signals.exp: Ditto.
28619 * gdb.base/sigall.exp: Ditto.
28620 * gdb.base/interrupt.exp: Ditto.
28621
28622 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28623 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28624 RedHat 4.0.
d63a86f8 28625
c906108c 28626 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
28627 linux. This allows the test case to at least compile on latest
28628 linux, but still not run due to missing the threads runtime library.
c906108c
SS
28629
28630Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28631
28632 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28633 directory to search gdb directory. Accept and step over conditional
28634 stack alignment code. Consume $prompt in failure cases.
28635 Reset timeout to $oldtimeout instead of some arbitrary value.
28636 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28637 timeout problems with infinite stack backtraces.
28638 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28639 Accept function parameters for linkfunc member.
28640
28641Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28642
28643 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28644 (CXXFLAGS): Remove, unreferenced.
28645 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
28646 previous -B options and also add -B option to pick up cross compiled
28647 runtime.
c906108c
SS
28648 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28649 doing cross compiles.
28650 (target_alias): Declare global.
28651 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28652 to verify that gcc exists in build tree, and if so set CC to that
28653 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 28654
c906108c
SS
28655Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28656
28657 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28658 ptype test for anonymous union. Fixup testcase to match
28659 current gcc debug output.
28660
28661Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28662
28663 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28664 force argument to an unsigned long type.
28665
28666Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28667
28668 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 28669 tests and anonymous union print/ptype tests.
c906108c
SS
28670 * gdb.base/list.exp (test_forward-search): Increase timeout by
28671 5 minutes for the "search extremely long line" case.
28672 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28673 completely optional and that the pass/fail messages use the command as
28674 the message if that third arg is a null string.
28675 (gdb_test_exact): Arrange that a null string pattern means match a
28676 null string output rather than any output, which might include random
889bf7c5 28677 errors.
c906108c
SS
28678 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28679 backtrace test.
28680 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28681 always failing and failure is now exposed by gdb.exp changes.
28682
28683Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28684
28685 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28686 weren't being noted.
28687
28688Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28689
28690 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28691 * gdb.stabs/weird.exp: Remove v_comb xfails.
28692
dc96c6c7 28693Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28694
28695 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 28696 list.exp scope.exp watchpoint.exp]
c906108c 28697 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 28698
dc96c6c7 28699Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28700
28701 * config/monitor.exp: Increase download timeout to 1000 seconds.
28702
dc96c6c7 28703Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28704
28705 * config/m32r.exp: Increase timeout to 120 seconds.
28706
28707Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28708
28709 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28710 and accept older ordering as obsolescent gcc or gdb.
28711 * gdb.c++/templates.exp: Ditto.
28712 * gdb.c++/virtfunc.exp: Ditto.
28713
28714Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28715
28716 * gdb.base/coremaker.c: Add code to mmap some data so we
28717 can check that it ends up in the core file.
28718 * gdb.base/corefile.exp: Add test to read mmapped data
28719 from core file.
28720
dc96c6c7 28721Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28722
28723 * config/m32r.exp: New file.
28724
28725Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28726
28727 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28728 that cflags can contains -gstabs, and work correctly for other tests.
28729
dc96c6c7 28730Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28731
28732 * gdb.base/setshow.exp: New file, tests show and set.
28733 * gdb.base/setshow.c: New file, tests show and set.
28734 * gdb.base/help.exp: Add test for help set|show annotate.
28735 * gdb.base/default.exp: Add test for set|show annotate.
28736
28737Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28738
28739 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28740 errors unique.
28741 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28742 explicitly.
28743
28744Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28745
28746 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28747 and width commands. This is done elsewhere.
28748 * (gdb_start): Don't call gdb_start_sim here. That's already
28749 done in gdb_load. This fixes lots of failures in default.exp.
28750
28751Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28752
28753 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28754 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28755 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28756 in the same we we treat other failures (since it may be an expected
889bf7c5 28757 condition), rather than as an error.
c906108c
SS
28758 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28759 old test format.
28760
28761Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28762
28763 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28764 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 28765 twice. Nuke the duplicates.
c906108c 28766 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 28767 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
28768 Remove config.h along with other config files.
28769
28770Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28771
28772 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28773 "p func1 ()" and note that rests of tests are skipped.
28774 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28775 setup_xfails for "print func2::coremaker_local".
c906108c
SS
28776 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28777 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28778 affected by the previous run test.
28779 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28780 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28781 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28782 "pass int powerset tuple" and "pass modeless int powerset tuple".
28783 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28784 "real write 4" and "real write 8".
28785 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28786 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28787 "print \$i after tuple assign 2", and
28788 "print vs2 after tuple assign 2".
28789 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28790 meaningful error message and return -1 so the caller can
28791 suppress further tests and avoid a cascade of errors.
d63a86f8 28792
c906108c
SS
28793Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28794
28795 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28796 format for printing version.
28797 * gdb.base/default.exp: Ditto.
28798 * gdb.base/interrupt.exp: Fix problem with cascade of
28799 errors if child process dies while calling a function.
d63a86f8 28800
c906108c
SS
28801Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28802
28803 * Makefile.in (VPATH): Add
28804 * Makefile.in (Makefile, config.status): Fix rules so things get
28805 remade when necessary.
28806
28807Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28808
28809 * Makefile.in (just-check): Add path to sibling expect dir
28810 to environment variable specified by RPATH_ENVVAR.
28811
28812Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28813
28814 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28815 (just-check): Add shared library paths for libstdc++, tk,
28816 tcl, bfd, and opcodes to the environment variable specified
28817 in RPATH_ENVVAR.
28818 * configure.in: Add support to recognize --enable-shared flag
28819 and generate correct value for RPATH_ENVVAR.
28820 * configure: Regenerated with autoconf.
28821
28822Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28823
28824 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28825 include all osf versions.
c906108c
SS
28826 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28827 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28828 when target is linux. When failing to build pthreads test
28829 executable, give more meaningful message.
28830 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28831 arg for pthread_create.
d63a86f8 28832
c906108c
SS
28833Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28834
28835 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28836 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28837 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28838 and -lpthreads (everybody else).
c906108c
SS
28839 (test_startup): Fail gracefully if threads are not supported.
28840 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28841 "p/c array_index("abcdef",2)" when not gcc compiled.
28842 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28843 "print func2::coremaker_local" when not gcc compiled.
28844 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28845 "ptype on opaque struct tagname (statically)",
28846 "ptype on opaque struct tagname (dynamically) 1", and
28847 "ptype on opaque struct tagname (dynamically) 2"
28848 for not compiled with gcc.
28849 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28850 backtrace when compiled with gcc.
d63a86f8 28851 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28852 than always return success.
28853
28854Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28855
28856 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28857
28858Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28859
28860 * gdb.base/structs.exp: Undo last change.
28861
28862Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28863
28864 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28865 encapsulate all the steps/nexts done during self test, starting
28866 at main, and makes them less sensitive to optimization issues.
28867 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28868 signal handler" test.
28869 * gdb.threads/pthreads.exp: Only run this for native configs.
28870 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28871 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28872 tests.
28873 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28874 for "runto test_calls(void)" test.
d63a86f8 28875
c906108c
SS
28876Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28877
28878 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28879 and don't expect address info in breakpoint confirmations.
28880
28881Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28882
28883 * gdb.base/list.exp (test_forward_search): Increase timeout
28884 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28885 and then reset to old value when done. Increase expect input
c906108c
SS
28886 buffer to 10000.
28887
28888Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28889
28890 * gdb.base/list.exp (test_forward_search): Fix to handle very
28891 long source line without overflowing expect's input buffer.
28892
28893Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28894
28895 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28896 "buffer_full".
28897
28898 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28899 "buffer_full".
28900
28901 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28902 "buffer_full".
28903
28904 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28905 "buffer_full".
28906
28907Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28908
28909 * configure.in (configdirs): Add gdb.threads.
28910 * configure: Regenerated with autoconf.
28911 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28912 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28913 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28914
c906108c
SS
28915Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28916
28917 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28918
28919Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28920
28921 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28922 each signal's status in the output of "handle all print".
28923 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28924 the \r\n sequence that immediately precedes the gdb prompt.
28925 * gdb.base/a1-selftest.exp: Save original timeout and restore
28926 after test.
28927
28928Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28929
28930 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28931 symbol.
28932
28933Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28934
28935 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28936
28937Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28938
28939 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28940 timeout by 60 seconds.
28941
28942Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28943
28944 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28945 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28946 error return.
28947
28948Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28949
28950 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28951 gdb initialization, also report how long dejagnu waited. Restore
28952 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28953 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28954
28955Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28956
28957 * lib/gdb.exp: Report timeout value for verbosity level 2.
28958 * config/gdbserver.exp: Ditto.
28959 * config/hppro.exp: Ditto.
28960 * config/mips-gdb.exp: Ditto.
28961 * config/monitor.exp: Ditto.
28962 * config/netware.exp: Ditto.
28963 * config/sim-gdb.exp: Ditto.
28964 * config/slite-gdb.exp: Ditto.
28965 * config/udi-gdb.exp: Ditto.
28966 * config/unix-gdb.exp: Ditto.
28967 * config/vx-gdb.exp: Ditto.
28968 * gdb.base/a1-selftest.exp: Ditto.
28969 * gdb.base/a2-run.exp: Ditto.
28970 * gdb.base/break.exp: Ditto.
28971 * gdb.base/corefile.exp: Ditto.
28972 * gdb.base/list.exp: Ditto.
28973 * gdb.base/recurse.exp: Ditto.
28974 * gdb.base/scope.exp: Ditto.
28975 * gdb.base/signals.exp: Ditto.
28976
28977Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28978
28979 * gdb.threads/Makefile.in (docdir): Removed.
28980
28981Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28982
28983 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28984 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28985 @srcdir@.
d63a86f8 28986 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28987 autoconf 2.5 or higher.
28988 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28989
28990Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28991
28992 * configure: Regenerated.
28993 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28994 avoid name clashes with SunOS headers.
28995
28996Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28997
28998 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28999
29000Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29001
29002 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29003 prototype information ends up in the compiler info file.
29004
29005Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29006
29007 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29008 attempting to regenerate it. Eliminate use of a temporary file
29009 and just generate the info file directly. Source it immediately,
29010 for consistency of use.
29011 * gdb.base/corefile.exp: Ditto
29012 * gdb.base/exprs.exp: Ditto.
29013 * gdb.base/funcargs.exp: Ditto.
29014 * gdb.base/langs.exp: Ditto.
29015 * gdb.base/list.exp: Ditto.
29016 * gdb.base/mips_pro.exp: Ditto.
29017 * gdb.base/nodebug.exp: Ditto.
29018 * gdb.base/opaque.exp: Ditto.
29019 * gdb.base/ptype.exp: Ditto.
29020 * gdb.base/scope.exp: Ditto.
29021 * gdb.base/setvar.exp: Ditto.
29022 * gdb.base/signals.exp: Ditto.
29023 * gdb.base/whatis.exp: Ditto.
29024 * gdb.c++/templates.exp: Ditto.
29025 * gdb.c++/virtfunc.exp: Ditto.
29026 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 29027 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
29028
29029Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29030
29031 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29032 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29033 Increase timeout, a lot of single stepping might be needed if the
29034 target has no hardware watchpoints.
29035
29036Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29037
29038 * gdb.base/break.exp: Ignore compiler warnings when compiling
29039 break.c.
29040 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29041 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29042 from remote-sim.
29043 * gdb.base/exprs.exp: Add h8300 xfails.
29044 * gdb.base/funcargs.exp: Likewise.
29045 * gdb.base/nodebug.exp: Likewise.
29046 * gdb.base/printcmds.exp: Likewise.
29047 * gdb.base/ptype.exp: Likewise.
29048 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29049 h8300 xfails.
d63a86f8 29050 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
29051 on the h8300.
29052 * gdb.base/funcargs.c: Explicitly make last constant argument to
29053 call_after_alloca_subr an unsigned long type.
29054 * gdb.base/return.c: Include stdio.h.
29055
29056Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29057
29058 * config/abug.exp: New file for the older Motorola Bug monitor
29059 that runs on the mvme13x series VME boards.
29060 * config/monitor.exp: Use the new config array for target settings
29061 if they exist.
29062
29063Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29064
29065 * sim-gdb.exp: Make the SH simulator allocate less space when
29066 it is targeted.
29067
29068Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29069
29070 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29071 test.
29072
29073Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29074
29075 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29076 "rs6000-*-*" for "list function in include file" when gcc compiled.
29077 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29078 for "p ctable1[120]".
29079 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29080 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29081 Remove setup_xfail for "rs6000-*-*" for
29082 "print 'scope0.c'::filelocal before run".
29083 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29084 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29085 since some compilers don't allow both options to be given
29086 on the same command line. Create object file and move it.
d63a86f8 29087
c906108c
SS
29088Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29089
29090 * gdb.base/corefile.exp: Always regenerate the core file, since
29091 we always regenerate the coremaker program. Detect special case
29092 where registers cannot be read from core file.
d63a86f8 29093
c906108c
SS
29094Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29095
29096 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29097 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29098 * gdb.c++/templates.exp: Only match on basename of file since
29099 some formats like xcoff don't encode directory information.
29100 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29101 and rs6000 AIX xcoff targets.
29102 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29103 * configure: Regenerate.
29104 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29105 here, rather than in distclean.
d63a86f8 29106
c906108c
SS
29107Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29108
29109 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29110 defined, and use it to compile the test case with -O2. The
29111 native compilation still uses no optimization.
29112 * gdb.base/mips_pro.c: Remove inline assembly code since
29113 it is compiled PIC by default, which results in assembler
29114 warnings that make the testsuite think the compilation
29115 was unsuccessful.
29116
29117Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29118
29119 * gdb.c++/misc.exp: Add note to message for
29120 "print s.a for foo struct" that this is a known gcc 2.7.2
29121 and earlier bug.
29122
29123Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29124
29125 * gdb.base/break.exp: Fix pattern for matching "Delete all
29126 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29127 setup_xfail for deleting all breakpoints test. Fix various
29128 timeout messages to include "(timeout)".
29129 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29130 for "p t_float_values2(3.14159,float_val2)".
29131 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29132 for "continue to call2g" when gcc compiled.
29133 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29134 "up to foo in langs.exp", "show language at foo in langs.exp",
29135 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29136 and "show language at fsub in langs.exp".
29137 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29138 "list line 1 in include file", "list message for lines past EOF",
29139 "list function in include file", "list list0.h:foo", and
29140 "list filename:function; nonexistant function".
29141 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29142 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29143 and "ptype t_char_array" to be for native cc only.
d63a86f8 29144
c906108c
SS
29145Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29146
d63a86f8 29147 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 29148 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 29149 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
29150
29151Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29152
29153 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29154 "bt in signals.exp". This problem only appears when running
29155 the testsuite, and then only intermittently.
29156
29157Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29158
29159 * gdb.base/return.exp (return_tests): Differentiate between
29160 two tests of continuing.
29161
29162Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29163
29164 * */Makefile.in (maintainer-clean): Remove config.log.
29165 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29166 * gdb.c++/Makefile.in (PROGS): Add inherit.
29167 (clean): Remove *.ci.
29168
29169Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29170
29171 * gdb.c++/misc.cc: Add test code from Mike Stump.
29172 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29173
29174Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29175
29176 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29177 to "alpha-*-osf2*" and add comment.
29178 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
29179 setup_xfail for "step over execarg initialization" and
29180 "step over corearg initialization".
c906108c
SS
29181 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29182 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29183 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 29184 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
29185 "print func2::coremaker_local", and "backtrace in corefile.exp".
29186 * gdb.base/signals.exp: Build and source signals.ci.
29187 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29188 to be for gcc only.
29189 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 29190
c906108c
SS
29191Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29192
29193 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29194 Feb 3 procfs.c change.
29195
29196Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29197
29198 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29199
29200Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29201
29202 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29203 from dejagnu's apparent default of 10 seconds, which gives random
29204 results when running the tests over NFS on moderately loaded systems.
29205 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29206
29207Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29208
29209 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29210 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 29211 result reports.
c906108c
SS
29212
29213Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29214
29215 * configure.in (CY_AC_PATH_TCLH): Remove.
29216 * configure: Regenerate.
29217
29218Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29219
29220 * gdb.c++/Makefile.in (clean): Add missing '{'.
29221
29222Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29223
29224 * lib/gdb.exp: Provide a default value for noinferior.
29225
29226 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29227 Load libgloss.exp.
29228
29229Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29230
29231 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29232 the executable, not the .o to run the tests from.
29233
29234Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29235
29236 * gdb.base/break.exp: Don't test for program exit or exit status
29237 if $noresults if nonzero.
29238 * gdb.base/langs.exp: Likewise.
29239 * gdb.base/watchpoint.exp: Likewise.
29240
29241 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29242 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29243 trying to compile the testcase.
29244
29245Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29246
29247 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29248 * gdb.base/signals.exp (continue to handler): Likewise.
29249
29250Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29251
29252 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29253
29254 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29255
29256Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29257
29258 * gdb.base/corefile.exp: Recognize "not found" as failure
29259 when trying to determine if a core file was generated.
29260 If no core file was generate the first time, try again without
29261 the ulimit -c to work around braindamaged shells.
29262
29263Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29264
29265 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29266 [] tests with "test" and enclose string in quotes.
29267 * gdb.stabs/configure: Rebuild
d63a86f8 29268
c906108c
SS
29269Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29270
29271 Changes in sync with expect:
29272 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29273 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29274 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29275 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29276 argument to AC_REQUIRE.
29277 * configure: Regenerated.
29278
29279Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29280
29281 * gdb.base/corefile.exp: When generating a core, discard any
29282 error messages about ulimit not found and the "core dumped"
29283 message from the shell that runs the coredumper.
29284
29285Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29286
29287 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29288
29289 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29290 which sed script to run. Expect failure for v_comb test
29291 on PA targets too.
d63a86f8 29292
c906108c
SS
29293Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29294
29295 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 29296 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
29297
29298Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29299
29300 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29301 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 29302 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
29303 * lib/gdb.exp (default_gdb_start): Fix typo.
29304 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29305 messages to not include the full program name that caused
29306 the core dump since some systems (such as solaris) apparently
29307 truncate this path to about 80 characters.
29308 When generating a core file first try increasing the core file
29309 size limit to unlimited since some systems may default it to
29310 zero, and it is harmless to try it. Move the test for failing
29311 to generate a core file to where it will actually get executed.
29312 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29313 new gdb result from g++ debug info improvements and make old
29314 pattern obsolescent. Also account for size_t differences
29315 (may be int or long).
29316 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29317 initialization before function call is placed in the delay slot
29318 and thus appears to be skipped over by commands such as "next".
29319
29320Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29321
29322 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29323
29324Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29325
29326 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29327 input source file; fix code to compile test to deal with this
29328 convention.
29329 * gdb.c++/*.exp: Likewise.
29330
29331Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29332
29333 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29334 "bt in signals.exp".
29335
29336Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29337
29338 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29339 "step over execarg initialization" and
889bf7c5 29340 "step over corearg initialization".
c906108c
SS
29341
29342Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29343
29344 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29345 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29346
29347Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29348
29349 From Rob Savoye (rob@poseidon.cygnus.com)
29350 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29351 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
29352 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29353 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29354 configure.in}: Major reworking for autoconfig.
c906108c
SS
29355 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29356 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 29357 New files.
c906108c
SS
29358 * config/unix-gdb.exp: Make GDB global.
29359 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
29360 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29361 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29362 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29363 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29364 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 29365 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
29366 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29367 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29368 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29369 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 29370 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
29371 to returns as necessary, arrange for test to compile own testcase
29372 executable.
c906108c 29373 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 29374
c906108c
SS
29375Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29376
29377 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 29378 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
29379 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29380 "backtrace through signal handler".
29381
29382Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29383
29384 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29385 continuing from a job control stop signal.
29386 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29387
29388Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29389
29390 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29391 * gdb.base/corefile.exp: Likewise.
29392 * gdb.base/funcargs.exp: Likewise.
29393
29394Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29395
29396 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29397 * config/monitor.exp: Add support for setting baud rate.
29398
29399Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29400
29401 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29402 i*86-*-linux* xfails for "backtrace through signal handler".
29403 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29404 "print func2::coremaker_local".
29405 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 29406 alpha-dec-osf2* xfail for
c906108c
SS
29407 "delete all breakpoints when none".
29408
29409Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29410
29411 * gdb.base/break.exp: Change test that deletes all breakpoints
29412 when no user breakpoints are installed. A post 4.15 change
29413 causes gdb to no longer prompt in this case.
29414
29415Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29416
29417 * gdb.base/return.exp (return_tests): Change xfail for test
29418 "correct value returned double test" to stop xfailing at
29419 Solaris 2.5. Apparently the bug has been fixed.
29420
29421Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29422
29423 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29424 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29425
29426Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29427
29428 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29429 * gdb.disasm/hppa.s: Corresponding changes.
29430
29431Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29432
29433 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29434 makefile fragment.
29435 * config/mt-hpux: Deleted.
29436
29437Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29438
d63a86f8 29439 * Many files: When warning about suppressed tests due to a
c906108c
SS
29440 nonexistant test binary, avoid incrementing the warning count.
29441
29442Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29443
29444 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 29445
c906108c
SS
29446Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29447
29448 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29449 "sparc-*-solaris2*".
29450
29451Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29452
29453 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29454 Add global and local variables and initialize them.
29455 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29456 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29457 extracts the file name and terminating signal from the core file.
29458 * TODO: Remove note about tests for correct mapping of corefile.
29459 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29460 from optimizing it away.
29461 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29462 handles common blocks.
29463
29464Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29465
29466 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29467 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29468
29469Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29470
29471 * Makefile.in (maintainer-clean): New target, synonym for
29472 realclean.
29473 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29474 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29475 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29476 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29477 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29478 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29479
29480Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29481
29482 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29483 xfails when not gcc compiled for "print foo::funclocal".
29484 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29485 "print foo::funclocal at foo",
29486 "print 'scope1.c'::foo::funclocal at foo",
29487 "print foo::funclocal_bss at foo",
29488 "print 'scope1.c'::foo::funclocal_bss at foo",
29489 "print foo::funclocal_ro at foo",
29490 "print 'scope1.c'::foo::funclocal_ro at foo",
29491 "print bar::funclocal at foo" and
29492 "print 'scope1.c'::bar::funclocal at foo".
29493 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29494 gcc compiled for "print foo::funclocal at bar".
29495 Expand all messages to ensure that they identify that
29496 the test is at bar().
29497 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29498 gcc compiled for:
29499 "ptype on opaque struct pointer (statically)",
29500 "ptype on opaque struct tagname (statically)",
29501 "ptype on opaque struct pointer (dynamically) 1",
29502 "ptype on opaque struct tagname (dynamically) 1",
29503 "ptype on opaque struct pointer (dynamically) 2" and
29504 "ptype on opaque struct tagname (dynamically) 2
29505 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29506 gcc compiled for:
29507 "p datalocal"
29508 "whatis datalocal",
29509 "ptype datalocal",
29510 "p bsslocal",
29511 "whatis bsslocal", and
29512 "ptype bsslocal".
29513 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29514 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29515 when not gcc compiled.
29516 * gdb.base/funcargs.exp (float_and_integral_args): Add
29517 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29518 compiled.
29519 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29520 "backtrace from call6a" when not gcc compiled.
29521 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29522 "backtrace from call7a" when not gcc compiled.
29523 * gdb.base/callfuncs.exp (do_function_calls):
29524 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29525 "p t_char_array_values(char_array_val2,char_array_val1)",
29526 "p t_char_array_values(char_array_val1,char_array_val2)",
29527 "p t_char_array_values("carray 1","carray 2")",
29528 "p t_char_array_values("carray 1",char_array_val2)",
29529 "p t_char_array_values(char_array_val1,"carray 2")",
29530 "p sum_args(1,{2})",
29531 "p sum_args(2,{2,3})",
29532 "p sum_args(3,{2,3,4})",
29533 "p sum_args(4,{2,3,4,5})"
29534 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29535 "backtrace in corefile.exp" when not gcc compiled.
29536
29537Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29538
29539 * gdb.base/signals.exp: Rewrite `handle all print' test as
29540 a procedure. Accept blanks or TABs as whitespace, increase
29541 timeout and expect input buffer size for the large output
29542 from the command. Remove "i*86-*-bsdi2.0" xfail.
29543
29544Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29545
29546 * gdb.base/setvar.exp: Add new testcases for truncation when
29547 assigning invalid values to bitfields.
29548
29549Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29550
d63a86f8 29551 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
29552 mips-sgi-irix* xfail for
29553 "call inferior func with struct - returns char *"
29554 and fix test so that an optional (unsigned char *) cast is
889bf7c5 29555 accepted in the result.
c906108c
SS
29556
29557Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29558
29559 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29560 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29561 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29562 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29563 that accidentally got checked in.
29564
29565Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29566
d63a86f8 29567 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
29568 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29569 compiled test.
29570 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29571 Add mips-sgi-irix5* xfail for not gcc compiled.
29572 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
29573 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29574 compiled for "p top", "whatis top", "p middle", and "whatis
29575 middle".
c906108c
SS
29576 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29577 "whatis signed char" for not gcc compiled.
29578 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29579 "set variable signed char=-1 (-1)" and
29580 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29581 * gdb.base/funcargs.exp (float_and_integral_args):
29582 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29583 Add mips-sgi-irix* xfail when not gcc compiled for
29584 "continue to call2b".
29585 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29586 "continue to call2g".
6fdff2c5
PA
29587 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29588 compiled for "backtrace from call6a"
29589 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29590 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29591 when not gcc compiled for "backtrace from call7a".
c906108c
SS
29592 (localvars_after_alloca): Fix gdb_test cmds for
29593 "print * after runto ...".
29594 Remove rs6000-*-* xfails for
29595 "print i after runto localvars_after_alloca" and
29596 "print l after runto localvars_after_alloca"
29597 for all compilers.
29598 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 29599 when not compiled with gcc, for:
c906108c
SS
29600 "print signed char == (minus)",
29601 "print signed char != (minus)",
29602 "print signed char < (minus)",
29603 "print signed char > (minus)".
29604 * gdb.base/callfuncs.exp (do_function_calls):
29605 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29606 "call inferior func with struct - returns char *".
d63a86f8 29607 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
29608 "correct value returned double test" to include Solaris 2.4.
29609 * gdb.base/funcargs.exp (float_and_integral_args):
29610 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 29611
c906108c
SS
29612Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29613
29614 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29615 enumeration bitfields if compiling with GNU C.
29616 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29617 to empty' prompt.
29618
29619Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29620
29621 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29622 test for PRO targets.
29623
29624 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29625 breakpoints in the inferior at any given time by making
29626 two groups of breakpoints for call2*, call6* and call7*
29627 tests.
29628
29629Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29630
29631 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29632 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29633 from optimizing it away.
29634 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29635 "call inferior func with struct".
29636
29637Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29638
29639 * configure.in: Only configure gdb.chill for particular targets.
29640
29641Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29642
29643 * gdb.base/Makefile.in: Add action to .c.o transformation
29644 rule that generates a .ci file for each .o file and remove
29645 explicit .c.o rules except for callfuncs.o.
29646 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29647 generates a .ci file for each .o file and remove explicit
29648 .cc.o rules.
29649 (clean): Remove *.tmp *.ci files.
29650 (EXECUTABLES): Remove templ-info.exp.
29651 * gdb.base/compiler.c: New file.
29652 * gdb.c++/compiler.cc: New file
29653 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29654 Change rs6000-*-* xfail for
29655 "print 'scope0.c'::filelocal_ro" and
29656 "print 'scope1.c'::filelocal" and
29657 "print 'scope1.c'::filelocal_bss" and
29658 "print 'scope1.c'::filelocal_ro" and
29659 "print 'scope1.c'::foo::funclocal" and
29660 "print 'scope1.c'::foo::funclocal_ro" and
29661 "print 'scope1.c'::bar::funclocal" and
29662 "print 'scope0.c'::filelocal_ro" and
29663 "print 'scope1.c'::filelocal at foo" and
29664 "print 'scope1.c'::filelocal_bss at foo" and
29665 "print 'scope1.c'::filelocal_ro at foo" and
29666 "print 'scope1.c'::foo::funclocal at foo" and
29667 "print 'scope1.c'::foo::funclocal_bss at foo" and
29668 "print 'scope1.c'::foo::funclocal_ro at foo" and
29669 "print 'scope1.c'::bar::funclocal at foo" and
29670 "print 'scope0.c'::filelocal_ro" and
29671 "print 'scope1.c'::filelocal" and
29672 "print 'scope1.c'::filelocal_bss" and
29673 "print 'scope1.c'::filelocal_ro" and
29674 "print 'scope1.c'::foo::funclocal" and
29675 "print 'scope1.c'::foo::funclocal_bss" and
29676 "print 'scope1.c'::foo::funclocal_ro" and
29677 "print 'scope1.c'::bar::funclocal" and
29678 "print 'scope1.c'::bar::funclocal_bss"
29679 to only be xfail'd when not compiled with gcc.
d63a86f8 29680 Add rs6000-*-* xfail for
c906108c
SS
29681 "print 'scope0.c'::filelocal_bss before run"
29682 when compiled with gcc.
29683 (test_at_main): Add rs6000-*-* xfail for
29684 "print filelocal_ro in test_at_main"
29685 when compiled with gcc.
29686 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 29687 Add rs6000-*-aix* xfail for
c906108c
SS
29688 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29689 "ptype t_char_array", not compiled with gcc.
29690 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29691 xfail for "list foo (in include file)" when gcc compiled.
29692 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 29693 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
29694 "run to call0a" if not compiled with gcc.
29695 (unsigned_integral_args): Add rs6000-*-* xfail for
29696 "run to call1a" if not compiled with gcc.
29697 (float_and_integral_args): Add rs6000-*-* xfail for
29698 "run to call2a" if not compiled with gcc and for
29699 "continue to call2b" for any compiler.
29700 Add rs6000-*-* xfail to
29701 "print f1 after run to call2a" for gcc compiled.
29702 (discard_and_shuffle): Add rs6000-*-* xfail for
29703 "run to call6a".
29704 (shuffle_round_robin): Add rs6000-*-* xfail for
29705 "backtrace from call7a" if not compiled with gcc.
29706 Add rs6000-*-* xfail for
29707 "backtrace from call7b" if compiled with gcc.
29708 (call_after_alloca): Add rs6000-*-* xfail for
29709 "print c in call_after_alloca" and
29710 "print s in call_after_alloca" and
29711 "backtrace from call_after_alloca_subr"
29712 if not compiled with gcc.
29713 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29714 "print c in localvars_in_indirect_call" and
29715 "print c in localvars_in_indirect_call" and
29716 "backtrace in indirectly called function" and
29717 "stepping into indirectly called function"
29718 if not compiled with gcc.
29719 (localvars_after_alloca): Add rs6000-*-* xfail for
29720 "print c after runto localvars_after_alloca" and
29721 "print s after runto localvars_after_alloca" and
29722 "print i after runto localvars_after_alloca" and
29723 "print l after runto localvars_after_alloca"
29724 for all compilers.
29725 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29726 than whatis-info.exp.
29727 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29728 than opaque-info.exp.
29729 Setup rs6000-*-* xfail for
d63a86f8 29730 "ptype on opaque struct pointer (statically)" and
c906108c
SS
29731 "ptype on opaque struct pointer (dynamically)" when
29732 not compiled with gcc.
29733 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29734 rather than callf-info.exp.
29735 (do_function_calls): Add clear_xfail for rs6000-*-* for
29736 "p t_float_values2(3.14159,float_val2)". Seems to work
29737 fine there, both with xlc and gcc. Need to find out what
29738 it is doing right and fix other platforms.
29739 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29740 "call inferior func with struct - returns int",
29741 "call inferior func with struct - returns long",
29742 "call inferior func with struct - returns float",
29743 "call inferior func with struct - returns double",
29744 "call inferior func with struct - returns char *",
29745 but only if not gcc compiled (presumes xlc compiled).
29746 Change rs6000-*-* xfails for
29747 "call inferior func with struct - returns char" and
29748 " call inferior func with struct - returns short" to only
29749 xfail if not using gcc.
29750 (clean mostlyclean): Remove *.ci and *.tmp files.
29751 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29752 than templ-info.exp.
29753 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29754 Add rs6000-*-* xfail for "up to foo in langs.exp"
29755 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 29756 when not gcc compiled.
d63a86f8 29757
c906108c
SS
29758Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29759
29760 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29761 * gdb.base/corefile.exp: Likewise.
29762 * gdb.base/list.exp: Likewise.
29763 * gdb.base/scope.exp: Likewise.
29764 * gdb.base/siganls.exp: Likewise.
29765
29766 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29767 compiler output.
29768 * gdb.base/whatis.exp: Likewise.
29769
29770Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29771
29772 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29773 failure (opcode table has been fixed to match reality).
29774
29775Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29776
29777 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29778 "call inferior func with struct - returns char",
29779 "call inferior func with struct - returns short"
29780
29781 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29782 "print 'scope0.c'::filelocal at main",
29783 "print 'scope0.c'::filelocal_bss in test_at_main",
29784 "print 'scope0.c'::filelocal at foo",
29785 "print 'scope0.c'::filelocal_bss in test_at_foo",
29786 "print 'scope0.c'::filelocal at bar",
29787 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29788
c906108c
SS
29789 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29790 in source file 1". This bug seems to have been fixed with both
29791 gcc and native cc (was native assembler bug?).
29792
29793Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29794
29795 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29796 "backtrace through signal handler" to "i*86-*-sysv4*".
29797 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29798 continue" case. Add "known SVR4 bug" to fail message.
29799 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29800 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29801 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29802 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29803 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29804 "up to foo in langs.exp", "show language at foo in
29805 langs.exp", "up to cppsub_ in langs.exp", "show
29806 language at cppsub_ in langs.exp", "up to fsub in
29807 langs.exp", and "show language at fsub in langs.exp".
29808 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29809 "bactrace in corefile.exp".
29810 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29811 "call inferior function with struct - returns float" and
29812 "call inferior function with struct - returns double".
d63a86f8 29813
c906108c
SS
29814Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29815
29816 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29817 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29818 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29819 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29820
29821Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29822
29823 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29824 (or overriden) "CHILL" macro rather then bare "gcc".
29825 Also look for ../../gcc/xgcc since that is what we will
29826 actually need, not "Makefile". Remove following assignment
29827 of CHILL to CHILL_FOR_TARGET because that results in
29828 recursive definition.
29829
29830Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29831
29832 * gdb.base/corefile.exp: Change xfail for backtrace in
29833 corefile.exp from linuxaout to all linux.
29834 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29835 cases where we miss the breakpoint at the signal handler
29836 for some reason. Setup xfail for linuxoldld/linuxaout and
29837 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29838 hitting SIGURG breakpoint.
29839 * gdb.base/signals.exp: Setup xfail for "next" acting like
29840 continue to add linuxoldld. Setup xfail for all linux for
29841 "next to handler in signals_tests_1", "backtrace in
29842 signals_tests_1", "continue to func1", "pass SIGUSR1",
29843 and continue to handler".
29844
29845Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29846
29847 * Update all FSF addresses except those in COPYING* files.
29848
29849Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29850
29851 * gdb.base/a2-run.exp: Change messages to be more explicit about
29852 the status of args, and quote binfile in results.
29853
29854Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29855
29856 * gdb.base/callfuncs.exp: Add tests for passing structs to
29857 inferior functions and return various types.
29858 * gdb.base/callfuncs.c: Add functions to receive a struct
29859 and return a member of the struct, in various types.
29860
29861Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29862
29863 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29864
29865Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29866
29867 * config/vxworks29k.exp: New file, sources vxworks.exp.
29868
29869Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29870
29871 * config/gdbremote.exp: New file. Testing framework using
29872 gdbserver.
29873
29874Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29875
29876 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29877 "call function when asleep" and "send end of file".
29878 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29879 for "backtrace in corefile.exp".
29880 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29881 for "backtrace through signal handler".
29882 * gdb.base/corefile.exp: Make sure we actually generate a core file
29883 before trying the core tests. Some systems allow the user to suppress
29884 generation of core files and default to that (linux for example).
29885 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29886 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29887
29888Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29889
29890 * gdb.threads: New directory with some crude multi-threaded
29891 gdb tests (step.exp and step2.exp).
29892 * config/mt-lynx (STEP_EXECUTABLE): Define.
29893 (THREADFLAGS): Define.
29894
29895Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29896
29897 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29898
29899 * gdb.base/signals.exp: Disable whole file for lynx until
29900 further notice.
29901
29902 * gdb.base/signals.exp: xfail test where "next" acts like
29903 "continue" for lynx.
29904
29905 * gdb.base/interrupt.exp: xfail test for calling function while
29906 inferior is asleep for lynx.
29907
29908 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29909 than one cr-lf after each command.
29910
29911Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29912
29913 * configure.in: Reinstate setting of stabsdirs variable, fix
29914 typo in setting up configdirs for native builds.
29915
29916 * gdb.base/return.exp: Fix typo in return double test.
29917 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29918 compiler from optimizing them away.
29919
29920Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29921
29922 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29923 sequences to be echo'd by gdb when using gdb_test.
29924 * gdb.chill/chexp.exp: Likewise.
29925 * gdb.fortran/exprs.exp: Likewise
29926
29927Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29928
29929 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29930 after the inferior gdb has started.
29931
29932 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29933 after each command.
29934 * gdb.base/funcargs.exp: Likewise.
29935 * gdb.base/gdbvars.exp: Likewise.
29936 * gdb.base/interrupt.exp: Likewise.
29937 * gdb.base/list.exp: Likewise.
29938 * gdb.base/watchpoint.exp: Likewise.
29939 * gdb.c++/demangle.exp: Likewise.
29940 * gdb.c++/inherit.exp: Likewise.
29941 * gdb.chill/chexp.exp: Likewise.
29942 * gdb.fortran/exprs.exp: Likewise.
29943
29944 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29945 test if we can't handle IO to/from the inferior.
29946
29947 * gdb.c++/misc.exp: Always check for a program already being
29948 started after sending a "run" command to gdb.
29949
29950 * gdb.base/twice.exp: Start with a fresh gdb.
29951
29952 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29953 only depend on gdb's expression code, not the chill runtime.
29954
29955 * gdb.base/return.c: Put return values into variables so we
29956 can have gdb print them rather than depending on the program
29957 to print them.
29958 * gdb.base/return.exp: Corresponding changes.
29959
29960 * lib/gdb.exp: Provide default value for noinferiorio.
29961 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29962 the inferior.
29963
29964 * gdb.base/break.exp: Always check for a program already being
29965 started after sending a "run" command to gdb.
29966 (text_next_with_recursion): Don't check the output from the
29967 program's printf statement. Instead just make sure the program
29968 exited.
29969
29970 * gdb.base/commands.exp: Protect tests which need arguments with
29971 $noargs conditionals.
29972
29973Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29974
29975 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29976 of structure member arrays to match gdb/valops.c:value_addr change.
29977
29978Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29979
29980 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29981 cases.
29982
29983Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29984
29985 * configure.in (configdirs): Remove gdb.chill from default list
29986 of subdirs and then add it back in only if doing a native build.
29987 The current chill compiler does not yet work in any cross build.
29988 * Revert all signal changes from Jul 6.
29989 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29990 for sh-hms targets, allowing these tests to link, with no other
29991 changes. Testing is suppressed by setting "nosignals" in site.exp.
29992
29993Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29994
29995 * configure.in (signaldirs): Define and add to configdirs for all
29996 targets except some specific ones that are known to not support signals.
29997 Also clean up formatting.
29998 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29999 (signals, sigall): Remove rules to build.
30000 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30001 Moved to new gdb.signals directory.
30002 * gdb.signals: New test directory.
30003 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30004 signals.c signals.exp}: New or moved files.
30005
30006Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30007
30008 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30009
30010Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30011
30012 * gdb.base/return.exp: Xfail `return double' test failure
30013 on at least Solaris 2.3 and handle future/past versions on
30014 a case by case basis as appropriate. Also update message
30015 to include i*86 failures.
30016
30017Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30018
30019 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30020
30021 * lib/gdb.exp: Fix comment which erroneously identified
30022 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30023 gdb_file_cmd not gdb_load).
30024 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30025
30026 * gdb.base/setvar.exp: Make test names consistent between pass and
30027 fail cases. Use gdb_test more.
30028
30029Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30030
30031 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30032
30033Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30034
30035 * gdb.base/help.exp: Fix expected help string for `show commands'.
30036
30037Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30038
30039 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30040
30041 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30042 of a text section.
30043
30044Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30045
30046 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30047 that loop eventually terminates. Fix Connection refused logic so
30048 that testsuite will expire nicely.
30049
30050Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30051
30052 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30053 config/rom68k.exp: New tcl glue for the appropriate monitors.
30054 These all just end up calling monitor.exp.
30055 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30056 refused' by retrying. Cleanup some timeout issues.
30057 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30058 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30059 callers don't have to set/restore global timeout variable.
30060
30061 * The following set of changes centralizes management of the global
30062 timeout variable. This way, it can be set in one target dependent
30063 place instead of dozens of places scattered throughout the test suite.
30064 If you need to lengthen a timeout, then you should either set timeout
30065 in one of the config/{target}.exp files, or multiply it by a factor.
30066 Setting it to an absolute value is always going to lose for some
30067 targets.
30068 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30069 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30070 * gdb.base/funcargs.exp: Don't set timeout.
30071 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30072 * gdb.base/printcmds.exp (test_print_string_constants
30073 test_print_array_constants): Don't set timeout.
30074 * gdb.base/ptype.exp: Don't set timeout.
30075 * gdb.base/recurse.exp: Don't set timeout.
30076 * gdb.base/return.exp: Don't set timeout.
30077 * gdb.base/watchpoint.exp: Don't set timeout.
30078 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30079 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30080
30081Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30082
30083 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30084
30085Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30086
30087 * lib/gdb.exp: Disable chill tests for irix5.
30088
30089Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30090
30091 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30092 each test pass or fail.
30093
30094Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30095
30096 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30097 xlc not gcc.
30098
30099Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30100
30101 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30102
30103Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30104
30105 * config/est.exp: Fix copyright and comments. Remove dead code.
30106 Use targetname, serialport and baud variables instead of fixed
30107 constants.
30108 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30109 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30110
30111Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30112
30113 * gdb.base/watchpoint.exp: Don't run
30114 test_watchpoint_triggered_in_syscall for sunos.
30115
30116Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30117
30118 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30119 they don't seem to exist. Do include stdio.h.
30120
30121Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30122
30123 * gdb.base/a1-selftest.exp: Add alpha xfail.
30124
30125Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30126
30127 * gdb.base/watchpoint.c (main): Prompt before calling read().
30128 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30129 Revise accordingly. Remove cruft about sending "123" several
30130 times, until it gets noticed. Clean up the "print buf[0]" stuff
30131 so that it passes or fails, and waits for prompts in the usual way.
30132
30133Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30134
30135 * gdb.base/recurse.exp: Fix comment.
30136
30137 * TODO: Remove item about printing variables in nodebug.exp. Add
30138 item about enabling tests which are only run on some targets.
30139
30140 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30141 fail, make test names unique, use new gdb_test convention
30142 regarding pattern, use gdb_test more, etc.).
30143
30144 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30145 fail, make test names unique, etc.).
30146
30147Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30148
30149 * gdb.base/nodebug.c: Change return type of top and middle to
30150 short.
30151 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30152 are fixed by the recent mdebugread.c changes. Allow `short ()'
30153 as type for top and middle.
30154
30155Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30156
30157 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30158 nearly as I can tell, the whole thing was an accident in Stu's
30159 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30160 to replace a send/expect pair with gdb_test, but ended up only
30161 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30162 of 30 Mar 1995 took care of it, but left this vestigial comment
30163 which I am now nuking.
30164
30165Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30166
30167 * gdb.base/break.exp: Look for different line number for
30168 breakpoint at main depending on usestubs.
30169
30170Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30171
30172 * gdb.base/list.exp: Adjust some alternate expect patterns to
30173 match recent list0.c change. Add alternate expect pattern for
30174 output from `list default lines around main' for optimizing
30175 compilers.
30176
30177Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30178
30179 * lib/gdb.exp: If nosignals is not set, set it to 0.
30180
30181Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30182
30183 * config/slite-gdb.exp: Responds to load symbol table prompt.
30184 * gdb.base/break.exp: Adjust line number, fix rerun.
30185 * gdb.base/langs0.c: Add #ifdef usestubs.
30186
30187Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30188
30189 * gdb.base/list.exp: Adjust line contents after adding new lines in
30190 list0.c. Also fix a syntax error.
30191
30192 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30193 * gdb.base/break.exp: ditto.
30194 * gdb.base/list.exp: ditto.
30195 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30196 * gdb.base/run.c: ditto.
30197 * gdb.base/list0.c: ditto.
30198 * gdb.base/funcargs.c: ditto.
30199
30200Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30201
30202 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30203 $targetname, $serialport and $baud instead of hardwired variables.
30204 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30205 target doesn't support signals.
30206
30207Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30208
30209 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30210
30211Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30212
30213 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30214 Don't rely on the value of an auto variable before it has been
30215 initialized. Use gdb_test more.
30216
30217Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30218
30219 * lib/gdb.exp (default_gdb_version): A version number must start
30220 with a digit, but other than that contains all characters up to
30221 the first whitespace character.
30222
30223Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30224
30225 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30226
30227Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30228
30229 * gdb.c++/*.exp: Warn if executable does not exist. The original
30230 reason for skipping the warning was that configure.in sometimes
30231 intentionally skipped building the executables but the tcl code
30232 had no way of knowing. That (a) was always bogus with respect to
30233 error handling, (b) is no longer true (right now there is no way
30234 to skip C++ tests).
30235
30236 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30237
30238Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30239
30240 * gdb.base/list.exp: Add expect patterns for output from
30241 SunPRO compiled executables.
30242 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30243 types.
30244
30245Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30246
30247 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30248 number (we are already testing that the correct source line text
30249 gets printed).
30250
30251 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30252 that is what is intended, but something needed to be done to get
30253 sunos4 native working again.
30254
30255 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30256
30257 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30258 apparently went with a (very) old xfail.
30259
30260Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30261
30262 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30263 runto_main is a proc in gdb.exp that will do 'step' for target use
30264 stubs.
30265 * gdb.base/exprs.exp: ditto.
30266 * gdb.base/interrupt.exp: ditto.
30267 * gdb.base/opaque.exp: ditto.
30268 * gdb.base/printcmds.exp: ditto.
30269 * gdb.base/ptype.exp: ditto.
30270 * gdb.base/scope.exp: ditto.
30271 * gdb.base/setvar.exp: ditto.
30272 * gdb.base/signals.exp: ditto.
30273 * gdb.base/twice.exp: ditto.
30274 * gdb.c++/classes.exp: ditto.
30275 * gdb.c++/inherit.exp: ditto.
30276 * gdb.c++/templates.exp: ditto.
30277 * gdb.base/break.exp: no run and hit main for stubs. Change line
30278 numbers for breakpoints and info breakpoint.
30279 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30280 breakpoint().
30281 * gdb.base/callfuncs.c: ditto.
30282 * gdb.base/exprs: ditto.
30283 * gdb.base/interrupt.c: ditto.
30284 * gdb.base/opaque0.c: ditto.
30285 * gdb.base/printcmds.c: ditto.
30286 * gdb.base/ptype.c: ditto.
30287 * gdb.base/scope0.c: ditto.
30288 * gdb.base/setvar.c: ditto.
30289 * gdb.base/signals.c: ditto.
30290 * gdb.base/twice.c: ditto.
30291 * gdb.c++/misc.cc: ditto.
30292 * gdb.c++/templates.cc: ditto.
30293
30294Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30295
30296 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30297
30298 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30299 somewhere between `read' and `main.c'. I'm pretty sure the
30300 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30301 and it isn't particularly useful.
30302
30303 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30304
30305Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30306
30307 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30308
30309Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30310
30311 * config/mt-slite: add LIBS and -nostdlib.
30312 * config/slite-gdb.exp: add this new file to support sparclite target.
30313
30314Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30315
30316 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30317
30318 * gdb.base/a2-run.exp: Change argument to istarget from
30319 "*-*-vxworks" to "*-*-vxworks*".
30320 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30321
30322Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30323
30324 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30325 will not runto main but do a 'step' to step out of breakpoint().
30326 * config/mt-slite: add -Dusestubs.
30327
30328Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30329
30330 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30331 instead of just @.
30332
30333 * gdb.base/signals.exp: Add test for "handle all print".
30334 * TODO: Remove "handle all print". Also remove item about
30335 checking copyright date (I don't like the idea of a spurious FAIL
30336 based on when we run the tests).
30337
30338 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30339 for SunOS4 (reason for failure not investigated). Remove
30340 redundant test for $binfile.
30341
30342 * gdb.base/nodebug.c (array_index): Call malloc.
30343
30344 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30345
30346Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30347
30348 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30349 conventions and slightly simplify the matching regexp.
30350
30351Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30352
30353 * gdb.base/break.exp: Update gdb_test invocation to use new
30354 convention.
30355
30356 * lib/gdb.exp: If noargs is not set, set it to 0.
30357
30358 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30359 tests unique.
30360
30361 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30362
30363Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30364
30365 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30366 one argument of type "<non-float parameter>".
30367
30368Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30369
30370 * config/rom68k.exp: New file to support Motorola IDP board.
30371 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30372 * gdb.base/break.c: Change things around so that this program
30373 doesn't depend upon args. This is necessary to make remote
30374 targets work (in general, they can't take args).
30375 * gdb.base/break.exp: Don't try to send args to program. Don't
30376 expect output. Also, replace lots of code with gdb_test.
30377
30378Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30379
30380 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30381 printing of '\'' (which is what the comment says we are testing,
30382 even though we were not), not '''.
30383 (test_integer_literals_rejected): Test that printing ''' is an error.
30384
30385 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30386 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30387 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30388 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30389 Use gdb_test not test_print_accept.
30390 * lib/gdb.exp: Remove test_print_accept.
30391
30392 * gdb.base/signals.exp (signal_tests_1): Make pass message
30393 consistent with fail message.
30394
30395 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30396 unsigned char; the bug (PR 1821) is fixed.
30397
30398 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30399
30400 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30401 successful tests--makes xfailing them work right.
30402
30403Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30404
30405 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30406 only \r\n, not .*. The test can pass .* as the last thing in
30407 $pattern if that is what it wants. In addition to providing this
30408 flexibility, this change should speed up pattern matching in cases
30409 where the pattern already ended with .* (there were a number of
30410 them). This change also helps catch bad patterns--in the old
30411 scheme the typo "char \*" instead of "char \\*" would pass. Now
30412 it is caught.
30413 * Many .exp files: Update callers.
30414
30415 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30416 clearer and does not spuriously match multiple ('s. Likewise for
30417 ) and *.
30418
30419 * gdb.base/nodebug.exp: Test ability to call a function and pass
30420 it a string (even with no debugging info).
30421
30422 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30423 "p '\'", which is the same as "p ''" once tcl gets done with
30424 quoting, to "p '\\'", which I suspect is what is intended (one
30425 backslash gets sent to GDB).
30426
30427 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30428
30429Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30430
30431 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30432 1817) was fixed literally years ago.
30433
30434Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30435
30436 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30437 test, it causes stepping out of call_after_alloca_subr with
30438 optimizing compilers.
30439 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30440 fails.
30441
30442 * gdb.c++/templates.exp: Source templ-info.exp only if
30443 the templates executable exists.
30444
30445 * gdb.c++/misc.cc (class Contains_static_instance,
30446 class Contains_nested_static_instance),
30447 gdb.c++/classes.exp (test_static_members): Test printing of
30448 a class that contains a static instance of the class.
30449
30450Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30451
30452 * gdb.base/langs2.c (cppsub_): Don't prototype.
30453 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30454 only, I believe).
30455
30456Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30457
30458 * lib/gdb.exp (skip_chill_tests): New procedure.
30459
30460 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30461
30462Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30463
30464 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30465 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30466
30467Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30468
30469 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30470
30471 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30472 disassemble 8, not 16, instructions for part 4.
30473
30474 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30475 support the latter anymore.
30476
30477 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30478 -DNO_PROTOTYPES.
30479 * gdb.base/callfuncs.c: Control use of prototypes based on
30480 NO_PROTOTYPES, not __STDC__.
30481 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30482 t_float_values2 tests if prototypes in use.
30483
30484 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30485 t_double_values): When checking differences against DELTA, check
30486 that difference is within the range (-DELTA,DELTA), not just
30487 (-infinity,DELTA).
30488
30489Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30490
30491 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30492 'file' command firts, then 'target', then 'load', this is due to gdb
30493 target set up.
30494 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30495
30496Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30497
30498 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30499 FP load/store variants.
30500 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30501
30502Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30503
30504 * gdb.base/term.exp: Do not give a warning if not native, it is
30505 not an abnormal condition.
30506
30507Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30508
30509 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30510 t_char_array".
30511
30512Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30513
30514 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30515 are getting the version number.
30516
30517 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30518 if not native, it is not an abnormal condition.
30519
30520Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30521
30522 * lib/gdb.exp: Just use "file exists", rather than undocumented
30523 dejagnu procedure "findfile".
30524
30525Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30526
30527 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30528 (LDFLAGS): Set to -Xlinker -Ur.
30529
30530 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30531 Removed, these values are set by lib/gdb.exp.
30532
30533 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30534
30535Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30536
30537 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30538 of replicating gdb startup code.
30539
30540 * config/mt-vxworks (LDFLAGS): Set to -r.
30541 (CFLAGS_FOR_TARGET): Removed.
30542
30543 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30544 (gdb) and gdb for vxworks uses (vxgdb).
30545
30546 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30547 executable is not in the tree and host != target, use sed and
30548 program_transform_name to determine the gdb name used by the
30549 target.
30550
30551 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30552 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30553
30554Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30555
30556 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30557 floats, chars, and shorts where there are ANSI-style function
30558 definitions.
30559
30560 * gdb.base/langs.exp, gdb.base/langs*: New test.
30561 * gdb.base/Makefile.in: Build it.
30562 * TODO: Remove item about checking that C names don't get C++
30563 demangling applied; this test tests it.
30564
30565Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30566
30567 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30568 went with the const70 xfail. The xfail went away a year ago.
30569
30570 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30571
30572 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30573 for hp300.
30574
30575 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30576
30577 * gdb.base/a1-selftest.exp: Don't run on hp300.
30578
30579Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30580
30581 * Makefile.in (site.exp): Set host_alias and target_alias as well
30582 as host_triplet and target_triplet.
30583
30584Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30585
30586 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30587
30588 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30589 places as other ecoff systems).
30590
30591 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30592 ultrix.
30593
30594Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30595
30596 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30597 remove them.
30598 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30599 variable and "variable" in addition to "data variable".
30600 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30601
30602 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30603 2.
30604 * gdb.base/list1.c (long_line): Add additional statement at start
30605 of function.
30606 * gdb.base/list.exp (test_forward_search): Update line number to
30607 reflect new statement.
30608
30609Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30610
30611 * gdb.base/signals.exp: Reinitialize searched source directories
30612 after gdb_start call.
30613
30614Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30615
30616 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30617 * gdb.stabs/Makefile.in: Likewise.
30618
30619 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30620 change. Instead split the tests into smaller pieces.
30621 * gdb.disasm/hppa.s: Corresponding changes.
30622
30623Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30624
30625 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30626 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30627
30628 * gdb.base/funcargs.exp: Modify many tests so that every test
30629 either passes or fails. Make some test names unique.
30630
30631Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30632
30633 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30634 Call stty to set interrupt character.
30635
30636 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30637 for HP assembler versus GNU assembler based on actual behavior of
30638 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30639
30640 * TODO: Suggest a few more stepping tests.
30641
30642Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30643
30644 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30645 restart GDB for h8300 after a continue.
30646 (return): Add pattern to match a29k-udi behavior.
30647 * gdb.base/nodebug.exp: Remove obsolete comment.
30648 * gdb.base/regs.exp: New file, testing of register displays.
30649 * gdb.base/return.exp: Fix typo in reference to $objdir.
30650 * gdb.base/whatis.exp: Always start with a fresh GDB.
30651
30652Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30653
30654 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30655 higher, these tests generate a lot of output.
30656
30657Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30658
30659 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30660 code following the catch silently ignored some errors; without the
30661 catch they should be thrown like any other tcl error. Also, the
30662 catch used "" instead of {} which meant all the callers who wanted
30663 to include one of the characters "[]$ had to quote it an extra time.
30664 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30665 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30666 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30667 Remove extra quoting.
30668
30669Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30670
30671 * gdb.base/commands.exp: Make test names unique; every test either
30672 passes or fails. Update some comments.
30673
30674 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30675
30676Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30677
30678 The following fixes a FAIL caused by the fact that the alpha stabs
30679 configuration didn't use the ".if alpha" code in weird.def.
30680 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30681 bit pointer, so the 32 bit version works even on the alpha.
30682 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30683 Remove the stuff which allowed us to have separate versions for
30684 alpha and everything else.
30685
30686 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30687 regexp which "info func operator\[\](" is supposed to match. Fix
30688 string to send to GDB. Note that GDB still doesn't work right. Add a
30689 new test for "info func .perator\[\](" which GDB does handle correctly.
30690
30691 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30692
30693Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30694
30695 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30696 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30697 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30698 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30699 it makes the tests harder to understand and confuses test-o-matic.
30700 The preferred style is that each test provides a PASS or a FAIL,
30701 and has a unique message (e.g. "continue #54" not just "continue")
30702 which is the same for the pass and the fail.
30703 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30704 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30705 to lib/gdb.exp.
30706 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30707 prt_accept which was basically the same thing. Likewise for
30708 test_print_reject and prt_reject.
30709 * lib/gdb.exp (test_print_reject): Add some more error message
30710 patterns to match from the former printcmds.exp (prt_reject).
30711 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30712 One defect of the passcount stuff is that some of it failed to
30713 report XPASS where appropriate.
30714 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30715 stuff before and after arg in expected pattern.
30716 (test_paddr_operator_functions): Re-do test without print_addr_of;
30717 this is the only test which seems to want extra stuff there.
30718
30719Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30720
30721 * gdb.base/nodebug.exp: Update new tests to reflect improved
30722 wording of gdb output.
30723
30724 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30725 and "ptype" work on variables in files compiled without -g.
30726 Replaces commented out "maint print msymbol" tests.
30727
30728Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30729
30730 * gdb.base/setvar.c (dummy): Call malloc.
30731
30732 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30733 losing with the irix4 sed.
30734
30735 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30736 ALRM" on irix4.
30737
30738Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30739
30740 * TODO: Remove items about corefile.exp testing new exec-file and
30741 backtrace; both are now done. Add items about printing enums.
30742
30743Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30744
30745 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30746 "get signal $thissig" test fails.
30747
30748 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30749
30750Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30751
30752 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30753 compiler warning with dec alpha compiler.
30754
30755 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30756 extra \n from gdb_test call (this explains why the prompt test
30757 that I removed yesterday was there).
30758 (user_defined_command_test): Remove extra \n and prompt test.
30759
30760 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30761 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30762 doesn't exist.
30763 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30764 Also remove alpha workaround, which turns out to be because
30765 SIGABRT == SIGLOST.
30766
30767 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30768
30769 * gdb.base/help.exp: Don't test "help show".
30770
30771Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30772
30773 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30774 "set print address" is on.
30775 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30776 pass prompt to gdb_test; gdb_test already looks for the prompt.
30777
30778 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30779
30780 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30781 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30782 was to make sure that gdb can read a core file. But (a) the "read
30783 the corefile" part didn't make it to a1-selftest.exp, we just
30784 delete the corefile after creating it, and (b) we test reading
30785 corefiles in corefile.exp anyway. Also, this test left around a
30786 xgdb process on Solaris.
30787
30788 * gdb.base/corefile.exp: Also test backtrace.
30789
30790Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30791
30792 * gdb.base/commands.exp: Test a simple user defined command with
30793 arguments and if/while statements; verify the full user command is
30794 printed by "show user".
30795
30796 * gdb.base/commands.exp: Test if/while commands as part of a
30797 breakpoint command list; verify they appear in breakpoint
30798 information.
30799
30800Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30801
30802 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30803 than by dividing by zero.
30804
30805Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30806
30807 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30808 performing an inferior call with watchpoints enabled.
30809 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30810 call.
30811
30812Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30813
30814 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30815 of "file" command.
30816
30817 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30818 Add additional pattern for when "int operator int(void);" appears
30819 in a different order.
30820
30821Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30822
30823 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30824
30825 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30826 and "signal" with ".*".
30827
30828Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30829
30830 * TODO: Add note about "handle all nostop".
30831
30832 * gdb.base/{sigall.c, sigall.exp}: New test.
30833 * gdb.base/Makefile.in: Add it.
30834
30835Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30836
30837 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30838 when invoking GDB, suppresses any windowing interface.
30839
30840Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30841
30842 * config/sim-gdb: New file, simulator testing support.
30843
30844Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30845
30846 * gdb.base/interrupt.exp: Test calling func1 twice.
30847
30848Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30849
30850 * gdb.base/list.exp (test_forward_search): Set timeout higher
30851 when we'll be getting lots of output from gdb.
30852
30853 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30854 "init_malloc" to after the expect statement. Run it if that
30855 regexp is taken, but also for two others which happen if source
30856 cannot be found.
30857
30858Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30859
30860 * gdb.base/printcmds.exp: New test, for printing register before
30861 program is running.
30862
30863Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30864
30865 * gdb.base/list.exp: Correct some alternate expect patterns
30866 to reflect changes in list1.c.
30867
30868Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30869
30870 * TODO: Add item regarding large frames.
30871
30872 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30873
30874 * TODO: Remove item about enabling return.exp; it
30875 is enabled. Suggest a few more "return" tests.
30876
30877Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30878
30879 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30880 anonymous unions.
30881
30882Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30883
30884 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30885 and pr-5646.o, so "make" is the same as "make all", not "make
30886 pr-4975.o".
30887
30888Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30889
30890 * gdb.base/list.exp: Adjust expectations to reflect changes in
30891 list1.c.
30892 (test_forward_search): New test proc.
30893 * gdb.base/list1.c (long_line): New function, has long source line.
30894
30895Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30896
30897 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30898 additional line of code that was added.
30899
30900Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30901
30902 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30903 tests so as not to overflow expect's input buffers.
30904 * gdb.disasm/hppa.exp: Corresponding changes.
30905
30906Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30907
30908 Beginnings of template debugging tests.
30909 * gdb.c++/templ-info.cc: New file to test for template
30910 debugging capability of the compiler.
30911 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30912 templ-info.cc.
30913 * gdb.c++/templates.cc: Add explicit template instantiations
30914 to enable compiling with -fno-implicit-templates. Add destructor
30915 and 'value' method to T5 class for template tests.
30916 * gdb.c++/templates.exp: Add testcases for printing of template
30917 types, setting breakpoints on template methods and calling a
d63a86f8 30918 template method.
c906108c
SS
30919
30920Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30921
30922 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30923 branch target since some assemblers (gas-2.5) may emit a
30924 relocation for the branch instead of resolving it in the
30925 assembler.
30926
30927Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30928
30929 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30930 through signal handler.
30931
30932Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30933
30934 * configure.in (*-*-netware): Use config/mt-netware.
30935
30936 * config/mt-netware: New file.
30937 * config/mt-i386-netware: Removed, separate configs for different
30938 netware architectures are no longer needed now that we have
30939 --with-headers.
30940
30941Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30942
30943 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30944 by the recent changes to use ANSI C arithmetic conversions.
30945
30946Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30947
30948 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30949 bug involving using inferior_pid to figure out whether to select a
30950 frame.
30951
30952Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30953
30954 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30955 match the current disassembler output.
30956
30957Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30958
30959 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30960 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30961 types, expect "int" as type of integer values (for now).
30962
30963Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30964
30965 * gdb.base/commands.exp: New tests for if/while commands.
30966
30967Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30968
30969 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30970 by .*, since hex values have different syntax in Chill mode.
30971
30972Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30973
30974 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30975 linefeed from expect pattern for repeated types with indices > 9.
30976
30977Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30978
30979 First part of Fortran test suite.
30980 * gdb.fortran: New directory.
30981 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30982
30983Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30984
30985 * gdb.base/default.exp: Update expect pattern for load command
30986 without arguments.
30987
30988Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30989
30990 * configure.in: Change i386 to i[345]86.
30991 * gdb.base/configure.in: Likewise.
30992 * gdb.c++/configure.in: Likewise.
30993 * gdb.chill/configure.in: Likewise.
30994
30995Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30996
30997 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30998 patterns, since that is not a valid context for comments.
30999
31000Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31001
31002 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31003 repeated types and repeated types with indices > 9.
31004
31005Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31006
31007 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31008 2417; old bug has been fixed.
31009
31010Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31011
31012 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31013 send the newline ourselves instead of assuming gdb_test will do
31014 so when passed an empty input string.
31015
31016 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31017 stabs testcode.
31018
31019Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31020
31021 * lib/gdb.exp (gdb_test): Don't send anything if the first
31022 argument is an empty string. This makes cases where we want to
31023 match output that is already in expect's buffers (for example,
31024 matching a breakpoint after gdb_run_cmd has been called) work
31025 reliably.
31026
31027Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31028
31029 * config/netware.exp: New file.
31030
31031Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31032
31033 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31034 the -B and -L prefixes so we can find the debugging stub.
31035
31036 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31037 there and we are using the gcc from the tree.
31038
31039 * gdb.base/types.c: Removed.
31040
31041 * gdb.base/configure.in: Look for makefile fragments in ../config.
31042 Recognize i386-*-netware.
31043 * gdb.c++/configure.in: Likewise.
31044
31045Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31046
31047 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31048 the correct TCL syntax.
31049
31050Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31051
31052 * gdb.base/opaque.exp: use runto instead of messing around with
31053 breakpoints. Simplify by using gdb_test.
31054
31055 * gdb.base/bitfields.exp: restart between tests on netware targets
31056 because breakpoints aren't relocated after target death. Run
31057 processes to completion.
31058
31059 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31060
31061Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31062
31063 * Makefile.in: Remove extra tabs that confuse some versions
31064 of "make". Use the newly built gdb to test with by default,
31065 rather than the first one in the tester's search path.
31066
31067Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31068
31069 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31070
31071 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31072 condition help.
31073
31074Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31075
31076 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31077
31078 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31079 running.
31080 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31081 * gdb.base/funcargs.exp: Likewise.
31082
31083 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31084 * gdb.base/funcargs.exp: Likewise.
31085
31086 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31087 message is "".
31088
31089Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31090
31091 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31092 return,signals,twice}.exp: Handle non-existant binaries
31093 consistantly.
31094
31095 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31096 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31097 might testing a cross development system.
31098
31099Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31100
31101 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31102 runtest script is relative to ${srcdir}, not ${rootdir}.
31103
31104Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31105
31106 * gdb.base/signals.exp: Allow for optionality of breakpoint
31107 address.
31108
31109Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31110
31111 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31112
31113Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31114
31115 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31116 for size_t definition.
31117 * gdb.c++/templates.cc: Likewise
31118
31119 * config/mt-i386-netware: New file.
31120
31121 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31122 defined.
31123
31124 * gdb.base/Makefile.in: Added support for systems that name core
31125 files by appending "core" to the program name.
31126 * gdb.base/a1-selftest.exp: Likewise.
31127
31128Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31129
31130 * gdb.base/return.exp: Add comment and message for `return double'
31131 test failure on Sparc Solaris.
31132
31133Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31134
31135 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31136
31137Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31138
31139 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31140 from optimizing them away.
31141 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31142 patterns to include default constructors and assignment operators,
31143 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31144 character in the output of the virtual base pointer.
31145
31146Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31147
31148 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31149 expression match in print_addr_of to avoid unintented matches.
31150 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31151 versions up to 2.5.8.
31152
31153Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31154
31155 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31156 included file to run under newer versions of expect.
31157 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31158 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31159 Remove xfail for the virtual table of BDDHookV.
31160
31161Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31162
31163 * lib/gdb.exp (string_to_regexp): Set a default result.
31164 (default_gdb_start): Fix misleading message.
31165
31166Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31167
31168 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31169 Remove all CC, etc definitions.
31170 * config/mt-hpux: New file.
31171 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31172 (CFLAGS, LDFLAGS): Define.
31173 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31174
31175 * Makefile.in (site.exp): Don't insert host_os, etc.
31176 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31177 (distclean): Check existence of subdir.
31178 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31179 * gdb.base/Makefile.in: General cleanup and simplification.
31180 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31181 to build executables. Use default rule to build .o files.
31182 (EXPECT, RUNTEST, CC): Fix relative pathname.
31183 (site.exp): Don't insert host_os, etc.
31184 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31185 and/or SIGUSR1 defined.
31186 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31187 * gdb.c++/Makefile.in: General cleanup and simplification.
31188 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31189 (CFLAGS): Remove.
31190 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31191
31192Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31193
31194 * gdb.base/recurse.exp: Misc changes to get tests running again
31195 after Kung's changes to the watchpoint code.
31196 * gdb.base/watchpoint.exp: Likewise.
31197
31198Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31199
31200 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31201
31202Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31203
31204 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31205 * lib/gdb.exp (default_gdb_start): Define.
31206 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31207 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31208 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31209 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31210 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31211 Don't call gdb_target_udi in between tests.
31212
31213Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31214
31215 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31216 (which was basically just a local version of the same thing). In
31217 addition to avoiding duplication, gdb_test_exact is faster.
31218 * lib/gdb.exp (gdb_test_exact): Fix typo.
31219
31220 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31221 don't give an error.
31222
31223 * gdb.base/term.exp: Call delete_breakpoints before starting.
31224
31225 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31226 (t10): Add comment.
31227
31228Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31229
31230 Reorganization of the GDB Test Suite.
31231
31232 * gdb.base: New directory, contains all the basic tests.
31233 * gdb.c++: New directory, tests specific to C++.
31234 * gdb.chill: New directory, tests specific to Chill.
31235 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31236 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31237 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31238 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31239 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31240 t30-31 to chill).
31241 * */gdbme.*: Rename to match appropriate expect scripts.
31242 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31243 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31244 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31245 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31246 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31247 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31248 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31249 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31250 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31251 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31252 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31253 gdb.c++/virtfunc.cc: New names of C++ files.
31254 * gdb.chill/chillvars.ch: New name of Chill file.
31255 * gdb.base/configure.in, gdb.c++/configure.in,
31256 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31257 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31258 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31259 * configure.in (configdirs): Update to reflect directory changes.
31260 (target_abbrev): No longer define for any configuration.
31261 * Makefile.in: Cosmetic improvements to header comments.
31262
31263Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31264
31265 Various changes to gdb.t31:
31266
31267 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31268 * gdbme.ch: Make all key-words and predefineds be upper-case.
31269 * chillvars.exp: Expect key-words and predefinds in upper-case.
31270
31271 * chillvars.exp: Use gdb_test_exact many places.
31272 Change expected output for arrays (which now includes index labels).
31273
31274 * pr-5020.exp, gdme.ch (module PR_5020):
31275 New test, for PR-5020.
31276
31277Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31278
31279 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31280 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31281
31282Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31283
31284 * Makefile.in: Fix bit-rot in definitions of CHILL,
31285 CHILL_FOR_TARGET and Chill_LIB.
31286 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31287 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31288 CHILL, and CHILL_LIB.
31289
31290Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31291
31292 * Revert the previous changes. Please see Rob's directory
31293 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31294
31295Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31296
31297 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
31298 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31299 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31300 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
31301 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31302 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31303 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31304 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31305 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31306 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31307 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31308 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31309 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31310 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31311 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31312 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31313 changes from 94Q1.
31314
31315Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31316
31317 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31318 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31319 Rob's new testing fragments.
31320
31321Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31322
31323 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 31324 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
31325
31326Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31327
31328 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31329 version also, match on casted version strings, and match on
31330 gdb startup case where the line numbers might be messed up.
31331
31332Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31333
31334 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 31335 (CFLAGS): Delete it from here.
c906108c
SS
31336
31337Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31338
31339 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31340
31341Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31342
31343 * Makefile.in (RUNTEST): Default to just "runtest".
31344
31345Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31346
31347 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31348 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31349 the code has been restructured.
31350
31351Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31352
31353 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31354 \n, not just one of each.
31355
31356 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31357 /bin/cc gives a warning if you do.
31358
31359Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31360
d63a86f8 31361 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
31362 __t10ListS_link1ZUiRCUiPT0
31363
31364Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31365
31366 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31367 on local variables in recursive functions.
31368
31369 * gdb.t07/Makefile.in: Build the new test.
31370
31371Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31372
31373 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31374 directly. Instead compare the return values from actual calls.
31375
31376Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31377
31378 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31379
31380Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31381
31382 * From Peter Schauer with minor modifications.
a9c64011
AS
31383 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31384 stops in mid-line in the caller. Add xfail for returning a float
31385 value on X86 targets.
c906108c
SS
31386
31387Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31388
31389 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31390 to avoid expect lossage.
31391 (fmem_LRbug_tests): Likewise.
31392 * gdb.disasm/hppa.s: Corresponding changes.
31393
31394 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31395 conditions to work with latest dejagnu/expect.
31396
31397 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31398 expected to fail on the PA.
31399 (backtrace in call with trampolines): Explicitly require main
31400 to be frame #1 (no trampolines should show up in backtrace).
31401
31402 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31403 "continue -expect".
31404 * gdb.t06/break.exp: Likewise.
31405 * gdb.t07/watchpoint.exp: Likewise.
31406 * gdb.t13/bitfields.exp: Likewise.
31407 * gdb.t15/{funcargs,return}.exp: Likewise.
31408 * gdb.stabs/weird.exp: Likewise.
31409 * config/{mips,udi}-gdb.exp: Likewise.
31410
31411 * hppa.sed: Enclose comments within a sed command to avoid
31412 losing with the old OSF1 sed.
31413
31414Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31415
31416 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31417 sequent dynix.
31418 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31419 * gdb.t15/funcargs.exp: Conditionally step again to really
31420 finish from marker_call_with_trampolines. Handle the case where
31421 the first step from within call_with_trampolines already steps
31422 us back to main.
31423 * gdb.t15/gdbme.c: Add comment to closing brace of
31424 call_with_trampolines for funcargs.exp.
31425
31426Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31427
d63a86f8 31428 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
31429 Fix typo(s).
31430
31431Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31432
31433 * gdb.t07/gdbme.c: More code for watchpoint testing.
31434
31435 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31436 "Hardware watchpoint" throughout file.
31437 (test_watchpoint_triggered_in_syscall): New test.
31438 (test_complex_watchpoint): New test.
31439
31440Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31441
31442 * gdbme.c (call_with_trampolines): New function to try and step
31443 into. Tests trampoline problems on the PA.
31444
31445 * funcargs.exp (localvars_in_indirect_call): No longer expect
31446 stepping into indirect call to fail on PAs.
31447 (test_stepping_over_trampolines): New test.
31448
31449Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31450
31451 * TODO: Add suggestions for static member function tests, and
31452 completion tests.
31453
31454Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31455
31456 * TODO: Add suggestions for "p/a" tests.
31457
31458 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31459 (default_gdb_exit): Replace all the hair with sending "quit" to
31460 the process with a simple close.
31461
31462Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31463
31464 * TODO: Add suggestions for shared library tests.
31465
31466Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31467
31468 * TODO: Add suggestions for x/s tests.
31469
31470Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31471
31472 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31473 "enable once", and "enable breakpoints once" with ".*".
31474
31475Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31476
31477 * TODO: Add suggestions about structure passing tests.
31478
31479Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31480
31481 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31482 the primary1 test, use work around if __GNUC__ < 2.
31483 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31484 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31485 Test for bad output rather than waiting for timeout. Issue
31486 second continue only if first continue failed.
31487
31488Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31489
31490 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31491 operator[] test with gdb_test because the old code didn't seem to
31492 be getting the quoting right with the new dejagnu.
31493
31494Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31495
31496 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31497 one from the path.
31498 * Makefile.in: Use a fresh expect if there is one, use runtest
31499 from the src tree if there is one.
d63a86f8 31500
c906108c
SS
31501Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31502
31503 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31504 next over recursive call. Revise the tests from that point on
31505 (which had been skipped) to match GDB's actual (correct) output.
31506
31507 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31508 with next over a breakpoint whose condition is false.
31509
31510 * gdb.t00/help.exp: Comment out "help set print" tests just like
31511 (and for same reason as) "help set" test.
31512
31513Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31514
31515 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31516 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31517
31518Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31519
31520 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31521 necessary gdb_target_udi.
31522
31523 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31524
31525 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31526 1838 and 2417; they are fixed.
31527
31528 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31529 gdb.t03/ptype.exp (ptype structure, ptype union):
31530 Remove xfails; the test is looser than when the xfails were added.
31531
31532 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31533 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31534
31535 * gdb.t01/run.exp: Only run shell test if isnative.
31536
31537 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31538 since "run" automatically loads if necessary. Call gdb_target_udi
31539 after the "file" since "file" kills any execution target.
31540
31541 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31542 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31543 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31544 argument for UDI.
31545
31546Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31547
31548 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31549
31550 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31551
31552Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31553
31554 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31555 properly quoting regexps. This makes the second argument to
31556 demangle a fixed string, which matches the callers, instead of a
31557 shell-style pattern which is what the previous implementation
31558 used. Update some of the callers.
31559
31560Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31561
31562 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31563 (comib_nullified_tests): Fix typo.
31564 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31565 strings. No longer expected to fail.
31566
31567 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31568 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31569 strings. No longer expected to fail.
31570
31571 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31572 string. No longer expected to fail.
31573
31574Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31575
31576 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31577 No longer expected to fail.
31578
31579 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31580 string. No longer expected to fail.
31581
31582Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31583
31584 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31585 only in the names (I probably got most of them). I was even
31586 generous with some which differed in underscores in names, and
31587 probably missed a few, and I *still* was able to remove almost a
31588 third of the file with almost no impact on testsuite coverage.
31589
31590Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31591
31592 * gdb.t00/default.exp: Match udi_attach error message as well as
31593 the one from child_attach.
31594
31595 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31596
31597 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31598
31599 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31600 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31601
31602 * Move test with enums and partial symbols back to
31603 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31604 Reverts the change of 26 May 93. Per today's change to
31605 stabs.texinfo, the behavior that weird.exp was expecting was
31606 unreasonable; what is important is that the compiler+gdb get
31607 things right, which happens with a recent gcc. Also fix the test
31608 to deal with native compilers which put out the stab gdb can't
31609 deal with.
31610
31611Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31612
31613 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31614 in the names. The main thing these accomplish is to slow things down.
31615 Many more such duplicates surely remain.
31616
31617 * gdb.t00/help.exp: Comment out "help support" test just like
31618 (and for same reason as) "help set" test.
31619
31620Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31621
31622 * gdb.t06/break.exp: Remove setup_xfails for
31623 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31624 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31625 about known bug in gcc to include up through 2.5.8.
31626 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31627 well as "_vb$".
31628 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31629 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31630 with latest gcc and gdb.
31631 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31632 well as "_vb$".
31633
31634Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31635
31636 * configure.in (hppa*-*-*): Also configure and build stabs-only
31637 tests.
31638
31639Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31640
31641 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31642 * gdb.t10/configure.in (hppa*-*-*): Use it.
31643
31644Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31645
31646 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31647
31648Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31649
31650 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31651 versions prior to 1.13.5.
31652
31653Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31654
31655 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31656 the prompt is at the start of a line.
31657
31658Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31659
31660 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31661 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31662 in the copr tests now.
31663 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31664 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31665 expected to fail.
31666
31667Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31668
31669 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31670 gdb.t31/chillvars.exp, lib/gdb.exp:
31671 Tweak to run under either version of expect.
31672 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31673 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31674 * gdb.t11/list.exp: Remove extraneous whitespace.
31675
31676Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31677
31678 * gdb.t16/printcmds.exp (test_print_strings): Accept
31679 "(unsigned char *) " before the string.
31680
31681 * TODO: Add notes about printing of fancy types and GDB expressions.
31682
31683Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31684
31685 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31686 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 31687 if doing mips-idt-ecoff.
c906108c
SS
31688
31689Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31690
31691 * Most .exp files: Tweak to run under either version of expect.
31692
31693Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31694
31695 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31696 xfails; I'm not sure why they are failing, but not because of PR 1806.
31697
31698Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31699
31700 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31701 defined in lib/gdb.exp.
31702
31703Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31704
31705 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31706 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31707 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31708 have to be typeless.
31709
31710Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31711
31712 * TODO: Add suggestion for copyright year test.
31713
31714Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31715
31716 * configure.in (*-*-lynxos*): Add stabs tests.
31717
31718Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31719
31720 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31721 so insert a tab before any assembler directive in column zero.
31722
31723 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31724 stores.
31725 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31726 stores.
31727 (fpu_short_memory_tests): Likewise.
31728
31729Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31730
31731 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31732 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31733 .stabs directives in comments.
31734
31735Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31736
31737 * TODO: New file, describing tests we could write.
31738 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31739
31740Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31741
31742 * gdb.t06/signals.exp: Add kludge to force re-sync.
31743
31744 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31745 to xgdb instead of gdb, get out of gdb.
31746
31747Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31748
31749 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31750 for info.
31751
31752Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31753
31754 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31755 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31756 * gdb.stabs/hppa.sed: New sed script for the PA.
31757
31758Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31759
31760 * gdb.stabs: Re-write weird.def and configuration to use sed
31761 instead of cpp. sed is portable and POSIX; cpp is neither.
31762
31763Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31764
31765 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31766
31767Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31768
31769 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31770
31771Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31772
31773 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31774 "_vb$".
31775 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31776 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31777
31778Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31779
31780 * lib/gdb.exp: Comment out code which depends on non-existent
31781 `transform' procedure.
31782
31783Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31784
31785 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31786 * lib/gdb.exp: Transform tool name.
31787 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31788 1.1's new error handling system.
31789
31790Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31791
31792 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31793
31794Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31795
31796 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31797 They made pattern matching so slow that timeouts happened on
31798 heavily loaded systems. Now any output from "show print" which
31799 gets us back to the GDB prompt is a PASS.
31800
31801Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31802
31803 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31804
31805Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31806
31807 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31808
31809 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31810 It is not from PR 3220.
31811
31812Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31813
31814 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31815 just started failing because they depended on the order the
31816 subcommands are presented, or exact docstring text. This kind of
31817 test is a pain and has minimal benefit.
31818
31819Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31820
31821 * gdb.t09/corefile.exp: At end of test, use "core" command with
31822 no arguments.
31823
31824Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31825
31826 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31827 17}/Makefile.in: Make it possible to run the testsuite with Sun
31828 make and CC = cross gcc by adding explicit build rules for .o
31829 files.
31830
31831Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31832
31833 * gdb.t15/funcargs.exp: Don't put comments on same line as
31834 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31835
c906108c
SS
31836Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31837
31838 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31839
31840Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31841
31842 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31843 * gdb.t20/inherit.exp: remove three dumplicate entries.
31844
31845Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31846
31847 * gdb.t06/break.exp: For "next over recursive call", fail on any
31848 incorrect output, not just on "factorial (value=2)".
31849
31850Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31851
31852 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31853 working now. Add an xfail if accesing a bss variable causes
31854 a memory error if the target is not yet run.
31855
31856Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31857
31858 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31859 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31860 name of __st* demangling (2 strings). Did Kung really get the
31861 more than 95 others right without testing them?
31862
31863Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31864
31865 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31866
31867Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31868
31869 * configure.in (configdirs): Add gdb.disasm
31870 * gdb.disasm: New directory for GDB disassembler tests.
31871 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31872
31873Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31874
31875 * gdb.t00/help.exp: Don't test "help set".
31876
31877 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31878 from within expect statements. None of these happen anymore and
31879 they cause regressions to be silently unnoticed.
31880
31881 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31882 messages) about known failures with gcc cygnus-2.4.5-930417.
31883
31884 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31885 comp-info.exp so it gets built if it doesn't exist.
31886
31887 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31888 it is no longer used.
31889 * gdb.t13/comp-info.c: Removed.
31890
31891Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31892
31893 * gdb.t06/signals.exp: Add xfail for sun3.
31894
31895Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31896
31897 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31898 relevant because ^C doesn't get sent but failure can be reproduced
31899 interactively).
31900
31901Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31902
31903 * gdb.stabs/alpha.mt: New configuration file for alpha.
31904 * gdb.stabs/configure.in: Use it.
31905 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31906 sharing with alpha.mt, redefine long to word via preprocessor.
31907 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31908 for alpha.
31909 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31910 native cc.
31911 * gdb.t00/teststrategy.exp: Change expect string so that we
31912 consume the `(xgdb)' from the command echo and from the gdb prompt.
31913 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31914 gdb currently compares all values as long, so this failure probably
31915 applies to any configuration where LONGEST is bigger than a target int.
31916 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31917 with gcc.
31918 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31919 to handle opaque pointers, gcc is.
31920 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31921 as first argument. Include <sys/types.h> and change all operator
31922 new definitions to use size_t.
31923 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31924 now that we use size_t.
31925
31926Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31927
a9c64011 31928 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31929 a long or float array cast all array members to the same type.
a9c64011 31930 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31931 with 64 bit longs.
a9c64011 31932 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31933 on alpha.
a9c64011 31934 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31935
31936Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31937
31938 * gdb.t24 (demangle.exp): Constructors of templates have names like
31939 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31940 section 14.6 of the ARM.
31941
31942 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31943 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31944 accomplish little and slow down the testsuite.
31945
31946 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31947 Accept spaces various places.
31948
31949Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31950
31951 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31952 with watchpoint enabled.
31953
31954 * Makefile.in: Remove definition of CC and remove the second
31955 definition of CXX (the "CXX = gcc" one remains). These definitions
31956 were causing backquotes to be expanded within backquotes, which
31957 doesn't work.
31958
31959Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31960
31961 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31962
31963Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31964
a9c64011
AS
31965 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31966 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31967 by mips cc and contains no stabs entries.
31968
31969Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31970
31971 * config/vx-gdb.exp: Use fake device to load files rather than
31972 NFS.
31973 * lib/gdb.exp: New proc to do "file" command.
31974 * config/unix-gdb.exp: Use new "file" proc.
31975
31976Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31977
31978 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31979 Rework board rebooting slightly.
31980 (gdb_exit): Don't exit from the remote shell; there isn't one.
31981 * gdb.stabs/weird.exp: If a program is being debugged already,
31982 kill it.
31983 * gdb.t04/setvar.exp: Stop and restart gdb.
31984 * gdb.t05/expr.exp: Likewise.
31985 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31986 restart gdb and reload the program.
31987 * gdb.t08/opaque.exp: Likewise.
31988 * gdb.t12/scope.exp: Likewise.
31989 * gdb.t13/bitfields.exp: Likewise.
31990 * gdb.t15/funcargs.exp: Likewise.
31991 * gdb.t20/classes.exp: Likewise.
31992 * gdb.t03/ptype.exp: Increase timeout.
31993 * gdb.t16/printcmds.exp (test_print_string_constants,
31994 test_print_array_constants): Likewise.
31995 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31996 * gdb.t20/classes.exp (do_tests): Likewise.
31997 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31998
31999Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32000
32001 * gdb.stabs: Renamed *wierd* to *weird*.
32002
32003Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32004
32005 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32006 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32007
32008Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32009
32010 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32011 (do_tests): Remove xfail for whatis on one_var and two_var.
32012
32013Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32014
32015 * Makefile.in: Made cross building work better by adding
32016 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32017
32018Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32019
32020 * gdb.t15/{return.c,return.exp,Makefile.in}:
32021 New test, currently commented out.
32022
32023Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32024
32025 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32026 still running and removes the leftover named socket so GDb can do
32027 clean restarts.
32028
32029Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32030
32031 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32032 console, not GDB.
32033 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32034 cross testing works better with "make check"
32035 * config/unix-gdb: Use default procedures for exit and version.
32036 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32037 with the newest VxWorks.
32038
32039Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32040
32041 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32042 old form.
32043
32044 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32045 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32046
32047 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32048
32049 * config/unix-gdb.exp: Remove this version of gdb_exit
32050 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32051 Rob says he'll look at it when he gets back to testing boards.
32052
32053Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32054
32055 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32056 an expected fail for certain ptype commands.
32057
32058 * gdb.t20/classes.exp: Update expected results of "ptype class
32059 Base1" to account for the constructor that now appears in the type.
32060
32061Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32062
32063 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32064 disappeared from list.
32065 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32066 "alldone" proc with call to cleanup and exit.
32067 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32068 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32069 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32070 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32071 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32072 "alldone" proc with simple returns that suppress remaining
32073 tests. The alldone proc went away many months ago.
32074
32075Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32076
32077 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32078
32079 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32080
32081Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32082
32083 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32084 as vax gdb will display them.
32085
32086Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32087
32088 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32089 optimizers.
32090
32091 * scope.exp: Change "bad value for localval" messages so each one
32092 is unique.
32093
32094 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32095 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32096
32097 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32098
32099Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32100
32101 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32102 doesn't exist (due to optimization).
32103
32104Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32105
32106 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32107 contains \r because the filename is long.
32108
32109 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32110 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32111
32112Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32113
32114 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32115 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32116 Ultrix.
32117 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32118 int tests.
32119 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32120
32121Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32122
32123 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32124
32125 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 32126 to match does not match the passing case but still matches the
c906108c
SS
32127 failing case.
32128
32129Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32130
32131 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32132
32133Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32134
32135 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32136 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32137 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32138 Remove various versions of gdb_exit.
32139 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32140 gdb_exit.
32141 * config/unix-gdb.exp: gdb_exit remains here, and should override
32142 the generic version, since it's doing a lot of wierd stuff that
32143 the other versions aren't. FIXME, fold it in, or abandon this
32144 version.
32145
32146Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32147
32148 * gdb.t24/demangle.exp: Add tests for PR 3220.
32149
32150Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32151
32152 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32153
32154Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32155
32156 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32157 "i386-*-*". Works for i486 as well.
32158
32159 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32160 bug, and expand domain of xfail to all SVR4 systems, since the
32161 actual problem is likely to be in generic SVR4 /proc support.
32162
32163Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32164
32165 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32166
32167Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32168
32169 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32170 xfails for other systems. Match a missing 'Continuing.' as an
32171 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32172
32173 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32174 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32175 Only issue warning for missing executables if -all option is used.
32176
32177 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32178 file if -all option is used. It's like an unpredictable XFAIL.
32179
32180Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32181
32182 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32183 for dynamically linked binaries.
32184
32185 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32186
32187Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32188
32189 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32190 to state that this is a known bug in old versions of g++.
32191
32192Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32193
32194 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32195 while waiting for `Continuing'.
32196
32197Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32198
32199 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32200 in text, data, and bss.
32201 * gdb.t10/nodebug.c: Add local and global test variables for
32202 initialized and uninitialized data.
32203
32204Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32205
32206 * config/unix-gdb.exp (gdb_exit): Add "wait".
32207
32208Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32209
32210 * gdb.t06/signals.exp: xfail the continue from the handler for all
32211 targets.
32212
32213 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32214 function with watchpoints enabled, the i386 call dummy starts with
32215 a call.
32216
32217 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32218 386 bsd names its corefiles.
32219
32220Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32221
32222 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32223 compilers don't grok it.
32224 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32225 with small octal ints rather than character constants, which
32226 are signed and might not fit if first promoted to int.
32227
32228Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32229
32230 * gdb.t09/Makefile.in (clean): Remove corefile.
32231
32232Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32233
32234 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32235
32236Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32237 and Jim Kingdon (kingdon@cygnus.com)
32238
32239 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32240 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32241 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32242
32243Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32244
32245 * gdb.t17/interrupt.exp: Add xfail for hppa.
32246
32247Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32248
32249 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32250 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32251 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32252 to determine signed-ness of bitfields and use the result to setup
32253 the xfail.
32254 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32255 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32256 call line is reached if necessary.
32257
32258Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32259
32260 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32261
32262Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32263
32264 * gdb.t06/break.exp: Also test `clear' command.
32265
32266Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32267
32268 * gdb.t00/teststrategy.exp: Remove extra quote.
32269
32270 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32271 watchpoint enabled to be for all non-68k machines.
32272
32273 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32274
32275Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32276
32277 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32278 targets use aout.mt instead of ecoff.mt as gas understands
32279 standard aout format.
32280
32281Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32282
32283 * lib/gdb.exp (runto): Don't insist that function we are running to
32284 was compiled with -g.
32285
32286 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32287
32288 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32289 to get back into the read system call.
32290 Accept leading newline in case where we woke it up.
32291
32292Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32293
32294 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32295 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32296 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32297 enable ecoff configuration.
32298
32299Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32300
32301 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32302
32303Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32304
32305 * gdb.t16/printcmds.exp: Add another printf test.
32306
32307Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32308
32309 * configure.in: If configured -with-stabs on any target, add
32310 stabsdirs to configdirs.
32311
32312Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32313
32314 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32315 fun" so pattern does not match the command itself.
32316
32317Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32318
32319 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32320
32321Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32322
32323 * gdb.t17/interrupt.exp: Test for more things.
32324
32325Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32326
32327 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32328 compiler arranges the code and line numbers.
32329
32330 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32331
32332Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32333
32334 * gdb.t00/help.exp: Increase expect input buffer size.
32335
32336Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32337
32338 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32339
32340 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32341
32342 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32343
32344 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32345 [0-9]*, not just [0-9].
32346
32347Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32348
32349 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32350
32351 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32352
32353Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32354
32355 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32356
32357Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32358
32359 * gdb.t06/signals.c: Add xfails for sun3.
32360
32361 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32362
32363 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32364 test_stepping tests.
32365
32366Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32367
32368 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32369
32370 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32371
32372 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32373 rather than actually putting it through cpp twice.
32374
32375 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32376
32377Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32378
32379 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32380 no longer needed.
32381
32382Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32383
32384 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32385
32386 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32387 C++ features prints as "struct", make it a pass, not an xfail.
32388
32389Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32390
32391 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32392 Don't require VA to print as "class" rather than "struct".
32393
32394Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32395
32396 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32397
32398Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32399
32400 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32401
32402Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32403
32404 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32405 order.
32406
32407Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32408
32409 * gdb.t16/printcmds.exp: Add printf tests.
32410
32411 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32412
32413 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32414
32415Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32416
32417 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32418 pass counts, to counteract any existing or future setup_xfails.
32419
32420Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32421
32422 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32423 {BEGIN,END}_COMMON for common block instead of STAB.
32424 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32425
32426 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32427 intp_var should be N_GSYM not N_LSYM.
32428 wierd-aout.S: Use a label for the value of the N_SO.
32429 wierd.def: Remove all backslashes.
32430 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32431
32432Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32433
32434 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32435 get the expected next to inheritance3.
32436
32437Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32438
32439 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32440 now that gcc-2.4 gets it right.
32441
32442Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32443
32444 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32445
32446 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32447 generating comp-info.exp which works for cross-compilation.
32448
32449Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32450
32451 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32452 "*-*-sysv4.*".
32453
32454Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32455
32456 * gdb.t01/run.exp: Start with a fresh gdb.
32457 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32458 SVR4.x.
32459
32460Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32461
32462 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32463 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32464 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32465 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32466 things to remove.
32467
32468Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32469
32470 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32471 test cases from bug reports.
32472
32473Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32474
32475 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32476 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32477 avoid spurious xfails.
32478 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32479 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32480 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32481
32482Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32483
32484 * gdb.t00/teststrategy.exp: Rework to provide more useful
32485 description of each test, fix problem with systems that define
32486 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32487 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32488 results for "next over recursive call" so timeouts aren't taken
32489 by error.
32490
32491Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32492
32493 * gdb.t12/scope.exp: Test printing of variables before run.
32494
32495 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32496 printed in wrong order due to sorting.
32497
32498Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32499
32500 * gdb.t00/teststrategy.exp: Fix expected results for printing
32501 user entered string constant. Is array of char, prints with no
32502 address.
32503
32504 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32505 commands.
32506 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32507 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32508 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32509 of struct of char arrays.
32510 * gdb.t00/radix.exp: New tests for radix commands.
32511
32512Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32513
32514 * gdb.t16/printcmd.exp: Print a variable before running program
32515 (with xfail for AIX).
32516
32517Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32518
32519 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32520
32521 * gdb.t16/printcmd.exp: Don't print variables before running program.
32522
32523 * gdb.t06/break.exp: Don't require envp argument to main.
32524
32525 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32526
32527 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32528 Add xfails for rs6000.
32529
32530 * gdb.t02/whatis.exp: Change other tests not to re-test something
32531 we already tested.
32532
32533 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32534 each type used has a variable of that type.
32535
32536Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32537
32538 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32539
32540Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32541
32542 * configure.in: change srctrigger to be a file, not a directory
32543
32544Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32545
32546 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32547
32548 * gdb.t11/list.exp: Fixed a couple of typos.
32549
32550Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32551
32552 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32553 is fixed and PR is closed.
32554 * gdb.t16 (gdbme.c): Add simple test string variable.
32555 * gdb.t16 (printcmds.exp): Add tests with simple test string
32556 variable, primarily for boundaries on "set print elements".
32557
32558Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32559
32560 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32561 Make leading 0's optional and don't expect a tab in the middle
32562 of the number.
32563
32564 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32565
32566 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32567 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32568 don't end command passed to gdb_test with newline.
32569
32570 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32571 signed keyword away, don't expect signed bitfields to be signed.
32572
32573 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32574 printing with only as many 1's as are in the field as well as printing
32575 with 32 1's (see comment).
32576
32577Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32578
32579 * gdb.t00/default.exp: Start with a fresh gdb.
32580 * configure.in (configdirs): Remove gdb.t31 until the chill
32581 compiler works again. It no longer is able to find chillrt0
32582 since it isn't in libchill.a anymore.
32583 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32584 wierd.o, make more modular.
32585 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32586 spurious newlines that caused problems.
32587
32588Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32589
32590 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32591 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32592 gdb.stabs/wierd.{exp,def}: Many new tests.
32593
32594 * gdb.t00/default.exp: update info line for new message.
32595
32596 * gdb.t02/{whatis.exp,gdbme.c}:
32597 Test that "char *" doesn't print as "caddr_t".
32598
32599Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32600
32601 * gdb.t00/help.exp: Use .* in place of some help messages which
32602 just changed.
32603 gdb.t00/default.exp: Update "info frame" test for new message.
32604 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32605 Remove some xfails
32606
32607Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32608
32609 * gdb.t03/{gdbme.c,ptype.exp}:
32610 Add tests for typedef'd struct and union without tags.
32611 Also check "whatis" on a variable of a typedef'd enum without a tag.
32612
32613 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32614 PRMS 1823; the bug still exists but isn't reproduced by this test
32615 anymore), and remove rs6000 XFAIL (the bug is fixed).
32616
32617 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32618 duplicated from whatis.exp. For those that are left, accept
32619 "long", "long int", or "int" for long variables (whatis.exp already
32620 has an XFAIL for "int", so no need to fail it here).
32621
32622 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32623 Deal with GCC's names for types now that GDB uses the compiler's names.
32624
32625 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32626 setup_xfail's for sunos4. If we #defined the signed keyword away,
32627 don't expect GDB to know that char it is signed.
32628
32629 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32630
32631Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32632
32633 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32634 should work on any system, regardless of debugging format.
32635 * gdb.t21/demangle.exp: Move to gdb.t24.
32636 * gdb.t24/demangle.exp: Move from gdb.t21.
32637 * gdb.t24/{Makefile.in, configure.in}: New files.
32638
32639Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32640
32641 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32642 * gdb.stabs: New directory.
32643
32644Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32645
32646 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32647 not just "Quit anyway?".
32648
32649Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32650
32651 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32652 that all setup_xfails are immediately followed by clear_xfails.
32653
32654Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32655
32656 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32657 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32658 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32659 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32660 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32661 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32662 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32663 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32664 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32665 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32666 gdb.t31/chillvars.exp, lib/gdb.exp:
32667 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32668 bug-gdb@prep.ai.mit.edu.
32669
32670Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32671
32672 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32673 with 0.0, not integer 0.
32674
32675Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32676
32677 * gdb.t06/break.exp: Update for "Kill the program" message change.
32678
32679Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32680
32681 * Makefile.in (GDBFLAGS): Set to -nx.
32682 * Makefile.in (site.exp): Use GDBFLAGS.
32683
32684Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32685
32686 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32687 Makefiles.
32688 (check): depend on just-check.
32689 (just-check): added so that tests can be run without a noop
32690 build pass.
32691
32692Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32693
32694 Switch to using configure's configdirs.
32695 * Makefile.in (Makefile): add configure.in dependency.
32696 (SUBDIRS): removed redundant assignment.
32697 * configure.in: switch subdirs assignment to configdirs.
32698 * gdb.t*/configure.in: new files.
32699
32700Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32701
32702 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32703 works.
32704
32705Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32706
32707 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32708 in explicit rules. Apparently this is not supported by some makes.
32709
32710Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32711
32712 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32713
32714Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32715
32716 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32717 disappeared.
32718
32719Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32720
32721 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32722
32723Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32724
32725 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32726 watchpoint problem that is now fixed.
32727 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32728 uninitialized convenience variables.
32729 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32730 structures.
32731
32732Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32733
32734 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32735 which causes expect to get out of sync with gdb on long output
32736 from help set.
32737 * gdb.t09/corefile.exp: Make expected pattern for core file
32738 failing signal and frame output format less sun specific.
32739
32740Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32741
32742 * gdb.t31/chillvars.exp: Add and remove initial dummy
32743 breakpoint, so that symbol table is forced in.
32744 (Needed at least on Sunos4, though it seems not SVR4.)
32745 * gdb.t31/chillvars.exp: Update for changed output format.
32746
32747Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32748
a9c64011 32749 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
32750
32751Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32752
32753 * Makefile.in: Added --srcdir when invoking runtest, removed the
32754 need for a local config file. (optional now)
32755
32756Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32757
32758 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32759 failure count used to force early termination. Add some more
32760 expected failures for gnu style demangling.
32761
32762Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32763
32764 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32765 pmi variable from gdb.t20/gdbme to get optimized away.
32766 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32767 Check for written corefile upon timeout _and_ eof.
32768
32769Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32770
32771 * config/unix-gdb.exp: Add missing return 0.
32772
32773Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32774
32775 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32776 test termination.
32777
32778Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32779
32780 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32781 disappeared.
32782
32783Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32784
32785 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32786 time as i860 support works.
32787
d63a86f8 32788 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32789 "backtrace 100\r" rather than just "backtrace\r", to match last
32790 change.
32791
32792Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32793
32794 * config/udi-gdb.exp (gdb_exit): Remove close command.
32795 (gdb_target_udi): New procedure to set the UDI target.
32796 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32797 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32798 Added waits for prompts after several question responses. Added
32799 some more responses used by a29k-amd-udi-gdb.
32800 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32801 pass different arguments, restart UDI connection after program
32802 completion.
32803 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32804 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32805 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32806 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32807 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32808 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32809 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32810 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32811 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32812 after program completion.
32813 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32814 compiled with a SELECT_VECS setting.
32815 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32816 infinite recursion.
32817
32818 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32819 Added checks for COFF results, and made them expected failures for
32820 all targets. It would be better to make them expected failures
32821 for COFF targets only.
32822
32823Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32824
32825 * Makefile.in: add null dvi target, don't bother to recurse
32826 through test directories for info and install-info; rename
32827 $(datadir) to be dejagnu instead of deja-gnu
32828
32829Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32830
32831 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32832 compiler to coredump.
32833 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32834 code.
32835
32836Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32837
32838 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32839 coredump.
32840 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32841 code.
32842
32843Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32844
32845 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32846 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32847 which in a shell. Deletes xgdb when done.
32848 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32849 Tests the return from the "set height" or "set width" commands.
32850 Added a few return codes where needed.
32851
32852Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32853
32854 * Makefile.in (SUBDIRS): Add gdb.t17.
32855 * configure.in (subdirs): Add gdb.t17.
32856 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32857 files to test gdb's calling of functions in the inferior with
32858 the correct arguments and gdb's ability to retrieve any
32859 result returned.
32860
32861Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32862
32863 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32864 may be called after gdb goes away. Previous versions of expect
32865 needed these to avoid file descriptor leaks, but they cause
32866 errors with the current revision of expect.
32867 * gdb.t00/gdbvars.exp: Use -re on expected output after
32868 setting sevenbit-strings.
32869 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32870 to set sevenbit-strings consistent across tests.
32871 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32872 set sevenbit-strings consistent across tests.
32873
32874Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32875
32876 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32877 expected output to match current "expect" expectations.
32878
32879Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32880
32881 * gdb.t00/default.exp: Change expected output for default "source"
32882 command, to match new gdb behavior which requires a filename to
32883 source.
32884
32885Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32886
32887 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32888 expected fail for i486-*-* that misses the marker2 function.
32889 * gdb.t10/crossload.exp (bfddefault): Allow successful
32890 recognition of a format to pass even if no symbols are found.
32891 Explicitly catch failures where the format is not recognized
32892 or is ambiguous, and add the reason to the fail message.
32893 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32894 the cause is and invalid target and add reason to failure message.
32895 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32896 elf32-i386, elf32-sparc, and elf32-i860.
32897 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32898 Set up expected failure for 'filename'::variable scope resolution,
32899 which is now apparently broken on all targets.
32900 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32901 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32902 gdb.t23/templates.exp: Change failure for missing binfile into
32903 just a warning.
32904 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32905 references.
32906
32907Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32908
32909 * gdb.t00/default.exp: Add expected output for default "source"
32910 command, to match new gdb behavior.
32911 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32912
32913Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32914
32915 * config/*-gdb.exp: returns an error, rather than exiting on
32916 internal errors.
32917
32918Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32919
32920 * gdb.t03/gdbme.c: Add pointer to struct variable.
32921 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32922 referencing struct members.
32923
32924Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32925
32926 * configure.in (mips-idt-ecoff): New target.
32927 * config/mips-gdb.exp: New file for remote board using MIPS remote
32928 debugging protocol.
32929
32930 * Redid configuration scheme. Removed gdb.t*/configure.in.
32931 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32932 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32933 distclean targets. Built executables via .o files. Adjusted
32934 tests to account for source files in $(srcdir) rather than
32935 $(objdir).
32936 * lib/gdb.exp (runto): Don't expect () after the function name,
32937 because it may have arguments.
32938
32939Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32940
32941 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32942 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32943 expected failures for mips-idt-* and mips-sgi-*.
32944 * gdb.t00/default.exp (attach): Kill process if requested.
32945 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32946 that does not read core files.
32947 * gdb.t01/run.exp: Removed checks for exit status code.
32948 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32949 it is linked in.
32950 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32951 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32952 appropriate, rather than doing it by hand.
32953 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32954 execution.
32955 * gdb.t10/crossload.exp: Kill existing program if needed.
32956 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32957 appropriate, rather than doing it by hand. Always increase
32958 timeout for this test, not just for VxWorks.
32959
32960Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32961
32962 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32963 of Chill STRUCT types and STRUCT values.
32964 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32965 than "char".
32966 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32967 struct2): New struct definitions and initializations to test
c906108c
SS
32968 simple Chill STRUCT types.
32969
32970Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32971
32972 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32973 the null byte at the end of strings.
32974 * gdb.t00/default.exp: Make show version insensitive to copyright
32975 date.
32976 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32977 to avoid dependencies on target char signedness.
32978 * gdb.t16/printcmds.exp: Update expected results for explicitly
32979 unsigned char.
32980 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32981 now work.
32982 * gdb.t21/demangle.exp: Add many more patterns for template
32983 demangling, most of them being expected failures.
32984 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32985 string we are matching for, to match on the whole string.
32986 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32987 and fix a whole bunch that had incorrect expected output but were
32988 passing anyway because of the bug in "proc demangle".
32989 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32990 type.
32991 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32992
32993Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32994
a9c64011
AS
32995 * gdb/testsuite: made modifications to testcases, etc., to allow
32996 them to work properly given the reorganization of deja-gnu and the
32997 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
32998
32999Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33000
33001 * gdb/testsuite: Initial creation of gdb/testsuite.
33002 Migrated dejagnu testcases and support files for testing nm to
33003 gdb/testsuite from deja-gnu. These files were moved "as is"
33004 with no modifications. This migration is part of a major overhaul
33005 of dejagnu. The modifications to these testcases, etc., which
33006 will allow them to work with the new version of dejagnu will be
33007 made in a future update.
48efe704 33008
8d8cb839 33009 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 33010\f
8d8cb839
EZ
33011;; Local Variables:
33012;; mode: change-log
33013;; left-margin: 8
33014;; fill-column: 74
33015;; version-control: never
33016;; End:
902f2ccb 33017
28e7fd62 33018 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
33019 Copying and distribution of this file, with or without modification,
33020 are permitted provided the copyright notice and this notice are preserved.