]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[AArch64] Fix test failures on elf configuration
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
629500fa
KS
12015-08-11 Keith Seitz <keiths@redhat.com>
2
3 * gdb.base/help.exp: Update help_breakpoint_text.
4
eb8c4e2e
KS
52015-08-11 Keith Seitz <keiths@redhat.com>
6
7 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8 (at toplevel): Call test_explicit_breakpoints.
9 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10 breakpoints.
11 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12 breakpoint conditions, "-cond".
13
87f0e720
KS
142015-08-11 Keith Seitz <keiths@redhat.com>
15
16 * gdb.linespec/3explicit.c: New file.
17 * gdb.linespec/cpexplicit.cc: New file.
18 * gdb.linespec/cpexplicit.exp: New file.
19 * gdb.linespec/explicit.c: New file.
20 * gdb.linespec/explicit.exp: New file.
21 * gdb.linespec/explicit2.c: New file.
22 * gdb.linespec/ls-errs.exp: Add explicit location tests.
23 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
24 before using in the matching pattern.
25 Clarify that `prefix' is a regular expression.
26
f00aae0f
KS
272015-08-11 Keith Seitz <keiths@redhat.com>
28
29 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
30 test.
31 Add tests for missing ",FMT" and ",".
32
e27852be
DE
332015-08-10 Doug Evans <dje@google.com>
34 Keith Seitz <keiths@redhat.com>
35
36 PR gdb/17960
37 * gdb.base/completion.exp: Add location completer tests.
38
7f03bd92
PA
392015-08-07 Pedro Alves <palves@redhat.com>
40
41 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
42 tests here.
43 (top level): Run do_test with and without displaced stepping.
44
3fc8eb30
PA
452015-08-07 Pedro Alves <palves@redhat.com>
46
47 * gdb.base/valgrind-disp-step.c: New file.
48 * gdb.base/valgrind-disp-step.exp: New file.
49
d4569d7b
PA
502015-08-07 Pedro Alves <palves@redhat.com>
51
52 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
53 Delete function.
54 (main): Add alarm. Run an infinite loop instead of calling
55 wait_threads.
56 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
57 comment.
58 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
59 Delete function.
60 (main): Add alarm. Run an infinite loop instead of calling
61 wait_threads.
62 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
63 comment.
64
e1316e60
PA
652015-08-07 Pedro Alves <palves@redhat.com>
66
67 * gdb.base/checkpoint-ns.exp: New file.
68 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
69 standard_testfile.
70
da8c46d2
MM
712015-08-07 Markus Metzger <markus.t.metzger@intel.com>
72
73 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
74 * gdb.btrace/instruction_history.exp: Update.
75 * gdb.btrace/tsx.exp: New.
76 * gdb.btrace/tsx.c: New.
77
de1c2c52
PA
782015-08-06 Pedro Alves <palves@redhat.com>
79
80 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
81 increase timeout.
82 * gdb.reverse/until-precsave.exp: Bump timeouts.
83
782e0bf4
PA
842015-08-06 Pedro Alves <palves@redhat.com>
85
86 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
87
83e97ed0
PA
882015-08-06 Pedro Alves <palves@redhat.com>
89
90 PR gdb/18749
91 * gdb.threads/process-dies-while-handling-bp.c: New file.
92 * gdb.threads/process-dies-while-handling-bp.exp: New file.
93
863d01bd
PA
942015-08-06 Pedro Alves <palves@redhat.com>
95
96 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
97 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
98
0a39bb32
PA
992015-08-05 Pedro Alves <palves@redhat.com>
100
101 * gdb.threads/next-while-other-thread-longjmps.c: New file.
102 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
103
ee2d2b10
SL
1042015-08-03 Sandra Loosemore <sandra@codesourcery.com>
105
106 * gdb.base/bp-permanent.exp: Report test as unsupported if
107 the target cannot stop at the permanent breakpoint.
108
4e1bdb00
DE
1092015-08-03 Doug Evans <dje@google.com>
110
111 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
112 10000.
113
3d338901
DE
1142015-08-03 Doug Evans <dje@google.com>
115
116 * Makefile.in (workers/%.worker, build-perf): New rule.
117 (GDB_PERFTEST_MODE): New variable.
118 (check-perf): Use it.
119 (clean): Clean up gdb.perf parallel build subdirs.
120 * lib/build-piece.exp: New file.
121 * lib/gdb.exp (make_gdb_parallel_path): New function
122 (standard_output_file, standard_temp_file): Call it.
123 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
124 of $GDB_PARALLEL.
125 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
126
af061d3e
DE
1272015-08-03 Doug Evans <dje@google.com>
128
8e1afc81 129 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
130 (LOG_FILE_NAME): New global.
131 (TextReporter.__init__): Initialize self.txt_sum.
132 (TextReporter.report): Add support for multiple data-points.
133 Move report to perftest.sum, put raw data in perftest.log.
134 (TextReporter.start): Open sum and log files.
135 (TextReporter.end): Close sum and log files.
8e1afc81
DE
136 * gdb.perf/lib/perftest/testresult.py
137 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 138
2c8c5d37
PA
1392015-07-31 Pedro Alves <palves@redhat.com>
140
141 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
142 Use spawn_id_get_pid. Wait for spawn id after eof. Use
143 kill_wait_spawned_process instead of explicit "kill -9".
144 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
145 returning a spawn id instead of a pid. Use spawn_id_get_pid and
146 kill_wait_spawned_process.
147 * gdb.base/attach-twice.exp: Likewise.
148 * gdb.base/attach.exp: Likewise.
149 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
150 gdb_test_multiple.
151 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
152 returning a spawn id instead of a pid. Use spawn_id_get_pid and
153 kill_wait_spawned_process.
154 * gdb.base/valgrind-infcall.exp: Likewise.
155 * gdb.multi/multi-attach.exp: Likewise.
156 * gdb.python/py-prompt.exp: Likewise.
157 * gdb.python/py-sync-interp.exp: Likewise.
158 * gdb.server/ext-attach.exp: Likewise.
159 * gdb.threads/attach-into-signal.exp (corefunc): Use
160 spawn_wait_for_attach, spawn_id_get_pid and
161 kill_wait_spawned_process.
162 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
163 spawn_wait_for_attach returning a spawn id instead of a pid. Use
164 spawn_id_get_pid and kill_wait_spawned_process.
165 * gdb.threads/attach-stopped.exp (corefunc): Use
166 spawn_wait_for_attach, spawn_id_get_pid and
167 kill_wait_spawned_process.
168 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
169 Use spawn_id_get_pid. Wait for spawn id after eof. Use
170 kill_wait_spawned_process instead of explicit "kill -9".
171 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
172 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
173 (spawn_wait_for_attach): Use spawn instead of exec to spawn
174 processes. Don't map cygwin/windows pids here. Now returns a
175 spawn id list.
176
032a0fca
SL
1772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
178
179 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
180 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
181 correct patch.
182
61a934ca
SL
1832015-07-30 Sandra Loosemore <sandra@codesourcery.com>
184
185 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
186
4bc4d428
SL
1872015-07-30 Sandra Loosemore <sandra@codesourcery.com>
188
189 Reapply:
190 2014-05-21 Mark Wielaard <mjw@redhat.com>
191
192 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
193
998d452a
PA
1942015-07-30 Pedro Alves <palves@redhat.com>
195
196 * linux-low.c (handle_extended_wait): Set the child's last
197 reported status to TARGET_WAITKIND_STOPPED.
198
69dde7dc
PA
1992015-07-30 Pedro Alves <palves@redhat.com>
200
201 PR threads/18600
202 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
203 only shows inferior 1.
204
4dd63d48
PA
2052015-07-30 Simon Marchi <simon.marchi@ericsson.com>
206 Pedro Alves <palves@redhat.com>
207
208 PR threads/18600
209 * gdb.threads/fork-plus-threads.c: New file.
210 * gdb.threads/fork-plus-threads.exp: New file.
211
d618e4c5
PP
2122015-07-29 Patrick Palka <patrick@parcs.ath.cx>
213
214 * gdb.base/batch-preserve-term-settings.exp
215 (test_terminal_settings_preserved_after_cli_exit): Use
216 send_quit_command.
217
1eef6428
PA
2182015-07-29 Pedro Alves <palves@redhat.com>
219 Don Breazeal <donb@codesourcery.com>
220
221 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
222 output from both inferior_spawn_id and gdb_spawn_id.
223
7da5b897
SDJ
2242015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
225
226 * gdb.threads/attach-into-signal.exp (corefunc): Use
227 with_test_prefix on nested loops, uniquefying the test messages.
228
dac804df
SDJ
2292015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
230
231 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
232 commit.
233
06265e53
PP
2342015-07-29 Patrick Palka <patrick@parcs.ath.cx>
235
236 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
237 New proc.
238 (test_terminal_settings_preserved_after_sigterm): New test.
239
18206ca3
PP
2402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
241
242 * gdb.base/batch-preserve-term-settings.exp
243 (test_terminal_settings_preserved_after_cli_exit): New test.
244
90074d11
PP
2452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
246
247 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
248 manipulation of saved_gdbflags.
249 (test_terminal_settings_preserved): Remove global declaration of
250 the unused variable pagination_prompt. Remove manipulation of
251 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
252 GDBFLAGS.
253
eb1a7902
PA
2542015-07-29 Pedro Alves <palves@redhat.com>
255
256 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
257
8b75dd3b
PA
2582015-07-29 Pedro Alves <palves@redhat.com>
259
260 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
261 at the top.
262
dedad4e3
PA
2632015-07-29 Pedro Alves <palves@redhat.com>
264
265 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
266 (main): Call gdb_unbuffer_output.
267 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
268 (main): Call gdb_unbuffer_output.
269 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
270 (main): Call gdb_unbuffer_output.
271 * gdb.base/call-strs.exp: Adjust to step over the
272 gdb_unbuffer_output call.
273 * gdb.base/catch-gdb-caused-signals.c: Include
274 "../lib/unbuffer_output.c".
275 (main): Call gdb_unbuffer_output.
276 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
277 (main): Call gdb_unbuffer_output.
278 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
279 (main): Call gdb_unbuffer_output.
280 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
281 (main): Call gdb_unbuffer_output.
282 * gdb.base/shlib-call.exp: Adjust to step over the
283 gdb_unbuffer_output call.
284 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
285 (main): Call gdb_unbuffer_output.
286 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
287 (main): Call gdb_unbuffer_output.
288 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
289 (main): Rename to ...
290 (test): ... this.
291 (main): Reimplement.
292 * gdb.base/varargs.exp: Run to test instead of to main.
293 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
294 (main): Call gdb_unbuffer_output.
295
58789a91
PA
2962015-07-29 Pedro Alves <palves@redhat.com>
297
298 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
299 factore out from mi_continue_dprintf. For call-style dprintfs,
300 expect dprintf output out of $inferior_spawn_id.
301 (mi_continue_dprintf): Use mi_expect_dprintf.
302 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
303 (main): Call gdb_unbuffer_output.
304
e8376742
PA
3052015-07-29 Pedro Alves <palves@redhat.com>
306
307 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
308 (default_mi_gdb_start): Set inferior_spawn_id instead of
309 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
310 gdb_spawn_id.
311 (mi_gdb_test): Always expect inferior output from both
312 $inferior_spawn_id and $gdb_spawn_id.
313
08280010
PA
3142015-07-29 Pedro Alves <palves@redhat.com>
315
316 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
317 send_inferior and $inferior_spawn_id.
318
4d30e432
PA
3192015-07-29 Pedro Alves <palves@redhat.com>
320
321 * gdb.gdb/complaints.exp (test_initial_complaints)
322 (test_serial_complaints, test_short_complaints): Use
323 gdb_test_stdio.
324 (test_empty_complaint): Handle $inferior_spawn_id !=
325 $gdb_spawn_id.
326
0d30a335
PA
3272015-07-29 Pedro Alves <palves@redhat.com>
328
329 * gdb.base/varargs.exp: Use gdb_test_stdio.
330
39413b29
PA
3312015-07-29 Pedro Alves <palves@redhat.com>
332
333 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
334
7cb000a9
PA
3352015-07-29 Pedro Alves <palves@redhat.com>
336
337 * gdb.base/ending-run.exp: Use gdb_test_stdio.
338
d7b8ac82
PA
3392015-07-29 Pedro Alves <palves@redhat.com>
340
341 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
342 parameter into two new parameters, "inf_result" and "gdb_result".
343 Expect inferior output and gdb output from $inferior_spawn_id and
344 $gdb_spawn_id, respectively. Adjust all callers.
345
789c3a0c
PA
3462015-07-29 Pedro Alves <palves@redhat.com>
347
348 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
349 of gdb_test_sequence.
350
77e760c3
PA
3512015-07-29 Pedro Alves <palves@redhat.com>
352
353 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
354 (saw_spurious_output): Expect inferior output from
355 $inferior_spawn_id. Use gdb_test_stdio.
356
8396d2cd
PA
3572015-07-29 Pedro Alves <palves@redhat.com>
358
359 * gdb.base/dprintf.exp: Use standard_testfile. Change
360 prepare_for_testing call.
361 (srcfile): Don't set.
362 (restart): New procedure.
363 (test_dprintf): New procecure, use to continue over dprintfs.
364 (test_call, test_agent): New procedures, tests moved here.
365 Restart gdb and recreate dprintfs. Adjust expected output.
366
2051d61f
PA
3672015-07-29 Pedro Alves <palves@redhat.com>
368
369 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
370
452397af
PA
3712015-07-29 Pedro Alves <palves@redhat.com>
372
373 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
374
8aed9555
PA
3752015-07-29 Pedro Alves <palves@redhat.com>
376
377 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
378 gdb_test_stdio.
379
188a61b4
PA
3802015-07-29 Pedro Alves <palves@redhat.com>
381
382 * lib/gdb.exp (gdb_test_stdio): New procedure.
383
12264a45
PA
3842015-07-29 Pedro Alves <palves@redhat.com>
385
386 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
387
23ffc893
PA
3882015-07-29 Pedro Alves <palves@redhat.com>
389
390 * gdb.base/call-signal-resume.exp: Remove check for
391 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
392 * gdb.base/unwindonsignal.exp: Likewise.
393 * gdb.base/call-signals.c (gen_signal): Remove printf call.
394 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
395
65566918
PA
3962015-07-29 Pedro Alves <palves@redhat.com>
397
398 * gdb.base/siginfo-addr.c (pass): New function.
399 (handler): Call it iff si_addr is correct.
400 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
401 Set a breakpoint at "pass" and continue to it.
402
d60a9221
SDJ
4032015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
404
405 * gdb.python/py-objfile.exp: Make some tests have unique names.
406 * gdb.python/py-pp-registration.exp: Likewise.
407
bde40b8f
PA
4082015-07-28 Pedro Alves <palves@redhat.com>
409
410 * gdb.server/server-exec-info.exp: Issue a "disconnect".
411
13e1dec8
SM
4122015-07-27 Simon Marchi <simon.marchi@ericsson.com>
413
414 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
415
da33c9a7
SM
4162015-07-27 Simon Marchi <simon.marchi@ericsson.com>
417
418 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
419
077836f7
PP
4202015-07-27 Patrick Palka <patrick@parcs.ath.cx>
421
422 * gdb.base/gdb-sigterm-2.exp: New test.
423
b8cc7b2e
DE
4242015-07-25 Doug Evans <xdje42@gmail.com>
425
426 Revert:
427 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
428 (workers/%.worker, build-perf): New rule.
429 (GDB_PERFTEST_MODE): New variable.
430 (check-perf): Use it.
431 (clean): Clean up gdb.perf parallel build subdirs.
432 * lib/build-piece.exp: New file.
433 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
434 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
435 name.
436 (standard_temp_file): Ditto.
437 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
438 of $GDB_PARALLEL.
439
c8bd4544
DE
4402015-07-24 Doug Evans <dje@google.com>
441
442 * gdb.perf/lib/perftest/utils.py: New file.
443 * gdb.perf/gm-hello.cc: New file.
444 * gdb.perf/gm-pervasive-typedef.cc: New file.
445 * gdb.perf/gm-pervasive-typedef.h: New file.
446 * gdb.perf/gm-std.cc: New file.
447 * gdb.perf/gm-std.h: New file.
448 * gdb.perf/gm-use-cerr.cc: New file.
449 * gdb.perf/gm-utils.h: New file.
450 * gdb.perf/gmonster-null-lookup.py: New file.
451 * gdb.perf/gmonster-pervasive-typedef.py: New file.
452 * gdb.perf/gmonster-print-cerr.py: New file.
453 * gdb.perf/gmonster-ptype-string.py: New file.
454 * gdb.perf/gmonster-runto-main.py: New file.
455 * gdb.perf/gmonster-select-file.py: New file.
456 * gdb.perf/gmonster1-null-lookup.exp: New file.
457 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
458 * gdb.perf/gmonster1-print-cerr.exp: New file.
459 * gdb.perf/gmonster1-ptype-string.exp: New file.
460 * gdb.perf/gmonster1-runto-main.exp: New file.
461 * gdb.perf/gmonster1-select-file.exp: New file.
462 * gdb.perf/gmonster1.cc: New file.
463 * gdb.perf/gmonster1.exp: New file.
464 * gdb.perf/gmonster2-null-lookup.exp: New file.
465 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
466 * gdb.perf/gmonster2-print-cerr.exp: New file.
467 * gdb.perf/gmonster2-ptype-string.exp: New file.
468 * gdb.perf/gmonster2-runto-main.exp: New file.
469 * gdb.perf/gmonster2-select-file.exp: New file.
470 * gdb.perf/gmonster2.cc: New file.
471 * gdb.perf/gmonster2.exp: New file.
472
6eab34f3
DE
4732015-07-24 Doug Evans <dje@google.com>
474
475 * gdb.perf/README: New file.
476 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
477 * lib/gen-perf-test.exp: New file.
478
63738bfd
DE
4792015-07-24 Doug Evans <dje@google.com>
480
481 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
482 (PerfTest::startup): New function.
483 (PerfTest::run): Return result of calling body.
484 (PerfTest::assemble): Rewrite.
485 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
486 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
487 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
488 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
489 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
490
7b606f95
DE
4912015-07-24 Doug Evans <dje@google.com>
492
493 * lib/gdb.exp (clean_restart): Make executable optional.
494
a97b16b8
DE
4952015-07-24 Doug Evans <dje@google.com>
496
497 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
498 compiler_info references.
499 * gdb.cp/temargs.exp: Ditto.
500 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
501 (get_compiler_info): Early exit if already computed. Set compiler_info
502 to "unknown" if there was a problem.
503 (test_compiler_info): Add function comment. Call get_compiler_info.
504
35baa57f
DE
5052015-07-24 Doug Evans <dje@google.com>
506
507 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
508 (workers/%.worker, build-perf): New rule.
509 (GDB_PERFTEST_MODE): New variable.
510 (check-perf): Use it.
511 (clean): Clean up gdb.perf parallel build subdirs.
512 * lib/build-piece.exp: New file.
513 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
514 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
515 name.
516 (standard_temp_file): Ditto.
517 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
518 of $GDB_PARALLEL.
519
6ebea266
DE
5202015-07-24 Doug Evans <dje@google.com>
521
522 * lib/future.exp (gdb_default_target_compile): New option
523 "early_flags".
524 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
525 --as-needed.
526
1e76a7e9
SDJ
5272015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
528
529 * gdb.base/catch-syscall.exp: Call gdb_exit before
530 gdb_skip_xml_test.
531
5068630a
PA
5322015-07-24 Pedro Alves <palves@redhat.com>
533
534 * gdb.python/py-events.exp: Accept output between the stop event
535 and the prompt.
536 * gdb.python/py-evsignal.exp: Likewise.
537 * gdb.python/py-evthreads.exp: Likewise.
538
77598427
PA
5392015-07-24 Pedro Alves <palves@redhat.com>
540
541 PR gdb/18717
542 * gdb.threads/non-ldr-exit.c: New file.
543 * gdb.threads/non-ldr-exit.exp: New file.
544
11e6c98f
YQ
5452015-07-24 Yao Qi <yao.qi@linaro.org>
546
547 * gdb.server/ext-wrapper.exp: Test --wrapper option when
548 restarting process.
549
51aee833
YQ
5502015-07-24 Yao Qi <yao.qi@linaro.org>
551
552 * gdb.server/ext-restart.exp: New file.
553
8cfe207c
YQ
5542015-07-24 Yao Qi <yao.qi@linaro.org>
555
556 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
557 argument options.
558 * gdb.server/ext-wrapper.exp: New file.
559
cc12ce38
DE
5602015-07-23 Doug Evans <dje@google.com>
561
562 * gdb.dwarf2/dw2-dummy-cu.S: New file.
563 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
564
d0d84780
PMR
5652015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
566
567 * gdb.ada/var_arr_typedef.exp: New testcase.
568 * gdb.ada/var_arr_typedef/pack.adb: New file.
569 * gdb.ada/var_arr_typedef/pack.ads: New file.
570 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
571
8b558f79
JB
5722015-07-20 Joel Brobecker <brobecker@adacore.com>
573
574 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
575
775a3298
JK
5762015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
577
578 * gdb.arch/i386-biarch-core.exp: Replace istarget
579 by "complete set gnutarget". Remove expectation for the "core-file"
580 command.
581
db1ff28b
JK
5822015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
583
584 Revert the previous commit:
585 Tests for validate symbol file using build-id.
586
0a94970d
JK
5872015-07-15 Aleksandar Ristovski <aristovski@qnx.com
588
589 Tests for validate symbol file using build-id.
590 * gdb.base/solib-mismatch-lib.c: New file.
591 * gdb.base/solib-mismatch-libmod.c: New file.
592 * gdb.base/solib-mismatch.c: New file.
593 * gdb.base/solib-mismatch.exp: New file.
594
03346981
SL
5952015-07-15 Sandra Loosemore <sandra@codesourcery.com>
596
597 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
598 nios2-*-linux*.
599 * gdb.base/sigbpt.exp (stepi_out): Likewise.
600 * gdb.base/siginfo.exp: Likewise.
601 * gdb.base/sigstep.exp (advance, advancei): Likewise.
602
42422cc7
PL
6032015-07-15 Pierre Langlois <pierre.langlois@arm.com>
604
605 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
606 Move it to ...
607 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
608 ... here.
609 * gdb.trace/range-stepping.exp: Check that the target supports
610 range stepping.
611
cfa68bae
JK
6122015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
613
614 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
615
8ffdba26
PA
6162015-07-14 Pedro Alves <palves@redhat.com>
617
618 * gdb.base/killed-outside.exp: New file.
619 * gdb.base/killed-outside.c: New file.
620
218a5a11
JK
6212015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
622
623 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
624 (n at main): New.
625 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
626
e03ed3c6
AA
6272015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
628
629 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
630 infcall tests instead of setting up for KFAIL.
631
485668e5
MM
6322015-07-10 Markus Metzger <markus.t.metzger@intel.com>
633
634 * gdb.btrace/record_goto-step.exp: New.
635
08464196
JK
6362015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
637
638 PR compile/18484
639 * gdb.compile/compile.c (struct struct_type): Add volatile to
640 selffield's type.
641 * gdb.compile/compile.exp
642 (compile code struct_object.selffield = &struct_object): Skip further
643 struct_object tests if this one xfails.
644
bcf5c1d9
RC
6452015-07-08 Robert O'Callahan <robert@ocallahan.org>
646
647 PR exp/18617
648 * gdb.trace/ax.exp: Add test.
649
4931af25
YQ
6502015-07-07 Yao Qi <yao.qi@linaro.org>
651
652 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
653 instead of istarget "aarch64*-*-*".
654 * gdb.arch/aarch64-fp.exp: Likewise.
655 * gdb.base/float.exp: Likewise.
656 * gdb.reverse/aarch64.exp: Likewise.
657 * lib/gdb.exp (is_aarch64_target): New proc.
658
9fcf688e
YQ
6592015-07-07 Yao Qi <yao.qi@linaro.org>
660
661 * lib/gdb.exp (is_aarch32_target): New proc.
662 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
663 instead of "istarget "arm*-*-*"".
664 * gdb.arch/arm-disp-step.exp: Likewise.
665 * gdb.arch/thumb-bx-pc.exp: Likewise.
666 * gdb.arch/thumb-prologue.exp: Likewise.
667 * gdb.arch/thumb-singlestep.exp: Likewise.
668 * gdb.base/disp-step-syscall.exp: Likewise.
669 * gdb.base/float.exp: Likewise.
670
fbd8d50d
YQ
6712015-07-07 Yao Qi <yao.qi@linaro.org>
672
673 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
674 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
675
71be1fdc
YQ
6762015-07-07 Yao Qi <yao.qi@linaro.org>
677
678 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
679 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
680 if it exists.
681 * gdb.multi/multi-arch.exp: Likewise.
682
3e221d36
SM
6832015-07-07 Simon Marchi <simon.marchi@ericsson.com>
684
685 * gdb.python/py-lazy-string.exp: Add missing parentheses to
686 print.
687
d441430b
YQ
6882015-07-07 Yao Qi <yao.qi@linaro.org>
689
690 * gdb.arch/thumb-singlestep.exp: Do one more single step.
691
06f810bd
MG
6922015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
693
694 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
695 '[' and ']' characters.
696
5e61e7c0
IB
6972015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
698
699 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
700
28bf096c
PA
7012015-06-29 Pedro Alves <palves@redhat.com>
702
703 PR threads/18127
704 * gdb.threads/hand-call-new-thread.c: New file.
705 * gdb.threads/hand-call-new-thread.c: New file.
706
ee93cd5e
KS
7072015-06-26 Keith Seitz <keiths@redhat.com>
708 Doug Evans <dje@google.com>
709
710 PR 16253
711 * gdb.cp/var-tag-2.cc: New file.
712 * gdb.cp/var-tag-3.cc: New file.
713 * gdb.cp/var-tag-4.cc: New file.
714 * gdb.cp/var-tag.cc: New file.
715 * gdb.cp/var-tag.exp: New file.
716
fc637f04
PP
7172015-06-26 Patrick Palka <patrick@parcs.ath.cx>
718
719 * gdb.base/history-duplicates.exp: New test.
720
2e52ae68
PP
7212015-06-26 Patrick Palka <patrick@parcs.ath.cx>
722
723 * gdb.base/completion.exp: Test the completion of the "focus"
724 command.
725
6e22494e
JK
7262015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
727
728 * gdb.arch/amd64-prologue-skip.S: New file.
729 * gdb.arch/amd64-prologue-skip.exp: New file.
730
bf7b9cd9
SM
7312015-06-25 Simon Marchi <simon.marchi@ericsson.com>
732
733 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
734 is_address_zero_readable check.
735
201e8dfd
PB
7362015-06-24 Peter Bergner <bergner@vnet.ibm.com>
737
738 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
739 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
740
5cd867b4
YQ
7412015-06-24 Yao Qi <yao.qi@linaro.org>
742
743 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
744 linux targets.
745
4d7be007
YQ
7462015-06-24 Yao Qi <yao.qi@linaro.org>
747
748 * lib/gdb.exp (supports_get_siginfo_type): New proc.
749 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
750 * gdb.base/siginfo-thread.exp: Likewise.
751
07fcd301
YQ
7522015-06-22 Yao Qi <yao.qi@linaro.org>
753
754 * boards/remote-gdbserver-on-localhost.exp: Add comments.
755
52042a00
YQ
7562015-06-22 Yao Qi <yao.qi@linaro.org>
757
758 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
759 aarch64*-*-*.
760 (skip_hw_watchpoint_tests): Likewise.
761
74bd41ce
PP
7622015-06-18 Patrick Palka <patrick@parcs.ath.cx>
763
764 * gdb.base/gdbinit-history.exp: Test the interaction between
765 setting GDBHISTSIZE and setting the history size via .gdbinit.
766
bc460514
PP
7672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
768
769 PR gdb/16999
770 * gdb.base/gdbhistsize-history.exp: New test.
771
b58c513b
PP
7722015-06-17 Patrick Palka <patrick@parcs.ath.cx>
773
774 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
775 with GDBHISTSIZE.
776 * gdb.base/readline.exp: Likewise.
777
92046791
YQ
7782015-06-17 Yao Qi <yao.qi@linaro.org>
779
780 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
781 line.
782
2093d2d3
PP
7832015-06-17 Patrick Palka <patrick@parcs.ath.cx>
784
785 * gdb.base/gdbinit-history.exp: Add test case to check that
786 an unlimited history file does not get truncated on exit.
787
e6c693af
AA
7882015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
789
790 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
791 (VECTOR): New macro. Use it...
792 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
793 ...for these typedefs.
794 (int8, char1, int1, double1): New typedefs.
795 (struct just_int2, struct two_int2): New structures.
796 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
797 (add_structvecs, add_singlevecs): New functions.
798 (main): Call add_some_intvecs twice.
799 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
800 the compile and exit upon failure. Try compiling for the "native"
801 architecture. Test inferior function calls with vector arguments
802 and vector return value handling with "finish" and "return".
803
c74f7d1c
JT
8042015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
805
806 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
807 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
808 PE file.
809 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
810
98aa42ee
AT
8112015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
812
813 PR breakpoints/16465
814 * gdb.mi/mi-dprintf-pending.c: New file.
815 * gdb.mi/mi-dprintf-pending.exp: New test.
816 * gdb.mi/mi-dprintf-pendshr.c: New file.
817
7d73c23c 8182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 819 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
820
821 * gdb.arch/i386-mpx-map.c: New file.
822 * gdb.arch/i386-mpx-map.exp: New File.
823
8242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
825
826 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
827 * gdb.arch/i386-mpx.exp: Indentation fixed.
828
8292015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
830
831 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
832 function and improved indentation.
833 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
834 gdb_test_multiple. Added additional tests to skip the test.
835
8362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
837
838 * gdb.arch/i386-avx512.c: Change path in include file.
839 * gdb.arch/i386-avx512.exp: Change include dir path
840 compilation flag.
841 * gdb.arch/i386-mpx.c: Change path in include file.
842 * gdb.arch/i386-mpx.exp: Change include dir path compilation
843 flag.
844
d5eba19a
JK
8452015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
846
847 * gdb.compile/compile-print.exp (compile print *vararray@3)
848 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
849
7f361056
JK
8502015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
853 (do not keep jit in memory): ... this.
854 (expect 5): Change it to ...
855 (expect no 5): ... this.
856
3b462ec2
SM
8572015-06-02 Simon Marchi <simon.marchi@ericsson.com>
858
859 PR gdb/15564
860 * gdb.mi/mi-detach.exp: New file.
861
e0619de6
JK
8622015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 PR symtab/18392
865 * gdb.arch/amd64-tailcall-self.S: New file.
866 * gdb.arch/amd64-tailcall-self.c: New file.
867 * gdb.arch/amd64-tailcall-self.exp: New file.
868
e970cb34
DB
8692015-05-28 Don Breazeal <donb@codesourcery.com>
870
871 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
872 tests for remote targets by checking is_target_gdbserver.
873
b2e2f908
DE
8742015-05-27 Doug Evans <dje@google.com>
875
876 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
877 * gdb.dwarf2/opaque-type-lookup.c: New file.
878 * gdb.dwarf2/opaque-type-lookup.exp: New file.
879
82c7be31
DE
8802015-05-26 Doug Evans <dje@google.com>
881
882 * gdb.cp/iostream.cc: New file.
883 * gdb.cp/iostream.exp: New file.
884
b4f54984
DE
8852015-05-26 Doug Evans <dje@google.com>
886
887 * gdb.dwarf2/dw2-op-call.exp: Update.
888 * gdb.dwarf2/dw4-sig-types.exp: Update.
889 * gdb.dwarf2/implptr.exp: Update.
890 * gdb.mi/mi-cmd-param-changed.exp: Update.
891
4ea6efe9
DE
8922015-05-26 Doug Evans <dje@google.com>
893
894 * gdb.python/py-lazy-string.c: New file.
895 * gdb.python/py-lazy-string.exp: New file.
896 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
897 (main): Update. Add estring3.
898 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
899 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
900
f6bb7db3
YQ
9012015-05-26 Omair Javaid <omair.javaid@linaro.org>
902 Yao Qi <yao.qi@linaro.org>
903
904 * gdb.reverse/aarch64.c: New.
905 * gdb.reverse/aarch64.exp: New.
906
a81bfbd0
OJ
9072015-05-26 Omair Javaid <omair.javaid@linaro.org>
908
909 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
910 (supports_reverse): Likewise.
911
158bf1b4
PP
9122015-05-22 Patrick Palka <patrick@parcs.ath.cx>
913
914 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
915 Use with_test_prefix.
916
a0145030
AB
9172015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
918
919 * gdb.base/completion.exp: Add test for completion of layout
920 names.
921
ebe3b578
AB
9222015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * lib/gdb.exp (skip_tui_tests): New proc.
925 * gdb.base/tui-layout.exp: Check skip_tui_tests.
926
84204ed7
PA
9272015-05-19 Pedro Alves <palves@redhat.com>
928
929 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
930 Save the whole env array instead of just HOME. Unset HISTSIZE in
931 the environment while testing. Restore whole environment
932 afterwards.
933
37442ce1
DE
9342015-05-16 Doug Evans <xdje42@gmail.com>
935
936 * gdb.guile/scm-ports.c: New file.
937 * gdb.guile/scm-ports.exp: Add memory port tests.
938
36de76f9
JK
9392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
940
941 * gdb.compile/compile-print.c: New file.
942 * gdb.compile/compile-print.exp: New file.
943
3a9558c4
JK
9442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
945
946 * gdb.compile/compile-ops.exp: Cast param to void.
947 * gdb.compile/compile.exp: Complete type for _gdb_expr.
948 (compile code struct_object.selffield = &struct_object): Add xfail.
949
aa715135
JG
9502015-05-15 Joel Brobecker <brobecker@adacore.com>
951
952 * gdb.ada/arr_enum_with_gap: New testcase.
953
931e5bc3
JG
9542015-05-15 Joel Brobecker <brobecker@adacore.com>
955
956 * gdb.ada/byte_packed_arr: New testcase.
957
9cd4d857
JB
9582015-05-15 Joel Brobecker <brobecker@adacore.com>
959
960 * gdb.ada/pckd_neg: New testcase.
961
ebfd00d2
PP
9622015-05-13 Patrick Palka <patrick@parcs.ath.cx>
963
964 PR gdb/17820
965 * gdb.base/gdbinit-history.exp: New test.
966 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
967 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
968
4c082a81
SC
9692015-05-09 Siva Chandra Reddy <sivachandra@google.com>
970
971 * gdb.python/py-xmethods.cc: Enhance test case.
972 * gdb.python/py-xmethods.exp: New tests.
973 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
974 function.
975 (B_indexoper): Likewise.
976 (global_dm_list) : Add new xmethod worker functions.
977
f7797074
SDJ
9782015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
979
980 * gdb.base/coredump-filter.exp: Correctly unset
981 "coredump_var_addr" array.
982
a4674e4e
PA
9832015-05-08 Pedro Alves <palves@redhat.com>
984
985 * gdb.server/non-existing-program.exp: Unset spawn_id.
986
df2eb078
SC
9872015-05-08 Siva Chandra Reddy <sivachandra@google.com>
988
989 PR python/18291
990 * gdb.python/py-xmethods.exp: Add tests.
991
422349a3
YQ
9922015-05-08 Yao Qi <yao.qi@linaro.org>
993
994 PR gdb/18208
995 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
996 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
997 function set_coredump_filter, and remove remote_exec call.
998 Remove argument ipid. Callers update.
999 (top level): Don't get inferior's PID.
1000
63fc80ce
AA
10012015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1002
1003 * gdb.base/watch_thread_num.exp: Skip test on targets without
1004 access watchpoints.
1005
80ad801e
PA
10062015-05-06 Pedro Alves <palves@redhat.com>
1007
1008 PR server/18081
1009 * gdb.server/non-existing-program.exp: New file.
1010
0fa7fe50
JB
10112015-05-05 Joel Brobecker <brobecker@adacore.com>
1012
1013 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1014
3ea89b92
PMR
10152015-05-05 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdb.ada/out_of_line_in_inlined: New testcase.
1018
87b8eff0
JB
10192015-05-05 Joel Brobecker <brobecker@adacore.com>
1020
1021 * gdb.ada/var_rec_arr: New testcase.
1022
5fccc635
YQ
10232015-04-30 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.base/break-idempotent.exp: If
1026 skip_hw_watchpoint_multi_tests returns true, skip the tests
1027 on "rwatch" and "awatch".
1028
42d38f42
YQ
10292015-04-30 Yao Qi <yao.qi@linaro.org>
1030
1031 * gdb.base/relativedebug.exp: Invoke gdb command
1032 "info sharedlibrary", and if libc.so doesn't have debug info,
1033 skip the test.
1034
2ce1cdbf
DE
10352015-04-29 Doug Evans <dje@google.com>
1036
1037 * gdb.python/py-xmethods.exp: Add ptype tests.
1038 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1039 get_result_type method.
1040
f24a38c5
LM
10412015-04-29 Luis Machado <lgustavo@codesourcery.com>
1042
1043 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1044 the target does not support hardware watchpoints.
1045
ecbf2b3c
LM
10462015-04-29 Luis Machado <lgustavo@codesourcery.com>
1047
1048 * gdb.base/break-always.exp: Abort testing if writing to memory
1049 causes an error.
1050
34f5f757
DE
10512015-04-28 Doug Evans <dje@google.com>
1052
1053 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1054 * gdb.python/py-pp-registration.exp: ... here. New file.
1055 * gdb.python/py-pp-registration.c: New file.
1056 * gdb.python/py-pp-registration.py: New file.
1057
69b4374a
DE
10582015-04-28 Doug Evans <dje@google.com>
1059
1060 * gdb.python/py-bad-printers.c: New file.
1061 * gdb.python/py-bad-printers.py: New file.
1062 * gdb.python/py-bad-printers.exp: New file.
1063
59fb7612
SS
10642015-04-28 Sasha Smundak <asmundak@google.com>
1065
1066 * gdb.python/py-type.exp: New test.
1067
2631b16a
AW
10682015-04-28 Andy Wingo <wingo@igalia.com>
1069
1070 * gdb.python/py-parameter.exp:
1071 * gdb.guile/scm-parameter.exp: Escape the path that we are
1072 matching against, as it might contain characters that are special
1073 to regular expressions.
1074
460efde1
JB
10752015-04-27 Joel Brobecker <brobecker@adacore.com>
1076
1077 * gdb.ada/rec_comp: New testcase.
1078
2d369d8e
SDJ
10792015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1080
1081 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1082 before using it.
1083
cf75d6c3
AB
10842015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1085
1086 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1087 new tests for verilog output.
1088
8dbe7ca5
YQ
10892015-04-24 Yao Qi <yao.qi@linaro.org>
1090
1091 * boards/remote-gdbserver-on-localhost.exp: New file.
1092
4ef9fb2f
PA
10932015-04-23 Pedro Alves <palves@redhat.com>
1094
1095 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1096 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1097 "end of file", remove $inferior_spawn_id from the indirect list.
1098
0a803169
PA
10992015-04-23 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1102
749ef8f8
PA
11032015-04-23 Pedro Alves <palves@redhat.com>
1104
1105 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1106 on $any_spawn_id instead of only on $gdb_spawn_id.
1107
8aae4344
PM
11082015-04-21 Pierre Muller <muller@sourceware.org>
1109
1110 PR pascal/17815
1111 * lib/pascal.exp (gpc_compile): Add new option "class".
1112 (fpc_compile): Likewise.
1113 * gdb.pascal/case-insensitive-symbols.pas: New file.
1114 * gdb.pascal/case-insensitive-symbols.exp: New file.
1115
1586c8fb
GB
11162015-04-20 Gary Benson <gbenson@redhat.com>
1117
1118 * gdb.base/attach.exp: Fix three extended remote failures.
1119
1b6e6f5c
GB
11202015-04-17 Gary Benson <gbenson@redhat.com>
1121
1122 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1123 the main executable over the remote protocol.
1124
e797481d
PA
11252015-04-16 Pedro Alves <palves@redhat.com>
1126
1127 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1128 a new gdbserver if gdbserver_reconnect_p is set.
1129
1ca99c42
PA
11302015-04-16 Pedro Alves <palves@redhat.com>
1131
1132 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1133 is set, don't exit gdbserver.
1134
af9fd6f8
AA
11352015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1136
1137 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1138 appropriate .insn, such that an older assembler can be used.
1139 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1140 the z/Architecture instruction set on 31-bit targets as well.
1141
04ff1e61
AA
11422015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1143
1144 * gdb.go/handcall.exp: Remove all logic related to the first
1145 breakpoint and rely on go_runto_main instead.
1146 * gdb.go/strings.exp: Likewise.
1147 * gdb.go/unsafe.exp: Likewise.
1148 * gdb.go/hello.exp: Likewise. Also rename the remaining
1149 breakpoint marker to "breakpoint 1".
1150 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1151 * gdb.go/strings.go: Likewise.
1152 * gdb.go/unsafe.go: Likewise.
1153 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1154 "set breakpoint 2 here" and rename the remaining breakpoint marker
1155 to "breakpoint 1".
1156
40d2f8d6
SM
11572015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1158
1159 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1160 if itertools.imap is not present.
1161 * gdb.python/py-objfile.exp: Add parentheses.
1162 * gdb.python/py-type.exp: Same.
1163 * gdb.python/py-unwind-maint.py: Same.
1164
8cbc97c6
YQ
11652015-04-15 Yao Qi <yao.qi@linaro.org>
1166
1167 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1168 of ":$ptr_size" and set its form explicitly.
1169
45fd756c
YQ
11702015-04-15 Pedro Alves <palves@redhat.com>
1171 Yao Qi <yao.qi@linaro.org>
1172
1173 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1174 timeout by factor of 4.
1175 (test_regular_watch): Likewise.
1176 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1177 * gdb.reverse/sigall-reverse.exp: Likewise.
1178 * gdb.reverse/until-precsave.exp: Likewise.
1179 * lib/gdb.exp (with_timeout_factor): New proc.
1180 (gdb_expect): Move some code to ...
1181 (get_largest_timeout): ... here. New procedure.
1182
9e811bc3
LM
11832015-04-14 Luis Machado <lgustavo@codesourcery.com>
1184
1185 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1186
0ff6fcb2
LM
11872015-04-13 Luis Machado <lgustavo@codesourcery.com>
1188
1189 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1190 to write to the .text section.
1191
7578d5f7
LM
11922015-04-13 Luis Machado <lgustavo@codesourcery.com>
1193
1194 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1195 Handle the case of targets that do not provide PID information.
1196
2efe15c4
YQ
11972015-04-13 Yao Qi <yao.qi@linaro.org>
1198
1199 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1200 and use expect instead of gdb_expect.
1201
8cd8f2f8
SDJ
12022015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1203
1204 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1205 "coredump_var_addr" to avoid naming conflict with other testcases.
1206
9ee41772
PA
12072015-04-10 Pedro Alves <palves@redhat.com>
1208
1209 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1210 gdb_test_sequence and gdb_assert.
1211
07473109
PA
12122015-04-10 Pedro Alves <palves@redhat.com>
1213
1214 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1215 test messages that don't include the breakpoint address.
1216
de3db44c
YQ
12172015-04-10 Yao Qi <yao.qi@linaro.org>
1218
1219 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1220 false for some offset and width combinations which aren't
1221 supported by linux kernel.
1222
c79d856c
PA
12232015-04-10 Pedro Alves <palves@redhat.com>
1224
1225 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1226 procedure, factored out from ...
1227 (top level): ... here. Add "set displaced-stepping" testing axis.
1228 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1229 parameter "displaced". Use it.
1230 (top level): Use foreach and add "set displaced-stepping" testing
1231 axis.
1232
ebc90b50
PA
12332015-04-10 Pedro Alves <palves@redhat.com>
1234
1235 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1236 Remove comment.
1237 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1238 both the address of the instruction that triggers the watchpoint
1239 and the address of the instruction immediately after, and use
1240 those addresses for the test. Fix comment.
1241
8f572e5c
PA
12422015-04-10 Pedro Alves <palves@redhat.com>
1243
1244 * gdb.base/sigstep.exp (breakpoint_to_handler)
1245 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1246 Test "backtrace" in handler.
1247 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1248 (top level): Add new "displaced" test axis to
1249 breakpoint_to_handler, breakpoint_to_handler_entry and
1250 breakpoint_over_handler.
1251
8d707a12
PA
12522015-04-10 Pedro Alves <palves@redhat.com>
1253
1254 PR gdb/18216
1255 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1256
ef713951
YQ
12572015-04-10 Yao Qi <yao.qi@linaro.org>
1258
1259 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1260 (test_add_rn_pc): New function.
1261 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1262 (top level): Invoke test_add_rn_pc.
1263
906d60cf
PA
12642015-04-10 Pedro Alves <palves@redhat.com>
1265
1266 PR gdb/13858
1267 * gdb.base/step-over-no-symbols.exp: New file.
1268
f2983cc3
AW
12692015-04-09 Andy Wingo <wingo@igalia.com>
1270
1271 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1272 after the Python tests.
1273
6d62641c
SDJ
12742015-04-08 Keith Seitz <keiths@redhat.com>
1275
1276 PR python/16699
1277 * gdb.python/py-completion.exp: New tests for completion.
1278 * gdb.python/py-completion.py (CompleteLimit1): New class.
1279 (CompleteLimit2): Likewise.
1280 (CompleteLimit3): Likewise.
1281 (CompleteLimit4): Likewise.
1282 (CompleteLimit5): Likewise.
1283 (CompleteLimit6): Likewise.
1284 (CompleteLimit7): Likewise.
1285
f3770638
PA
12862015-04-08 Pedro Alves <palves@redhat.com>
1287
1288 PR gdb/18214
1289 PR gdb/18216
1290 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1291 function.
1292 (main): Install it as SIGUSR1 handler.
1293 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1294 parameter. Always use "setup" as prefix. Toggle "set
1295 displaced-stepping" off/on depending on global. Don't switch to
1296 thread 1 here.
1297 (top level): Add displaced stepping "off/on" test axis. Update
1298 "setup" calls. Wrap each subtest with with_test_prefix. Test
1299 continuing with a queued signal in each thread.
1300
4496bed7
PA
13012015-04-08 Pedro Alves <palves@redhat.com>
1302
1303 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1304 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1305 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1306 Return early if running to main fails.
1307 * gdb.trace/while-stepping.exp: Likewise.
1308
b97fde92
PA
13092015-04-07 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1312 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1313 interact with inferior program.
1314
f71c18e7
PA
13152015-04-07 Pedro Alves <palves@redhat.com>
1316
1317 * lib/gdb.exp (inferior_spawn_id): New global.
1318 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1319 spawn id after processing the user code.
1320 (default_gdb_start): Set inferior_spawn_id.
1321 (send_inferior): New procedure.
1322 * lib/gdbserver-support.exp (gdbserver_start): Set
1323 inferior_spawn_id.
1324 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1325
6423214f
PA
13262015-04-07 Pedro Alves <palves@redhat.com>
1327
1328 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1329 * lib/gdbserver-support.exp (gdbserver_start): Make
1330 $server_spawn_id global.
1331 (gdbserver_start): Don't wait for gdbserver's spawn id with
1332 expect_background.
1333 (close_gdbserver): New procedure.
1334 (gdb_exit): Rename the default version and reimplement.
1335
71c0ee8c
PA
13362015-04-07 Pedro Alves <palves@redhat.com>
1337
72f4393d 1338 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1339 append the substituted item, not the original item.
1340
203bc29b
PA
13412015-04-07 Pedro Alves <palves@redhat.com>
1342
1343 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1344 gdb_expect.
1345
508a3ddf
PA
13462015-04-07 Pedro Alves <palves@redhat.com>
1347
1348 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1349 output appearing once only.
1350
9f6dbe2b
PA
13512015-04-07 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1354 that doesn't expect anything. Return early if running to main
1355 fails.
1356
337532fa
YQ
13572015-04-07 Yao Qi <yao.qi@linaro.org>
1358
1359 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1360 (child_function): Call alarm.
1361 (main): Move call to alarm into the loop.
1362 * gdb.threads/non-stop-fair-events.exp: Build program with
1363 -DTIMEOUT=$timeout.
1364
01b622d4
DE
13652015-04-06 Doug Evans <xdje42@gmail.com>
1366
1367 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1368 Fix dest parameter to board_info.
1369 (fpc_compile): Ditto.
1370 (gdb_compile_pascal): Rename dest arg to destfile.
1371
961f4160
PMR
13722015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1373
1374 * gdb.ada/funcall_ref.exp: New file.
1375 * gdb.ada/funcall_ref/foo.adb: New file.
1376
cafda597
YQ
13772015-04-02 Yao Qi <yao.qi@linaro.org>
1378
1379 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1380 is remote.
1381
fed040c6
GB
13822015-04-02 Gary Benson <gbenson@redhat.com>
1383
1384 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1385
d11916aa
SS
13862015-04-01 Sasha Smundak <asmundak@google.com>
1387
1388 * gdb.python/py-unwind-maint.c: New file.
1389 * gdb.python/py-unwind-maint.exp: New test.
1390 * gdb.python/py-unwind-maint.py: New file.
1391 * gdb.python/py-unwind.c: New file.
1392 * gdb.python/py-unwind.exp: New test.
1393 * gdb.python/py-unwind.py: New test.
1394
a1471180
PA
13952015-04-01 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1398 to fail instead of non-existent $test.
1399
0bbeccb1
PA
14002015-04-01 Pedro Alves <palves@redhat.com>
1401
1402 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1403 GDBFLAGS if not empty.
1404
3c724c8c
PMR
14052015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1406
1407 * gdb.ada/complete.exp: Remove "multi_line".
1408 * gdb.ada/info_exc.exp: Remove "multi_line".
1409 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1410 * gdb.ada/ptype_field.exp: Remove "multi_line".
1411 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1412 * gdb.ada/tagged.exp: Remove "multi_line".
1413 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1414 [multi_line ...]
1415 * gdb.btrace/delta.exp: Likewise.
1416 * gdb.btrace/exception.exp: Likewise.
1417 * gdb.btrace/function_call_history.exp: Likewise.
1418 * gdb.btrace/instruction_history.exp: Likewise.
1419 * gdb.btrace/nohist.exp: Likewise.
1420 * gdb.btrace/record_goto.exp: Likewise.
1421 * gdb.btrace/segv.exp: Likewise.
1422 * gdb.btrace/stepi.exp: Likewise.
1423 * gdb.btrace/tailcall.exp: Likewise.
1424 * gdb.btrace/unknown_functions.exp: Likewise.
1425 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1426 * lib/gdb.exp: Add the "multi_line" helper.
1427
4eec2deb
PA
14282015-04-01 Pedro Alves <palves@redhat.com>
1429
1430 * gdb.threads/tid-reuse.c: New file.
1431 * gdb.threads/tid-reuse.exp: New file.
1432
df8411da
SDJ
14332015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1434
1435 PR corefiles/16092
1436 * gdb.base/coredump-filter.c: New file.
1437 * gdb.base/coredump-filter.exp: Likewise.
1438
6ef37366
PM
14392015-03-27 Petr Machata <pmachata@redhat.com>
1440
1441 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1442 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1443 (Dwarf::assemble): Initialize them.
1444 (Dwarf::lines): New function.
1445
7ec911b0
JT
14462015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1447
1448 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1449 SYMBOL_PREFIX for x86_64-*-cygwin.
1450
ff908ebf
AW
14512015-03-26 Andy Wingo <wingo@igalia.com>
1452
1453 PR symtab/18148
1454 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1455 const_value but not a location.
1456 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1457 location defined in non-main CUs are visible.
1458
6d5f0679
YQ
14592015-03-26 Yao Qi <yao.qi@linaro.org>
1460
1461 PR testsuite/18139
1462 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1463 Add a line number entry for the same line.
1464 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1465 Add a line number entry for the same line.
1466
2898689b
YQ
14672015-03-26 Yao Qi <yao.qi@linaro.org>
1468
1469 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1470 .int 0.
1471 (func): Likewise. Add .Lfunc_1 label.
1472 Use .Lfunc_1 label.
1473 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1474 .int 0.
1475 (func): Likewise.
1476 Use .Lfunc_1 label.
1477
85180498
YQ
14782015-03-26 Yao Qi <yao.qi@linaro.org>
1479
1480 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1481 Call gdb_compile instead to compile each .s files without debug
1482 information.
1483
8aa08a8d
YQ
14842015-03-26 Yao Qi <yao.qi@linaro.org>
1485
1486 * gdb.base/savedregs.exp (process_saved_regs): Make
1487 "Saved registers:" optional in the pattern.
1488
66849923
MM
14892015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1490
1491 * gdb.btrace/next.exp: Merged into step.exp.
1492 * gdb.btrace/finish.exp: Merged into step.exp.
1493 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1494 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1495 "record goto" and checking the exact replay position.
1496 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1497 check for "Recording format" in "info record" output.
1498 * gdb.btrace/record_goto.exp: Choose test file based on target.
1499 * gdb.btrace/x86-record_goto.S: Renamed into ...
1500 * gdb.btrace/x86_64-record_goto.S: ... this.
1501 * gdb.btrace/i686-record_goto.S: New.
1502 * gdb.btrace/x86-tailcall.S: Renamed into ...
1503 * gdb.btrace/x86_64-tailcall.S: ... this.
1504 * gdb.btrace/i686-tailcall.S: New.
1505 * gdb.btrace/x86-tailcall.c: Renamed into ...
1506 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1507 separate statements. Update test.
1508 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1509 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1510 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1511 * gdb.btrace/tailcall.exp: Choose test file based on target.
1512 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1513
11cc1b74
MM
15142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1515
1516 * gdb.btrace/exception.exp: Increase BTS buffer size.
1517
a25d8bf9
PA
15182015-03-24 Pedro Alves <palves@redhat.com>
1519
1520 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1521
856e7dd6
PA
15222015-03-24 Pedro Alves <palves@redhat.com>
1523
1524 * gdb.threads/schedlock.exp (test_step): No longer expect that
1525 "set scheduler-locking step" with "next" over a function call runs
1526 threads unlocked.
1527
ad235a41
AT
15282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1529
1530 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1531
15630549
AT
15322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1533
1534 PR breakpoints/16466
1535 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1536 * gdb.mi/mi-pending.c (thread_func): New function.
1537 (int main): Add threading support required.
1538 * gdb.mi/mi-pending.exp: Add tests for this issue.
1539 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1540 (pendfunc2): Remove stdio dependency.
1541 * gdb.mi/mi-pendshr2.c: New file.
1542
693dca06
KS
15432015-03-23 Keith Seitz <keiths@redhat.com>
1544
1545 * gdb.linespec/keywords.c: New file.
1546 * gdb.linespec/keywords.exp: New file.
1547
7e993ebf
KS
15482015-03-23 Keith Seitz <keiths@redhat.com>
1549
1550 PR gdb/18021
1551 * gdb.dwarf2/staticvirtual.exp: New test.
1552
bc23328c
JK
15532015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1554
1555 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1556 * README: Remove HP-UX and gdb.hp.
1557 (configuration):
1558 * configure: Regenerate.
1559 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1560 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1561 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1562 gdb.hp/gdb.defects/Makefile.
1563 * gdb.hp/Makefile.in: File deleted.
1564 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1565 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1566 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1567 * gdb.hp/gdb.aCC/run.c: File deleted.
1568 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1569 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1570 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1571 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1572 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1573 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1574 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1575 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1576 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1577 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1578 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1579 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1580 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1581 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1582 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1583 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1584 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1585 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1586 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1587 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1588 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1589 * gdb.hp/gdb.compat/average.c: File deleted.
1590 * gdb.hp/gdb.compat/sum.c: File deleted.
1591 * gdb.hp/gdb.compat/xdb.c: File deleted.
1592 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1593 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1594 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1595 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1596 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1597 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1598 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1599 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1600 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1601 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1602 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1603 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1604 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1605 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1606 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1607 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1608 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1609 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1610 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1611 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1612 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1613 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1614 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1615 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1616 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1617 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1618 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1619 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1620 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1621 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1622 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1623 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1624 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1625 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1626 * gdb.hp/tools/odump: File deleted.
1627
8bf3b159
PA
16282015-03-19 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1631 (saw_thread_3): New globals.
1632 (top level): Increment them when an event for the corresponding
1633 thread is seen.
1634 (no thread starvation): New test.
1635
eb54c8bf
PA
16362015-03-19 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.threads/continue-pending-status.c: New file.
1639 * gdb.threads/continue-pending-status.exp: New file.
1640
32d2e5d6
PA
16412015-03-18 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1644 Use gdb_is_target_remote instead of is_remote. Use
1645 gdb_test_multiple instead of gdb_expect. Exit early if
1646 gdb_test_multiple hits its internal matches. Tighten stepi tests
1647 expected output. Fail on exit with any signal, instead of just
1648 SIGILL.
1649
f68f11b7
YQ
16502015-03-18 Yao Qi <yao.qi@linaro.org>
1651
1652 PR tdep/18107
1653 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1654 variable.
1655 * gdb.base/catch-syscall.exp: Don't skip it on
1656 aarch64*-*-linux* target. Remove elements in all_syscalls.
1657 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1658 target.
1659 (setup_all_syscalls): New proc.
1660
ca5fd19b
YQ
16612015-03-16 Yao Qi <yao.qi@linaro.org>
1662
1663 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1664 (top level): Skip tests if valid_addr_p returns false for
1665 $cmd1 or $cmd2.
1666
85642ba0
AW
16672015-03-11 Andy Wingo <wingo@igalia.com>
1668
1669 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1670
e03f9645
YQ
16712015-03-11 Yao Qi <yao.qi@linaro.org>
1672
1673 * gdb.base/catch-syscall.exp: Fix typo in comments.
1674
5d0962b2
YQ
16752015-03-11 Yao Qi <yao.qi@linaro.org>
1676
1677 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1678
b2df3cef
PA
16792015-03-09 Pedro Alves <palves@redhat.com>
1680
1681 * dg-extract-results.py: Delete.
1682
ef878e53
PA
16832015-03-09 Pedro Alves <palves@redhat.com>
1684
1685 Merge dg-extract-results.sh from GCC upstream (r218843).
1686
1687 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1688 * dg-extract-results.sh: Use --text with grep to avoid issues with
1689 binary files. Fall back to cat -v, if that doesn't work.
1690
9494d219
PA
16912015-03-05 Pedro Alves <palves@redhat.com>
1692
1693 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1694
a8d9763a
SM
16952015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1696
1697 * lib/mi-support.exp (mi_expect_interrupt): Accept
1698 alternative event for when in all-stop mode.
1699
be9957b8
PA
17002015-03-04 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1703
d57be0f4 17042015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1705
1706 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1707
c214c7cf
AA
17082015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1709
1710 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1711 regexps for GDB's current line display, accept a hex address
1712 preceding the line number.
1713
6d74a497
AA
17142015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1715
1716 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1717 the 'arch1' variable for "s390*-linux*" targets.
1718
511aee7c
PA
17192015-03-04 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1722 (main): Pass missing retval argument to pthread_join call.
1723
95e50b27
PA
17242015-03-02 Pedro Alves <palves@redhat.com>
1725
1726 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1727 (top level): Call do_test with non-stop as well.
1728
28054d69
PA
17292015-03-02 Pedro Alves <palves@redhat.com>
1730
1731 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1732 -1.
1733
4fa5d7b4
AA
17342015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1735
1736 * gdb.arch/s390-vregs.exp: New test.
1737 * gdb.arch/s390-vregs.S: New file.
1738
97c18565
PA
17392015-02-27 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1742 call to catch_command_errors.
1743 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1744 catch_command_errors.
1745
a37bfa30
PA
17462015-02-27 Pedro Alves <palves@redhat.com>
1747
1748 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1749 "true" for boolean result.
1750 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1751 prototype of main.
1752
6f98576f
PA
17532015-02-27 Pedro Alves <palves@redhat.com>
1754
1755 * lib/unbuffer_output.c: New file.
1756 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1757 (main): Call gdb_unbuffer_output.
1758
eba5ab56
YQ
17592015-02-27 Yao Qi <yao.qi@linaro.org>
1760
1761 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1762 target.
1763
0def5aaa
DE
17642015-02-26 Doug Evans <dje@google.com>
1765
1766 * gdb.cp/class2.cc (Dbase, D): New classes.
1767 (main): New local delta.
1768 * gdb.cp/class2.exp: Test printing delta.
1769 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1770 (dynbar): New global.
1771 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1772
081a1c2c
JK
17732015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1774
1775 * gdb.compile/compile-ifunc.c: New file.
1776 * gdb.compile/compile-ifunc.exp: New file.
1777
2f41223f
AT
17782015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1779
1780 * gdb.base/structs.exp: Check for correct struct on finish.
1781
03eddd80
YQ
17822015-02-26 Yao Qi <yao.qi@linaro.org>
1783
1784 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1785 is zero.
1786
80c57053
JK
17872015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1788
1789 * gdb.arch/cordic.ko.bz2: New file.
1790 * gdb.arch/cordic.ko.debug.bz2: New file.
1791 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1792
21613c12
YQ
17932015-02-25 Yao Qi <yao.qi@linaro.org>
1794
1795 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1796 aarch64*-*-* target.
1797
d8b901ed
PA
17982015-02-23 Pedro Alves <palves@redhat.com>
1799
1800 * lib/gdb.exp (delete_breakpoints): Rewrite using
1801 gdb_test_multiple.
1802
e5b85ead
PA
18032015-02-23 Pedro Alves <palves@redhat.com>
1804
1805 * gdb.base/info-os.c: Include stdlib.h.
1806
85c3a371
DE
18072015-02-22 Doug Evans <xdje42@gmail.com>
1808
1809 PR symtab/17855
1810 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1811 is read after symbols have been re-read.
1812 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1813 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1814
96553a0c
DE
18152015-02-21 Doug Evans <dje@google.com>
1816
1817 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1818
97a0c697
JK
18192015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1820
1821 PR corefiles/17808
1822 * gdb.arch/i386-biarch-core.core.bz2: New file.
1823 * gdb.arch/i386-biarch-core.exp: New file.
1824
a47cd6e9
PA
18252015-02-21 Pedro Alves <palves@redhat.com>
1826
1827 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1828 runto_main fails.
1829
c5facdc4
PA
18302015-02-20 Pedro Alves <palves@redhat.com>
1831
1832 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1833 info probes.
1834
2db9a427
PA
18352015-02-20 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1838
60fb7e9e
PA
18392015-02-20 Pedro Alves <palves@redhat.com>
1840
1841 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1842 clean_restart before gdb_target_supports_trace.
1843
5c5019c2
PA
18442015-02-20 Pedro Alves <palves@redhat.com>
1845
1846 PR threads/18006
1847 * gdb.threads/clone-thread_db.c: New file.
1848 * gdb.threads/clone-thread_db.exp: New file.
1849
c9587f88
AT
18502015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1851
1852 PR breakpoints/16812
1853 * gdb.base/catch-gdb-caused-signals.c: New file.
1854 * gdb.base/catch-gdb-caused-signals.exp: New file.
1855
f6a88844
JM
18562015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1857
1858 * configure: Regenerated.
1859 * configure.ac: Use GDB_AC_TRANSFORM.
1860 * aclocal.m4: sinclude ../transform.m4.
1861
497c491b
JM
18622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1863
1864 * lib/dtrace.exp: New file.
1865 * gdb.base/dtrace-probe.exp: Likewise.
1866 * gdb.base/dtrace-probe.d: Likewise.
1867 * gdb.base/dtrace-probe.c: Likewise.
1868 * lib/pdtrace.in: Likewise.
1869 * configure.ac: Output variables with the transformed names of
1870 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1871 * configure: Regenerated.
1872
03e98035
JM
18732015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1874
1875 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1876 expected message when trying to access $_probe_* convenience
1877 variables while not on a probe.
1878
63cc30e9
JK
18792015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1880
1881 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1882
0703599a
PA
18832015-02-11 Pedro Alves <pedro@codesourcery.com>
1884
1885 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1886 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1887
7e60a48e
DE
18882015-02-10 Doug Evans <xdje42@gmail.com>
1889
1890 * lib/gdb.exp (gdb_load): Always return a result.
1891
01b088bc
PA
18922015-02-10 Pedro Alves <palves@redhat.com>
1893
1894 * gdb.threads/signal-sigtrap.c: New file.
1895 * gdb.threads/signal-sigtrap.exp: New file.
1896
b05ec7a5
AT
18972015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1898
1899 * gdb.trace/no-attach-trace.c: New file.
1900 * gdb.trace/no-attach-trace.exp: New file.
1901
a2c2acaf
MW
19022015-02-09 Mark Wielaard <mjw@redhat.com>
1903
1904 * gdb.dwarf2/atomic.c: New file.
1905 * gdb.dwarf2/atomic-type.exp: Likewise.
1906
31fd9caa
MM
19072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1908
1909 * gdb.btrace/buffer-size.exp: Update "info record" output.
1910 * gdb.btrace/delta.exp: Update "info record" output.
1911 * gdb.btrace/enable.exp: Update "info record" output.
1912 * gdb.btrace/finish.exp: Update "info record" output.
1913 * gdb.btrace/instruction_history.exp: Update "info record" output.
1914 * gdb.btrace/next.exp: Update "info record" output.
1915 * gdb.btrace/nexti.exp: Update "info record" output.
1916 * gdb.btrace/step.exp: Update "info record" output.
1917 * gdb.btrace/stepi.exp: Update "info record" output.
1918 * gdb.btrace/nohist.exp: Update "info record" output.
1919
d33501a5
MM
19202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1921
1922 * gdb.btrace/buffer-size: New.
1923
f4abbc16
MM
19242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1925
1926 * gdb.btrace/delta.exp: Update "info record" output.
1927 * gdb.btrace/enable.exp: Update "info record" output.
1928 * gdb.btrace/finish.exp: Update "info record" output.
1929 * gdb.btrace/instruction_history.exp: Update "info record" output.
1930 * gdb.btrace/next.exp: Update "info record" output.
1931 * gdb.btrace/nexti.exp: Update "info record" output.
1932 * gdb.btrace/step.exp: Update "info record" output.
1933 * gdb.btrace/stepi.exp: Update "info record" output.
1934 * gdb.btrace/nohist.exp: Update "info record" output.
1935
b9d61307
SM
19362015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1937
1938 PR gdb/15678
1939 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1940
e584fdbc
PA
19412015-02-06 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1944 macro.
1945 (seconds_left, again): New globals.
1946 (main): Wait seconds_left in a 1-second sleep loop instead of
1947 sleeping 180 seconds. If 'again' is set, reset the seconds
1948 counter.
1949 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1950 'again' in the inferior before detaching. Print the seconds left.
1951 (options): New global.
1952 (top level): Build program with -DTIMEOUT=$timeout.
1953
77f41761
PA
19542015-02-06 Pedro Alves <palves@redhat.com>
1955
1956 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1957 determine how many seconds to pass to 'alarm'.
1958 * gdb.base/gdb-sigterm.exp (top level): Build program with
1959 -DTIMEOUT=$timeout.
1960 (do_test): Return success/failure indication. Add more verbose
1961 logging. Don't fail if 200 single steps are seen. Instead, fail
1962 when the test times out.
1963 (passes): New global.
1964 (top level): Break the testing loop if testing fails on any
1965 iteration. Use gdb_assert.
1966
b9394193
DB
19672015-02-04 Don Breazeal <donb@codesourcery.com>
1968
1969 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1970 and initialize them.
1971 (ipc_cleanup): New function.
1972 (main): Don't declare shmid, semid, and msqid. Add a call to
1973 atexit so that we call ipc_cleanup on exit.
1974
42d9e528
PA
19752015-02-04 Pedro Alves <palves@redhat.com>
1976
1977 * boards/native-extended-gdbserver.exp: Remove any target variant
1978 specifications from the board name before clearing the isremote
1979 flag from board_info.
1980
ae6ae975
DE
19812015-01-31 Doug Evans <xdje42@gmail.com>
1982
1983 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1984
cfb069a8
GB
19852015-01-31 Gary Benson <gbenson@redhat.com>
1986
1987 * gdb.base/completion.exp: Disable completion limiting for
1988 existing tests. Add new tests to check completion limiting.
1989 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1990
5dd31d79
DE
19912015-01-31 Doug Evans <xdje42@gmail.com>
1992
1993 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1994
9f050062
DE
19952015-01-31 Doug Evans <xdje42@gmail.com>
1996
1997 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1998 entries. Duplicate file section script entries.
1999 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
2000 inlined entries. Add test for safe-path rejection.
2001 * gdb.python/py-section-script.c: Add duplicate inlined section script
2002 entries. Duplicate file section script entries.
2003 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2004 inlined entries. Add test for safe-path rejection.
2005
df25ebbd
JB
20062015-01-29 Joel Brobecker <brobecker@adacore.com>
2007
2008 * gdb.ada/disc_arr_bound: New testcase.
2009
4a0ca9ec
JB
20102015-01-29 Joel Brobecker <brobecker@adacore.com>
2011
2012 * gdb.ada/mi_var_array: New testcase.
2013
3a8b707a
DE
20142015-01-27 Doug Evans <dje@google.com>
2015
2016 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2017 Add test for objfile.filename, objfile.username after objfile
2018 has been unloaded.
2019
f8313f6e
JB
20202015-01-26 Joel Brobecker <brobecker@adacore.com>
2021
2022 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2023 the second test to print the name attribute of value
2024 returned by the call to gdb.lookup_type, and adjust
2025 the expected output accordingly.
2026
37bc665e
MW
20272015-01-25 Mark Wielaard <mjw@redhat.com>
2028
2029 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2030 * gdb.base/disp-step-fork.c: Include unistd.h.
2031 * gdb.base/siginfo-obj.c: Include stdio.h.
2032 * gdb.base/siginfo-thread.c: Likewise.
2033 * gdb.mi/non-stop.c: Include unistd.h.
2034 * gdb.mi/nsthrexec.c: Include stdio.h.
2035 * gdb.mi/pthreads.c: Include unistd.h.
2036 * gdb.modula2/unbounded1.c (main): Declare returns int.
2037 * gdb.reverse/consecutive-reverse.c: Likewise.
2038 * gdb.threads/create-fail.c: Include unistd.h.
2039 * gdb.threads/killed.c: Likewise.
2040 * gdb.threads/linux-dp.c: Likewise.
2041 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2042 * gdb.threads/non-ldr-exc-2.c: Likewise.
2043 * gdb.threads/non-ldr-exc-3.c: Likewise.
2044 * gdb.threads/non-ldr-exc-4.c: Likewise.
2045 * gdb.threads/pthreads.c: Include unistd.h.
2046 (main): Declare returns int.
2047 * gdb.threads/tls-main.c (foo): New declaration.
2048 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2049
f7e5394d
SM
20502015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2051
2052 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2053 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2054
743649fd
MW
20552015-01-15 Mark Wielaard <mjw@redhat.com>
2056
2057 * gdb.base/noreturn-return.c: New file.
2058 * gdb.base/noreturn-return.exp: New file.
2059 * gdb.base/noreturn-finish.c: New file.
2060 * gdb.base/noreturn-finish.exp: New file.
2061
198297aa
PA
20622015-01-23 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.threads/continue-pending-after-query.c: New file.
2065 * gdb.threads/continue-pending-after-query.exp: New file.
2066
717cf30c
AG
20672015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2068 Simon Marchi <simon.marchi@ericsson.com>
2069
2070 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2071 * gdb.base/valgrind-db-attach.exp: Same.
2072 * gdb.base/valgrind-infcall.exp: Same.
2073 * lib/mi-support.exp (default_mi_gdb_start): Same.
2074 * lib/prompt.exp (default_prompt_gdb_start): Same.
2075 * lib/gdb.exp (default_gdb_spawn): Same.
2076 (gdb_interact): New.
2077
2078
4b62a76e
JK
20792015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2080
2081 * gdb.compile/compile.exp (pointer to jit function): New test.
2082
b4cdae6f
WW
20832015-01-17 Wei-cheng Wang <cole945@gmail.com>
2084
2085 * lib/gdb.exp (supports_process_record): Return true for
2086 powerpc*-*-linux*.
2087 (supports_reverse): Likewise.
2088
d221e7ef
DB
20892015-01-15 Don Breazeal <donb@codesourcery.com>
2090
2091 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2092 instead of checking whether the target board is remote and
2093 use spawn_wait_for_attach instead of exec/sleep.
2094 * gdb.base/attach-twice.exp: Likewise.
2095
bafffb51
JB
20962015-01-15 Joel Brobecker <brobecker@adacore.com>
2097
2098 * gdb.ada/var_arr_attrs: New testcase.
2099
5589af0e
PA
21002015-01-14 Pedro Alves <palves@redhat.com>
2101 Joel Brobecker <brobecker@adacore.com>
2102
2103 PR gdb/17525
2104 * gdb.base/bp-cmds-execution-x-script.c: New file.
2105 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2106 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2107
6c400b59
PA
21082015-01-14 Pedro Alves <palves@redhat.com>
2109
2110 PR cli/17828
2111 * gdb.base/batch-preserve-term-settings.c: New file.
2112 * gdb.base/batch-preserve-term-settings.exp: New file.
2113
e02c96a7
DE
21142015-01-13 Doug Evans <dje@google.com>
2115
2116 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2117 binary.
2118
576fd14c
JB
21192015-01-13 Joel Brobecker <brobecker@adacore.com>
2120
2121 * Makefile.in (clean mostlyclean): Do not delete *.py.
2122
04dccad0
JB
21232015-01-13 Joel Brobecker <brobecker@adacore.com>
2124
2125 * gdb.python/py-lookup-type.exp: New file.
2126
3d230f71
PA
21272015-01-12 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2130 restore GDBFLAGS before returning.
2131
7e67715d
JK
21322015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2133
2134 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2135 is_amd64_regs_target and is_x86_like_target.
2136
f2e0d4b4
DE
21372015-01-11 Doug Evans <xdje42@gmail.com>
2138
2139 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2140 is given without an explicit form.
2141 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2142 attributes.
2143 * gdb.dwarf/corrupt.exp: Ditto.
2144 * gdb.dwarf2/enum-type.exp: Ditto.
2145 * gdb.trace/entry-values.exp: Ditto.
2146 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2147
439250fb
DE
21482015-01-11 Doug Evans <xdje42@gmail.com>
2149
2150 PR gdb/15830
2151 * gdb.base/maint.exp: Remove references to "maint demangle".
2152 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2153 Add tests for explicitly specifying language to demangle.
2154 * gdb.dlang/demangle.exp: Ditto.
2155
ede9f622
PA
21562015-01-09 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.threads/non-stop-fair-events.c: New file.
2159 * gdb.threads/non-stop-fair-events.exp: New file.
2160
a7b796db
PA
21612015-01-09 Pedro Alves <palves@redhat.com>
2162
2163 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2164 the global scope. Set a breakpoint after all threads are started
2165 rather than stepping over two source lines. Expect the prompt.
2166 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2167 global.
2168 (NUM): Now 15.
2169 (main): Use threads_started_barrier to wait for all threads to
2170 start. Main thread no longer calls thread_function. Exit after
2171 180 seconds.
2172 (loop): New function.
2173 (thread_function): Wait on threads_started_barrier barrier. Call
2174 'loop' at each iteration.
2175 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2176 threads have started, instead of hardcoding number of "next"
2177 steps. Use an access watchpoint instead of a write watchpoint.
2178
9665ffdd
PA
21792015-01-09 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2182 (thread_func): Wait on barrier.
2183 (main): Wait for all threads to start before stopping GDB.
2184 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2185 global.
2186 (thread1_func, thread2_func): Wait on barrier.
2187 (main): Wait for all threads to start before stopping GDB.
2188 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2189 New global.
2190 (thread1_func, thread2_func): Wait on barrier.
2191 (main): Wait for all threads to start before stopping GDB.
2192
c945a99f
PA
21932015-01-09 Pedro Alves <palves@redhat.com>
2194
2195 * gdb.threads/attach-many-short-lived-threads.c: New file.
2196 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2197
c1a747c1
PA
21982014-01-09 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2201 instead of to thread 2.
2202 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2203 Add barrier around each pthread_create call instead of around all
2204 calls.
2205 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2206 Set a break on thread_function and have the child threads hit it
2207 one at at a time.
2208
60b3033e
PA
22092015-01-09 Pedro Alves <palves@redhat.com>
2210
2211 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2212 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2213 false.
2214 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2215 checking whether the target board is remote.
2216 * gdb.multi/multi-attach.exp: Likewise.
2217 * gdb.python/py-sync-interp.exp: Likewise.
2218 * gdb.server/ext-attach.exp: Likewise.
2219 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2220 tests that need to attach, instead of checking whether the target
2221 board is remote at the top of the file.
2222
acc018ac
YQ
22232015-01-08 Yao Qi <yao@codesourcery.com>
2224
2225 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2226
50a18af8
JK
22272015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2228
2229 Fix testcase compilation.
2230 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2231
8503d6e1
JB
22322015-01-06 Joel Brobecker <brobecker@adacore.com>
2233
2234 * gdb.python/py-type.exp: Add a couple test about empty
2235 array creation, and negative-length array creation.
2236
cc73dbcc
DE
22372015-01-02 Doug Evans <xdje42@gmail.com>
2238
2239 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2240
0300bbc7
DE
22412015-01-02 Doug Evans <dje@google.com>
2242
2243 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2244
9d85a0ec
YQ
22452014-12-29 Yao Qi <yao@codesourcery.com>
2246
2247 * gdb.trace/entry-values.exp: Update comments. Rename variable
2248 bar_call_foo to returned_from_foo.
2249
87186c6a
MMN
22502014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2251
2252 PR gdb/17394
2253 * gdb.linespec/break-asm-file.c: New file.
2254 * gdb.linespec/break-asm-file.exp: New file.
2255 * gdb.linespec/break-asm-file0.s: New file.
2256 * gdb.linespec/break-asm-file1.s: New file.
2257
1bab7383
YQ
22582014-12-18 Nigel Stephens <nigel@mips.com>
2259 Maciej W. Rozycki <macro@codesourcery.com>
2260
2261 * gdb.base/float.exp: Handle the new output from "info float" on
2262 MIPS targets.
2263
1bc1068a
JK
22642014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2265
2266 Fix MinGW compilation.
2267 * gdb.compile/compile-ops.exp: Update untested message if
2268 !skip_compile_feature_tests.
2269 * gdb.compile/compile-setjmp.exp: Likewise.
2270 * gdb.compile/compile-tls.exp: Likewise.
2271 * gdb.compile/compile.exp: Likewise.
2272 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2273 supported on this host".
2274
b6615d10
DE
22752014-12-16 Doug Evans <xdje42@gmail.com>
2276
2277 * boards/stabs.exp: New file.
2278
25dda427
AA
22792014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2280
2281 * gdb.base/completion.exp: Adjust to format changes of "maint
2282 print user-registers".
2283
bf330350
CU
22842014-12-16 Catalin Udma <catalin.udma@freescale.com>
2285
2286 PR server/17457
2287 * gdb.arch/aarch64-fp.c: New file.
2288 * gdb.arch/aarch64-fp.exp: New file.
2289
395cf596
SDJ
22902014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2291
2292 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2293 r210637, r210913, r211666, r215400, r215817).
2294
2295 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2296 * dg-extract-results.py: New file.
2297 * dg-extract-results.sh: Use it if the environment seems
2298 suitable.
2299
2300 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2301
2302 * dg-extract-results.py (parse_run): Handle warnings that
2303 are printed before a test harness is run.
2304
2305 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2306
2307 * dg-extract-results.py (Named): Remove __cmp__ method.
2308 (output_variation): Use a key to sort variation.harnesses.
2309
2310 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2311
2312 * dg-extract-results.py: For Python 3, force sys.stdout to
2313 handle surrogate escape sequences.
2314 (safe_open): New function.
2315 (output_segment, main): Use it.
2316
2317 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2318
2319 * dg-extract-results.py (Prog.result_re): Include options
2320 in test name.
2321
2322 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2323
2324 * dg-extract-results.py (output_variation): Always sort if
2325 do_sum.
2326
e882ef3c
SM
23272014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2328
2329 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2330 as long as we get pagination notifications.
2331
4992aa20
JM
23322014-12-15 Jason Merrill <jason@redhat.com>
2333
2334 * Makefile.in (check-gdb.%): Restore.
2335 * README: Mention it.
2336
c1b5a1a6
JB
23372014-12-13 Joel Brobecker <brobecker@adacore.com>
2338
2339 * gdb.ada/str_uninit: New testcase.
2340
5537b577
JK
23412014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2342
2343 PR symtab/17642
2344 * gdb.base/vla-stub-define.c: New file.
2345 * gdb.base/vla-stub.c: New file.
2346 * gdb.base/vla-stub.exp: New file.
2347
bb2ec1b3
TT
23482014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2349 Jan Kratochvil <jan.kratochvil@redhat.com>
2350 Tom Tromey <tromey@redhat.com>
2351
2352 * configure.ac: Add gdb.compile/.
2353 * configure: Regenerate.
2354 * gdb.compile/Makefile.in: New file.
2355 * gdb.compile/compile-ops.exp: New file.
2356 * gdb.compile/compile-ops.c: New file.
2357 * gdb.compile/compile-tls.c: New file.
2358 * gdb.compile/compile-tls.exp: New file.
2359 * gdb.compile/compile-constvar.S: New file.
2360 * gdb.compile/compile-constvar.c: New file.
2361 * gdb.compile/compile-mod.c: New file.
2362 * gdb.compile/compile-nodebug.c: New file.
2363 * gdb.compile/compile-setjmp-mod.c: New file.
2364 * gdb.compile/compile-setjmp.c: New file.
2365 * gdb.compile/compile-setjmp.exp: New file.
2366 * gdb.compile/compile-shlib.c: New file.
2367 * gdb.compile/compile.c: New file.
2368 * gdb.compile/compile.exp: New file.
2369 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2370
4ff709eb
TT
23712014-12-12 Tom Tromey <tromey@redhat.com>
2372
2373 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2374 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2375
6dddd6a5
DE
23762014-12-12 Doug Evans <dje@google.com>
2377
2378 * lib/gdb-python.exp (get_python_valueof): New function.
2379 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2380
71c24708
AA
23812014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2382
2383 * gdb.base/completion.exp: Add test for completion of "info
2384 registers ".
2385
3e29f34a
MR
23862014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2387
2388 * gdb.base/func-ptrs.c: New file.
2389 * gdb.base/func-ptrs.exp: New file.
2390
fc126975
SM
23912014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2392
2393 PR breakpoints/17012
2394 * gdb.base/dprintf-detach.c: New file.
2395 * gdb.base/dprintf-detach.exp: New file.
2396
0a46d518
SM
23972014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2398
2399 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2400 * lib/gdb.exp (target_is_gdbserver): New procedure.
2401
a0be3e44
DE
24022014-12-08 Doug Evans <dje@google.com>
2403
2404 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2405
df1b803a
YQ
24062014-12-05 Yao Qi <yao@codesourcery.com>
2407
2408 * gdb.guile/scm-error.exp: Remove the third argument to
2409 gdb_remote_download.
2410 * gdb.guile/scm-frame-args.exp: Likewise.
2411 * gdb.guile/scm-section-script.exp: Likewise.
2412
ddb9f679
YQ
24132014-12-05 Yao Qi <yao@codesourcery.com>
2414
2415 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2416
86e4ed39
DE
24172014-12-04 Doug Evans <dje@google.com>
2418
2419 * gdb.python/py-objfile.exp: Add tests for
2420 objfile.add_separate_debug_file.
2421
7c50a931
DE
24222014-12-04 Doug Evans <dje@google.com>
2423
2424 * lib/gdb.exp (get_build_id): New function.
2425 (build_id_debug_filename_get): Rewrite to use it.
2426 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2427
621661e3
MR
24282014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2429
2430 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2431 `method(long)', not just 0x0.
2432 * gdb.cp/nsalias.exp: Align code labels to 4.
2433 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2434 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2435 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2436 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2437 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2438 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2439
29f0c3b7
DE
24402014-12-02 Doug Evans <dje@google.com>
2441
e1e061e7 2442 PR symtab/17602
29f0c3b7 2443 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2444 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2445 * gdb.cp/anon-ns.exp: Update.
2446
162078c8
NB
24472014-12-02 Nick Bull <nicholaspbull@gmail.com>
2448
2449 * gdb.python/py-events.py (inferior_call_handler): New.
2450 (register_changed_handler, memory_changed_handler): New.
2451 (test_events.invoke): Register new handlers.
2452 * gdb.python/py-events.exp: Add tests for inferior call,
2453 memory_changed and register_changed events.
2454
fdb09caf
AA
24552014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2456
2457 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2458 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2459 if the linker doesn't understand this.
2460
55cfb2c4
SM
24612014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2462
2463 * gdb.python/python.exp: Change expected reply to help().
2464
9e8cd6df
YQ
24652014-12-01 Yao Qi <yao@codesourcery.com>
2466
2467 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2468 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2469 * configure: Re-generated.
2470
6c659fc2
SC
24712014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2472
2473 * gdb.cp/chained-calls.cc: New file.
2474 * gdb.cp/chained-calls.exp: New file.
2475 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2476
d7fc3181
SM
24772014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2478
2479 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2480 * gdb.dwarf2/symtab-producer.exp: Same.
2481 * gdb.gdb/python-interrupts.exp: Same.
2482 * gdb.gdb/python-selftest.exp: Same.
2483 * gdb.python/py-linetable.exp: Same.
2484 * gdb.python/py-type.exp: Same.
2485 * gdb.python/py-value-cc.exp: Same.
2486 * gdb.python/py-value.exp: Same.
2487
10e79639
YQ
24882014-11-28 Yao Qi <yao@codesourcery.com>
2489
2490 * gdb.base/break-probes.exp: Match library name prefixed with
2491 sysroot.
2492
f28a0564
SM
24932014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2494
2495 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2496 test expected output. Add parentheses for the call to print.
2497 Remove L suffix from integers.
2498
3fe1ce1d
DE
24992014-11-26 Doug Evans <dje@google.com>
2500
2501 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2502
84429e27
YQ
25032014-11-22 Yao Qi <yao@codesourcery.com>
2504
2505 * gdb.trace/entry-values.c: Remove asms.
2506 (foo): Add foo_label.
2507 (bar): Add bar_label.
2508 * gdb.trace/entry-values.exp: Remove code computing foo's
2509 length and bar's length.
2510 (Dwarf::assemble): Invoke function_range for bar and use
2511 MACRO_AT_func for foo.
2512
26741859
YQ
25132014-11-22 Yao Qi <yao@codesourcery.com>
2514
2515 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2516 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2517 Use .Lgcc43_procstart instead of gcc43.
2518
45e44d27
JB
25192014-11-21 Joel Brobecker <brobecker@adacore.com>
2520
2521 * gdb.ada/n_arr_bound: New testcase.
2522
458c8db8
SDJ
25232014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2524
2525 PR breakpoints/10737
2526 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2527 test_catch_syscall_multi_arch.
2528 (test_catch_syscall_multi_arch): New function.
2529
43f3e411
DE
25302014-11-20 Doug Evans <xdje42@gmail.com>
2531
2532 * gdb.base/maint.exp: Update expected output.
2533
0d7b2549
AA
25342014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2535
2536 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2537 4-byte instruction on S390.
2538
8908fca5
JB
25392014-11-19 Joel Brobecker <brobecker@adacore.com>
2540
2541 * gdb.ada/arr_arr: New testcase.
2542
4a46959e
JB
25432014-11-19 Joel Brobecker <brobecker@adacore.com>
2544
2545 * gdb.ada/pkd_arr_elem: New Testcase.
2546
470e2f4e
LM
25472014-11-18 Luis Machado <lgustavo@codesourcery.com>
2548
2549 * gdb.reverse/break-precsave: Expect completion message for
2550 core file reads.
2551 * gdb.reverse/consecutive-precsave.exp: Likewise.
2552 * gdb.reverse/finish-precsave.exp: Likewise.
2553 * gdb.reverse/i386-precsave.exp: Likewise.
2554 * gdb.reverse/machinestate-precsave.exp: Likewise.
2555 * gdb.reverse/sigall-precsave.exp: Likewise.
2556 * gdb.reverse/solib-precsave.exp: Likewise.
2557 * gdb.reverse/step-precsave.exp: Likewise.
2558 * gdb.reverse/until-precsave.exp: Likewise.
2559 * gdb.reverse/watch-precsave.exp: Likewise.
2560
a267f3ad
AA
25612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2562
2563 * gdb.base/bp-permanent.c: Include unistd.h.
2564 * gdb.python/py-framefilter-mi.c (main): Add return type.
2565 * gdb.python/py-framefilter.c (main): Likewise.
2566 * gdb.trace/actions-changed.c (main): Likewise.
2567
12084a9a
AA
25682014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2569
2570 * gdb.mi/until.c: Add eye-catchers.
2571 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2572 line numbers.
2573
dc7e1a77
AA
25742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2575
2576 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2577 function header variants in break1.c.
2578 * gdb.base/ena-dis-br.exp: Likewise.
2579 * gdb.base/hbreak2.exp: Likewise.
2580 * gdb.reverse/until-precsave.exp: Drop references to removed
2581 non-prototype function header variants in ur1.c.
2582 * gdb.reverse/until-reverse.exp: Likewise.
2583
41c77605
PM
25842014-11-17 Petr Machata <pmachata@redhat.com>
2585
2586 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2587 ${_cu_offset_size} bytes abbrev offset.
2588
34248c3a
DE
25892014-11-15 Doug Evans <xdje42@gmail.com>
2590
2591 PR symtab/17559
2592 * gdb.base/line-symtabs.exp: New file.
2593 * gdb.base/line-symtabs.c: New file.
2594 * gdb.base/line-symtabs.h: New file.
2595
646da059
YQ
25962014-11-14 Yao Qi <yao@codesourcery.com>
2597
2598 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2599 (func): Add label func_label.
2600 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2601 Replace low_pc and high_pc with MACRO_AT_range.
2602 Replace name, low_pc and high_pc with MACRO_AT_func.
2603
9301ebe6
YQ
26042014-11-14 Yao Qi <yao@codesourcery.com>
2605
2606 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2607 Replace name, low_pc and high_pc with MACRO_AT_func.
2608
f166b542
YQ
26092014-11-14 Yao Qi <yao@codesourcery.com>
2610
2611 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2612 produce debug information.
2613 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2614
0f6e71e3
YQ
26152014-11-14 Yao Qi <yao@codesourcery.com>
2616
2617 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2618 object and get function length.
2619 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2620 with MACRO_AT_func.
2621 (top-level): Replace gdb_compile and clean_restart with
2622 prepare_for_testing.
2623 * gdb.dwarf2/main.c (main): Add label main_label.
2624
876c4df9
YQ
26252014-11-14 Yao Qi <yao@codesourcery.com>
2626
2627 * lib/dwarf.exp (function_range): New procedure.
2628 (Dwarf::_handle_macro_at_func): New procedure.
2629 (Dwarf::_handle_macro_at_range): New procedure.
2630 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2631
02ad9cf1
YQ
26322014-11-14 Yao Qi <yao@codesourcery.com>
2633
2634 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2635 (_handle_attribute): New procedure.
2636
a59add0c
AA
26372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2638
2639 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2640 * gdb.base/call-sc.c (zed): Likewise.
2641 * gdb.base/checkpoint.c (main): Likewise.
2642 * gdb.base/dump.c (main): Likewise.
2643 * gdb.base/gcore.c (main): Likewise.
2644 * gdb.base/huge.c (main): Likewise.
2645 * gdb.base/multi-forks.c (main): Likewise.
2646 * gdb.base/pr10179-a.c (main): Likewise.
2647 * gdb.base/savedregs.c (main): Likewise.
2648 * gdb.base/sigaltstack.c (main): Likewise.
2649 * gdb.base/siginfo.c (main): Likewise.
2650 * gdb.base/structs.c (zed): Likewise.
2651 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2652 * gdb.mi/mi-syn-frame.c (main): Likewise.
2653 * gdb.mi/until.c (foo, main): Likewise.
2654 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2655 * gdb.base/solib-weak.c (foo): Declare.
2656 * gdb.base/attach-twice.c: Include stdio.h.
2657 * gdb.base/weaklib1.c: Likewise.
2658 * gdb.base/weaklib2.c: Likewise.
2659 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2660 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2661 unistd.h.
2662 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2663 * gdb.mi/mi-exit-code.c: Likewise.
2664 * gdb.base/break-interp-lib.c: Include string.h.
2665 * gdb.base/coremaker.c: Likewise.
2666 * gdb.base/testenv.c: Likewise.
2667 * gdb.python/py-finish-breakpoint.c: Likewise.
2668 * gdb.base/inferior-died.c: Include sys/wait.h.
2669 * gdb.base/fileio.c: Include time.h.
2670 * gdb.base/async-shell.c: Include unistd.h.
2671 * gdb.base/dprintf-non-stop.c: Likewise.
2672 * gdb.base/info-os.c: Likewise.
2673 * gdb.mi/mi-console.c: Likewise.
2674 * gdb.mi/watch-nonstop.c: Likewise.
2675 * gdb.python/py-events.c: Likewise.
2676 * gdb.base/async.c (baz): Move up before its invocation.
2677 * gdb.base/code_elim2.c (my_global_func): Likewise.
2678 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2679 * gdb.base/advance.c (func2): Likewise.
2680
3b5d5997
AA
26812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2682
2683 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2684 variant.
2685 * gdb.base/annota3.c: Likewise.
2686 * gdb.base/async.c: Likewise.
2687 * gdb.base/average.c: Likewise.
2688 * gdb.base/call-ar-st.c: Likewise.
2689 * gdb.base/call-rt-st.c: Likewise.
2690 * gdb.base/call-sc.c: Likewise.
2691 * gdb.base/call-strs.c: Likewise.
2692 * gdb.base/ending-run.c: Likewise.
2693 * gdb.base/execd-prog.c: Likewise.
2694 * gdb.base/exprs.c: Likewise.
2695 * gdb.base/foll-exec.c: Likewise.
2696 * gdb.base/foll-fork.c: Likewise.
2697 * gdb.base/foll-vfork.c: Likewise.
2698 * gdb.base/funcargs.c: Likewise.
2699 * gdb.base/gcore.c: Likewise.
2700 * gdb.base/jump.c: Likewise.
2701 * gdb.base/langs0.c: Likewise.
2702 * gdb.base/langs1.c: Likewise.
2703 * gdb.base/langs2.c: Likewise.
2704 * gdb.base/mips_pro.c: Likewise.
2705 * gdb.base/nodebug.c: Likewise.
2706 * gdb.base/opaque0.c: Likewise.
2707 * gdb.base/opaque1.c: Likewise.
2708 * gdb.base/recurse.c: Likewise.
2709 * gdb.base/run.c: Likewise.
2710 * gdb.base/scope0.c: Likewise.
2711 * gdb.base/scope1.c: Likewise.
2712 * gdb.base/setshow.c: Likewise.
2713 * gdb.base/setvar.c: Likewise.
2714 * gdb.base/shmain.c: Likewise.
2715 * gdb.base/shr1.c: Likewise.
2716 * gdb.base/shr2.c: Likewise.
2717 * gdb.base/sigall.c: Likewise.
2718 * gdb.base/signals.c: Likewise.
2719 * gdb.base/so-indr-cl.c: Likewise.
2720 * gdb.base/solib2.c: Likewise.
2721 * gdb.base/structs.c: Likewise.
2722 * gdb.base/sum.c: Likewise.
2723 * gdb.base/vforked-prog.c: Likewise.
2724 * gdb.base/watchpoint.c: Likewise.
2725 * gdb.reverse/shr2.c: Likewise.
2726 * gdb.reverse/until-reverse.c: Likewise.
2727 * gdb.reverse/ur1.c: Likewise.
2728 * gdb.reverse/watch-reverse.c: Likewise.
2729
066a77c5
AA
27302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2731
2732 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2733 variant.
2734 * gdb.base/sepdebug.exp: Drop references to removed code.
2735
4f204ea5
AA
27362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2737
2738 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2739 variant. Preserve original line numbering.
2740 * gdb.base/list1.c: Likewise.
2741
3b377a3a
AA
27422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2743
2744 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2745 variant.
2746 * gdb.base/break1.c: Likewise.
2747 * gdb.base/break.exp: Drop references to removed code.
2748
e444df73
AA
27492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2750
2751 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2752 variant.
2753
8008f2a7
AA
27542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2755
2756 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2757
a5a06887
AA
27582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2759
2760 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2761 logic into perform_all_tests() and invoke it with and without
2762 function header prototypes.
2763 (do_function_calls): Remove conditional XFAIL for PR 5318.
2764 (rerun_and_prepare): Remove duplicate code.
2765 (perform_all_tests): New. Main logic moved here.
2766
44dba9b9
AA
27672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2768
2769 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2770 code guarded by #ifdef NO_PROTOTYPES.
2771 (t_double_many_args): Likewise.
2772 (DEF_FUNC_MANY_ARGS_1): Likewise.
2773 (DEF_FUNC_VALUES_1): Likewise.
2774 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2775 guarded by #ifdef PROTOTYPES.
2776
d1fbcd56
AA
27772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778
2779 * gdb.mi/mi-console.c: Add eye-catcher.
2780 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2781 instead of literal line number.
2782
b0e59b8f
AA
27832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2784
2785 * gdb.base/shr2.c: Add eye-catcher.
2786 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2787 line number.
2788
78f98cca
AA
27892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2790
2791 * gdb.base/jump.c: Add eye-catchers.
2792 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2793 numbers.
2794
58fa2af0
AA
27952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2796
2797 * gdb.base/execd-prog.c: Add eye-catchers.
2798 * gdb.base/foll-exec.c: Likewise.
2799 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2800 line numbers.
2801
04e5059b
AA
28022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2803
2804 * gdb.base/ending-run.c: Add eye-catchers.
2805 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2806 literal line numbers.
2807
dbfdb174
AA
28082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2809
2810 * gdb.base/call-rt-st.c: Add eye-catchers.
2811 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2812 literal line numbers.
2813
888a2ade
AA
28142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2815
2816 * gdb.base/call-ar-st.c: Add eye-catchers.
2817 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2818 literal line numbers.
2819
6acc2dde
AA
28202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2821
2822 * gdb.base/average.c: Add eye-catchers.
2823 * gdb.base/sum.c: Likewise.
2824 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2825 regexps dynamically.
2826
9ecfcd1d
AA
28272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2828
2829 * gdb.base/solib1.c: Add eye-catchers.
2830 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2831 literal line numbers.
2832
78708b7c
PA
28332014-11-12 Pedro Alves <palves@redhat.com>
2834
2835 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2836 leader has exited.
2837
af48d08f
PA
28382014-11-12 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.arch/i386-bp_permanent.c: New file.
2841 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2842 (srcfile): Set to i386-bp_permanent.c.
2843 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2844 that stepi does not execute the 'leave' instruction, instead of
2845 testing it does execute.
2846 * gdb.base/bp-permanent.c: New file.
2847 * gdb.base/bp-permanent.exp: New file.
2848
af3768e9
DE
28492014-11-10 Doug Evans <xdje42@gmail.com>
2850
2851 PR symtab/17564
2852 * gdb.base/symtab-search-order.exp: New file.
2853 * gdb.base/symtab-search-order.c: New file.
2854 * gdb.base/symtab-search-order-1.c: New file.
2855 * gdb.base/symtab-search-order-shlib-1.c: New file.
2856
9de00a4a
PA
28572014-11-07 Pedro Alves <palves@redhat.com>
2858
2859 PR gdb/17511
2860 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2861 i?86-*-linux*.
2862
e0f52461
SC
28632014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2864
2865 PR c++/17494
2866 * gdb.cp/pr17494.cc: New file.
2867 * gdb.cp/pr17494.exp: New file.
2868
6ce8c980
YQ
28692014-11-02 Yao Qi <yao@codesourcery.com>
2870
2871 * gdb.python/python.exp: Get working directory and match the
2872 output of "set extended-prompt \\w " with it.
2873
02be9a71
DE
28742014-10-30 Doug Evans <dje@google.com>
2875
2876 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2877 in objfiles.
2878 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2879 in progspaces.
2880
3bdff46b
LM
28812014-10-30 Janis Johnson <janisjo@codesourcery.com>
2882
2883 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2884 * gdb.base/realname-expand.exp: Likewise.
2885 * gdb.linespec/macro-relative.exp: Likewise.
2886
ab917dfb
PA
28872014-10-29 Pedro Alves <palves@redhat.com>
2888
2889 PR gdb/17408
2890 * gdb.threads/schedlock.c (some_function): New function.
2891 (call_function): New global.
2892 (MAYBE_CALL_SOME_FUNCTION): New macro.
2893 (thread_function): Call it.
2894 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2895 and use it instead of a global counter. Adjust all callers.
2896 (get_current_thread): Use "find current thread" for test message
2897 here rather than having all callers pass down the same string.
2898 (goto_loop): New procedure, factored out from ...
2899 (my_continue): ... this.
2900 (step_ten_loops): Change parameter from test message to command to
2901 use. Adjust.
2902 (list_count): Delete global.
2903 (check_result): New procedure, factored out from duplicate top
2904 level code.
2905 (continue tests): Wrap in with_test_prefix.
2906 (test_step): New procedure, factored out from duplicate top level
2907 code.
2908 (top level): Test "step" in combination with all scheduler-locking
2909 modes. Test "next" in combination with all scheduler-locking
2910 modes, and in combination with stepping over a function call or
2911 not.
2912 * gdb.threads/next-bp-other-thread.c: New file.
2913 * gdb.threads/next-bp-other-thread.exp: New file.
2914
d3d4baed
PA
29152014-10-29 Pedro Alves <palves@redhat.com>
2916
2917 PR python/17372
2918 * gdb.python/python.exp: Test a multi-line command that spawns
2919 interactive Python.
2920 * gdb.base/multi-line-starts-subshell.exp: New file.
2921
563e8d85
YQ
29222014-10-29 Yao Qi <yao@codesourcery.com>
2923
2924 * gdb.base/fileio.exp: Make directories on host.
2925
0ea4d52e
YQ
29262014-10-29 Yao Qi <yao@codesourcery.com>
2927
2928 * gdb.base/fileio.c (test_write): Close the file.
2929
7f5ef605
PA
29302014-10-28 Pedro Alves <palves@redhat.com>
2931
2932 PR gdb/12623
2933 * gdb.base/sigstep.c (no_handler): New global.
2934 (main): If 'no_handler is true, set the signal handlers to
2935 SIG_IGN.
2936 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2937 with_sw_watch and no_handler parameters. Handle them.
2938 (top level) <stepping over handler when stopped at a breakpoint
2939 test>: Add a test axis for testing with a software watchpoint, and
2940 another for testing with the signal handler set to SIG_IGN.
2941 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2942 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2943
abbdbd03
PA
29442014-10-28 Pedro Alves <palves@redhat.com>
2945
2946 PR gdb/17511
2947 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2948 * gdb.base/sigstep.exp (other_handler_location): New global.
2949 (advance): Support stepping into the signal handler, and running
2950 commands while in the handler.
2951 (in_handler_map): New global.
2952 (top level): In the advance test, add combinations for getting
2953 into the handler with stepping commands, and for running commands
2954 in the handler. Add comment descripting the advancei tests.
2955
1df4399f
PA
29562014-10-28 Pedro Alves <palves@redhat.com>
2957
2958 * gdb.base/sigstep.exp: Use build_executable instead of
2959 prepare_for_testing.
2960 (top level): Move code that starts GDB, runs to main and creates a
2961 display to ...
2962 (restart): ... this new procedure.
2963 (top level): Move backtrace from signal handler test to ...
2964 (validate_backtrace): ... this new procedure.
2965 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2966 with_test_prefix. Always restart GDB.
2967 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2968 with_test_prefix. Always restart GDB. No need to delete
2969 breakpoints after the test.
2970 (test_skip_handler): Remove prefix parameter.
2971 (skip_over_handler, breakpoint_to_handler)
2972 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2973 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2974 restart GDB. No need to delete breakpoints after the test.
2975 (top level): Use foreach to call the test procedures with
2976 different commands.
2977
a5b6e449
PA
29782014-10-28 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2981 instead of GNATS numbers.
2982 * gdb.base/sigbpt.exp: Likewise.
2983 * gdb.base/siginfo.exp: Likewise.
2984 * gdb.base/sigstep.exp: Likewise.
2985
e5f8a7cc
PA
29862014-10-27 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.base/sigstep.c (dummy): New global.
2989 (main): Issue a couple writes to the new global.
2990 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2991 procedures.
2992 (skip_over_handler): Use test_skip_handler.
2993 (top level): Call skip_over_handler for stepi and nexti too.
2994 (breakpoint_over_handler): Use test_skip_handler.
2995 (top level): Call breakpoint_over_handler for stepi and nexti too.
2996
763905a3
YQ
29972014-10-27 Yao Qi <yao@codesourcery.com>
2998
2999 * gdb.trace/tfile.c (adjust_function_address)
3000 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
3001 function descriptor.
3002
6f259a23
DB
30032014-10-24 Don Breazeal <donb@codesourcery.com>
3004
3005 * gdb.base/foll-fork.exp (test_follow_fork,
3006 catch_fork_child_follow): Check for updated fork messages emitted
3007 from infrun.c.
3008 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3009 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3010 vfork_and_exec_child_follow_through_step): Check for updated vfork
3011 messages emitted from infrun.c.
3012
09dd9a69
PA
30132014-10-24 Pedro Alves <palves@redhat.com>
3014
3015 * gdb.base/corefile.exp: Remove references to ultrix.
3016 * gdb.base/interrupt.exp: Likewise.
3017 * gdb.base/whatis.exp: Likewise.
3018 * gdb.gdb/selftest.exp: Likewise.
3019 * gdb.threads/manythreads.exp: Likewise.
3020 * gdb.threads/print-threads.exp: Likewise.
3021 * gdb.threads/pthreads.exp:: Likewise.
3022 * gdb.threads/schedlock.exp: Likewise.
3023
3433cfa5
SC
30242014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3025
3026 * gdb.cp/non-trivial-retval.cc: Add a test case.
3027 * gdb.cp/non-trivial-retval.exp: Add a test.
3028
092f880b
YQ
30292014-10-20 Yao Qi <yao@codesourcery.com>
3030
3031 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3032 * gdb.python/py-objfile-script-gdb.py: New file.
3033 * gdb.python/py-objfile-script.exp: Update reference to
3034 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3035 of remote_download. Remove the dest file.
3036
acbdb7f3
YQ
30372014-10-20 Yao Qi <yao@codesourcery.com>
3038
3039 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3040 * gdb.base/step-line.exp: Likewise.
3041 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3042 * gdb.dwarf2/dw2-basic.exp: Likewise.
3043 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3044 * gdb.dwarf2/dw2-filename.exp: Likewise.
3045 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3046 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3047 * gdb.dwarf2/dw2-producer.exp: Likewise.
3048 * gdb.dwarf2/mac-fileno.exp: Likewise.
3049 * gdb.python/py-frame-args.exp: Likewise.
3050 * gdb.python/py-framefilter.exp: Likewise.
3051 * gdb.python/py-mi.exp: Likewise.
3052 * gdb.python/py-objfile-script.exp: Likewise
3053 * gdb.python/py-pp-integral.exp: Likewise.
3054 * gdb.python/py-pp-re-notag.exp: Likewise.
3055 * gdb.python/py-prettyprint.exp: Likewise.
3056 * gdb.python/py-section-script.exp: Likewise.
3057 * gdb.python/py-typeprint.exp: Likewise.
3058 * gdb.python/py-xmethods.exp: Likewise.
3059 * gdb.stabs/weird.exp: Likewise.
3060 * gdb.xml/tdesc-regs.exp: Likewise.
3061
bd286a29
KCY
30622014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3063
3064 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3065 (out_cu): Use addr_len for the size of addresses.
3066 (out_line): Likewise. Size DW_LNE_set_address instruction
3067 according to addr_len.
3068 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3069 (FUNC): Add START_INSNS to definition.
3070
673dc4a0
YQ
30712014-10-18 Yao Qi <yao@codesourcery.com>
3072
3073 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3074 gdb_has_argv0 return true.
3075 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3076 check [target_info exists noargs], check [gdb_has_argv0]
3077 instead.
3078 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3079 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3080 procedures.
3081
4ffbba72
DE
30822014-10-17 Doug Evans <dje@google.com>
3083
3084 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3085 event.
3086 * gdb.python/py-events.py: Add clear_objfiles event.
3087
d096d8c1
DE
30882014-10-17 Doug Evans <dje@google.com>
3089
3090 * gdb.python/py-objfile.exp: Test progspace attribute.
3091
a80db015
LM
30922014-10-17 Luis Machado <lgustavo@codesourcery.com>
3093
3094 * gdb.guile/scm-breakpoint.exp: Do not assume any
3095 directory separators when matching source file paths.
3096 * gdb.python/py-breakpoint.exp: Likewise.
3097 * gdb.reverse/break-precsave.exp: Likewise.
3098 * gdb.reverse/break-reverse.exp: Likewise.
3099 * gdb.reverse/consecutive-precsave.exp: Likewise.
3100 * gdb.reverse/finish-precsave.exp: Likewise.
3101 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3102 * gdb.reverse/finish-reverse.exp: Likewise.
3103 * gdb.reverse/i386-precsave.exp: Likewise.
3104 * gdb.reverse/i387-env-reverse.exp: Likewise.
3105 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3106 * gdb.reverse/machinestate-precsave.exp: Likewise.
3107 * gdb.reverse/machinestate.exp: Likewise.
3108 * gdb.reverse/sigall-precsave.exp: Likewise.
3109 * gdb.reverse/solib-precsave.exp: Likewise.
3110 * gdb.reverse/step-precsave.exp: Likewise.
3111 * gdb.reverse/until-precsave.exp: Likewise.
3112 * gdb.reverse/watch-precsave.exp: Likewise.
3113 * gdb.reverse/watch-reverse.exp: Likewise.
3114
b22089ab
YQ
31152014-10-17 Yao Qi <yao@codesourcery.com>
3116
3117 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3118 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3119
6c4486e6
PA
31202014-10-17 Pedro Alves <palves@redhat.com>
3121
3122 PR gdb/17471
3123 * gdb.base/bg-execution-repeat.c: New file.
3124 * gdb.base/bg-execution-repeat.exp: New file.
3125
0ff33695
PA
31262014-10-17 Pedro Alves <palves@redhat.com>
3127
3128 PR gdb/17300
3129 * gdb.base/continue-all-already-running.c: New file.
3130 * gdb.base/continue-all-already-running.exp: New file.
3131
6fdebc3d
PA
31322014-10-17 Pedro Alves <palves@redhat.com>
3133
3134 PR gdb/17472
3135 * gdb.base/annota-input-while-running.c: New file.
3136 * gdb.base/annota-input-while-running.exp: New file.
3137
32a8097b
PA
31382014-10-17 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.base/callfuncs.exp: emove references to osf.
3141 * gdb.base/sigall.exp: Likewise.
3142 * gdb.gdb/selftest.exp: Likewise.
3143 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3144 * gdb.mi/non-stop.c: Likewise.
3145 * gdb.mi/pthreads.c: Likewise.
3146 * gdb.reverse/sigall-precsave.exp: Likewise.
3147 * gdb.reverse/sigall-reverse.exp: Likewise.
3148 * gdb.threads/pthreads.c: Likewise.
3149 * gdb.threads/pthreads.exp: Likewise.
3150
7a3517ff
YQ
31512014-10-17 Yao Qi <yao@codesourcery.com>
3152
3153 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3154 check 'target_info exists noargs'.
3155 (test_command_prompt_position): Likewise.
3156 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3157 Remove "set args".
3158 (progvar_simple_while_test): Likewise.
3159 (progvar_complex_if_while_test): Likewise.
3160 (if_while_breakpoint_command_test): Likewise.
3161 (infrun_breakpoint_command_test): Likewise.
3162 (breakpoint_command_test): Likewise.
3163 (watchpoint_command_test): Likewise.
3164 (bp_deleted_in_command_test): Likewise.
3165 (temporary_breakpoint_commands): Likewise.
3166
bb99c472
YQ
31672014-10-16 Yao Qi <yao@codesourcery.com>
3168
3169 * gdb.base/remotetimeout.exp: Remove noargs checking.
3170
7c16b83e
PA
31712014-10-15 Pedro Alves <palves@redhat.com>
3172
3173 PR breakpoints/9649
3174 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3175 * gdb.base/breakpoint-in-ro-region.exp
3176 (probe_target_hardware_step): New procedure.
3177 (top level): Probe hardware stepping and hardware breakpoint
3178 support. Test stepping through a read-only region, with both
3179 "breakpoint auto-hw" on and off and both "always-inserted" on and
3180 off.
3181
35a49624
IB
31822014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3183
3184 * gdb.dlang/demangle.exp: Update for demangling changes.
3185
2d1c107c
SC
31862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3187
3188 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3189 * gdb.cp/non-trivial-retval.exp: Add new tests.
3190
778811d5
SC
31912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3192
3193 PR c++/13403
3194 PR c++/15154
3195 * gdb.cp/non-trivial-retval.cc: New file.
3196 * gdb.cp/non-trivial-retval.exp: New file.
3197
10c5f0a8
YQ
31982014-10-15 Yao Qi <yao@codesourcery.com>
3199
3200 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3201 remote host.
3202
65d7b369
YQ
32032014-10-15 Yao Qi <yao@codesourcery.com>
3204
3205 * gdb.python/py-symbol.exp: Match file base name if host is
3206 remote, otherwise match file name with dir name.
3207 * gdb.python/py-symtab.exp: Likewise.
3208 * gdb.python/python.exp: Likewise.
3209
46dc1394
YQ
32102014-10-15 Yao Qi <yao@codesourcery.com>
3211
3212 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3213 pattern.
3214 * gdb.python/py-symtab.exp: Likewise.
3215 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3216 locationn.
3217
c40cc657
JB
32182014-10-14 Joel Brobecker <brobecker@adacore.com>
3219
3220 * gdb.ada/addr_arith: New testcase.
3221
2abf49e1
MR
32222014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3223
3224 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3225 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3226 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3227 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3228
f7088df3
SDJ
32292014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3230
3231 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3232 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3233 * gdb.arch/stap-eval-lang-ada.exp: New file.
3234
4dc06805
YQ
32352014-10-14 Yao Qi <yao@codesourcery.com>
3236
3237 * gdb.mi/mi-var-child.c (nothing1): New function.
3238 (nothing2): New function.
3239 (do_children_tests): Set function pointers by nothing1 and
3240 nothing2.
3241 * gdb.mi/mi-var-child.exp: Step over new added statements.
3242 Update test to match the new output.
3243 * gdb.mi/var-cmd.c (nothing1): New function.
3244 (nothing2): New function.
3245 (do_children_tests): Set function pointers by nothing1 and
3246 nothing2.
3247 * gdb.mi/mi-var-display.exp: Update test to match output.
3248 Step to the line specified by $line_dct_nothing.
3249 Increase the number of lines to step.
3250
46a93de2
YQ
32512014-10-14 Yao Qi <yao@codesourcery.com>
3252
3253 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3254 tests.
3255 * gdb.mi/mi2-var-child.exp: Likewise.
3256
14ea52ee
DE
32572014-10-13 Doug Evans <dje@google.com>
3258
3259 * gdb.python/py-objfile.exp: Change name of file name test.
3260
e5c6e92b
DE
32612014-10-13 Doug Evans <dje@google.com>
3262
3263 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3264 from the start of the CU.
3265
c780cc2f
JK
32662014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3267 Yao Qi <yao@codesourcery.com>
3268
3269 Fix "save breakpoints" for "catch" command.
3270 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3271 Remove -nonewline. Match also the added "main" line.
3272
99894e11
JK
32732014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3274
3275 Fix "save breakpoints" for "disable $bpnum" command.
3276 * gdb.base/save-bp.c (main): Add label.
3277 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3278
6e1ac5a3
JK
32792014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3280
3281 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3282
754dd2b0
YQ
32832014-10-11 Yao Qi <yao@codesourcery.com>
3284
3285 * gdb.server/server-kill.exp: Execute command
3286 "set remote trace-status-packet on" before "tstatus".
3287
f90183d7
YQ
32882014-10-11 Yao Qi <yao@codesourcery.com>
3289
3290 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3291 (main): Call getppid.
3292 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3293 and continue to it. Read variable "server_pid".
3294
bf40a607
YQ
32952014-10-11 Yao Qi <yao@codesourcery.com>
3296
3297 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3298
052ca370
YQ
32992014-10-11 Yao Qi <yao@codesourcery.com>
3300
3301 * gdb.threads/thread-find.exp: Don't execute command
3302 "info threads".
3303 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3304 * gdb.threads/linux-dp.exp: Don't check the condition
3305 $threads_created equals to zero.
3306
3831839c
PA
33072014-10-10 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.base/bigcore.exp: Remove references to IRIX.
3310 * gdb.base/funcargs.exp: Likewise.
3311 * gdb.base/interrupt.exp: Likewise.
3312 * gdb.base/mips_pro.exp: Likewise.
3313 * gdb.base/nodebug.exp: Likewise.
3314 * gdb.base/setvar.exp: Likewise.
3315 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3316
8b9a549d
PA
33172014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3318 Pedro Alves <palves@redhat.com>
3319
3320 PR symtab/14466
3321 * gdb.base/vdso-warning.c: New file.
3322 * gdb.base/vdso-warning.exp: New file.
3323
d48ba5e8
DE
33242014-10-02 Doug Evans <dje@google.com>
3325
3326 * gdb.base/structs.c (main): Don't run forever.
3327
2278c276
PA
33282014-10-02 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3331 (top level) <stop threads 1, stop threads 2>: Use it.
3332
b57bacec
PA
33332014-10-02 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.threads/break-while-running.exp (test): Add new
3336 'update_thread_list' argument. Skip "info threads" if false.
3337 (top level): Add new 'update_thread_list' axis.
3338
13fd3ff3
PA
33392014-10-02 Pedro Alves <palves@redhat.com>
3340
3341 PR breakpoints/17431
3342 * gdb.base/execl-update-breakpoints.c: New file.
3343 * gdb.base/execl-update-breakpoints.exp: New file.
3344
0fec99e8
PA
33452014-10-01 Pedro Alves <palves@redhat.com>
3346
3347 * gdb.base/breakpoint-in-ro-region.c: New file.
3348 * gdb.base/breakpoint-in-ro-region.exp: New file.
3349
2ddf4301
SM
33502014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3351
3352 * gdb.mi/mi-exit-code.exp: New file.
3353 * gdb.mi/mi-exit-code.c: New file.
3354
6a5f3f43
YQ
33552014-09-30 Yao Qi <yao@codesourcery.com>
3356
3357 * lib/prelink-support.exp (build_executable_own_libs): Error if
3358 the target isn't native.
3359
345bcc73
YQ
33602014-09-30 Yao Qi <yao@codesourcery.com>
3361
3362 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3363 false.
3364
a25a5a45
PA
33652014-09-22 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.threads/break-while-running.exp: New file.
3368 * gdb.threads/break-while-running.c: New file.
3369
00ba3162
YQ
33702014-09-19 Yao Qi <yao@codesourcery.com>
3371
3372 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3373 Invoke test. Restart GDB with --readnow and invoke test again.
3374
c3b7b696
YQ
33752014-09-19 Yao Qi <yao@codesourcery.com>
3376
3377 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3378 proc set_breakpoint_on_gcd_function. Invoke
3379 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3380 invoke set_breakpoint_on_gcd_function again.
3381
2b4fd423
DE
33822014-09-18 Doug Evans <dje@google.com>
3383
3384 * gdb.dwarf2/symtab-producer.exp: New file.
3385
a5947601
SDJ
33862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3387
3388 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3389 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3390 * gdb.base/global-var-nested-by-dso.c: Likewise.
3391 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3392
91c19059
SDJ
33932014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3394 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/watch-bitfields.exp: Pass string other than test file
3397 name to prepare_for_testing.
3398 (watch): New procedure.
3399 (expect_watchpoint): Use with_test_prefix.
3400 (top level): Factor out tests to ...
3401 (test_watch_location, test_regular_watch): ... these new
3402 procedures, and use with_test_prefix and gdb_continue_to_end.
3403
bb9d5f81
PP
34042014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3405
3406 PR breakpoints/12526
3407 * gdb.base/watch-bitfields.exp: New file.
3408 * gdb.base/watch-bitfields.c: New file.
3409
635856f5
PA
34102014-09-16 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3413 software and hardware addresses, not software address against
3414 itself.
3415
7280ceea
PA
34162014-09-16 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3419 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3420
428b16bd
PA
34212014-09-16 Pedro Alves <palves@redhat.com>
3422
3423 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3424 files.
3425 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3426 "*-*-vxworks*" throughout.
3427 * gdb.base/break.exp: Likewise.
3428 * gdb.base/default.exp: Likewise.
3429 * gdb.base/scope.exp: Likewise.
3430 * gdb.base/sepdebug.exp: Likewise.
3431 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3432 throughout.
3433 * gdb.base/run.c: Likewise.
3434 * gdb.base/sepdebug.c: Likewise.
3435 * gdb.hp/gdb.aCC/run.c: Likewise.
3436 * gdb.reverse/until-reverse.c: Likewise.
3437 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3438
666d413c
YQ
34392014-09-16 Yao Qi <yao@codesourcery.com>
3440
3441 * boards/local-remote-host-native.exp: New file.
3442
57cbd724
DE
34432014-09-14 Doug Evans <xdje42@gmail.com>
3444
3445 * gdb.threads/queue-signal.c (thread_count): New variable.
3446 (thread_count_mutex, thread_count_condvar): New variables.
3447 (incr_thread_count, wait_all_threads_running): New functions.
3448 (main): Wait for all threads to be in their thread functions.
3449
81219e53
DE
34502014-09-13 Doug Evans <xdje42@gmail.com>
3451
3452 * gdb.threads/queue-signal.c: New file.
3453 * gdb.threads/queue-signal.exp: New file.
3454
3714cea7
DE
34552014-09-13 Doug Evans <xdje42@gmail.com>
3456
3457 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3458 be consistent with what default_gdb_init uses.
3459 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3460 the plain text of the prompt. Add some logging printfs.
3461 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3462
fa43b1d7
PA
34632014-09-12 Pedro Alves <palves@redhat.com>
3464
3465 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3466 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3467 * gdb.arch/i386-size-overlap.exp: Likewise.
3468 * gdb.arch/i386-size.exp: Likewise.
3469 * gdb.arch/i386-unwind.exp: Likewise.
3470 * gdb.base/a2-run.exp: Likewise.
3471 * gdb.base/break.exp: Likewise.
3472 * gdb.base/charset.exp: Likewise.
3473 * gdb.base/chng-syms.exp: Likewise.
3474 * gdb.base/commands.exp: Likewise.
3475 * gdb.base/dbx.exp: Likewise.
3476 * gdb.base/find.exp: Likewise.
3477 * gdb.base/funcargs.exp: Likewise.
3478 * gdb.base/jit-simple.exp: Likewise.
3479 * gdb.base/reread.exp: Likewise.
3480 * gdb.base/sepdebug.exp: Likewise.
3481 * gdb.base/step-bt.exp: Likewise.
3482 * gdb.cp/mb-inline.exp: Likewise.
3483 * gdb.cp/mb-templates.exp: Likewise.
3484 * gdb.objc/basicclass.exp: Likewise.
3485 * gdb.threads/killed.exp: Likewise.
3486
9d9bf2df
EBM
34872014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3488
3489 PR tdep/17379
3490 * gdb.arch/powerpc-stackless.S: New file.
3491 * gdb.arch/powerpc-stackless.exp: New file.
3492
1cf2f1b0
JK
34932014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3494
3495 * gdb.base/attach.c: Include unistd.h.
3496 (main): Call alarm. Add label postloop.
3497 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3498 gdb_breakpoint, gdb_continue_to_breakpoint.
3499 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3500
98880d46
PA
35012014-09-11 Pedro Alves <palves@redhat.com>
3502
3503 PR gdb/17347
3504 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3505 * gdb.base/attach.exp (test_command_line_attach_run): New
3506 procedure.
3507 (top level): Call it.
3508
4c92ff2c
PA
35092014-09-11 Pedro Alves <palves@redhat.com>
3510
3511 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3512 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3513 (do_command_attach_tests): Use spawn_wait_for_attach.
3514 * gdb.base/solib-overlap.exp: Likewise.
3515 * gdb.multi/multi-attach.exp: Likewise.
3516 * gdb.python/py-prompt.exp: Likewise.
3517 * gdb.python/py-sync-interp.exp: Likewise.
3518 * gdb.server/ext-attach.exp: Likewise.
3519
3adc1a7d
GKB
35202014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3521
3522 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3523 command in testcase. Simplify testcase.
3524
96334934
JB
35252014-09-10 Joel Brobecker <brobecker@adacore.com>
3526
3527 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3528
eb479039
JB
35292014-09-10 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3532
deede10c
JB
35332014-09-10 Joel Brobecker <brobecker@adacore.com>
3534
3535 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3536
7828a5f5
JB
35372014-09-10 Joel Brobecker <brobecker@adacore.com>
3538
3539 * gdb.dwarf2/dynarr-ptr.c: New file.
3540 * gdb.dwarf2/dynarr-ptr.exp: New file.
3541
33aeebcf
MR
35422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3543
3544 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3545 of 30 rather than hardcoding 120 for a slow test case. Take the
3546 `gdb,timeout' target setting into account for this calculation.
3547 Don't extend the timeout for the test cases that don't need it.
3548
7b415901
MR
35492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3550
3551 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3552 a factor of 2 for a slow test case. Take the `gdb,timeout'
3553 target setting into account for this calculation.
3554 * gdb.reverse/until-precsave.exp: Increase the timeout by
3555 a factor of 15 and 3 respectively rather than adding 120
3556 for a pair of slow test cases. Take the `gdb,timeout'
3557 target setting into account for this calculation.
3558
4a40f85a
MR
35592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3560
3561 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3562 timeout, don't pass one down to gdb_expect.
3563 (gdb_expect): Rework timeout selection.
3564
09635af7
MR
35652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3566
3567 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3568 exception on timeout.
3569 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3570 (gdbserver_start_extended): Catch any `gdbserver_start' error
3571 exceptions.
3572 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3573 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3574 `gdbserver_gdb_load' error exceptions.
3575
2bdd10b7
MR
35762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3577
3578 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3579 120 on waiting for the TCP socket to open.
3580
316935f0
DE
35812014-09-09 Doug Evans <xdje42@gmail.com>
3582
3583 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3584 _caller_matches, _any_caller_is, _any_caller_matches.
3585
83740597
DE
35862014-09-09 Doug Evans <xdje42@gmail.com>
3587
3588 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3589
4c122fc3
YQ
35902014-09-09 Yao Qi <yao@codesourcery.com>
3591
3592 * gdb.mi/mi-var-display.exp: Set print symbol off.
3593
a9f116cb
GKB
35942014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3595
3596 PR gdb/17035
3597 * gdb.base/commands.exp: Add tests to verify user-defined
3598 commands with empty bodies.
3599 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3600 python commands in `show user command`.
3601 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3602 scheme commands in `show user command`.
3603
c75bd3a2
JK
36042014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3605
3606 PR python/17355
3607 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3608 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3609 * gdb.python/py-framefilter-invalidarg.exp: New file.
3610 * gdb.python/py-framefilter-invalidarg.py: New file.
3611
faa42425
DE
36122014-09-06 Doug Evans <xdje42@gmail.com>
3613
3614 PR 15276
3615 * gdb.python/py-caller-is.c: New file.
3616 * gdb.python/py-caller-is.exp: New file.
3617
474ca4f6
SDJ
36182014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3619
3620 PR gdb/17235
3621 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3622 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3623
eb0b0463
SDJ
36242014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3625
3626 PR fortran/17237
3627 * gdb.fortran/print-formatted.exp: New file.
3628 * gdb.fortran/print-formatted.f90: Likewise.
3629
5f3b99cf
SS
36302014-09-03 Sasha Smundak <asmundak@google.com>
3631
3632 * gdb.python/py-frame.exp: Test Frame.read_register.
3633
7d793aa9
SDJ
36342014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3635
3636 PR python/16699
3637 * gdb.python/py-completion.exp: New file.
3638 * gdb.python/py-completion.py: Likewise.
3639
fb0576e9
DE
36402014-08-28 Doug Evans <dje@google.com>
3641
3642 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3643 eax,etc. are live with values set by gdb and thus the compiler can't
3644 use them.
3645 * gdb.arch/i386-pseudo.c (main): Ditto.
3646
ee92b0dd
DE
36472014-08-27 Doug Evans <dje@google.com>
3648
3649 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3650
6649db35
DE
36512014-08-25 Doug Evans <dje@google.com>
3652
3653 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3654 (main): Ditto.
3655
564b7600
DE
36562014-08-25 Doug Evans <dje@google.com>
3657
3658 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3659
3881fb67
YQ
36602014-08-24 Yao Qi <yao@codesourcery.com>
3661
3662 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3663 symbol off.
3664 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3665
a05a36a5
DE
36662014-08-22 Doug Evans <dje@google.com>
3667
3668 PR 17276
3669 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3670 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3671 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3672
7c343b48
YQ
36732014-08-22 Yao Qi <yao@codesourcery.com>
3674
3675 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3676 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3677 * gdb.python/python.exp: Likewise. Use .py file on the host
3678 instead of the build.
3679
22fd09ae
JK
36802014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3681
3682 * gdb.threads/gcore-stale-thread.c: New file.
3683 * gdb.threads/gcore-stale-thread.exp: New file.
3684
a8454a7c
PA
36852014-08-21 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3688 * gdb.base/gcore-relro-pie.exp: Likewise.
3689 * gdb.base/gcore-relro.exp: Likewise.
3690 * gdb.base/gcore.exp: Likewise.
3691 * gdb.base/print-symbol-loading.exp: Likewise.
3692 * gdb.threads/gcore-thread.exp: Likewise.
3693 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3694
2a31c623
PA
36952014-08-20 Pedro Alves <palves@redhat.com>
3696 Jan Kratochvil <jan.kratochvil@redhat.com>
3697
3698 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3699 configure.
3700 (EXPECT): Handle READ1 being set.
3701 (all): Depend on EXTRA_RULES.
3702 (check-read1, expect-read1, read1.so, read1): New rules.
3703 * README (Testsuite Parameters): Document the READ1 make variable.
3704 (Race detection): New section.
3705 * configure: Regenerate.
3706 * configure.ac: If build==host==target, and running under a
3707 GNU/glibc system, add read1 to the extra Makefile rules.
3708 (EXTRA_RULES): AC_SUBST it.
3709 * lib/read1.c: New file.
3710
d36430db
JB
37112014-08-20 Joel Brobecker <brobecker@adacore.com>
3712
3713 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3714 the handling of variables declared as a typedef to an array
3715 which a DW_AT_data_location attribute.
3716
9a0dc9e3
PA
37172014-08-19 Andrew Burgess <aburgess@broadcom.com>
3718 Pedro Alves <palves@redhat.com>
3719
3720 PR symtab/14604
3721 PR symtab/14605
3722 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3723 gdb_test.
3724
0718a8da
PA
37252014-08-19 Pedro Alves <palves@redhat.com>
3726
3727 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3728
13b448cd
YQ
37292014-08-19 Yao Qi <yao@codesourcery.com>
3730
3731 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3732 right line.
3733
1cbf5077
DB
37342014-08-18 David Blaikie <dblaikie@gmail.com>
3735
3736 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3737
bf0fae19
JB
37382014-08-18 Joel Brobecker <brobecker@adacore.com>
3739
3740 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3741 attribute in array range.
3742
3c8c5dcc
JB
37432014-08-18 Joel Brobecker <brobecker@adacore.com>
3744
3745 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3746
e66d4446
SC
37472014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3748
3749 PR c++/17132
3750 * gdb.cp/pr17132.cc: New file.
3751 * gdb.cp/pr17132.exp: New file.
3752
940df408
SC
37532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3754
3755 * gdb.python/py-xmethods.py (A_getarrayind)
3756 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3757 Use 'print' with function call syntax.
3758 (E_method_matcher.match): Fix tab vs space indentation mixup.
3759
ebcc6c3a
YQ
37602014-08-15 Yao Qi <yao@codesourcery.com>
3761
3762 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3763 false.
3764
775e0f04
YQ
37652014-08-15 Yao Qi <yao@codesourcery.com>
3766
3767 * gdb.cp/casts.exp: Set print symbol off.
3768 * gdb.cp/class2.exp: Likewise.
3769 * gdb.cp/overload.exp: Likewise.
3770 * gdb.cp/templates.exp: Likewise.
3771
d769e349
DE
37722014-08-11 Doug Evans <dje@google.com>
3773
3774 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3775 (test_load_shlib): Update.
3776
20c6f1e1
YQ
37772014-08-09 Yao Qi <yao@codesourcery.com>
3778
3779 * gdb.base/display.exp: Invoke is_address_zero_readable.
3780 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3781 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3782 * gdb.base/hbreak-unmapped.exp: Return if
3783 is_address_zero_readable returns true.
3784 * gdb.base/signest.exp: Likewise.
3785 * gdb.base/signull.exp: Likewise.
3786 * gdb.base/sigbpt.exp: Likewise.
3787 * gdb.guile/scm-disasm.exp: Do the test if
3788 is_address_zero_readable returns false.
3789 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3790 * gdb.python/py-arch.exp: Likewise.
3791 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3792 * lib/gdb.exp (is_address_zero_readable): New proc.
3793
5792e8e3
YQ
37942014-08-09 Yao Qi <yao@codesourcery.com>
3795
3796 PR testsuite/13443
3797 * gdb.mi/mi-var-display.exp: Make test messages unique.
3798
3cecbbbe
TT
37992014-08-04 Tom Tromey <tromey@redhat.com>
3800
3801 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3802 target 0".
3803
00b51ff5
TT
38042014-08-04 Tom Tromey <tromey@redhat.com>
3805
3806 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3807 "target_resume".
3808
6908c509
JB
38092014-08-01 Joel Brobecker <brobecker@adacore.com>
3810
3811 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3812 inner_vla_struct_object_size.
3813 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3814 as xfail.
3815
cc6563d2
PA
38162014-07-30 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3819 comment.
3820
7e09a223
YQ
38212014-07-29 Yao Qi <yao@codesourcery.com>
3822
3823 PR gdb/17206
3824 * gdb.base/until-nodebug.exp: New.
3825
7ebdbe92
DE
38262014-07-28 Doug Evans <xdje42@gmail.com>
3827
3828 PR guile/17203
3829 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3830 previously existing parameter, and previously ambiguously spelled
3831 parameter.
3832
fdb1adc6
WN
38332014-07-28 Will Newton <will.newton@linaro.org>
3834
3835 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3836
186fcde0
DE
38372014-07-26 Ludovic Courtès <ludo@gnu.org>
3838 Doug Evans <xdje42@gmail.com>
3839
3840 PR guile/17146
3841 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3842
70509625
PA
38432014-07-25 Pedro Alves <palves@redhat.com>
3844
3845 * gdb.threads/signal-command-handle-nopass.c: New file.
3846 * gdb.threads/signal-command-handle-nopass.exp: New file.
3847 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3848 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3849 * gdb.threads/signal-delivered-right-thread.c: New file.
3850 * gdb.threads/signal-delivered-right-thread.exp: New file.
3851
c3f814a1
PA
38522014-07-25 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/double-prompt-target-event-error.exp
3855 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3856 match.
3857 (cancel_pagination_in_target_event): Rework double prompt
3858 detection.
3859 * gdb.base/paginate-after-ctrl-c-running.exp
3860 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3861 <return>' match.
3862 * gdb.base/paginate-bg-execution.exp
3863 (test_bg_execution_pagination_return)
3864 (test_bg_execution_pagination_cancel): Remove '-notransfer
3865 <return>' matches.
3866 * gdb.base/paginate-execution-startup.exp
3867 (test_fg_execution_pagination_return)
3868 (test_fg_execution_pagination_cancel): Remove '-notransfer
3869 <return>' matches.
3870 * gdb.base/paginate-inferior-exit.exp
3871 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3872 match.
3873 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3874 * lib/gdb.exp (pagination_prompt): Run text through
3875 string_to_regexp.
3876 (gdb_test_multiple): Match $pagination_prompt instead of
3877 "<return>".
3878 (string_to_regexp): Move to lib/gdb-utils.exp.
3879
e214cf6c
JK
38802014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3881
3882 * gdb.arch/amd64-entry-value-paramref.S: New file.
3883 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3884 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3885 * gdb.arch/amd64-optimout-repeat.S: New file.
3886 * gdb.arch/amd64-optimout-repeat.c: New file.
3887 * gdb.arch/amd64-optimout-repeat.exp: New file.
3888
17d0c5c8
JK
38892014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3890
3891 PR gdb/17170
3892 * gdb.base/statistics.exp: New file.
3893
b8b8facf
DE
38942014-07-17 Doug Evans <dje@google.com>
3895
74b49205 3896 PR gdb/17170
b8b8facf
DE
3897 * gdb.base/maint.exp: Update testing of per-command stats.
3898
1b5d0ab3
PA
38992014-07-16 Pedro Alves <palves@redhat.com>
3900
3901 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3902 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3903 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3904 (tfile_write_buf): New functions.
3905 (add_memory_block): Rewrite using the above.
3906 (adjust_function_address): New function.
3907 (FUNCTION_ADDRESS): New macro.
3908 (write_basic_trace_file): Remove short_x local, and use
3909 tfile_write_16. Change type of func_addr local to unsigned long
3910 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3911 here. Cast argument of add_memory_block to char pointer.
3912 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3913 (main): Remove parameters.
3914 * gdb.trace/tfile.exp: Remove nowarnings.
3915
4d974e88
SM
39162014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3917
3918 * gdb.base/debug-expr.exp: Test string evaluation with
3919 "debug expression" on.
3920
41e99568
PA
39212014-07-15 Pedro Alves <palves@redhat.com>
3922
3923 * gdb.base/reread.exp: Use clean_restart.
3924
487d9753
PL
39252014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3926
3927 * gdb.arch/avr-flash-qualifer.c: New.
3928 * gdb.arch/avr-flash-qualifer.exp: New.
3929
cc1c52ad
PA
39302014-07-14 Pedro Alves <palves@redhat.com>
3931
3932 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3933 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3934
1e973570
PA
39352014-07-14 Pedro Alves <palves@redhat.com>
3936
3937 * gdb.base/double-prompt-target-event-error.c: New file.
3938 * gdb.base/double-prompt-target-event-error.exp: New file.
3939
93d6eb10
PA
39402014-07-14 Pedro Alves <palves@redhat.com>
3941
3942 PR gdb/17072
3943 * gdb.base/paginate-inferior-exit.c: New file.
3944 * gdb.base/paginate-inferior-exit.exp: New file.
3945
0017922d
PA
39462014-07-14 Pedro Alves <palves@redhat.com>
3947
3948 PR gdb/17072
3949 * gdb.base/paginate-bg-execution.c: New file.
3950 * gdb.base/paginate-bg-execution.exp: New file.
3951
94696ad3
PA
39522014-07-14 Pedro Alves <palves@redhat.com>
3953
3954 PR gdb/17072
3955 * gdb.base/paginate-execution-startup.c: New file.
3956 * gdb.base/paginate-execution-startup.exp: New file.
3957 * lib/gdb.exp (pagination_prompt): New global.
3958 (default_gdb_spawn): New procedure, factored out from
3959 default_gdb_spawn.
3960 (default_gdb_start): Adjust to call default_gdb_spawn.
3961 (gdb_spawn): New procedure.
3962
bd293940
PA
39632014-07-14 Pedro Alves <palves@redhat.com>
3964
3965 * lib/gdb.exp (gdb_assert): New procedure.
3966 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3967
c933f875
PA
39682014-07-14 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.base/execution-termios.c: New file.
3971 * gdb.base/execution-termios.exp: New file.
3972
d98b7a16
TT
39732014-07-14 Tom Tromey <tromey@redhat.com>
3974
3975 * gdb.cp/vla-cxx.cc: New file.
3976 * gdb.cp/vla-cxx.exp: New file.
3977
548740d6
TT
39782014-07-14 Tom Tromey <tromey@redhat.com>
3979
3980 * gdb.reverse/rerun-prec.c: New file.
3981 * gdb.reverse/rerun-prec.exp: New file.
3982
a25eb028
MR
39832014-07-12 Maciej W. Rozycki <macro@mips.com>
3984 Maciej W. Rozycki <macro@codesourcery.com>
3985
3986 * lib/gdb-utils.exp: New file.
3987 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3988 inline `gdb_init_command' processing.
3989 (gdb_start_cmd): Likewise.
3990 * lib/mi-support.exp (mi_run_cmd): Likewise.
3991 * README: Document `gdb_init_command' and `gdb_init_commands'.
3992
218c2655
JK
39932014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 Fix false FAIL running under a very long directory name.
3996 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3997 and "set print elements 10000". Twice.
3998
5401fde3
YQ
39992014-07-11 Yao Qi <yao@codesourcery.com>
4000
4001 * gdb.base/exprs.exp: "set print symbol off".
4002
e76126e8
PA
40032014-07-11 Pedro Alves <palves@redhat.com>
4004
4005 * gdb.threads/kill.c: New file.
4006 * gdb.threads/kill.exp: New file.
4007
2d6f0de6
YQ
40082014-07-10 Yao Qi <yao@codesourcery.com>
4009
4010 * gdb.trace/tfile.c (write_basic_trace_file)
4011 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4012 address written to trace file.
4013
7180e04a
PA
40142014-07-09 Pedro Alves <palves@redhat.com>
4015
4016 * gdb.base/attach-wait-input.exp: New file.
4017 * gdb.base/attach-wait-input.c: New file.
4018
9a9a7608
AB
40192014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4020
4021 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4022 setting up test structures.
4023 (main): Call new test function.
4024 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4025 test function, continue into test function and walk test
4026 structures.
4027
161ac41e
YQ
40282014-07-02 Yao Qi <yao@codesourcery.com>
4029
4030 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4031 'bar_start' at the beginning of functions 'foo' and 'bar'
4032 respectively.
4033 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4034 instead of 'foo' and 'bar'.
4035
1f267ae3
MM
40362014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4037
4038 * gdb.btrace/segv.exp: New.
4039 * gdb.btrace/segv.c: New.
4040
2b239efb
LM
40412014-07-02 Luis Machado <lgustavo@codesourcery.com>
4042
4043 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4044 instruction.
4045
cf363f18
MW
40462014-06-30 Mark Wielaard <mjw@redhat.com>
4047
4048 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4049 vulture, vilify, villar): New volatile array constants.
4050 (vindictive, vegetation): New const volatile array constants.
4051 * gdb.base/volatile.exp: Test volatile and const volatile array
4052 types.
4053
aebf9d24
AA
40542014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4055
4056 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4057 target lacks support for awatch, rwatch, or hbreak.
4058
b67a2c6f
YQ
40592014-06-27 Yao Qi <yao@codesourcery.com>
4060
4061 * gdb.multi/dummy-frame-restore.exp: New.
4062 * gdb.multi/dummy-frame-restore.c: New.
4063
aef92902
MM
40642014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4065
4066 * gdb.btrace/gcore.exp: New.
4067
8e9db26e
PA
40682014-06-23 Pedro Alves <palves@redhat.com>
4069
4070 * gdb.base/watchpoint-reuse-slot.c: New file.
4071 * gdb.base/watchpoint-reuse-slot.exp: New file.
4072
70afc5b7
SC
40732014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4074
4075 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4076 progspace's filename in 'info', 'enable' and 'disable' command
4077 tests.
4078
b972bd9c
JK
40792014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4082 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4083 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4084
125f8a3d
GB
40852014-06-20 Gary Benson <gbenson@redhat.com>
4086
4087 * gdb.arch/i386-avx.exp: Fix include file location.
4088 * gdb.arch/i386-sse.exp: Likewise.
4089
3ed9baed
IB
40902014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4091
4092 * gdb.dlang/expression.exp: New file.
4093
034f788c
PA
40942014-06-19 Pedro Alves <palves@redhat.com>
4095
4096 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4097 out from ...
4098 (top level): ... here. Iterate running tests under different
4099 scheduler-locking settings.
4100
45371d0c
LM
41012014-06-18 Luis Machado <lgustavo@codesourcery.com>
4102
4103 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4104 to DW_FORM_addr and use non-zero addresses.
4105
5d376983
SC
41062014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4107
4108 PR gdb/17017
4109 * gdb.python/py-xmethods.cc: Add global function call counters and
4110 increment them in their respective functions. Remove "cout"
4111 statements.
4112 * gdb.python/py-xmethods.exp: Make tests check the global function
4113 call counters instead of depending on inferior IO.
4114
a1aa2221
LM
41152014-06-18 Don Breazeal <donb@codesourcery.com>
4116
4117 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4118 Deleted procedure.
4119 (explicit_fork_parent_follow): Deleted procedure.
4120 (explicit_fork_child_follow): Deleted procedure.
4121 (test_follow_fork): New procedure.
4122 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4123 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4124 procedure calls.
4125
0fc05997
YQ
41262014-06-17 Yao Qi <yao@codesourcery.com>
4127
4128 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4129 CP1252.
4130
70795c52
LM
41312014-06-17 Luis Machado <lgustavo@codesourcery.com>
4132
4133 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4134 Initialize ptr and S explicitly.
4135 (skip_type_update_when_not_use_rtti_test): Likewise.
4136
6be47f0c
KS
41372014-06-16 Keith Seitz <keiths@redhat.com>
4138
4139 PR mi/15863
4140 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4141 the inferior is started.
4142
d03de421
PA
41432014-06-16 Pedro Alves <palves@redhat.com>
4144
4145 * gdb.base/break-main-file-remove-fail.c: New file.
4146 * gdb.base/break-main-file-remove-fail.exp: New file.
4147 * gdb.base/break-unload-file.exp: Use build_executable instead of
4148 prepare_for_testing.
4149 (test_break): New parameter "initial_load". Handle it.
4150 (top level): Add initial_load cmdline/file axis.
4151
f9579b99
TT
41522014-06-12 Tom Tromey <tromey@redhat.com>
4153
4154 * gdb.base/completion.exp: Don't use directory name in test.
4155
3657956b
GB
41562014-06-09 Gary Benson <gbenson@redhat.com>
4157
4158 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4159 separate the always-available ANSI-standard signals from the
4160 signals that require checking.
4161 (main): Likewise.
4162 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4163 Likewise.
4164 (main): Likewise.
4165
4186eb54
KS
41662014-06-07 Keith Seitz <keiths@redhat.com>
4167
4168 Revert:
4169 PR c++/16253
4170 * gdb.cp/var-tag.cc: New file.
4171 * gdb.cp/var-tag.exp: New file.
4172 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4173 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4174 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4175 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4176
25326a28 41772014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4178
4179 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4180
829155c9
PA
41812014-06-06 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4184 in target debug output instead of looking at RSP packets,
4185 disabling the test on any target that uses hardware stepping.
4186 Update comments.
4187
61c8d22e
PA
41882014-06-06 Pedro Alves <palves@redhat.com>
4189
4190 * gdb.base/break-unload-file.exp: Fix typo.
4191
d9a47287
YQ
41922014-06-06 Yao Qi <yao@codesourcery.com>
4193
4194 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4195 from "jit_function" to "^jit_function".
4196
e5e01dbf
YQ
41972014-06-06 Yao Qi <yao@codesourcery.com>
4198
4199 * gdb.base/async.c (foo): Add one statement.
4200 * gdb.base/async.exp: Get the next instruction address and
4201 match the output of "nexti" by instruction address. Match
4202 the hex address in the output of "finish".
4203
73ba372c
GB
42042014-06-06 Gary Benson <gbenson@redhat.com>
4205
4206 * gdb.base/call-signals.c: Remove preprocessor conditionals
4207 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4208 SIGSEGV and SIGTERM.
4209 * gdb.base/sigall.c: Likewise.
4210 * gdb.base/unwindonsignal.c: Likewise.
4211 * gdb.reverse/sigall-reverse.c: Likewise.
4212
831517df
YQ
42132014-06-06 Yao Qi <yao@codesourcery.com>
4214
4215 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4216 readable, skip the test.
4217
b8b91e98
YQ
42182014-06-06 Yao Qi <yao@codesourcery.com>
4219
4220 * gdb.threads/staticthreads.c (thread_function): Move the line
4221 setting breakpoint on forward.
4222 * gdb.threads/staticthreads.exp: Update comments.
4223
fb934770
LC
42242014-06-05 Ludovic Courtès <ludo@gnu.org>
4225
4226 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4227 "history-append! type error".
4228
6ef284bd
SM
42292014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4230
4231 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4232 erroneous dprintf expected input.
4233
a872e241
DE
42342014-06-04 Doug Evans <xdje42@gmail.com>
4235
4236 * gdb.guile/scm-generics.exp: Delete.
4237
16f691fb
DE
42382014-06-04 Doug Evans <xdje42@gmail.com>
4239
4240 * gdb.guile/scm-breakpoint.exp: Update.
4241 Add tests for breakpoint registration.
4242
012370f6
TT
42432014-06-04 Tom Tromey <tromey@redhat.com>
4244
4245 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4246 VLA-in-union.
4247 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4248 inner_vla_struct, vla_union types. Initialize objects of those
4249 types and compute their sizes.
4250
9f5a4cef
HZ
42512014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4252 Hui Zhu <hui@codesourcery.com>
4253
4254 * gdb.base/fileio.exp: Add test for shell not available as well as
4255 available.
4256 * gdb.base/fileio.c (test_system): Check for shell twice.
4257
90a45c4d
YQ
42582014-06-04 Yao Qi <yao@codesourcery.com>
4259
4260 * gdb.base/auto-connect-native-target.exp: Remove redundant
4261 space from the regexp pattern.
4262
70017e41
YQ
42632014-06-04 Yao Qi <yao@codesourcery.com>
4264
4265 * gdb.base/default.exp: Replace "child" with "native" in
4266 regexp pattern.
4267
883964a7
SC
42682014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4269
4270 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4271 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4272 * gdb.python/py-xmethods.py: Python script supporting the
4273 new testcase and tests.
4274
ef370185
JB
42752014-06-03 Joel Brobecker <brobecker@adacore.com>
4276 Pedro Alves <palves@redhat.com>
4277
4278 PR breakpoints/17000
4279 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4280 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4281
1e2ccb61
BM
42822014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4283
4284 * gdb.base/subst.exp: Add tests to verify partial path matching
4285 output.
4286
c6ec5ab2
PA
42872014-06-03 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4290 target that doesn't use software single-stepping.
4291
835c559f
PA
42922014-06-03 Pedro Alves <palves@redhat.com>
4293
4294 PR breakpoints/17000
4295 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4296 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4297
06eb1586
DE
42982014-06-02 Doug Evans <xdje42@gmail.com>
4299
4300 * gdb.guile/scm-parameter.exp: New file.
4301
e698b8c4
DE
43022014-06-02 Doug Evans <xdje42@gmail.com>
4303
4304 * gdb.guile/scm-cmd.c: New file.
4305 * gdb.guile/scm-cmd.exp: New file.
4306
ded03782
DE
43072014-06-02 Doug Evans <xdje42@gmail.com>
4308
4309 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4310 pretty-printer lookup.
4311 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4312 (make-pp_s-printer): Call it.
4313 (make-pretty-printer-from-dict): New function.
4314 (lookup-pretty-printer-maker-from-dict): New function.
4315 (*pretty-printer*): Simplify.
4316 (make-objfile-pp_s-printer): New function.
4317 (install-objfile-pretty-printers!): New function.
4318 (make-progspace-pp_s-printer): New function.
4319 (install-progspace-pretty-printers!): New function.
4320 * gdb.guile/scm-progspace.c: New file.
4321 * gdb.guile/scm-progspace.exp: New file.
4322
41fac0cf
PA
43232014-06-02 Pedro Alves <palves@redhat.com>
4324
4325 * gdb.base/dprintf-bp-same-addr.c: New file.
4326 * gdb.base/dprintf-bp-same-addr.exp: New file.
4327
96ae5695
EBM
43282014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4329
4330 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4331 * gdb.arch/powerpc-power.s: Likewise.
4332
da02b3a8
JB
43332014-06-02 Joel Brobecker <brobecker@adacore.com>
4334
4335 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4336
c72b2e7b
YQ
43372014-06-01 Yao Qi <yao@codesourcery.com>
4338
4339 * gdb.base/watchpoint.exp (test_watch_location): Check null
4340 pointer can be dereferenced. If not, do the test, otherwise
4341 skip it.
4342
53e8a631
AB
43432014-05-30 Andrew Burgess <aburgess@broadcom.com>
4344
4345 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4346 results.
4347 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4348
938f0e2f
AB
43492014-05-30 Andrew Burgess <aburgess@broadcom.com>
4350
4351 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4352 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4353 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4354 * gdb.arch/amd64-invalid-stack-top.c: New file.
4355 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4356
9ba6657a
PA
43572014-05-30 Pedro Alves <palves@redhat.com>
4358
4359 PR breakpoints/17000
4360 * gdb.base/sss-bp-on-user-bp.c: New file.
4361 * gdb.base/sss-bp-on-user-bp.exp: New file.
4362
522c09bf
DB
43632014-05-30 David Blaikie <dblaikie@gmail.com>
4364
4365 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4366 gnu_inline semantics via attribute.
4367 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4368 source explicitly specifies the required semantics.
4369
bf4ef81e
MR
43702014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4371
4372 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4373
329ea579
PA
43742014-05-29 Pedro Alves <palves@redhat.com>
4375 Tom Tromey <tromey@redhat.com>
4376
4377 * gdb.base/async-shell.exp: Don't enable target-async.
4378 * gdb.base/async.exp
4379 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4380 parameter. Adjust.
4381 (top level): Don't test with "target-async".
4382 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4383 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4384 * gdb.base/inferior-died.exp: Don't enable target-async.
4385 * gdb.base/interrupt-noterm.exp: Likewise.
4386 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4387 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4388 * gdb.mi/mi-nonstop.exp: Likewise.
4389 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4390 * gdb.mi/mi-nsintrall.exp: Likewise.
4391 * gdb.mi/mi-nsmoribund.exp: Likewise.
4392 * gdb.mi/mi-nsthrexec.exp: Likewise.
4393 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4394 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4395 * gdb.python/py-evsignal.exp: Don't enable target-async.
4396 * gdb.python/py-evthreads.exp: Likewise.
4397 * gdb.python/py-prompt.exp: Likewise.
4398 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4399 * gdb.server/solib-list.exp: Don't enable target-async.
4400 * gdb.threads/thread-specific-bp.exp: Likewise.
4401 * lib/mi-support.exp: Adjust to use mi-async.
4402
fd664c91
PA
44032014-05-29 Pedro Alves <palves@redhat.com>
4404
4405 PR gdb/13860
4406 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4407 reason, even in sync mode.
4408
251bde03
PA
44092014-05-29 Pedro Alves <palves@redhat.com>
4410 Hui Zhu <hui@codesourcery.com>
4411
4412 PR PR15693
4413 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4414 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4415 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4416 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4417
7f3c0343
JB
44182014-05-28 Joel Brobecker <brobecker@adacore.com>
4419
4420 * config/monitor.exp (gdb_target_monitor): Replace use of
4421 "set remotebaud" by "set serial baud".
4422
b2715b27
AW
44232014-05-26 Andy Wingo <wingo@igalia.com>
4424
4425 * gdb.guile/scm-breakpoint.exp:
4426 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4427 properties instead of gdb-object-properties.
4428
498a4489
YQ
44292014-05-26 Yao Qi <yao@codesourcery.com>
4430
4431 * gdb.server/no-thread-db.exp: Specify source file name
4432 explicitly when setting a breakpoint.
4433
589fdceb
MM
44342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4435
4436 * gdb.btrace/vdso.c: New.
4437 * gdb.btrace/vdso.exp: New.
4438
e9089e05
MM
44392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4440
4441 * gdb.base/gcore.exp (capture_command_output): Move ...
4442 * lib/gdb.exp (capture_command_output): ... here.
4443
67b5c0c1
MM
44442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4445
4446 * gdb.btrace/data.exp: Test memory access during btrace replay.
4447
a2199296
SM
44482014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4449
4450 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4451
17b2616c
PA
44522014-05-21 Pedro Alves <palves@redhat.com>
4453
4454 PR gdb/13860
4455 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4456 (top level): Test that output related to execution commands is
4457 sent to the console with CLI commands, but not with MI commands.
4458 Test that breakpoint events are always mirrored to the console.
4459 Also expect the new source line to be output after a "next" in
4460 async mode too. Make it a pass/fail test.
4461 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4462 output.
4463 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4464
5166082f
PA
44652014-05-21 Pedro Alves <palves@redhat.com>
4466
4467 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4468 Use them to test variations of "list" after reaching a breakpoint.
4469 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4470 Test "list" with listsize 10 after reaching a breakpoint.
4471 * gdb.python/python.exp (decode_line current location line
4472 number): Adjust expected line number.
4473
2f25d70f
SM
44742014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4475
4476 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4477 behavior for $args, pass it directly to "run".
4478
ff604a67
MR
44792014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4480
4481 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4482 30000 to 65536.
4483
6a3cb8e8
PA
44842014-05-21 Pedro Alves <palves@redhat.com>
4485
4486 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4487 auto-connect-native-target off".
4488 * gdb.base/auto-connect-native-target.c: New file.
4489 * gdb.base/auto-connect-native-target.exp: New file.
4490
4ebfc96e
PA
44912014-05-21 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.base/default.exp: Test "target native" instead of "target
4494 child".
4495
36d46afb
MW
44962014-05-21 Mark Wielaard <mjw@redhat.com>
4497
4498 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4499
5876f503
JK
45002014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4501
4502 Fix TLS access for -static -pthread.
4503 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4504 <HAVE_TLS> (thread_function, main): Initialize it.
4505 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4506 Add clean_restart.
4507 <$have_tls != "">: Check TLSVAR.
4508
0256a6ac
PA
45092014-05-21 Pedro Alves <palves@redhat.com>
4510
4511 * gdb.base/dcache-line-read-error.c: New.
4512 * gdb.base/dcache-line-read-error.exp: New.
4513
936d2992
PA
45142014-05-20 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.base/compare-sections.c: New file.
4517 * gdb.base/compare-sections.exp: New file.
4518
802e8e6d
PA
45192014-05-20 Pedro Alves <palves@redhat.com>
4520
4521 * gdb.base/break-idempotent.c: New file.
4522 * gdb.base/break-idempotent.exp: New file.
4523
e59fa00f
MM
45242014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4525
4526 * gdb.btrace/nohist.exp: New.
4527
8b696e31
YQ
45282014-05-20 Yao Qi <yao@codesourcery.com>
4529
4530 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4531 gdb.reverse directory and gdb_reverse_timeout exists in board
4532 setting.
4533 * README: Document gdb_reverse_timeout.
4534
73c9764f
YQ
45352014-05-20 Yao Qi <yao@codesourcery.com>
4536
4537 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4538 'test_file_name'. Treat args as a string instead of a list.
4539 (gdb_init): Rename argument 'args' by 'test_file_name'.
4540
f1f4348a
JK
45412014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4542
4543 * gdb.arch/powerpc-power.exp: New file.
4544 * gdb.arch/powerpc-power.s: New file.
4545
0dbe70ce
DE
45462014-05-16 Doug Evans <dje@google.com>
4547
4548 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4549 * gdb.base/completion.exp: Check that all expected files exist
4550 before doing file completion.
0dbe70ce 4551
8d551b02
DE
45522014-05-16 Doug Evans <dje@google.com>
4553
4554 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4555 Update.
4556 (do_syscall_tests_without_xml): Update.
4557
73eb7709
PA
45582014-05-16 Pedro Alves <palves@redhat.com>
4559
4560 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4561 instead of "unknown output after running".
4562
3fae92fc
YQ
45632014-05-16 Yao Qi <yao@codesourcery.com>
4564
4565 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4566 file1.txt from host at the end.
4567 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4568
c2b2ccc5
DE
45692014-05-15 Doug Evans <dje@google.com>
4570
4571 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4572 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4573 loading file. Add test for TU lookup.
4574
8c217a4b
SM
45752014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4576
4577 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4578 calling "-exec-arguments" or "set args" before running the
4579 inferior.
4580
3deb39c6
SM
45812014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4582
4583 * lib/mi-support.exp (mi_expect_stop): Expect message for
4584 inferiors that exit with non-zero exit code.
4585
71a79f8c
YQ
45862014-05-14 Yao Qi <yao@codesourcery.com>
4587
4588 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4589 match absolute path on remote host.
4590 (test_file_list_exec_source_files): Remove "/" from the
4591 pattern.
4592
f23fcd46
YQ
45932014-05-14 Yao Qi <yao@codesourcery.com>
4594
4595 * boards/local-remote-host-notty.exp (${board}_file): New
4596 proc.
4597
9404b58f
KM
45982014-05-07 Kyle McMartin <kyle@redhat.com>
4599
4600 Pushed by Joel Brobecker <brobecker@adacore.com>.
4601 * gdb.arch/aarch64-atomic-inst.c: New file.
4602 * gdb.arch/aarch64-atomic-inst.exp: New file.
4603
5e45f04c
YQ
46042014-05-07 Yao Qi <yao@codesourcery.com>
4605
4606 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4607 in current context" too.
4608
c888a17d
KS
46092014-05-05 Keith Seitz <keiths@redhat.com>
4610
4611 * gdb.linespec/ls-dollar.exp: Add test for linespec
4612 file:convenience_variable.
4613
290a839c
YQ
46142014-05-05 Yao Qi <yao@codesourcery.com>
4615
4616 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4617 traceframes into tfile and ctf trace files. Read data from
4618 trace file and test collected data.
4619 (gdb_collect_locals_test): Likewise.
4620 (gdb_unavailable_registers_test): Likewise.
4621 (gdb_unavailable_floats): Likewise.
4622 (gdb_collect_globals_test): Likewise.
4623 (top-level): Append "ctf" to trace_file_targets if GDB
4624 supports.
4625
b5262cd0
YQ
46262014-05-05 Yao Qi <yao@codesourcery.com>
4627
4628 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4629 code to ...
4630 (gdb_collect_args_test_1): ... it. New proc.
4631 (gdb_collect_locals_test): Move some code to ...
4632 (gdb_collect_locals_test_1): ... it. New proc.
4633 (gdb_unavailable_registers_test): Move some code to ...
4634 (gdb_unavailable_registers_test_1): ... it. New proc.
4635 (gdb_unavailable_floats): Move some code to ...
4636 (gdb_unavailable_floats_1): ... it. New proc.
4637
30a1e6cc
SDJ
46382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4639
4640 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4641 probes to test for bitness recognition.
4642 * gdb.arch/amd64-stap-optional-prefix.exp
4643 (test_probe_value_without_reg): New procedure.
4644 Add code to test for different kinds of bitness.
4645
f33da99a
SDJ
46462014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4647
4648 PR breakpoints/16889
4649 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4650 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4651
5b80f00d
PA
46522014-05-01 Pedro Alves <palves@redhat.com>
4653
4654 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4655 gdb_file_cmd if no file is specified.
4656 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4657 last_loaded_file to set the remote exec-file.
4658
f8c2a73c
PA
46592014-05-01 Pedro Alves <palves@redhat.com>
4660
4661 * boards/local-remote-host.exp: New file.
4662
be6e8ac7
PA
46632014-05-01 Pedro Alves <palves@redhat.com>
4664
4665 * boards/local-remote-host.exp: Rename to ...
4666 * boards/local-remote-host-notty.exp: ... this.
4667
cac0dc8f
JB
46682014-04-28 Joel Brobecker <brobecker@adacore.com>
4669
4670 * gdb.ada/dyn_arrayidx: New testcase.
4671
9730e6cc
YQ
46722014-04-26 Yao Qi <yao@codesourcery.com>
4673
4674 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4675 and compute the length of function main. Save it in
4676 $main_length.
4677 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4678 (top-level): Use gdb_compile to compile objects into
4679 executable and restart GDB. Remove invocation to
4680 prepare_for_testing.
4681
7ae1a6a6
PA
46822014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4683 Pedro Alves <palves@redhat.com>
4684
4685 PR server/16255
4686 * gdb.multi/multi-attach.c: New file.
4687 * gdb.multi/multi-attach.exp: New file.
4688
4082afcc
PA
46892014-04-25 Pedro Alves <palves@redhat.com>
4690
4691 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4692 user.
4693 (top level): Test that "set remote conditional-breakpoints-packet
4694 off" works as intended.
4695 * gdb.base/dprintf.exp: Test that "set remote
4696 breakpoint-commands-packet off" works as intended.
4697 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4698 New function.
4699 (top level): Call it.
4700 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4701 remote fast-tracepoints-packet off" works as intended.
4702 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4703 * lib/gdb.exp (gdb_is_target_remote): ... here.
4704
2abc3f8d
DB
47052014-04-24 David Blaikie <dblaikie@gmail.com>
4706
4707 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4708 ensure clang would not discard them.
4709 * gdb.base/gdbvars.c: Ditto.
4710 * gdb.base/memattr.c: Ditto.
4711 * gdb.base/whatis.c: Ditto.
4712 * gdb.python/py-prettyprint.c: Ditto.
4713 * gdb.trace/actions.c: Ditto.
4714 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4715 ensure clang would not discard it.
4716
bfd39632
DB
47172014-04-24 David Blaikie <dblaikie@gmail.com>
4718
4719 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4720 clang to emit the full definition of type required by the test
4721 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4722
22842ff6
DB
47232014-04-24 David Blaikie <dblaikie@gmail.com>
4724
4725 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4726 coax Clang into emitting the definition of the type.
4727 * gdb.cp/pr10728-x.h (y): Ditto.
4728 * gdb.cp/pr10728-y.cc (y): Ditto.
4729
c2e827ad
DB
47302014-04-24 David Blaikie <dblaikie@gmail.com>
4731
4732 * gdb.base/label.exp: XFAIL label related tests under Clang.
4733 * gdb.cp/cplabel.exp: Ditto.
4734 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4735 under Clang those using labels.
4736
4c2d33e7
YQ
47372014-04-25 Yao Qi <yao@codesourcery.com>
4738
4739 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4740 double_label.
4741 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4742 partial_label and double_label.
4743
56083b99
DB
47442014-04-24 David Blaikie <dblaikie@gmail.com>
4745
4746 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4747
25d4e99d
DB
47482014-04-24 David Blaikie <dblaikie@gmail.com>
4749
4750 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4751 of the function to work across GCC and Clang.
4752 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4753 pointer types (const void ** const V void **).
4754
01f9f808
MS
47552014-04-24 Michael Sturm <michael.sturm@mintel.com>
4756 Walfred Tedeschi <walfred.tedeschi@intel.com>
4757
4758 * Makefile.in (EXECUTABLES): Added i386-avx512.
4759 * gdb.arch/i386-avx512.c: New file.
4760 * gdb.arch/i386-avx512.exp: Likewise.
4761
4b48d439
KS
47622014-04-23 Keith Seitz <keiths@redhat.com>
4763
4764 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4765 (mi_make_breakpoint_table): New procedure.
4766 (mi_create_breakpoint): Use mi_make_breakpoint
4767 and return the result.
4768 (mi_make_breakpoint): New procedure.
4769 (mi_build_kv_pairs): New procedure.
4770
4771 * gdb.mi/mi-break.exp: Remove unused globals,
4772 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4773 All callers updated.
4774 * gdb.mi/mi-dprintf.exp: Use variable to track command
4775 number.
4776 Update all callers of mi_create_breakpoint and use
4777 mi_make_breakpoint_table.
4778 Remove any unused global variables.
4779 * gdb.mi/mi-nonstop.exp: Likewise.
4780 * gdb.mi/mi-nsintrall.exp: Likewise.
4781 * gdb.mi/mi-nsmoribund.exp: Likewise.
4782 * gdb.mi/mi-nsthrexec.exp: Likewise.
4783 * gdb.mi/mi-reverse.exp: Likewise.
4784 * gdb.mi/mi-simplerun.exp: Likewise.
4785 * gdb.mi/mi-stepn.exp: Likewise.
4786 * gdb.mi/mi-syn-frame.exp: Likewise.
4787 * gdb.mi/mi-until.exp: Likewise.
4788 * gdb.mi/mi-var-cp.exp: Likewise.
4789 * gdb.mi/mi-var-display.exp: Likewise.
4790 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4791 * gdb.mi/mi2-var-child.exp: Likewise.
4792 * gdb.mi/mi-vla-c99.exp: Likewise.
4793 * lib/mi-support.exp: Likewise.
4794
4795 From Ian Lance Taylor <iant@cygnus.com>:
4796 * lib/gdb.exp (parse_args): New procedure.
4797
08351840
PA
47982014-04-23 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.base/break-unload-file.c: New file.
4801 * gdb.base/break-unload-file.exp: New file.
4802 * gdb.base/sym-file-lib.c (baz): New function.
4803 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4804 field.
4805 (load): Store the segment's mapped size.
4806 (unload): New function.
4807 (unload_shlib): New function.
4808 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4809 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4810 set a breakpoint at baz, and call it.
4811 * gdb.base/sym-file.exp: New tests for stale breakpoint
4812 instructions.
4813
076855f9
PA
48142014-04-23 Pedro Alves <palves@redhat.com>
4815
4816 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4817 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4818 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4819 * gdb.base/hbreak-unmapped.c: New file.
4820 * gdb.base/hbreak-unmapped.exp: New file.
4821 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4822 * lib/gdb.exp (gdb_is_target_remote): ... here.
4823
483805cf
PA
48242014-04-22 Pedro Alves <palves@redhat.com>
4825
4826 * gdb.base/consecutive-step-over.c: New file.
4827 * gdb.base/consecutive-step-over.exp: New file.
4828
06d97543
PA
48292014-04-22 Pedro Alves <palves@redhat.com>
4830
4831 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4832 instead of send_gdb/gdb_expect.
4833
b4429ea2
YQ
48342014-04-22 Yao Qi <yao@codesourcery.com>
4835
4836 * lib/trace-support.exp (generate_tracefile): New procedure.
4837 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4838 return 0.
4839 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4840 if generate_tracefile returns 1.
4841
51d48146
PA
48422014-04-18 Tom Tromey <palves@redhat.com>
4843 Pedro alves <tromey@redhat.com>
4844
4845 PR backtrace/15558
4846 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4847 with a backtrace limit.
4848 * gdb.python/py-frame-inline.exp: Test running to an inline
4849 function with a backtrace limit, and printing the newest frame.
4850 * gdb.python/py-frame-inline.c (main): Call f.
4851
bd1dce5f
MS
48522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4853
4854 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4855
40d1a503
MS
48562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4857
4858 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4859 Drop prefix from unsupported source file path.
4860
389b98f7
YQ
48612014-04-17 Yao Qi <yao@codesourcery.com>
4862
4863 * lib/gdb.exp (with_target_charset): New proc.
4864 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4865 with_target_charset.
4866 (test_print_strings): Likewise.
4867 (test_repeat_bytes): Likewise.
4868 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4869 for some tests.
4870
22869d73
KS
48712014-04-16 Keith Seitz <keiths@redhat.com>
4872
4873 PR gdb/15827
4874 * gdb.dwarf2/corrupt.c: New file.
4875 * gdb.dwarf2/corrupt.exp: New file.
4876
c4f87ca6
KS
48772014-04-16 Keith Seitz <keiths@redhat.com>
4878
4879 PR c++/16597
4880 * gdb.cp/namelessclass.cc: New file.
4881 * gdb.cp/namelessclass.exp: New file.
4882 * gdb.cp/namelessclass.S: New file.
4883
ab19de87
DE
48842014-04-16 Doug Evans <dje@google.com>
4885
4886 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4887 Add comment.
4888 (gdbserver_default_get_comm_port): New function.
4889 (gdbserver_start): Check if board file provided
4890 "gdbserver,get_comm_port" and use it if so.
4891 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4892 (gdb,socketport): Set to "stdio".
4893 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4894 (stdio_gdbserver_template): Delete.
4895 (${board}_get_remote_address): Update.
4896 (${board}_build_remote_cmd): Delete.
4897 (${board}_get_comm_port): New function.
4898 (${board}_spawn): Update.
4899 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4900 Delete.
4901 (${board}_get_remote_address): Update.
4902 (${board}_get_comm_port): New function.
4903
fc98a809
AB
49042014-04-16 Andrew Burgess <aburgess@broadcom.com>
4905
4906 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4907 appearing in any order.
4908
87fd9e6e
DE
49092014-04-15 Doug Evans <dje@google.com>
4910
4911 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4912 uninitialized value of "description".
4913
099fc3ea
KS
49142014-04-15 Keith Seitz <keiths@redhat.com>
4915
4916 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4917 Remove unused globals.
4918 (test_running_the_program): Likewise.
4919 (test_controlled_execution): Likewise.
4920 (test_controlling_breakpoints): Likewise.
4921 (test_program_termination): Likewise.
4922
5da151d4
KS
49232014-04-15 Keith Seitz <keiths@redhat.com>
4924
4925 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4926 unused globals.
4927 (test_rbreak_creation_and_listing): Likewise.
4928 (test_ignore_count): Likewise.
4929 (test_error): Likewise.
4930
35e5d2f0
PA
49312014-04-15 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4934 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4935 sym-file-loader.c.
4936 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4937 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4938 to sym-file-loader.c.
4939 (struct library): Forward declare.
4940 (load_shlib, lookup_function): Change prototypes.
4941 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4942 (translate_offset): Remove declarations.
4943 (get_text_addr): New declaration.
4944 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4945 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4946 sym-file-loader.h.
4947 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4948 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4949 here from sym-file-loader.h.
4950 (struct library): New structure.
4951 (load_shlib, lookup_function): Change prototypes and adjust to
4952 work with a struct library.
4953 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4954 (translate_offset): Make static.
4955 (get_text_addr): New function.
4956 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4957
eb4c1710
PA
49582014-04-15 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4961
2d1baf52
PA
49622014-04-15 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.base/sym-file-loader.c: Include <limits.h>.
4965 (SELF_LINK): New define.
4966 (get_origin): New function.
4967 (load_shlib): Use it.
4968 * gdb.base/sym-file.exp: Don't early return if the target is
4969 remote. Use runto_main, and issue fail is that fails. Use
4970 gdb_load_shlibs.
4971 (shlib_name): Delete.
4972 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4973
7dd6df01
PA
49742014-04-15 Pedro Alves <palves@redhat.com>
4975
4976 * gdb.base/sym-file.exp: Remove regex characters from test
4977 message. Don't refer to breakpoint numbers in test messages.
4978
b50c8614
KS
49792014-04-14 Keith Seitz <keiths@redhat.com>
4980
4981 PR c++/16253
4982 * gdb.cp/var-tag.cc: New file.
4983 * gdb.cp/var-tag.exp: New file.
4984 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4985 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4986 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4987 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4988
3d567982
TT
49892014-04-14 Tom Tromey <tromey@redhat.com>
4990
4991 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4992 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4993 type.
4994 * gdb.cp/enum-class.exp: New file.
4995 * gdb.cp/enum-class.cc: New file.
4996
0626fc76
TT
49972014-04-14 Tom Tromey <tromey@redhat.com>
4998
4999 * gdb.dwarf2/enum-type.exp: New file.
5000
dca325b3
SA
50012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5002
5003 * gdb.mi/mi-vla-c99.exp: New file.
5004 * gdb.mi/vla.c: New file.
5005
5854b38a
SA
50062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5007
5008 * gdb.base/vla-datatypes.c: New file.
5009 * gdb.base/vla-datatypes.exp: New file.
5010
463bb957
SA
50112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5012
5013 * gdb.base/vla-ptr.c: New file.
5014 * gdb.base/vla-ptr.exp: New file.
5015
3dd170be
SA
50162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5017
5018 * gdb.dwarf2/count.exp: New file.
5019
5ecaaa66
SA
50202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5021
5022 * gdb.base/vla-sideeffect.c: New file.
5023 * gdb.base/vla-sideeffect.exp: New file.
5024
41f1ada5
DB
50252014-04-14 David Blaikie <dblaikie@gmail.com>
5026
5027 * gdb.mi/non-stop.c: Add return value for non-void function return
5028 statement.
5029 * gdb.threads/staticthreads.c: Ditto.
5030
0be03e84
DE
50312014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5032 Doug Evans <xdje42@gmail.com>
5033
5034 * gdb.guile/scm-value.c: Improve test case.
5035 * gdb.guile/scm-value.exp: Add new test.
5036
f180a1fb
DB
50372014-04-11 David Blaikie <dblaikie@gmail.com>
5038
5039 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5040 override Clang's default.
5041
6b662e19
JB
50422014-04-11 Joel Brobecker <brobecker@adacore.com>
5043
5044 Revert the following changes (regressions):
5045
5046 * gdb.base/vla-sideeffect.c: New file.
5047 * gdb.base/vla-sideeffect.exp: New file.
5048
5049 * gdb.dwarf2/count.exp: New file.
5050
5051 * gdb.base/vla-multi.c: New file.
5052 * gdb.base/vla-multi.exp: New file.
5053
5054 * gdb.base/vla-ptr.c: New file.
5055 * gdb.base/vla-ptr.exp: New file.
5056
5057 * gdb.base/vla-datatypes.c: New file.
5058 * gdb.base/vla-datatypes.exp: New file.
5059
5060 * gdb.mi/mi-vla-c99.exp: New file.
5061 * gdb.mi/vla.c: New file.
5062
245a5f0b
KS
50632014-04-11 Keith Seitz <keiths@redhat.com>
5064
5065 PR c++/16675
5066 * gdb.cp/cpsizeof.exp: New file.
5067 * gdb.cp/cpsizeof.cc: New file.
5068
58a84dcf
SA
50692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5070
191a8a90
JB
5071 * gdb.mi/mi-vla-c99.exp: New file.
5072 * gdb.mi/vla.c: New file.
58a84dcf 5073
c8655f75
SA
50742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5075
5076 * gdb.base/vla-datatypes.c: New file.
5077 * gdb.base/vla-datatypes.exp: New file.
5078
024e13b4
SA
50792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5080
5081 * gdb.base/vla-ptr.c: New file.
5082 * gdb.base/vla-ptr.exp: New file.
5083
1a237e0e
SA
50842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5085
5086 * gdb.base/vla-multi.c: New file.
5087 * gdb.base/vla-multi.exp: New file.
5088
504f3432
SA
50892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5090
5091 * gdb.dwarf2/count.exp: New file.
5092
3bce8237
SA
50932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5094
191a8a90
JB
5095 * gdb.base/vla-sideeffect.c: New file.
5096 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5097
322f9c21
YQ
50982014-04-11 Yao Qi <yao@codesourcery.com>
5099
5100 * gdb.base/completion.exp: Check file exists before running tests
5101 on file completion.
5102
d708bcd1
PA
51032014-04-10 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.base/cond-eval-mode.c: New file.
5106 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5107 prepare_for_testing to build the new file. Check result of
5108 runto_main.
5109 (test_break, test_watch): New procedures.
5110 (top level): Use them.
5111
ae1d2761
PM
51122014-04-08 Pierre Muller <muller@sourceware.org>
5113
5114 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5115 Ctrl-V use for mingw hosts.
5116
7af389b8
SC
51172014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5118
5119 * gdb.python/py-value.c: Improve test case.
5120 * gdb.python/py-value.exp: Add new test.
5121
5e703181
DE
51222014-04-07 David Blaikie <dblaikie@gmail.com>
5123
5124 * lib/compiler.c: Identify the clang compiler.
5125 * lib/compiler.cc: Ditto.
5126
9810b410
YQ
51272014-04-03 Yao Qi <yao@codesourcery.com>
5128
5129 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5130
98d1b8dc
AB
51312014-04-01 Anton Blanchard <anton@samba.org>
5132
5133 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5134 messages unique.
5135
3114cea1
AB
51362014-04-01 Anton Blanchard <anton@samba.org>
5137
5138 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5139 prepare_for_testing.
5140
62f7182c
AB
51412014-04-01 Anton Blanchard <anton@samba.org>
5142
5143 * gdb.arch/ppc64-atomic-inst.c: Remove.
5144 * gdb.arch/ppc64-atomic-inst.S: New file.
5145 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5146
770e7fc7
DE
51472014-03-31 Doug Evans <dje@google.com>
5148
5149 * gdb.base/print-symbol-loading-lib.c: New file.
5150 * gdb.base/print-symbol-loading-main.c: New file.
5151 * gdb.base/print-symbol-loading.exp: New file.
5152
46e2bafa
YQ
51532014-03-31 Yao Qi <yao@codesourcery.com>
5154
5155 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5156
8776cfe9
JB
51572014-03-28 Joel Brobecker <brobecker@adacore.com>
5158
5159 * gdb.ada/mi_dyn_arr: New testcase.
5160
5d1ef361
DE
51612014-03-27 Doug Evans <dje@google.com>
5162
5163 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5164
b5bee914
YQ
51652014-03-27 Yao Qi <yao@codesourcery.com>
5166
5167 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5168 if target is nios2-*-*.
5169
0d4d0e77
YQ
51702014-03-26 Yao Qi <yao@codesourcery.com>
5171
5172 * lib/gdb.exp (readline_is_used): New proc.
5173 * gdb.base/completion.exp: Move tests on command complete up.
5174 Skip the rest of tests if readline is not used.
5175 * gdb.ada/complete.exp: Skp the test if readline is not
5176 used.
5177 * gdb.base/filesym.exp: Likewise.
5178 * gdb.base/macscp.exp: Likewise.
5179 * gdb.base/readline-ask.exp: Likewise.
5180 * gdb.base/readline.exp: Likewise.
5181 * gdb.python/py-cmd.exp: Likewise.
5182 * gdb.trace/tfile.exp: Likewise.
5183
29361eee
YQ
51842014-03-26 Yao Qi <yao@codesourcery.com>
5185
5186 * gdb.base/macscp.exp: Fix code format issues.
5187
bc9a5525
UW
51882014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5189
5190 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5191 * gdb.asm/powerpc64le.inc: New file.
5192
d3839ede
PA
51932014-03-25 Pedro Alves <palves@redhat.com>
5194 Doug Evans <dje@google.com>
5195
5196 * gdb.base/source-execution.c: New file.
5197 * gdb.base/source-execution.exp: New file.
5198 * gdb.base/source-execution.gdb: New file.
5199
01672a57
DE
52002014-03-24 Doug Evans <dje@google.com>
5201
5202 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5203 using fission.
5204
88bbeca9
HZ
52052014-03-24 Hui Zhu <hui@codesourcery.com>
5206 Pedro Alves <palves@redhat.com>
5207
5208 PR breakpoints/16101
5209 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5210 test pass/fail messages. Detect missing support for dprintf when
5211 breakpoints are actually inserted.
5212 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5213 breakpoints are actually inserted.
5214 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5215 fails.
5216
d2348791
JK
52172014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5220
feef67ab
DE
52212014-03-22 Doug Evans <xdje42@gmail.com>
5222
5223 * gdb.python/python.exp (python not supported): Verify multi-line
5224 python command issues an error.
25d743f9 5225 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5226 guile command issues an error.
feef67ab 5227
ecebef6a
MR
52282014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5229
5230 * gdb.threads/thread-specific.exp: Handle the lack of usable
5231 $this_breakpoint and $this_thread.
5232
ccdd1909
HZ
52332014-03-21 Hui Zhu <hui@codesourcery.com>
5234
5235 * gdb.base/attach.exp (do_command_attach_tests): New.
5236
beb460e8
PA
52372014-03-20 Tom Tromey <tromey@redhat.com>
5238 Pedro Alves <palves@redhat.com>
5239
5240 PR cli/15718
5241 * gdb.base/condbreak-call-false.c: New file.
5242 * gdb.base/condbreak-call-false.exp: New file.
5243
40acf43a
PA
52442014-03-20 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5247 Delete.
5248 (block_signals, unblock_signals): Delete.
5249 (child_function_2, main): Remove references to deleted variable
5250 and functions.
5251
9f5e1e02
PA
52522014-03-20 Pedro Alves <palves@redhat.com>
5253
5254 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5255 Use pthread_kill to signal thread 2.
5256 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5257 Adjust to make the test send itself a signal rather than using the
5258 host's "kill" command.
5259
99619bea
PA
52602014-03-20 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.threads/multiple-step-overs.c: New file.
5263 * gdb.threads/multiple-step-overs.exp: New file.
5264 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5265 Adjust expected infrun debug output.
5266
2adfaa28
PA
52672014-03-20 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5270 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5271
31e77af2
PA
52722014-03-20 Pedro Alves <palves@redhat.com>
5273
5274 PR breakpoints/7143
5275 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5276 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5277 of gdb_test_multiple.
5278 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5279 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5280
b9f437de
PA
52812014-03-20 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5284 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5285
05adc73e
PA
52862014-03-19 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.base/async.exp: Remove early return.
5289
6048b950
PA
52902014-03-19 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5293
8bcfb00a
PA
52942014-03-19 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.base/async.exp (test_background): Expect \r\n after
5297 "completed." in the fail pattern.
5298
884e37dc
PA
52992014-03-19 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.base/async.exp (test_background): New procedure.
5302 Use it for all background execution command tests.
5303
148e57e2
PA
53042014-03-19 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.base/async.exp: Use prepare_for_testing.
5307
f48088c7
PA
53082014-03-19 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5311 the same line.
5312
e2f6c966
PA
53132014-03-19 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.base/async.c (main): Add "jump here" and "until here" line
5316 marker comments.
5317 * gdb.base/async.exp (jump_here): New global.
5318 (jump& test): Use it.
5319 (until_here): New global.
5320 (until& test): Use it.
5321
c30568d4
PA
53222014-03-19 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/async.exp: Don't frob gdb_protocol.
5325
0172b6a7
DE
53262014-03-18 Doug Evans <xdje42@gmail.com>
5327
5328 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5329 Fix spelling of exec-done-display.
5330
06c868a8
JK
53312014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 PR gdb/15358
5334 * gdb.base/gdb-sigterm.c: New file.
5335 * gdb.base/gdb-sigterm.exp: New file.
5336
0c7e1a46
PA
53372014-03-18 Pedro Alves <palves@redhat.com>
5338
5339 PR gdb/13860
5340 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5341 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5342 solib-event.
5343
f7c77d93
JB
53442014-03-17 Joel Brobecker <brobecker@adacore.com>
5345
5346 * gdb.ada/pckd_arr_ren: New testcase.
5347
5a1e8c7a
DE
53482014-03-13 Doug Evans <xdje42@gmail.com>
5349
5350 PR guile/16612
5351 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5352 collect after discarding symbols.
5353
350e1a76
DE
53542014-03-13 Ludovic Courtès <ludo@gnu.org>
5355 Doug Evans <xdje42@gmail.com>
5356
5357 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5358 to history survives a gc.
5359
a69900ae
PA
53602014-03-13 Pedro Alves <palves@redhat.com>
5361
5362 * gdb.base/default.exp: Don't test "target procfs".
5363
5db9f0bd
PA
53642014-03-13 Pedro Alves <palves@redhat.com>
5365
5366 * gdb.base/default.exp: Update "target child" and "target procfs"
5367 tests to not expect "Unix".
5368
b3ccfe11
TT
53692014-03-12 Tom Tromey <tromey@redhat.com>
5370
5371 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5372 New procs. Add target-async tests.
5373 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5374 Add target-async tests.
5375
646f4417
AA
53762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5377
5378 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5379 'func_start' and 'func_end' for the beginning and end of the
5380 function code, respectively.
5381 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5382 'func_end' instead of 'func' and 'main'.
5383
288c211f
AA
53842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5385
5386 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5387 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5388 generate the debug info assembler source.
5389
e0c0f156
AA
53902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5391
5392 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5393 * gdb.dwarf2/arr-subrange.exp: Likewise.
5394 * gdb.dwarf2/dwz.exp: Likewise.
5395 * gdb.dwarf2/method-ptr.exp: Likewise.
5396 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5397 * gdb.dwarf2/subrange.exp: Likewise.
5398 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5399 * gdb.dwarf2/implptrpiece.exp: Likewise.
5400 * gdb.dwarf2/nostaticblock.exp: Likewise.
5401
0e5c4555
AA
54022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5403
5404 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5405 directory to absolute path name arguments.
5406
5ec18f2b
JG
54072014-03-10 Joel Brobecker <brobecker@adacore.com>
5408
5409 * gdb.ada/tagged_access: New testcase.
5410
847fc4f2
MM
54112014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5412
5413 * gdb.btrace/data.exp: Update expected output.
5414
cc3da688
YQ
54152014-03-06 Yao Qi <yao@codesourcery.com>
5416
5417 * gdb.trace/pr16508.exp: New file.
5418
0f26cec1
PA
54192014-03-05 Pedro Alves <palves@redhat.com>
5420
5421 PR gdb/16575
5422 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5423 procedure.
5424 (top level): Adjust to use it. Add tests that exercise breakpoint
5425 interaction with the code-cache.
5426
7a5a839f
LC
54272014-02-26 Ludovic Courtès <ludo@gnu.org>
5428
5429 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5430 test for 'history-append!'.
5431
31aa7e4e
JB
54322014-02-26 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5435 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5436 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5437 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5438 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5439 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5440
1b588015
JB
54412014-02-26 Joel Brobecker <brobecker@adacore.com>
5442
5443 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5444 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5445 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5446
55426c9d
JB
54472014-02-26 Joel Brobecker <brobecker@adacore.com>
5448
5449 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5450
dc53a7ad
JB
54512014-02-26 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.dwarf2/arr-stride.c: New file.
5454 * gdb.dwarf2/arr-stride.exp: New file.
5455
12ab52e9
PA
54562014-02-26 Pedro Alves <palves@redhat.com>
5457
5458 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5459 that won't ever trigger. Make sure that GDB reports the correct
5460 breakpoint that caused the stop.
5461
849c862e
JK
54622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5463
5464 PR gdb/16626
5465 * gdb.base/auto-load-script: New file.
5466 * gdb.base/auto-load.c: New file.
5467 * gdb.base/auto-load.exp: New file.
5468
71b7d793
JK
5469 PR gdb/16626
5470 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5471
e2f0d509
JK
54722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5473
5474 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5475 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5476
50cc37c8
DE
54772014-02-24 Doug Evans <dje@google.com>
5478
5479 * lib/gdb.exp (run_on_host): Log error output if program fails.
5480
ea4758f2
PA
54812014-02-21 Pedro Alves <palves@redhat.com>
5482
5483 * gdb.threads/step-after-sr-lock.c: Rename to ...
5484 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5485 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5486 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5487 ... this.
5488
d7b30f67
SDJ
54892014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5490
5491 PR tdep/16397
5492 * gdb.arch/amd64-stap-special-operands.exp: New file.
5493 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5494 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5495 * gdb.arch/amd64-stap-triplet.S: Likewise.
5496 * gdb.arch/amd64-stap-triplet.c: Likewise.
5497
83deb43f
JB
54982014-02-20 Joel Brobecker <brobecker@adacore.com>
5499
5500 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5501 in .section pseudo-op.
5502
adde2bff
DE
55032014-02-20 lin zuojian <manjian2006@gmail.com>
5504 Joel Brobecker <brobecker@adacore.com>
5505 Doug Evans <xdje42@gmail.com>
5506
5507 PR symtab/16581
5508 * gdb.dwarf2/dw2-icycle.S: New file.
5509 * gdb.dwarf2/dw2-icycle.c: New file.
5510 * gdb.dwarf2/dw2-icycle.exp: New file.
5511
f7bd0f78
SC
55122014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5513
5514 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5515 operations on gdb.Value objects.
5516 * gdb.python/py-value-cc.exp: Add new test to test operations on
5517 gdb.Value objects.
5518
c17ef0d5
DE
55192014-02-18 Doug Evans <dje@google.com>
5520
5521 * Makefile.in (TESTS): New variable.
5522 (expanded_tests, expanded_tests_or_none): New variables
5523 (check-single): Pass $(expanded_tests_or_none) to runtest.
5524 (check-parallel): Only run tests in $(TESTS) if non-empty.
5525 (check/no-matching-tests-found): New rule.
5526 * README: Document TESTS makefile variable.
5527
5dd3176f
DE
55282014-02-18 Doug Evans <dje@google.com>
5529
5530 * Makefile.in (check-parallel): rm -rf outputs temp.
5531
0b10be4f
JK
55322014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 Fix "ERROR: no fileid for" in the testsuite.
5535 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5536
85f224e7
DE
55372014-02-12 Doug Evans <dje@google.com>
5538
5539 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5540 (MISCELLANEOUS): New variable.
5541 (clean): rm -rf $(MISCELLANEOUS).
5542 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5543 dwp live in the same directory as symlinks, with each symlink pointed
5544 to a differently named file in a different directory.
5545
149b30ff
DE
55462014-02-11 Doug Evans <dje@google.com>
5547
5548 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5549 of Tcl file commands.
5550
1dfdac32
MK
55512014-02-10 Mark Kettenis <kettenis@gnu.org>
5552
5553 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5554 "kill -SIGUSR1 -1".
5555
aa4fb036
JB
55562014-02-10 Joel Brobecker <brobecker@adacore.com>
5557
5558 * gdb.ada/tick_length_array_enum_idx: New testcase.
5559
ed3ef339
DE
55602014-02-10 Doug Evans <xdje42@gmail.com>
5561
5562 * configure.ac (AC_OUTPUT): Add gdb.guile.
5563 * configure: Regenerate.
5564 * lib/gdb-guile.exp: New file.
5565 * lib/gdb.exp (get_target_charset): New function.
5566 * gdb.base/help.exp: Update expected output from "apropos apropos".
5567 * gdb.guile/Makefile.in: New file.
5568 * gdb.guile/guile.exp: New file.
5569 * gdb.guile/scm-arch.c: New file.
5570 * gdb.guile/scm-arch.exp: New file.
5571 * gdb.guile/scm-block.c: New file.
5572 * gdb.guile/scm-block.exp: New file.
5573 * gdb.guile/scm-breakpoint.c: New file.
5574 * gdb.guile/scm-breakpoint.exp: New file.
5575 * gdb.guile/scm-disasm.c: New file.
5576 * gdb.guile/scm-disasm.exp: New file.
5577 * gdb.guile/scm-equal.c: New file.
5578 * gdb.guile/scm-equal.exp: New file.
5579 * gdb.guile/scm-error.exp: New file.
5580 * gdb.guile/scm-error.scm: New file.
5581 * gdb.guile/scm-frame-args.c: New file.
5582 * gdb.guile/scm-frame-args.exp: New file.
5583 * gdb.guile/scm-frame-args.scm: New file.
5584 * gdb.guile/scm-frame-inline.c: New file.
5585 * gdb.guile/scm-frame-inline.exp: New file.
5586 * gdb.guile/scm-frame.c: New file.
5587 * gdb.guile/scm-frame.exp: New file.
5588 * gdb.guile/scm-generics.exp: New file.
5589 * gdb.guile/scm-gsmob.exp: New file.
5590 * gdb.guile/scm-iterator.c: New file.
5591 * gdb.guile/scm-iterator.exp: New file.
5592 * gdb.guile/scm-math.c: New file.
5593 * gdb.guile/scm-math.exp: New file.
5594 * gdb.guile/scm-objfile-script-gdb.in: New file.
5595 * gdb.guile/scm-objfile-script.c: New file.
5596 * gdb.guile/scm-objfile-script.exp: New file.
5597 * gdb.guile/scm-objfile.c: New file.
5598 * gdb.guile/scm-objfile.exp: New file.
5599 * gdb.guile/scm-ports.exp: New file.
5600 * gdb.guile/scm-pretty-print.c: New file.
5601 * gdb.guile/scm-pretty-print.exp: New file.
5602 * gdb.guile/scm-pretty-print.scm: New file.
5603 * gdb.guile/scm-section-script.c: New file.
5604 * gdb.guile/scm-section-script.exp: New file.
5605 * gdb.guile/scm-section-script.scm: New file.
5606 * gdb.guile/scm-symbol.c: New file.
5607 * gdb.guile/scm-symbol.exp: New file.
5608 * gdb.guile/scm-symtab-2.c: New file.
5609 * gdb.guile/scm-symtab.c: New file.
5610 * gdb.guile/scm-symtab.exp: New file.
5611 * gdb.guile/scm-type.c: New file.
5612 * gdb.guile/scm-type.exp: New file.
5613 * gdb.guile/scm-value-cc.cc: New file.
5614 * gdb.guile/scm-value-cc.exp: New file.
5615 * gdb.guile/scm-value.c: New file.
5616 * gdb.guile/scm-value.exp: New file.
5617 * gdb.guile/source2.scm: New file.
5618 * gdb.guile/types-module.cc: New file.
5619 * gdb.guile/types-module.exp: New file.
5620
7026a7c1
YQ
56212014-02-10 Yao Qi <yao@codesourcery.com>
5622
5623 PR testsuite/16543
5624 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5625 * configure: Regenerated.
5626 * Makefile.in: New file.
5627
6c466447
AS
56282014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5629
5630 * gdb.python/py-framefilter.exp: Fix typo.
5631
6e854735
YQ
56322014-02-08 Yao Qi <yao@codesourcery.com>
5633
5634 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5635 that no =breakpoint-modified is emitted when breakpoints are
5636 modified through MI commands.
5637
d137e6dc
PA
56382014-02-07 Pedro Alves <pedro@codesourcery.com>
5639 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.threads/step-after-sr-lock.c: New file.
5642 * gdb.threads/step-after-sr-lock.exp: New file.
5643
b5ee5a50
PA
56442014-02-07 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5647
3c77faf3
JK
56482014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5649
5650 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5651 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5652
6dddc817
DE
56532014-02-06 Doug Evans <xdje42@gmail.com>
5654
5655 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5656 output.
5657
5658 * gdb.gdb/python-interrupts.exp: New file.
5659
de7b2893
YQ
56602014-02-05 Yao Qi <yao@codesourcery.com>
5661
5662 * gdb.trace/report.exp (use_collected_data): Test the output
5663 of "info threads" and "info inferiors".
5664
66d032ac
YQ
56652014-02-05 Yao Qi <yao@codesourcery.com>
5666
5667 Revert this patch:
5668
5669 2013-05-24 Yao Qi <yao@codesourcery.com>
5670
5671 * gdb.trace/tfile.exp: Test inferior and thread.
5672
591a12a1
UW
56732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5674
5675 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5676 on a function.
5677 * gdb.base/step-bt.c: Call hello via function pointer to make
5678 sure its first instruction is executed on powerpc64le-linux.
5679
0ff3e01f
UW
56802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5681
5682 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5683
084ee545
UW
56842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5685
5686 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5687 of the test patterns for use on little-endian systems.
5688
6ed14ff3
UW
56892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5690
5691 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5692 (decimal_vector): Fix for little-endian.
5693
401e27fd
JM
56942014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5695
5696 * gdb.arch/sparc-sysstep.exp: New file.
5697 * gdb.arch/sparc-sysstep.c: Likewise.
5698
5699 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5700
8b924729
EBM
57012014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5702
5703 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5704
fb151210
JB
57052014-01-23 Tom Tromey <tromey@redhat.com>
5706
5707 * gdb.ada/array_char_idx: New testcase.
5708
0740f8d8
TT
57092014-01-23 Tom Tromey <tromey@redhat.com>
5710
5711 PR python/16487:
5712 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5713 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5714 classes.
5715
21909fa1
TT
57162014-01-23 Tom Tromey <tromey@redhat.com>
5717
5718 PR python/16491:
5719 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5720 string from an inferior frame.
5721 * gdb.python/py-framefilter-mi.exp: Update.
5722
87ce2a04
DE
57232014-01-22 Doug Evans <dje@google.com>
5724
5725 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5726
237b092b
AA
57272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5728
5729 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5730
d674a709
AA
57312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5732
5733 * gdb.trace/entry-values.exp: Remove excess space character from
5734 regex patterns. Handle s390 call instruction.
5735
20fa3390
AA
57362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5737
5738 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5739 define "*_start" label. Make "name" static.
5740 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5741 ${name} by references to ${name}_start.
5742
78466714
AA
57432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5744
5745 * gdb.base/info-macros.exp: Remove "debug" from the compile
5746 options.
5747
ec9f644a
IB
57482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5749
5750 * gdb.dlang/demangle.exp: New file.
5751
94b1b47e
IB
57522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5753
5754 * gdb.dlang/primitive-types.exp: New file.
5755
7f420862
IB
57562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5757
5758 * configure.ac: Create gdb.dlang/Makefile.
5759 * configure: Regenerate.
5760 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5761 * gdb.dlang/Makefile.in: New file.
5762 * lib/d-support.exp: New file.
5763 * lib/gdb.exp (skip_d_tests): New proc.
5764
52834460
MM
57652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5766
5767 * gdb.btrace/delta.exp: Check reverse stepi.
5768 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5769 * gdb.btrace/finish.exp: New.
5770 * gdb.btrace/next.exp: New.
5771 * gdb.btrace/nexti.exp: New.
5772 * gdb.btrace/record_goto.c: Add comments.
5773 * gdb.btrace/step.exp: New.
5774 * gdb.btrace/stepi.exp: New.
5775 * gdb.btrace/multi-thread-step.c: New.
5776 * gdb.btrace/multi-thread-step.exp: New.
5777 * gdb.btrace/rn-dl-bind.c: New.
5778 * gdb.btrace/rn-dl-bind.exp: New.
5779 * gdb.btrace/data.c: New.
5780 * gdb.btrace/data.exp: New.
5781 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5782
6e07b1d2
MM
57832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5784
5785 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5786 * gdb.btrace/exception.exp: Update.
5787 * gdb.btrace/instruction_history.exp: Update.
5788 * gdb.btrace/record_goto.exp: Update.
5789 * gdb.btrace/tailcall.exp: Update.
5790 * gdb.btrace/unknown_functions.exp: Update.
5791 * gdb.btrace/delta.exp: New.
5792
0b722aec
MM
57932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5794
5795 * gdb.btrace/record_goto.exp: Add backtrace test.
5796 * gdb.btrace/tailcall.exp: Add backtrace test.
5797
066ce621
MM
57982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5799
5800 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5801 * gdb.btrace/record_goto.c: New.
5802 * gdb.btrace/record_goto.exp: New.
5803 * gdb.btrace/x86-record_goto.S: New.
5804
0688d04e
MM
58052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5806
5807 * gdb.btrace/function_call_history.exp: Update tests.
5808 * gdb.btrace/instruction_history.exp: Update tests.
5809
8710b709
MM
58102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5811
5812 * gdb.btrace/function_call_history.exp: Fix expected field
5813 order for "record function-call-history".
5814 Add new tests for "record function-call-history /c".
5815 * gdb.btrace/exception.cc: New.
5816 * gdb.btrace/exception.exp: New.
5817 * gdb.btrace/tailcall.exp: New.
5818 * gdb.btrace/x86-tailcall.S: New.
5819 * gdb.btrace/x86-tailcall.c: New.
5820 * gdb.btrace/unknown_functions.c: New.
5821 * gdb.btrace/unknown_functions.exp: New.
5822 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5823
5de9129b
MM
58242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5825
5826 * gdb.btrace/instruction_history.exp: Update.
5827 * gdb.btrace/function_call_history.exp: Update.
5828
23a7fe75
MM
58292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5830
5831 * gdb.btrace/function_call_history.exp: Fix expected function
5832 trace.
5833 * gdb.btrace/instruction_history.exp: Initialize traced.
5834 Remove traced_functions.
5835
724c7dd8
MM
58362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5837
5838 * gdb.btrace/function_call_history.exp: Update
5839 * gdb.btrace/instruction_history.exp: Update.
5840
6d78d93b
MM
58412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5842
5843 * gdb.btrace/enable.exp: Update expected text.
5844
93a360cc
OJ
58452014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5846
5847 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5848 bytes.
5849
3772b53f
MR
58502014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5851
5852 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5853
596662fa
OJ
58542014-01-15 Omair Javaid <omair.javaid@linaro.org>
5855
5856 * lib/gdb.exp (supports_process_record): Return true for
5857 arm*-linux*. (supports_reverse): Likewise.
5858
b5b08fb4
SC
58592014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5860
5861 PR python/15464
5862 PR python/16113
5863 * gdb.python/py-type.c: Enhance test case.
5864 * gdb.python/py-value-cc.cc: Likewise
5865 * gdb.python/py-type.exp: Add new tests.
5866 * gdb.python/py-value-cc.exp: Likewise
5867
52d7fb13
AA
58682014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5869 Pedro Alves <palves@redhat.com>
5870
5871 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5872 Make "name" extern.
5873 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5874 references to ${name}_start by references to ${name}.
5875
a2cd8cfe
JB
58762014-01-10 Joel Brobecker <brobecker@adacore.com>
5877
5878 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5879
4e23fced
JB
58802014-01-10 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5883
c6a9e42c
PA
58842014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5885 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5888 mi_gdb_target_load.
c6a9e42c 5889
b7ea362b
PA
58902014-01-08 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.threads/reconnect-signal.c: New file.
5893 * gdb.threads/reconnect-signal.exp: New file.
5894
5e3f4fab
EBM
58952014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5896
5897 * gdb.base/source-dir.exp: New file.
5898
79301218
JB
58992014-01-07 Joel Brobecker <brobecker@adacore.com>
5900
5901 * gdb.ada/mi_interface: New testcase.
5902
8e355c5d
JB
59032014-01-07 Joel Brobecker <brobecker@adacore.com>
5904
5905 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5906 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5907 gdb.ada/pp-rec-component/pck.ads: New files.
5908
c0d48811
JB
59092014-01-07 Joel Brobecker <brobecker@adacore.com>
5910
5911 * gdb.python/py-pp-integral.c: New file.
5912 * gdb.python/py-pp-integral.py: New file.
5913 * gdb.python/py-pp-integral.exp: New file.
5914
17b609c3 5915For older changes see ChangeLog-1993-2013.
c906108c 5916\f
8d8cb839
EZ
5917;; Local Variables:
5918;; mode: change-log
5919;; left-margin: 8
5920;; fill-column: 74
5921;; version-control: never
5922;; End:
902f2ccb 5923
32d0add0 5924 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5925 Copying and distribution of this file, with or without modification,
5926 are permitted provided the copyright notice and this notice are preserved.