]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Explicit locations: MI support for explicit locations
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
eb8c4e2e
KS
12015-08-11 Keith Seitz <keiths@redhat.com>
2
3 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
4 (at toplevel): Call test_explicit_breakpoints.
5 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6 breakpoints.
7 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8 breakpoint conditions, "-cond".
9
87f0e720
KS
102015-08-11 Keith Seitz <keiths@redhat.com>
11
12 * gdb.linespec/3explicit.c: New file.
13 * gdb.linespec/cpexplicit.cc: New file.
14 * gdb.linespec/cpexplicit.exp: New file.
15 * gdb.linespec/explicit.c: New file.
16 * gdb.linespec/explicit.exp: New file.
17 * gdb.linespec/explicit2.c: New file.
18 * gdb.linespec/ls-errs.exp: Add explicit location tests.
19 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
20 before using in the matching pattern.
21 Clarify that `prefix' is a regular expression.
22
f00aae0f
KS
232015-08-11 Keith Seitz <keiths@redhat.com>
24
25 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
26 test.
27 Add tests for missing ",FMT" and ",".
28
e27852be
DE
292015-08-10 Doug Evans <dje@google.com>
30 Keith Seitz <keiths@redhat.com>
31
32 PR gdb/17960
33 * gdb.base/completion.exp: Add location completer tests.
34
7f03bd92
PA
352015-08-07 Pedro Alves <palves@redhat.com>
36
37 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
38 tests here.
39 (top level): Run do_test with and without displaced stepping.
40
3fc8eb30
PA
412015-08-07 Pedro Alves <palves@redhat.com>
42
43 * gdb.base/valgrind-disp-step.c: New file.
44 * gdb.base/valgrind-disp-step.exp: New file.
45
d4569d7b
PA
462015-08-07 Pedro Alves <palves@redhat.com>
47
48 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
49 Delete function.
50 (main): Add alarm. Run an infinite loop instead of calling
51 wait_threads.
52 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
53 comment.
54 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
55 Delete function.
56 (main): Add alarm. Run an infinite loop instead of calling
57 wait_threads.
58 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
59 comment.
60
e1316e60
PA
612015-08-07 Pedro Alves <palves@redhat.com>
62
63 * gdb.base/checkpoint-ns.exp: New file.
64 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
65 standard_testfile.
66
da8c46d2
MM
672015-08-07 Markus Metzger <markus.t.metzger@intel.com>
68
69 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
70 * gdb.btrace/instruction_history.exp: Update.
71 * gdb.btrace/tsx.exp: New.
72 * gdb.btrace/tsx.c: New.
73
de1c2c52
PA
742015-08-06 Pedro Alves <palves@redhat.com>
75
76 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
77 increase timeout.
78 * gdb.reverse/until-precsave.exp: Bump timeouts.
79
782e0bf4
PA
802015-08-06 Pedro Alves <palves@redhat.com>
81
82 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
83
83e97ed0
PA
842015-08-06 Pedro Alves <palves@redhat.com>
85
86 PR gdb/18749
87 * gdb.threads/process-dies-while-handling-bp.c: New file.
88 * gdb.threads/process-dies-while-handling-bp.exp: New file.
89
863d01bd
PA
902015-08-06 Pedro Alves <palves@redhat.com>
91
92 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
93 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
94
0a39bb32
PA
952015-08-05 Pedro Alves <palves@redhat.com>
96
97 * gdb.threads/next-while-other-thread-longjmps.c: New file.
98 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
99
ee2d2b10
SL
1002015-08-03 Sandra Loosemore <sandra@codesourcery.com>
101
102 * gdb.base/bp-permanent.exp: Report test as unsupported if
103 the target cannot stop at the permanent breakpoint.
104
4e1bdb00
DE
1052015-08-03 Doug Evans <dje@google.com>
106
107 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
108 10000.
109
3d338901
DE
1102015-08-03 Doug Evans <dje@google.com>
111
112 * Makefile.in (workers/%.worker, build-perf): New rule.
113 (GDB_PERFTEST_MODE): New variable.
114 (check-perf): Use it.
115 (clean): Clean up gdb.perf parallel build subdirs.
116 * lib/build-piece.exp: New file.
117 * lib/gdb.exp (make_gdb_parallel_path): New function
118 (standard_output_file, standard_temp_file): Call it.
119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
120 of $GDB_PARALLEL.
121 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
122
af061d3e
DE
1232015-08-03 Doug Evans <dje@google.com>
124
8e1afc81 125 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
126 (LOG_FILE_NAME): New global.
127 (TextReporter.__init__): Initialize self.txt_sum.
128 (TextReporter.report): Add support for multiple data-points.
129 Move report to perftest.sum, put raw data in perftest.log.
130 (TextReporter.start): Open sum and log files.
131 (TextReporter.end): Close sum and log files.
8e1afc81
DE
132 * gdb.perf/lib/perftest/testresult.py
133 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 134
2c8c5d37
PA
1352015-07-31 Pedro Alves <palves@redhat.com>
136
137 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
138 Use spawn_id_get_pid. Wait for spawn id after eof. Use
139 kill_wait_spawned_process instead of explicit "kill -9".
140 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
141 returning a spawn id instead of a pid. Use spawn_id_get_pid and
142 kill_wait_spawned_process.
143 * gdb.base/attach-twice.exp: Likewise.
144 * gdb.base/attach.exp: Likewise.
145 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
146 gdb_test_multiple.
147 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
148 returning a spawn id instead of a pid. Use spawn_id_get_pid and
149 kill_wait_spawned_process.
150 * gdb.base/valgrind-infcall.exp: Likewise.
151 * gdb.multi/multi-attach.exp: Likewise.
152 * gdb.python/py-prompt.exp: Likewise.
153 * gdb.python/py-sync-interp.exp: Likewise.
154 * gdb.server/ext-attach.exp: Likewise.
155 * gdb.threads/attach-into-signal.exp (corefunc): Use
156 spawn_wait_for_attach, spawn_id_get_pid and
157 kill_wait_spawned_process.
158 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
159 spawn_wait_for_attach returning a spawn id instead of a pid. Use
160 spawn_id_get_pid and kill_wait_spawned_process.
161 * gdb.threads/attach-stopped.exp (corefunc): Use
162 spawn_wait_for_attach, spawn_id_get_pid and
163 kill_wait_spawned_process.
164 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
165 Use spawn_id_get_pid. Wait for spawn id after eof. Use
166 kill_wait_spawned_process instead of explicit "kill -9".
167 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
168 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
169 (spawn_wait_for_attach): Use spawn instead of exec to spawn
170 processes. Don't map cygwin/windows pids here. Now returns a
171 spawn id list.
172
032a0fca
SL
1732015-07-30 Sandra Loosemore <sandra@codesourcery.com>
174
175 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
176 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
177 correct patch.
178
61a934ca
SL
1792015-07-30 Sandra Loosemore <sandra@codesourcery.com>
180
181 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
182
4bc4d428
SL
1832015-07-30 Sandra Loosemore <sandra@codesourcery.com>
184
185 Reapply:
186 2014-05-21 Mark Wielaard <mjw@redhat.com>
187
188 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
189
998d452a
PA
1902015-07-30 Pedro Alves <palves@redhat.com>
191
192 * linux-low.c (handle_extended_wait): Set the child's last
193 reported status to TARGET_WAITKIND_STOPPED.
194
69dde7dc
PA
1952015-07-30 Pedro Alves <palves@redhat.com>
196
197 PR threads/18600
198 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
199 only shows inferior 1.
200
4dd63d48
PA
2012015-07-30 Simon Marchi <simon.marchi@ericsson.com>
202 Pedro Alves <palves@redhat.com>
203
204 PR threads/18600
205 * gdb.threads/fork-plus-threads.c: New file.
206 * gdb.threads/fork-plus-threads.exp: New file.
207
d618e4c5
PP
2082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
209
210 * gdb.base/batch-preserve-term-settings.exp
211 (test_terminal_settings_preserved_after_cli_exit): Use
212 send_quit_command.
213
1eef6428
PA
2142015-07-29 Pedro Alves <palves@redhat.com>
215 Don Breazeal <donb@codesourcery.com>
216
217 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
218 output from both inferior_spawn_id and gdb_spawn_id.
219
7da5b897
SDJ
2202015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
221
222 * gdb.threads/attach-into-signal.exp (corefunc): Use
223 with_test_prefix on nested loops, uniquefying the test messages.
224
dac804df
SDJ
2252015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
226
227 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
228 commit.
229
06265e53
PP
2302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
231
232 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
233 New proc.
234 (test_terminal_settings_preserved_after_sigterm): New test.
235
18206ca3
PP
2362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
237
238 * gdb.base/batch-preserve-term-settings.exp
239 (test_terminal_settings_preserved_after_cli_exit): New test.
240
90074d11
PP
2412015-07-29 Patrick Palka <patrick@parcs.ath.cx>
242
243 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
244 manipulation of saved_gdbflags.
245 (test_terminal_settings_preserved): Remove global declaration of
246 the unused variable pagination_prompt. Remove manipulation of
247 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
248 GDBFLAGS.
249
eb1a7902
PA
2502015-07-29 Pedro Alves <palves@redhat.com>
251
252 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
253
8b75dd3b
PA
2542015-07-29 Pedro Alves <palves@redhat.com>
255
256 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
257 at the top.
258
dedad4e3
PA
2592015-07-29 Pedro Alves <palves@redhat.com>
260
261 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
262 (main): Call gdb_unbuffer_output.
263 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
264 (main): Call gdb_unbuffer_output.
265 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
266 (main): Call gdb_unbuffer_output.
267 * gdb.base/call-strs.exp: Adjust to step over the
268 gdb_unbuffer_output call.
269 * gdb.base/catch-gdb-caused-signals.c: Include
270 "../lib/unbuffer_output.c".
271 (main): Call gdb_unbuffer_output.
272 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
273 (main): Call gdb_unbuffer_output.
274 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
275 (main): Call gdb_unbuffer_output.
276 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
277 (main): Call gdb_unbuffer_output.
278 * gdb.base/shlib-call.exp: Adjust to step over the
279 gdb_unbuffer_output call.
280 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
281 (main): Call gdb_unbuffer_output.
282 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
283 (main): Call gdb_unbuffer_output.
284 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
285 (main): Rename to ...
286 (test): ... this.
287 (main): Reimplement.
288 * gdb.base/varargs.exp: Run to test instead of to main.
289 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
290 (main): Call gdb_unbuffer_output.
291
58789a91
PA
2922015-07-29 Pedro Alves <palves@redhat.com>
293
294 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
295 factore out from mi_continue_dprintf. For call-style dprintfs,
296 expect dprintf output out of $inferior_spawn_id.
297 (mi_continue_dprintf): Use mi_expect_dprintf.
298 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
299 (main): Call gdb_unbuffer_output.
300
e8376742
PA
3012015-07-29 Pedro Alves <palves@redhat.com>
302
303 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
304 (default_mi_gdb_start): Set inferior_spawn_id instead of
305 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
306 gdb_spawn_id.
307 (mi_gdb_test): Always expect inferior output from both
308 $inferior_spawn_id and $gdb_spawn_id.
309
08280010
PA
3102015-07-29 Pedro Alves <palves@redhat.com>
311
312 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
313 send_inferior and $inferior_spawn_id.
314
4d30e432
PA
3152015-07-29 Pedro Alves <palves@redhat.com>
316
317 * gdb.gdb/complaints.exp (test_initial_complaints)
318 (test_serial_complaints, test_short_complaints): Use
319 gdb_test_stdio.
320 (test_empty_complaint): Handle $inferior_spawn_id !=
321 $gdb_spawn_id.
322
0d30a335
PA
3232015-07-29 Pedro Alves <palves@redhat.com>
324
325 * gdb.base/varargs.exp: Use gdb_test_stdio.
326
39413b29
PA
3272015-07-29 Pedro Alves <palves@redhat.com>
328
329 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
330
7cb000a9
PA
3312015-07-29 Pedro Alves <palves@redhat.com>
332
333 * gdb.base/ending-run.exp: Use gdb_test_stdio.
334
d7b8ac82
PA
3352015-07-29 Pedro Alves <palves@redhat.com>
336
337 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
338 parameter into two new parameters, "inf_result" and "gdb_result".
339 Expect inferior output and gdb output from $inferior_spawn_id and
340 $gdb_spawn_id, respectively. Adjust all callers.
341
789c3a0c
PA
3422015-07-29 Pedro Alves <palves@redhat.com>
343
344 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
345 of gdb_test_sequence.
346
77e760c3
PA
3472015-07-29 Pedro Alves <palves@redhat.com>
348
349 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
350 (saw_spurious_output): Expect inferior output from
351 $inferior_spawn_id. Use gdb_test_stdio.
352
8396d2cd
PA
3532015-07-29 Pedro Alves <palves@redhat.com>
354
355 * gdb.base/dprintf.exp: Use standard_testfile. Change
356 prepare_for_testing call.
357 (srcfile): Don't set.
358 (restart): New procedure.
359 (test_dprintf): New procecure, use to continue over dprintfs.
360 (test_call, test_agent): New procedures, tests moved here.
361 Restart gdb and recreate dprintfs. Adjust expected output.
362
2051d61f
PA
3632015-07-29 Pedro Alves <palves@redhat.com>
364
365 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
366
452397af
PA
3672015-07-29 Pedro Alves <palves@redhat.com>
368
369 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
370
8aed9555
PA
3712015-07-29 Pedro Alves <palves@redhat.com>
372
373 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
374 gdb_test_stdio.
375
188a61b4
PA
3762015-07-29 Pedro Alves <palves@redhat.com>
377
378 * lib/gdb.exp (gdb_test_stdio): New procedure.
379
12264a45
PA
3802015-07-29 Pedro Alves <palves@redhat.com>
381
382 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
383
23ffc893
PA
3842015-07-29 Pedro Alves <palves@redhat.com>
385
386 * gdb.base/call-signal-resume.exp: Remove check for
387 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
388 * gdb.base/unwindonsignal.exp: Likewise.
389 * gdb.base/call-signals.c (gen_signal): Remove printf call.
390 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
391
65566918
PA
3922015-07-29 Pedro Alves <palves@redhat.com>
393
394 * gdb.base/siginfo-addr.c (pass): New function.
395 (handler): Call it iff si_addr is correct.
396 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
397 Set a breakpoint at "pass" and continue to it.
398
d60a9221
SDJ
3992015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
400
401 * gdb.python/py-objfile.exp: Make some tests have unique names.
402 * gdb.python/py-pp-registration.exp: Likewise.
403
bde40b8f
PA
4042015-07-28 Pedro Alves <palves@redhat.com>
405
406 * gdb.server/server-exec-info.exp: Issue a "disconnect".
407
13e1dec8
SM
4082015-07-27 Simon Marchi <simon.marchi@ericsson.com>
409
410 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
411
da33c9a7
SM
4122015-07-27 Simon Marchi <simon.marchi@ericsson.com>
413
414 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
415
077836f7
PP
4162015-07-27 Patrick Palka <patrick@parcs.ath.cx>
417
418 * gdb.base/gdb-sigterm-2.exp: New test.
419
b8cc7b2e
DE
4202015-07-25 Doug Evans <xdje42@gmail.com>
421
422 Revert:
423 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
424 (workers/%.worker, build-perf): New rule.
425 (GDB_PERFTEST_MODE): New variable.
426 (check-perf): Use it.
427 (clean): Clean up gdb.perf parallel build subdirs.
428 * lib/build-piece.exp: New file.
429 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
430 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
431 name.
432 (standard_temp_file): Ditto.
433 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
434 of $GDB_PARALLEL.
435
c8bd4544
DE
4362015-07-24 Doug Evans <dje@google.com>
437
438 * gdb.perf/lib/perftest/utils.py: New file.
439 * gdb.perf/gm-hello.cc: New file.
440 * gdb.perf/gm-pervasive-typedef.cc: New file.
441 * gdb.perf/gm-pervasive-typedef.h: New file.
442 * gdb.perf/gm-std.cc: New file.
443 * gdb.perf/gm-std.h: New file.
444 * gdb.perf/gm-use-cerr.cc: New file.
445 * gdb.perf/gm-utils.h: New file.
446 * gdb.perf/gmonster-null-lookup.py: New file.
447 * gdb.perf/gmonster-pervasive-typedef.py: New file.
448 * gdb.perf/gmonster-print-cerr.py: New file.
449 * gdb.perf/gmonster-ptype-string.py: New file.
450 * gdb.perf/gmonster-runto-main.py: New file.
451 * gdb.perf/gmonster-select-file.py: New file.
452 * gdb.perf/gmonster1-null-lookup.exp: New file.
453 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
454 * gdb.perf/gmonster1-print-cerr.exp: New file.
455 * gdb.perf/gmonster1-ptype-string.exp: New file.
456 * gdb.perf/gmonster1-runto-main.exp: New file.
457 * gdb.perf/gmonster1-select-file.exp: New file.
458 * gdb.perf/gmonster1.cc: New file.
459 * gdb.perf/gmonster1.exp: New file.
460 * gdb.perf/gmonster2-null-lookup.exp: New file.
461 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
462 * gdb.perf/gmonster2-print-cerr.exp: New file.
463 * gdb.perf/gmonster2-ptype-string.exp: New file.
464 * gdb.perf/gmonster2-runto-main.exp: New file.
465 * gdb.perf/gmonster2-select-file.exp: New file.
466 * gdb.perf/gmonster2.cc: New file.
467 * gdb.perf/gmonster2.exp: New file.
468
6eab34f3
DE
4692015-07-24 Doug Evans <dje@google.com>
470
471 * gdb.perf/README: New file.
472 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
473 * lib/gen-perf-test.exp: New file.
474
63738bfd
DE
4752015-07-24 Doug Evans <dje@google.com>
476
477 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
478 (PerfTest::startup): New function.
479 (PerfTest::run): Return result of calling body.
480 (PerfTest::assemble): Rewrite.
481 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
482 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
483 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
484 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
485 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
486
7b606f95
DE
4872015-07-24 Doug Evans <dje@google.com>
488
489 * lib/gdb.exp (clean_restart): Make executable optional.
490
a97b16b8
DE
4912015-07-24 Doug Evans <dje@google.com>
492
493 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
494 compiler_info references.
495 * gdb.cp/temargs.exp: Ditto.
496 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
497 (get_compiler_info): Early exit if already computed. Set compiler_info
498 to "unknown" if there was a problem.
499 (test_compiler_info): Add function comment. Call get_compiler_info.
500
35baa57f
DE
5012015-07-24 Doug Evans <dje@google.com>
502
503 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
504 (workers/%.worker, build-perf): New rule.
505 (GDB_PERFTEST_MODE): New variable.
506 (check-perf): Use it.
507 (clean): Clean up gdb.perf parallel build subdirs.
508 * lib/build-piece.exp: New file.
509 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
510 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
511 name.
512 (standard_temp_file): Ditto.
513 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
514 of $GDB_PARALLEL.
515
6ebea266
DE
5162015-07-24 Doug Evans <dje@google.com>
517
518 * lib/future.exp (gdb_default_target_compile): New option
519 "early_flags".
520 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
521 --as-needed.
522
1e76a7e9
SDJ
5232015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
524
525 * gdb.base/catch-syscall.exp: Call gdb_exit before
526 gdb_skip_xml_test.
527
5068630a
PA
5282015-07-24 Pedro Alves <palves@redhat.com>
529
530 * gdb.python/py-events.exp: Accept output between the stop event
531 and the prompt.
532 * gdb.python/py-evsignal.exp: Likewise.
533 * gdb.python/py-evthreads.exp: Likewise.
534
77598427
PA
5352015-07-24 Pedro Alves <palves@redhat.com>
536
537 PR gdb/18717
538 * gdb.threads/non-ldr-exit.c: New file.
539 * gdb.threads/non-ldr-exit.exp: New file.
540
11e6c98f
YQ
5412015-07-24 Yao Qi <yao.qi@linaro.org>
542
543 * gdb.server/ext-wrapper.exp: Test --wrapper option when
544 restarting process.
545
51aee833
YQ
5462015-07-24 Yao Qi <yao.qi@linaro.org>
547
548 * gdb.server/ext-restart.exp: New file.
549
8cfe207c
YQ
5502015-07-24 Yao Qi <yao.qi@linaro.org>
551
552 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
553 argument options.
554 * gdb.server/ext-wrapper.exp: New file.
555
cc12ce38
DE
5562015-07-23 Doug Evans <dje@google.com>
557
558 * gdb.dwarf2/dw2-dummy-cu.S: New file.
559 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
560
d0d84780
PMR
5612015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
562
563 * gdb.ada/var_arr_typedef.exp: New testcase.
564 * gdb.ada/var_arr_typedef/pack.adb: New file.
565 * gdb.ada/var_arr_typedef/pack.ads: New file.
566 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
567
8b558f79
JB
5682015-07-20 Joel Brobecker <brobecker@adacore.com>
569
570 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
571
775a3298
JK
5722015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
573
574 * gdb.arch/i386-biarch-core.exp: Replace istarget
575 by "complete set gnutarget". Remove expectation for the "core-file"
576 command.
577
db1ff28b
JK
5782015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
579
580 Revert the previous commit:
581 Tests for validate symbol file using build-id.
582
0a94970d
JK
5832015-07-15 Aleksandar Ristovski <aristovski@qnx.com
584
585 Tests for validate symbol file using build-id.
586 * gdb.base/solib-mismatch-lib.c: New file.
587 * gdb.base/solib-mismatch-libmod.c: New file.
588 * gdb.base/solib-mismatch.c: New file.
589 * gdb.base/solib-mismatch.exp: New file.
590
03346981
SL
5912015-07-15 Sandra Loosemore <sandra@codesourcery.com>
592
593 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
594 nios2-*-linux*.
595 * gdb.base/sigbpt.exp (stepi_out): Likewise.
596 * gdb.base/siginfo.exp: Likewise.
597 * gdb.base/sigstep.exp (advance, advancei): Likewise.
598
42422cc7
PL
5992015-07-15 Pierre Langlois <pierre.langlois@arm.com>
600
601 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
602 Move it to ...
603 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
604 ... here.
605 * gdb.trace/range-stepping.exp: Check that the target supports
606 range stepping.
607
cfa68bae
JK
6082015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
611
8ffdba26
PA
6122015-07-14 Pedro Alves <palves@redhat.com>
613
614 * gdb.base/killed-outside.exp: New file.
615 * gdb.base/killed-outside.c: New file.
616
218a5a11
JK
6172015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
620 (n at main): New.
621 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
622
e03ed3c6
AA
6232015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
624
625 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
626 infcall tests instead of setting up for KFAIL.
627
485668e5
MM
6282015-07-10 Markus Metzger <markus.t.metzger@intel.com>
629
630 * gdb.btrace/record_goto-step.exp: New.
631
08464196
JK
6322015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
633
634 PR compile/18484
635 * gdb.compile/compile.c (struct struct_type): Add volatile to
636 selffield's type.
637 * gdb.compile/compile.exp
638 (compile code struct_object.selffield = &struct_object): Skip further
639 struct_object tests if this one xfails.
640
bcf5c1d9
RC
6412015-07-08 Robert O'Callahan <robert@ocallahan.org>
642
643 PR exp/18617
644 * gdb.trace/ax.exp: Add test.
645
4931af25
YQ
6462015-07-07 Yao Qi <yao.qi@linaro.org>
647
648 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
649 instead of istarget "aarch64*-*-*".
650 * gdb.arch/aarch64-fp.exp: Likewise.
651 * gdb.base/float.exp: Likewise.
652 * gdb.reverse/aarch64.exp: Likewise.
653 * lib/gdb.exp (is_aarch64_target): New proc.
654
9fcf688e
YQ
6552015-07-07 Yao Qi <yao.qi@linaro.org>
656
657 * lib/gdb.exp (is_aarch32_target): New proc.
658 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
659 instead of "istarget "arm*-*-*"".
660 * gdb.arch/arm-disp-step.exp: Likewise.
661 * gdb.arch/thumb-bx-pc.exp: Likewise.
662 * gdb.arch/thumb-prologue.exp: Likewise.
663 * gdb.arch/thumb-singlestep.exp: Likewise.
664 * gdb.base/disp-step-syscall.exp: Likewise.
665 * gdb.base/float.exp: Likewise.
666
fbd8d50d
YQ
6672015-07-07 Yao Qi <yao.qi@linaro.org>
668
669 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
670 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
671
71be1fdc
YQ
6722015-07-07 Yao Qi <yao.qi@linaro.org>
673
674 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
675 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
676 if it exists.
677 * gdb.multi/multi-arch.exp: Likewise.
678
3e221d36
SM
6792015-07-07 Simon Marchi <simon.marchi@ericsson.com>
680
681 * gdb.python/py-lazy-string.exp: Add missing parentheses to
682 print.
683
d441430b
YQ
6842015-07-07 Yao Qi <yao.qi@linaro.org>
685
686 * gdb.arch/thumb-singlestep.exp: Do one more single step.
687
06f810bd
MG
6882015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
689
690 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
691 '[' and ']' characters.
692
5e61e7c0
IB
6932015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
694
695 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
696
28bf096c
PA
6972015-06-29 Pedro Alves <palves@redhat.com>
698
699 PR threads/18127
700 * gdb.threads/hand-call-new-thread.c: New file.
701 * gdb.threads/hand-call-new-thread.c: New file.
702
ee93cd5e
KS
7032015-06-26 Keith Seitz <keiths@redhat.com>
704 Doug Evans <dje@google.com>
705
706 PR 16253
707 * gdb.cp/var-tag-2.cc: New file.
708 * gdb.cp/var-tag-3.cc: New file.
709 * gdb.cp/var-tag-4.cc: New file.
710 * gdb.cp/var-tag.cc: New file.
711 * gdb.cp/var-tag.exp: New file.
712
fc637f04
PP
7132015-06-26 Patrick Palka <patrick@parcs.ath.cx>
714
715 * gdb.base/history-duplicates.exp: New test.
716
2e52ae68
PP
7172015-06-26 Patrick Palka <patrick@parcs.ath.cx>
718
719 * gdb.base/completion.exp: Test the completion of the "focus"
720 command.
721
6e22494e
JK
7222015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
723
724 * gdb.arch/amd64-prologue-skip.S: New file.
725 * gdb.arch/amd64-prologue-skip.exp: New file.
726
bf7b9cd9
SM
7272015-06-25 Simon Marchi <simon.marchi@ericsson.com>
728
729 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
730 is_address_zero_readable check.
731
201e8dfd
PB
7322015-06-24 Peter Bergner <bergner@vnet.ibm.com>
733
734 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
735 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
736
5cd867b4
YQ
7372015-06-24 Yao Qi <yao.qi@linaro.org>
738
739 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
740 linux targets.
741
4d7be007
YQ
7422015-06-24 Yao Qi <yao.qi@linaro.org>
743
744 * lib/gdb.exp (supports_get_siginfo_type): New proc.
745 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
746 * gdb.base/siginfo-thread.exp: Likewise.
747
07fcd301
YQ
7482015-06-22 Yao Qi <yao.qi@linaro.org>
749
750 * boards/remote-gdbserver-on-localhost.exp: Add comments.
751
52042a00
YQ
7522015-06-22 Yao Qi <yao.qi@linaro.org>
753
754 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
755 aarch64*-*-*.
756 (skip_hw_watchpoint_tests): Likewise.
757
74bd41ce
PP
7582015-06-18 Patrick Palka <patrick@parcs.ath.cx>
759
760 * gdb.base/gdbinit-history.exp: Test the interaction between
761 setting GDBHISTSIZE and setting the history size via .gdbinit.
762
bc460514
PP
7632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
764
765 PR gdb/16999
766 * gdb.base/gdbhistsize-history.exp: New test.
767
b58c513b
PP
7682015-06-17 Patrick Palka <patrick@parcs.ath.cx>
769
770 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
771 with GDBHISTSIZE.
772 * gdb.base/readline.exp: Likewise.
773
92046791
YQ
7742015-06-17 Yao Qi <yao.qi@linaro.org>
775
776 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
777 line.
778
2093d2d3
PP
7792015-06-17 Patrick Palka <patrick@parcs.ath.cx>
780
781 * gdb.base/gdbinit-history.exp: Add test case to check that
782 an unlimited history file does not get truncated on exit.
783
e6c693af
AA
7842015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
785
786 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
787 (VECTOR): New macro. Use it...
788 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
789 ...for these typedefs.
790 (int8, char1, int1, double1): New typedefs.
791 (struct just_int2, struct two_int2): New structures.
792 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
793 (add_structvecs, add_singlevecs): New functions.
794 (main): Call add_some_intvecs twice.
795 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
796 the compile and exit upon failure. Try compiling for the "native"
797 architecture. Test inferior function calls with vector arguments
798 and vector return value handling with "finish" and "return".
799
c74f7d1c
JT
8002015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
801
802 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
803 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
804 PE file.
805 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
806
98aa42ee
AT
8072015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
808
809 PR breakpoints/16465
810 * gdb.mi/mi-dprintf-pending.c: New file.
811 * gdb.mi/mi-dprintf-pending.exp: New test.
812 * gdb.mi/mi-dprintf-pendshr.c: New file.
813
7d73c23c 8142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 815 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
816
817 * gdb.arch/i386-mpx-map.c: New file.
818 * gdb.arch/i386-mpx-map.exp: New File.
819
8202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
821
822 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
823 * gdb.arch/i386-mpx.exp: Indentation fixed.
824
8252015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
826
827 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
828 function and improved indentation.
829 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
830 gdb_test_multiple. Added additional tests to skip the test.
831
8322015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
833
834 * gdb.arch/i386-avx512.c: Change path in include file.
835 * gdb.arch/i386-avx512.exp: Change include dir path
836 compilation flag.
837 * gdb.arch/i386-mpx.c: Change path in include file.
838 * gdb.arch/i386-mpx.exp: Change include dir path compilation
839 flag.
840
d5eba19a
JK
8412015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
842
843 * gdb.compile/compile-print.exp (compile print *vararray@3)
844 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
845
7f361056
JK
8462015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
847
848 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
849 (do not keep jit in memory): ... this.
850 (expect 5): Change it to ...
851 (expect no 5): ... this.
852
3b462ec2
SM
8532015-06-02 Simon Marchi <simon.marchi@ericsson.com>
854
855 PR gdb/15564
856 * gdb.mi/mi-detach.exp: New file.
857
e0619de6
JK
8582015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
859
860 PR symtab/18392
861 * gdb.arch/amd64-tailcall-self.S: New file.
862 * gdb.arch/amd64-tailcall-self.c: New file.
863 * gdb.arch/amd64-tailcall-self.exp: New file.
864
e970cb34
DB
8652015-05-28 Don Breazeal <donb@codesourcery.com>
866
867 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
868 tests for remote targets by checking is_target_gdbserver.
869
b2e2f908
DE
8702015-05-27 Doug Evans <dje@google.com>
871
872 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
873 * gdb.dwarf2/opaque-type-lookup.c: New file.
874 * gdb.dwarf2/opaque-type-lookup.exp: New file.
875
82c7be31
DE
8762015-05-26 Doug Evans <dje@google.com>
877
878 * gdb.cp/iostream.cc: New file.
879 * gdb.cp/iostream.exp: New file.
880
b4f54984
DE
8812015-05-26 Doug Evans <dje@google.com>
882
883 * gdb.dwarf2/dw2-op-call.exp: Update.
884 * gdb.dwarf2/dw4-sig-types.exp: Update.
885 * gdb.dwarf2/implptr.exp: Update.
886 * gdb.mi/mi-cmd-param-changed.exp: Update.
887
4ea6efe9
DE
8882015-05-26 Doug Evans <dje@google.com>
889
890 * gdb.python/py-lazy-string.c: New file.
891 * gdb.python/py-lazy-string.exp: New file.
892 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
893 (main): Update. Add estring3.
894 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
895 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
896
f6bb7db3
YQ
8972015-05-26 Omair Javaid <omair.javaid@linaro.org>
898 Yao Qi <yao.qi@linaro.org>
899
900 * gdb.reverse/aarch64.c: New.
901 * gdb.reverse/aarch64.exp: New.
902
a81bfbd0
OJ
9032015-05-26 Omair Javaid <omair.javaid@linaro.org>
904
905 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
906 (supports_reverse): Likewise.
907
158bf1b4
PP
9082015-05-22 Patrick Palka <patrick@parcs.ath.cx>
909
910 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
911 Use with_test_prefix.
912
a0145030
AB
9132015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.base/completion.exp: Add test for completion of layout
916 names.
917
ebe3b578
AB
9182015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
919
920 * lib/gdb.exp (skip_tui_tests): New proc.
921 * gdb.base/tui-layout.exp: Check skip_tui_tests.
922
84204ed7
PA
9232015-05-19 Pedro Alves <palves@redhat.com>
924
925 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
926 Save the whole env array instead of just HOME. Unset HISTSIZE in
927 the environment while testing. Restore whole environment
928 afterwards.
929
37442ce1
DE
9302015-05-16 Doug Evans <xdje42@gmail.com>
931
932 * gdb.guile/scm-ports.c: New file.
933 * gdb.guile/scm-ports.exp: Add memory port tests.
934
36de76f9
JK
9352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 * gdb.compile/compile-print.c: New file.
938 * gdb.compile/compile-print.exp: New file.
939
3a9558c4
JK
9402015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 * gdb.compile/compile-ops.exp: Cast param to void.
943 * gdb.compile/compile.exp: Complete type for _gdb_expr.
944 (compile code struct_object.selffield = &struct_object): Add xfail.
945
aa715135
JG
9462015-05-15 Joel Brobecker <brobecker@adacore.com>
947
948 * gdb.ada/arr_enum_with_gap: New testcase.
949
931e5bc3
JG
9502015-05-15 Joel Brobecker <brobecker@adacore.com>
951
952 * gdb.ada/byte_packed_arr: New testcase.
953
9cd4d857
JB
9542015-05-15 Joel Brobecker <brobecker@adacore.com>
955
956 * gdb.ada/pckd_neg: New testcase.
957
ebfd00d2
PP
9582015-05-13 Patrick Palka <patrick@parcs.ath.cx>
959
960 PR gdb/17820
961 * gdb.base/gdbinit-history.exp: New test.
962 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
963 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
964
4c082a81
SC
9652015-05-09 Siva Chandra Reddy <sivachandra@google.com>
966
967 * gdb.python/py-xmethods.cc: Enhance test case.
968 * gdb.python/py-xmethods.exp: New tests.
969 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
970 function.
971 (B_indexoper): Likewise.
972 (global_dm_list) : Add new xmethod worker functions.
973
f7797074
SDJ
9742015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
975
976 * gdb.base/coredump-filter.exp: Correctly unset
977 "coredump_var_addr" array.
978
a4674e4e
PA
9792015-05-08 Pedro Alves <palves@redhat.com>
980
981 * gdb.server/non-existing-program.exp: Unset spawn_id.
982
df2eb078
SC
9832015-05-08 Siva Chandra Reddy <sivachandra@google.com>
984
985 PR python/18291
986 * gdb.python/py-xmethods.exp: Add tests.
987
422349a3
YQ
9882015-05-08 Yao Qi <yao.qi@linaro.org>
989
990 PR gdb/18208
991 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
992 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
993 function set_coredump_filter, and remove remote_exec call.
994 Remove argument ipid. Callers update.
995 (top level): Don't get inferior's PID.
996
63fc80ce
AA
9972015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
998
999 * gdb.base/watch_thread_num.exp: Skip test on targets without
1000 access watchpoints.
1001
80ad801e
PA
10022015-05-06 Pedro Alves <palves@redhat.com>
1003
1004 PR server/18081
1005 * gdb.server/non-existing-program.exp: New file.
1006
0fa7fe50
JB
10072015-05-05 Joel Brobecker <brobecker@adacore.com>
1008
1009 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
1010
3ea89b92
PMR
10112015-05-05 Joel Brobecker <brobecker@adacore.com>
1012
1013 * gdb.ada/out_of_line_in_inlined: New testcase.
1014
87b8eff0
JB
10152015-05-05 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdb.ada/var_rec_arr: New testcase.
1018
5fccc635
YQ
10192015-04-30 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/break-idempotent.exp: If
1022 skip_hw_watchpoint_multi_tests returns true, skip the tests
1023 on "rwatch" and "awatch".
1024
42d38f42
YQ
10252015-04-30 Yao Qi <yao.qi@linaro.org>
1026
1027 * gdb.base/relativedebug.exp: Invoke gdb command
1028 "info sharedlibrary", and if libc.so doesn't have debug info,
1029 skip the test.
1030
2ce1cdbf
DE
10312015-04-29 Doug Evans <dje@google.com>
1032
1033 * gdb.python/py-xmethods.exp: Add ptype tests.
1034 * gdb.python/py-xmethods.py (E_method_char_worker): Add
1035 get_result_type method.
1036
f24a38c5
LM
10372015-04-29 Luis Machado <lgustavo@codesourcery.com>
1038
1039 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
1040 the target does not support hardware watchpoints.
1041
ecbf2b3c
LM
10422015-04-29 Luis Machado <lgustavo@codesourcery.com>
1043
1044 * gdb.base/break-always.exp: Abort testing if writing to memory
1045 causes an error.
1046
34f5f757
DE
10472015-04-28 Doug Evans <dje@google.com>
1048
1049 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
1050 * gdb.python/py-pp-registration.exp: ... here. New file.
1051 * gdb.python/py-pp-registration.c: New file.
1052 * gdb.python/py-pp-registration.py: New file.
1053
69b4374a
DE
10542015-04-28 Doug Evans <dje@google.com>
1055
1056 * gdb.python/py-bad-printers.c: New file.
1057 * gdb.python/py-bad-printers.py: New file.
1058 * gdb.python/py-bad-printers.exp: New file.
1059
59fb7612
SS
10602015-04-28 Sasha Smundak <asmundak@google.com>
1061
1062 * gdb.python/py-type.exp: New test.
1063
2631b16a
AW
10642015-04-28 Andy Wingo <wingo@igalia.com>
1065
1066 * gdb.python/py-parameter.exp:
1067 * gdb.guile/scm-parameter.exp: Escape the path that we are
1068 matching against, as it might contain characters that are special
1069 to regular expressions.
1070
460efde1
JB
10712015-04-27 Joel Brobecker <brobecker@adacore.com>
1072
1073 * gdb.ada/rec_comp: New testcase.
1074
2d369d8e
SDJ
10752015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
1076
1077 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
1078 before using it.
1079
cf75d6c3
AB
10802015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
1083 new tests for verilog output.
1084
8dbe7ca5
YQ
10852015-04-24 Yao Qi <yao.qi@linaro.org>
1086
1087 * boards/remote-gdbserver-on-localhost.exp: New file.
1088
4ef9fb2f
PA
10892015-04-23 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
1092 $inferior_spawn_id instead of $inferior_spawn_id directly. On
1093 "end of file", remove $inferior_spawn_id from the indirect list.
1094
0a803169
PA
10952015-04-23 Pedro Alves <palves@redhat.com>
1096
1097 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
1098
749ef8f8
PA
10992015-04-23 Pedro Alves <palves@redhat.com>
1100
1101 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
1102 on $any_spawn_id instead of only on $gdb_spawn_id.
1103
8aae4344
PM
11042015-04-21 Pierre Muller <muller@sourceware.org>
1105
1106 PR pascal/17815
1107 * lib/pascal.exp (gpc_compile): Add new option "class".
1108 (fpc_compile): Likewise.
1109 * gdb.pascal/case-insensitive-symbols.pas: New file.
1110 * gdb.pascal/case-insensitive-symbols.exp: New file.
1111
1586c8fb
GB
11122015-04-20 Gary Benson <gbenson@redhat.com>
1113
1114 * gdb.base/attach.exp: Fix three extended remote failures.
1115
1b6e6f5c
GB
11162015-04-17 Gary Benson <gbenson@redhat.com>
1117
1118 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
1119 the main executable over the remote protocol.
1120
e797481d
PA
11212015-04-16 Pedro Alves <palves@redhat.com>
1122
1123 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
1124 a new gdbserver if gdbserver_reconnect_p is set.
1125
1ca99c42
PA
11262015-04-16 Pedro Alves <palves@redhat.com>
1127
1128 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
1129 is set, don't exit gdbserver.
1130
af9fd6f8
AA
11312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1132
1133 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
1134 appropriate .insn, such that an older assembler can be used.
1135 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
1136 the z/Architecture instruction set on 31-bit targets as well.
1137
04ff1e61
AA
11382015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1139
1140 * gdb.go/handcall.exp: Remove all logic related to the first
1141 breakpoint and rely on go_runto_main instead.
1142 * gdb.go/strings.exp: Likewise.
1143 * gdb.go/unsafe.exp: Likewise.
1144 * gdb.go/hello.exp: Likewise. Also rename the remaining
1145 breakpoint marker to "breakpoint 1".
1146 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
1147 * gdb.go/strings.go: Likewise.
1148 * gdb.go/unsafe.go: Likewise.
1149 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
1150 "set breakpoint 2 here" and rename the remaining breakpoint marker
1151 to "breakpoint 1".
1152
40d2f8d6
SM
11532015-04-15 Simon Marchi <simon.marchi@ericsson.com>
1154
1155 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
1156 if itertools.imap is not present.
1157 * gdb.python/py-objfile.exp: Add parentheses.
1158 * gdb.python/py-type.exp: Same.
1159 * gdb.python/py-unwind-maint.py: Same.
1160
8cbc97c6
YQ
11612015-04-15 Yao Qi <yao.qi@linaro.org>
1162
1163 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
1164 of ":$ptr_size" and set its form explicitly.
1165
45fd756c
YQ
11662015-04-15 Pedro Alves <palves@redhat.com>
1167 Yao Qi <yao.qi@linaro.org>
1168
1169 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
1170 timeout by factor of 4.
1171 (test_regular_watch): Likewise.
1172 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
1173 * gdb.reverse/sigall-reverse.exp: Likewise.
1174 * gdb.reverse/until-precsave.exp: Likewise.
1175 * lib/gdb.exp (with_timeout_factor): New proc.
1176 (gdb_expect): Move some code to ...
1177 (get_largest_timeout): ... here. New procedure.
1178
9e811bc3
LM
11792015-04-14 Luis Machado <lgustavo@codesourcery.com>
1180
1181 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
1182
0ff6fcb2
LM
11832015-04-13 Luis Machado <lgustavo@codesourcery.com>
1184
1185 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
1186 to write to the .text section.
1187
7578d5f7
LM
11882015-04-13 Luis Machado <lgustavo@codesourcery.com>
1189
1190 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
1191 Handle the case of targets that do not provide PID information.
1192
2efe15c4
YQ
11932015-04-13 Yao Qi <yao.qi@linaro.org>
1194
1195 * lib/gdbserver-support.exp (gdb_exit): Catch exception
1196 and use expect instead of gdb_expect.
1197
8cd8f2f8
SDJ
11982015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
1199
1200 * gdb.base/coredump-filter.exp: Rename variable "addr" to
1201 "coredump_var_addr" to avoid naming conflict with other testcases.
1202
9ee41772
PA
12032015-04-10 Pedro Alves <palves@redhat.com>
1204
1205 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
1206 gdb_test_sequence and gdb_assert.
1207
07473109
PA
12082015-04-10 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
1211 test messages that don't include the breakpoint address.
1212
de3db44c
YQ
12132015-04-10 Yao Qi <yao.qi@linaro.org>
1214
1215 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
1216 false for some offset and width combinations which aren't
1217 supported by linux kernel.
1218
c79d856c
PA
12192015-04-10 Pedro Alves <palves@redhat.com>
1220
1221 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
1222 procedure, factored out from ...
1223 (top level): ... here. Add "set displaced-stepping" testing axis.
1224 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
1225 parameter "displaced". Use it.
1226 (top level): Use foreach and add "set displaced-stepping" testing
1227 axis.
1228
ebc90b50
PA
12292015-04-10 Pedro Alves <palves@redhat.com>
1230
1231 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
1232 Remove comment.
1233 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
1234 both the address of the instruction that triggers the watchpoint
1235 and the address of the instruction immediately after, and use
1236 those addresses for the test. Fix comment.
1237
8f572e5c
PA
12382015-04-10 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.base/sigstep.exp (breakpoint_to_handler)
1241 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
1242 Test "backtrace" in handler.
1243 (breakpoint_over_handler): New parameter 'displaced'. Use it.
1244 (top level): Add new "displaced" test axis to
1245 breakpoint_to_handler, breakpoint_to_handler_entry and
1246 breakpoint_over_handler.
1247
8d707a12
PA
12482015-04-10 Pedro Alves <palves@redhat.com>
1249
1250 PR gdb/18216
1251 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
1252
ef713951
YQ
12532015-04-10 Yao Qi <yao.qi@linaro.org>
1254
1255 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
1256 (test_add_rn_pc): New function.
1257 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
1258 (top level): Invoke test_add_rn_pc.
1259
906d60cf
PA
12602015-04-10 Pedro Alves <palves@redhat.com>
1261
1262 PR gdb/13858
1263 * gdb.base/step-over-no-symbols.exp: New file.
1264
f2983cc3
AW
12652015-04-09 Andy Wingo <wingo@igalia.com>
1266
1267 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
1268 after the Python tests.
1269
6d62641c
SDJ
12702015-04-08 Keith Seitz <keiths@redhat.com>
1271
1272 PR python/16699
1273 * gdb.python/py-completion.exp: New tests for completion.
1274 * gdb.python/py-completion.py (CompleteLimit1): New class.
1275 (CompleteLimit2): Likewise.
1276 (CompleteLimit3): Likewise.
1277 (CompleteLimit4): Likewise.
1278 (CompleteLimit5): Likewise.
1279 (CompleteLimit6): Likewise.
1280 (CompleteLimit7): Likewise.
1281
f3770638
PA
12822015-04-08 Pedro Alves <palves@redhat.com>
1283
1284 PR gdb/18214
1285 PR gdb/18216
1286 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
1287 function.
1288 (main): Install it as SIGUSR1 handler.
1289 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
1290 parameter. Always use "setup" as prefix. Toggle "set
1291 displaced-stepping" off/on depending on global. Don't switch to
1292 thread 1 here.
1293 (top level): Add displaced stepping "off/on" test axis. Update
1294 "setup" calls. Wrap each subtest with with_test_prefix. Test
1295 continuing with a queued signal in each thread.
1296
4496bed7
PA
12972015-04-08 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
1300 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
1301 gdb_breakpoint instead of gdb_test that doesn't expect anything.
1302 Return early if running to main fails.
1303 * gdb.trace/while-stepping.exp: Likewise.
1304
b97fde92
PA
13052015-04-07 Pedro Alves <palves@redhat.com>
1306
1307 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
1308 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
1309 interact with inferior program.
1310
f71c18e7
PA
13112015-04-07 Pedro Alves <palves@redhat.com>
1312
1313 * lib/gdb.exp (inferior_spawn_id): New global.
1314 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
1315 spawn id after processing the user code.
1316 (default_gdb_start): Set inferior_spawn_id.
1317 (send_inferior): New procedure.
1318 * lib/gdbserver-support.exp (gdbserver_start): Set
1319 inferior_spawn_id.
1320 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
1321
6423214f
PA
13222015-04-07 Pedro Alves <palves@redhat.com>
1323
1324 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
1325 * lib/gdbserver-support.exp (gdbserver_start): Make
1326 $server_spawn_id global.
1327 (gdbserver_start): Don't wait for gdbserver's spawn id with
1328 expect_background.
1329 (close_gdbserver): New procedure.
1330 (gdb_exit): Rename the default version and reimplement.
1331
71c0ee8c
PA
13322015-04-07 Pedro Alves <palves@redhat.com>
1333
72f4393d 1334 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
1335 append the substituted item, not the original item.
1336
203bc29b
PA
13372015-04-07 Pedro Alves <palves@redhat.com>
1338
1339 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
1340 gdb_expect.
1341
508a3ddf
PA
13422015-04-07 Pedro Alves <palves@redhat.com>
1343
1344 * gdb.base/interrupt.exp: Don't handle the case of the inferior
1345 output appearing once only.
1346
9f6dbe2b
PA
13472015-04-07 Pedro Alves <palves@redhat.com>
1348
1349 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
1350 that doesn't expect anything. Return early if running to main
1351 fails.
1352
337532fa
YQ
13532015-04-07 Yao Qi <yao.qi@linaro.org>
1354
1355 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
1356 (child_function): Call alarm.
1357 (main): Move call to alarm into the loop.
1358 * gdb.threads/non-stop-fair-events.exp: Build program with
1359 -DTIMEOUT=$timeout.
1360
01b622d4
DE
13612015-04-06 Doug Evans <xdje42@gmail.com>
1362
1363 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
1364 Fix dest parameter to board_info.
1365 (fpc_compile): Ditto.
1366 (gdb_compile_pascal): Rename dest arg to destfile.
1367
961f4160
PMR
13682015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
1369
1370 * gdb.ada/funcall_ref.exp: New file.
1371 * gdb.ada/funcall_ref/foo.adb: New file.
1372
cafda597
YQ
13732015-04-02 Yao Qi <yao.qi@linaro.org>
1374
1375 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
1376 is remote.
1377
fed040c6
GB
13782015-04-02 Gary Benson <gbenson@redhat.com>
1379
1380 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
1381
d11916aa
SS
13822015-04-01 Sasha Smundak <asmundak@google.com>
1383
1384 * gdb.python/py-unwind-maint.c: New file.
1385 * gdb.python/py-unwind-maint.exp: New test.
1386 * gdb.python/py-unwind-maint.py: New file.
1387 * gdb.python/py-unwind.c: New file.
1388 * gdb.python/py-unwind.exp: New test.
1389 * gdb.python/py-unwind.py: New test.
1390
a1471180
PA
13912015-04-01 Pedro Alves <palves@redhat.com>
1392
1393 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
1394 to fail instead of non-existent $test.
1395
0bbeccb1
PA
13962015-04-01 Pedro Alves <palves@redhat.com>
1397
1398 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
1399 GDBFLAGS if not empty.
1400
3c724c8c
PMR
14012015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
1402
1403 * gdb.ada/complete.exp: Remove "multi_line".
1404 * gdb.ada/info_exc.exp: Remove "multi_line".
1405 * gdb.ada/packed_tagged.exp: Remove "multi_line".
1406 * gdb.ada/ptype_field.exp: Remove "multi_line".
1407 * gdb.ada/sym_print_name.exp: Remove "multi_line".
1408 * gdb.ada/tagged.exp: Remove "multi_line".
1409 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
1410 [multi_line ...]
1411 * gdb.btrace/delta.exp: Likewise.
1412 * gdb.btrace/exception.exp: Likewise.
1413 * gdb.btrace/function_call_history.exp: Likewise.
1414 * gdb.btrace/instruction_history.exp: Likewise.
1415 * gdb.btrace/nohist.exp: Likewise.
1416 * gdb.btrace/record_goto.exp: Likewise.
1417 * gdb.btrace/segv.exp: Likewise.
1418 * gdb.btrace/stepi.exp: Likewise.
1419 * gdb.btrace/tailcall.exp: Likewise.
1420 * gdb.btrace/unknown_functions.exp: Likewise.
1421 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
1422 * lib/gdb.exp: Add the "multi_line" helper.
1423
4eec2deb
PA
14242015-04-01 Pedro Alves <palves@redhat.com>
1425
1426 * gdb.threads/tid-reuse.c: New file.
1427 * gdb.threads/tid-reuse.exp: New file.
1428
df8411da
SDJ
14292015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
1430
1431 PR corefiles/16092
1432 * gdb.base/coredump-filter.c: New file.
1433 * gdb.base/coredump-filter.exp: Likewise.
1434
6ef37366
PM
14352015-03-27 Petr Machata <pmachata@redhat.com>
1436
1437 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
1438 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
1439 (Dwarf::assemble): Initialize them.
1440 (Dwarf::lines): New function.
1441
7ec911b0
JT
14422015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
1443
1444 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
1445 SYMBOL_PREFIX for x86_64-*-cygwin.
1446
ff908ebf
AW
14472015-03-26 Andy Wingo <wingo@igalia.com>
1448
1449 PR symtab/18148
1450 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
1451 const_value but not a location.
1452 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
1453 location defined in non-main CUs are visible.
1454
6d5f0679
YQ
14552015-03-26 Yao Qi <yao.qi@linaro.org>
1456
1457 PR testsuite/18139
1458 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
1459 Add a line number entry for the same line.
1460 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
1461 Add a line number entry for the same line.
1462
2898689b
YQ
14632015-03-26 Yao Qi <yao.qi@linaro.org>
1464
1465 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
1466 .int 0.
1467 (func): Likewise. Add .Lfunc_1 label.
1468 Use .Lfunc_1 label.
1469 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
1470 .int 0.
1471 (func): Likewise.
1472 Use .Lfunc_1 label.
1473
85180498
YQ
14742015-03-26 Yao Qi <yao.qi@linaro.org>
1475
1476 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
1477 Call gdb_compile instead to compile each .s files without debug
1478 information.
1479
8aa08a8d
YQ
14802015-03-26 Yao Qi <yao.qi@linaro.org>
1481
1482 * gdb.base/savedregs.exp (process_saved_regs): Make
1483 "Saved registers:" optional in the pattern.
1484
66849923
MM
14852015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1486
1487 * gdb.btrace/next.exp: Merged into step.exp.
1488 * gdb.btrace/finish.exp: Merged into step.exp.
1489 * gdb.btrace/nexti.exp: Merged into stepi.exp.
1490 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
1491 "record goto" and checking the exact replay position.
1492 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
1493 check for "Recording format" in "info record" output.
1494 * gdb.btrace/record_goto.exp: Choose test file based on target.
1495 * gdb.btrace/x86-record_goto.S: Renamed into ...
1496 * gdb.btrace/x86_64-record_goto.S: ... this.
1497 * gdb.btrace/i686-record_goto.S: New.
1498 * gdb.btrace/x86-tailcall.S: Renamed into ...
1499 * gdb.btrace/x86_64-tailcall.S: ... this.
1500 * gdb.btrace/i686-tailcall.S: New.
1501 * gdb.btrace/x86-tailcall.c: Renamed into ...
1502 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
1503 separate statements. Update test.
1504 * gdb.btrace/delta.exp: Use record_goto.c as test file.
1505 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
1506 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
1507 * gdb.btrace/tailcall.exp: Choose test file based on target.
1508 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
1509
11cc1b74
MM
15102015-03-25 Markus Metzger <markus.t.metzger@intel.com>
1511
1512 * gdb.btrace/exception.exp: Increase BTS buffer size.
1513
a25d8bf9
PA
15142015-03-24 Pedro Alves <palves@redhat.com>
1515
1516 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
1517
856e7dd6
PA
15182015-03-24 Pedro Alves <palves@redhat.com>
1519
1520 * gdb.threads/schedlock.exp (test_step): No longer expect that
1521 "set scheduler-locking step" with "next" over a function call runs
1522 threads unlocked.
1523
ad235a41
AT
15242015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1525
1526 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
1527
15630549
AT
15282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1529
1530 PR breakpoints/16466
1531 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
1532 * gdb.mi/mi-pending.c (thread_func): New function.
1533 (int main): Add threading support required.
1534 * gdb.mi/mi-pending.exp: Add tests for this issue.
1535 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
1536 (pendfunc2): Remove stdio dependency.
1537 * gdb.mi/mi-pendshr2.c: New file.
1538
693dca06
KS
15392015-03-23 Keith Seitz <keiths@redhat.com>
1540
1541 * gdb.linespec/keywords.c: New file.
1542 * gdb.linespec/keywords.exp: New file.
1543
7e993ebf
KS
15442015-03-23 Keith Seitz <keiths@redhat.com>
1545
1546 PR gdb/18021
1547 * gdb.dwarf2/staticvirtual.exp: New test.
1548
bc23328c
JK
15492015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1550
1551 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
1552 * README: Remove HP-UX and gdb.hp.
1553 (configuration):
1554 * configure: Regenerate.
1555 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
1556 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
1557 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
1558 gdb.hp/gdb.defects/Makefile.
1559 * gdb.hp/Makefile.in: File deleted.
1560 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
1561 * gdb.hp/gdb.aCC/optimize.c: File deleted.
1562 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
1563 * gdb.hp/gdb.aCC/run.c: File deleted.
1564 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
1565 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
1566 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
1567 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
1568 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
1569 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
1570 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
1571 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
1572 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
1573 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
1574 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
1575 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
1576 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
1577 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
1578 * gdb.hp/gdb.base-hp/reg.s: File deleted.
1579 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
1580 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
1581 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
1582 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
1583 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
1584 * gdb.hp/gdb.compat/Makefile.in: File deleted.
1585 * gdb.hp/gdb.compat/average.c: File deleted.
1586 * gdb.hp/gdb.compat/sum.c: File deleted.
1587 * gdb.hp/gdb.compat/xdb.c: File deleted.
1588 * gdb.hp/gdb.compat/xdb0.c: File deleted.
1589 * gdb.hp/gdb.compat/xdb0.h: File deleted.
1590 * gdb.hp/gdb.compat/xdb1.c: File deleted.
1591 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
1592 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
1593 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
1594 * gdb.hp/gdb.defects/Makefile.in: File deleted.
1595 * gdb.hp/gdb.defects/bs14602.c: File deleted.
1596 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
1597 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1598 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1599 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1600 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1601 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1602 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1603 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1604 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1605 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1606 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1607 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1608 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1609 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1610 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1611 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1612 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1613 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1614 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1615 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1616 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1617 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1618 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1619 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1620 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1621 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1622 * gdb.hp/tools/odump: File deleted.
1623
8bf3b159
PA
16242015-03-19 Pedro Alves <palves@redhat.com>
1625
1626 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1627 (saw_thread_3): New globals.
1628 (top level): Increment them when an event for the corresponding
1629 thread is seen.
1630 (no thread starvation): New test.
1631
eb54c8bf
PA
16322015-03-19 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.threads/continue-pending-status.c: New file.
1635 * gdb.threads/continue-pending-status.exp: New file.
1636
32d2e5d6
PA
16372015-03-18 Pedro Alves <palves@redhat.com>
1638
1639 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1640 Use gdb_is_target_remote instead of is_remote. Use
1641 gdb_test_multiple instead of gdb_expect. Exit early if
1642 gdb_test_multiple hits its internal matches. Tighten stepi tests
1643 expected output. Fail on exit with any signal, instead of just
1644 SIGILL.
1645
f68f11b7
YQ
16462015-03-18 Yao Qi <yao.qi@linaro.org>
1647
1648 PR tdep/18107
1649 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1650 variable.
1651 * gdb.base/catch-syscall.exp: Don't skip it on
1652 aarch64*-*-linux* target. Remove elements in all_syscalls.
1653 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1654 target.
1655 (setup_all_syscalls): New proc.
1656
ca5fd19b
YQ
16572015-03-16 Yao Qi <yao.qi@linaro.org>
1658
1659 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1660 (top level): Skip tests if valid_addr_p returns false for
1661 $cmd1 or $cmd2.
1662
85642ba0
AW
16632015-03-11 Andy Wingo <wingo@igalia.com>
1664
1665 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1666
e03f9645
YQ
16672015-03-11 Yao Qi <yao.qi@linaro.org>
1668
1669 * gdb.base/catch-syscall.exp: Fix typo in comments.
1670
5d0962b2
YQ
16712015-03-11 Yao Qi <yao.qi@linaro.org>
1672
1673 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1674
b2df3cef
PA
16752015-03-09 Pedro Alves <palves@redhat.com>
1676
1677 * dg-extract-results.py: Delete.
1678
ef878e53
PA
16792015-03-09 Pedro Alves <palves@redhat.com>
1680
1681 Merge dg-extract-results.sh from GCC upstream (r218843).
1682
1683 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1684 * dg-extract-results.sh: Use --text with grep to avoid issues with
1685 binary files. Fall back to cat -v, if that doesn't work.
1686
9494d219
PA
16872015-03-05 Pedro Alves <palves@redhat.com>
1688
1689 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1690
a8d9763a
SM
16912015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1692
1693 * lib/mi-support.exp (mi_expect_interrupt): Accept
1694 alternative event for when in all-stop mode.
1695
be9957b8
PA
16962015-03-04 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1699
d57be0f4 17002015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
1701
1702 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1703
c214c7cf
AA
17042015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1707 regexps for GDB's current line display, accept a hex address
1708 preceding the line number.
1709
6d74a497
AA
17102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1711
1712 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1713 the 'arch1' variable for "s390*-linux*" targets.
1714
511aee7c
PA
17152015-03-04 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1718 (main): Pass missing retval argument to pthread_join call.
1719
95e50b27
PA
17202015-03-02 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1723 (top level): Call do_test with non-stop as well.
1724
28054d69
PA
17252015-03-02 Pedro Alves <palves@redhat.com>
1726
1727 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1728 -1.
1729
4fa5d7b4
AA
17302015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1731
1732 * gdb.arch/s390-vregs.exp: New test.
1733 * gdb.arch/s390-vregs.S: New file.
1734
97c18565
PA
17352015-02-27 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1738 call to catch_command_errors.
1739 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1740 catch_command_errors.
1741
a37bfa30
PA
17422015-02-27 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1745 "true" for boolean result.
1746 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1747 prototype of main.
1748
6f98576f
PA
17492015-02-27 Pedro Alves <palves@redhat.com>
1750
1751 * lib/unbuffer_output.c: New file.
1752 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1753 (main): Call gdb_unbuffer_output.
1754
eba5ab56
YQ
17552015-02-27 Yao Qi <yao.qi@linaro.org>
1756
1757 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1758 target.
1759
0def5aaa
DE
17602015-02-26 Doug Evans <dje@google.com>
1761
1762 * gdb.cp/class2.cc (Dbase, D): New classes.
1763 (main): New local delta.
1764 * gdb.cp/class2.exp: Test printing delta.
1765 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1766 (dynbar): New global.
1767 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1768
081a1c2c
JK
17692015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1770
1771 * gdb.compile/compile-ifunc.c: New file.
1772 * gdb.compile/compile-ifunc.exp: New file.
1773
2f41223f
AT
17742015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1775
1776 * gdb.base/structs.exp: Check for correct struct on finish.
1777
03eddd80
YQ
17782015-02-26 Yao Qi <yao.qi@linaro.org>
1779
1780 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1781 is zero.
1782
80c57053
JK
17832015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1784
1785 * gdb.arch/cordic.ko.bz2: New file.
1786 * gdb.arch/cordic.ko.debug.bz2: New file.
1787 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1788
21613c12
YQ
17892015-02-25 Yao Qi <yao.qi@linaro.org>
1790
1791 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1792 aarch64*-*-* target.
1793
d8b901ed
PA
17942015-02-23 Pedro Alves <palves@redhat.com>
1795
1796 * lib/gdb.exp (delete_breakpoints): Rewrite using
1797 gdb_test_multiple.
1798
e5b85ead
PA
17992015-02-23 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.base/info-os.c: Include stdlib.h.
1802
85c3a371
DE
18032015-02-22 Doug Evans <xdje42@gmail.com>
1804
1805 PR symtab/17855
1806 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1807 is read after symbols have been re-read.
1808 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1809 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1810
96553a0c
DE
18112015-02-21 Doug Evans <dje@google.com>
1812
1813 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1814
97a0c697
JK
18152015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 PR corefiles/17808
1818 * gdb.arch/i386-biarch-core.core.bz2: New file.
1819 * gdb.arch/i386-biarch-core.exp: New file.
1820
a47cd6e9
PA
18212015-02-21 Pedro Alves <palves@redhat.com>
1822
1823 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1824 runto_main fails.
1825
c5facdc4
PA
18262015-02-20 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1829 info probes.
1830
2db9a427
PA
18312015-02-20 Pedro Alves <palves@redhat.com>
1832
1833 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1834
60fb7e9e
PA
18352015-02-20 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1838 clean_restart before gdb_target_supports_trace.
1839
5c5019c2
PA
18402015-02-20 Pedro Alves <palves@redhat.com>
1841
1842 PR threads/18006
1843 * gdb.threads/clone-thread_db.c: New file.
1844 * gdb.threads/clone-thread_db.exp: New file.
1845
c9587f88
AT
18462015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1847
1848 PR breakpoints/16812
1849 * gdb.base/catch-gdb-caused-signals.c: New file.
1850 * gdb.base/catch-gdb-caused-signals.exp: New file.
1851
f6a88844
JM
18522015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1853
1854 * configure: Regenerated.
1855 * configure.ac: Use GDB_AC_TRANSFORM.
1856 * aclocal.m4: sinclude ../transform.m4.
1857
497c491b
JM
18582015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1859
1860 * lib/dtrace.exp: New file.
1861 * gdb.base/dtrace-probe.exp: Likewise.
1862 * gdb.base/dtrace-probe.d: Likewise.
1863 * gdb.base/dtrace-probe.c: Likewise.
1864 * lib/pdtrace.in: Likewise.
1865 * configure.ac: Output variables with the transformed names of
1866 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1867 * configure: Regenerated.
1868
03e98035
JM
18692015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1870
1871 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1872 expected message when trying to access $_probe_* convenience
1873 variables while not on a probe.
1874
63cc30e9
JK
18752015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1876
1877 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1878
0703599a
PA
18792015-02-11 Pedro Alves <pedro@codesourcery.com>
1880
1881 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1882 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1883
7e60a48e
DE
18842015-02-10 Doug Evans <xdje42@gmail.com>
1885
1886 * lib/gdb.exp (gdb_load): Always return a result.
1887
01b088bc
PA
18882015-02-10 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.threads/signal-sigtrap.c: New file.
1891 * gdb.threads/signal-sigtrap.exp: New file.
1892
b05ec7a5
AT
18932015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1894
1895 * gdb.trace/no-attach-trace.c: New file.
1896 * gdb.trace/no-attach-trace.exp: New file.
1897
a2c2acaf
MW
18982015-02-09 Mark Wielaard <mjw@redhat.com>
1899
1900 * gdb.dwarf2/atomic.c: New file.
1901 * gdb.dwarf2/atomic-type.exp: Likewise.
1902
31fd9caa
MM
19032015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1904
1905 * gdb.btrace/buffer-size.exp: Update "info record" output.
1906 * gdb.btrace/delta.exp: Update "info record" output.
1907 * gdb.btrace/enable.exp: Update "info record" output.
1908 * gdb.btrace/finish.exp: Update "info record" output.
1909 * gdb.btrace/instruction_history.exp: Update "info record" output.
1910 * gdb.btrace/next.exp: Update "info record" output.
1911 * gdb.btrace/nexti.exp: Update "info record" output.
1912 * gdb.btrace/step.exp: Update "info record" output.
1913 * gdb.btrace/stepi.exp: Update "info record" output.
1914 * gdb.btrace/nohist.exp: Update "info record" output.
1915
d33501a5
MM
19162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1917
1918 * gdb.btrace/buffer-size: New.
1919
f4abbc16
MM
19202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1921
1922 * gdb.btrace/delta.exp: Update "info record" output.
1923 * gdb.btrace/enable.exp: Update "info record" output.
1924 * gdb.btrace/finish.exp: Update "info record" output.
1925 * gdb.btrace/instruction_history.exp: Update "info record" output.
1926 * gdb.btrace/next.exp: Update "info record" output.
1927 * gdb.btrace/nexti.exp: Update "info record" output.
1928 * gdb.btrace/step.exp: Update "info record" output.
1929 * gdb.btrace/stepi.exp: Update "info record" output.
1930 * gdb.btrace/nohist.exp: Update "info record" output.
1931
b9d61307
SM
19322015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1933
1934 PR gdb/15678
1935 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1936
e584fdbc
PA
19372015-02-06 Pedro Alves <palves@redhat.com>
1938
1939 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1940 macro.
1941 (seconds_left, again): New globals.
1942 (main): Wait seconds_left in a 1-second sleep loop instead of
1943 sleeping 180 seconds. If 'again' is set, reset the seconds
1944 counter.
1945 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1946 'again' in the inferior before detaching. Print the seconds left.
1947 (options): New global.
1948 (top level): Build program with -DTIMEOUT=$timeout.
1949
77f41761
PA
19502015-02-06 Pedro Alves <palves@redhat.com>
1951
1952 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1953 determine how many seconds to pass to 'alarm'.
1954 * gdb.base/gdb-sigterm.exp (top level): Build program with
1955 -DTIMEOUT=$timeout.
1956 (do_test): Return success/failure indication. Add more verbose
1957 logging. Don't fail if 200 single steps are seen. Instead, fail
1958 when the test times out.
1959 (passes): New global.
1960 (top level): Break the testing loop if testing fails on any
1961 iteration. Use gdb_assert.
1962
b9394193
DB
19632015-02-04 Don Breazeal <donb@codesourcery.com>
1964
1965 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1966 and initialize them.
1967 (ipc_cleanup): New function.
1968 (main): Don't declare shmid, semid, and msqid. Add a call to
1969 atexit so that we call ipc_cleanup on exit.
1970
42d9e528
PA
19712015-02-04 Pedro Alves <palves@redhat.com>
1972
1973 * boards/native-extended-gdbserver.exp: Remove any target variant
1974 specifications from the board name before clearing the isremote
1975 flag from board_info.
1976
ae6ae975
DE
19772015-01-31 Doug Evans <xdje42@gmail.com>
1978
1979 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1980
cfb069a8
GB
19812015-01-31 Gary Benson <gbenson@redhat.com>
1982
1983 * gdb.base/completion.exp: Disable completion limiting for
1984 existing tests. Add new tests to check completion limiting.
1985 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1986
5dd31d79
DE
19872015-01-31 Doug Evans <xdje42@gmail.com>
1988
1989 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1990
9f050062
DE
19912015-01-31 Doug Evans <xdje42@gmail.com>
1992
1993 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1994 entries. Duplicate file section script entries.
1995 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1996 inlined entries. Add test for safe-path rejection.
1997 * gdb.python/py-section-script.c: Add duplicate inlined section script
1998 entries. Duplicate file section script entries.
1999 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
2000 inlined entries. Add test for safe-path rejection.
2001
df25ebbd
JB
20022015-01-29 Joel Brobecker <brobecker@adacore.com>
2003
2004 * gdb.ada/disc_arr_bound: New testcase.
2005
4a0ca9ec
JB
20062015-01-29 Joel Brobecker <brobecker@adacore.com>
2007
2008 * gdb.ada/mi_var_array: New testcase.
2009
3a8b707a
DE
20102015-01-27 Doug Evans <dje@google.com>
2011
2012 * gdb.python/py-objfile.exp: Add tests for objfile.username.
2013 Add test for objfile.filename, objfile.username after objfile
2014 has been unloaded.
2015
f8313f6e
JB
20162015-01-26 Joel Brobecker <brobecker@adacore.com>
2017
2018 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
2019 the second test to print the name attribute of value
2020 returned by the call to gdb.lookup_type, and adjust
2021 the expected output accordingly.
2022
37bc665e
MW
20232015-01-25 Mark Wielaard <mjw@redhat.com>
2024
2025 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
2026 * gdb.base/disp-step-fork.c: Include unistd.h.
2027 * gdb.base/siginfo-obj.c: Include stdio.h.
2028 * gdb.base/siginfo-thread.c: Likewise.
2029 * gdb.mi/non-stop.c: Include unistd.h.
2030 * gdb.mi/nsthrexec.c: Include stdio.h.
2031 * gdb.mi/pthreads.c: Include unistd.h.
2032 * gdb.modula2/unbounded1.c (main): Declare returns int.
2033 * gdb.reverse/consecutive-reverse.c: Likewise.
2034 * gdb.threads/create-fail.c: Include unistd.h.
2035 * gdb.threads/killed.c: Likewise.
2036 * gdb.threads/linux-dp.c: Likewise.
2037 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
2038 * gdb.threads/non-ldr-exc-2.c: Likewise.
2039 * gdb.threads/non-ldr-exc-3.c: Likewise.
2040 * gdb.threads/non-ldr-exc-4.c: Likewise.
2041 * gdb.threads/pthreads.c: Include unistd.h.
2042 (main): Declare returns int.
2043 * gdb.threads/tls-main.c (foo): New declaration.
2044 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2045
f7e5394d
SM
20462015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2047
2048 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
2049 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
2050
743649fd
MW
20512015-01-15 Mark Wielaard <mjw@redhat.com>
2052
2053 * gdb.base/noreturn-return.c: New file.
2054 * gdb.base/noreturn-return.exp: New file.
2055 * gdb.base/noreturn-finish.c: New file.
2056 * gdb.base/noreturn-finish.exp: New file.
2057
198297aa
PA
20582015-01-23 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.threads/continue-pending-after-query.c: New file.
2061 * gdb.threads/continue-pending-after-query.exp: New file.
2062
717cf30c
AG
20632015-01-22 Anders Granlund <anders.granlund@ericsson.com>
2064 Simon Marchi <simon.marchi@ericsson.com>
2065
2066 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
2067 * gdb.base/valgrind-db-attach.exp: Same.
2068 * gdb.base/valgrind-infcall.exp: Same.
2069 * lib/mi-support.exp (default_mi_gdb_start): Same.
2070 * lib/prompt.exp (default_prompt_gdb_start): Same.
2071 * lib/gdb.exp (default_gdb_spawn): Same.
2072 (gdb_interact): New.
2073
2074
4b62a76e
JK
20752015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 * gdb.compile/compile.exp (pointer to jit function): New test.
2078
b4cdae6f
WW
20792015-01-17 Wei-cheng Wang <cole945@gmail.com>
2080
2081 * lib/gdb.exp (supports_process_record): Return true for
2082 powerpc*-*-linux*.
2083 (supports_reverse): Likewise.
2084
d221e7ef
DB
20852015-01-15 Don Breazeal <donb@codesourcery.com>
2086
2087 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
2088 instead of checking whether the target board is remote and
2089 use spawn_wait_for_attach instead of exec/sleep.
2090 * gdb.base/attach-twice.exp: Likewise.
2091
bafffb51
JB
20922015-01-15 Joel Brobecker <brobecker@adacore.com>
2093
2094 * gdb.ada/var_arr_attrs: New testcase.
2095
5589af0e
PA
20962015-01-14 Pedro Alves <palves@redhat.com>
2097 Joel Brobecker <brobecker@adacore.com>
2098
2099 PR gdb/17525
2100 * gdb.base/bp-cmds-execution-x-script.c: New file.
2101 * gdb.base/bp-cmds-execution-x-script.exp: New file.
2102 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
2103
6c400b59
PA
21042015-01-14 Pedro Alves <palves@redhat.com>
2105
2106 PR cli/17828
2107 * gdb.base/batch-preserve-term-settings.c: New file.
2108 * gdb.base/batch-preserve-term-settings.exp: New file.
2109
e02c96a7
DE
21102015-01-13 Doug Evans <dje@google.com>
2111
2112 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
2113 binary.
2114
576fd14c
JB
21152015-01-13 Joel Brobecker <brobecker@adacore.com>
2116
2117 * Makefile.in (clean mostlyclean): Do not delete *.py.
2118
04dccad0
JB
21192015-01-13 Joel Brobecker <brobecker@adacore.com>
2120
2121 * gdb.python/py-lookup-type.exp: New file.
2122
3d230f71
PA
21232015-01-12 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
2126 restore GDBFLAGS before returning.
2127
7e67715d
JK
21282015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2129
2130 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
2131 is_amd64_regs_target and is_x86_like_target.
2132
f2e0d4b4
DE
21332015-01-11 Doug Evans <xdje42@gmail.com>
2134
2135 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
2136 is given without an explicit form.
2137 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
2138 attributes.
2139 * gdb.dwarf/corrupt.exp: Ditto.
2140 * gdb.dwarf2/enum-type.exp: Ditto.
2141 * gdb.trace/entry-values.exp: Ditto.
2142 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
2143
439250fb
DE
21442015-01-11 Doug Evans <xdje42@gmail.com>
2145
2146 PR gdb/15830
2147 * gdb.base/maint.exp: Remove references to "maint demangle".
2148 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
2149 Add tests for explicitly specifying language to demangle.
2150 * gdb.dlang/demangle.exp: Ditto.
2151
ede9f622
PA
21522015-01-09 Pedro Alves <palves@redhat.com>
2153
2154 * gdb.threads/non-stop-fair-events.c: New file.
2155 * gdb.threads/non-stop-fair-events.exp: New file.
2156
a7b796db
PA
21572015-01-09 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
2160 the global scope. Set a breakpoint after all threads are started
2161 rather than stepping over two source lines. Expect the prompt.
2162 * gdb.base/watch_thread_num.c (threads_started_barrier): New
2163 global.
2164 (NUM): Now 15.
2165 (main): Use threads_started_barrier to wait for all threads to
2166 start. Main thread no longer calls thread_function. Exit after
2167 180 seconds.
2168 (loop): New function.
2169 (thread_function): Wait on threads_started_barrier barrier. Call
2170 'loop' at each iteration.
2171 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
2172 threads have started, instead of hardcoding number of "next"
2173 steps. Use an access watchpoint instead of a write watchpoint.
2174
9665ffdd
PA
21752015-01-09 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
2178 (thread_func): Wait on barrier.
2179 (main): Wait for all threads to start before stopping GDB.
2180 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
2181 global.
2182 (thread1_func, thread2_func): Wait on barrier.
2183 (main): Wait for all threads to start before stopping GDB.
2184 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
2185 New global.
2186 (thread1_func, thread2_func): Wait on barrier.
2187 (main): Wait for all threads to start before stopping GDB.
2188
c945a99f
PA
21892015-01-09 Pedro Alves <palves@redhat.com>
2190
2191 * gdb.threads/attach-many-short-lived-threads.c: New file.
2192 * gdb.threads/attach-many-short-lived-threads.exp: New file.
2193
c1a747c1
PA
21942014-01-09 Pedro Alves <palves@redhat.com>
2195
2196 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
2197 instead of to thread 2.
2198 * gdb.threads/signal-command-multiple-signals-pending.c (main):
2199 Add barrier around each pthread_create call instead of around all
2200 calls.
2201 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
2202 Set a break on thread_function and have the child threads hit it
2203 one at at a time.
2204
60b3033e
PA
22052015-01-09 Pedro Alves <palves@redhat.com>
2206
2207 * lib/gdb.exp (can_spawn_for_attach): New procedure.
2208 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
2209 false.
2210 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
2211 checking whether the target board is remote.
2212 * gdb.multi/multi-attach.exp: Likewise.
2213 * gdb.python/py-sync-interp.exp: Likewise.
2214 * gdb.server/ext-attach.exp: Likewise.
2215 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
2216 tests that need to attach, instead of checking whether the target
2217 board is remote at the top of the file.
2218
acc018ac
YQ
22192015-01-08 Yao Qi <yao@codesourcery.com>
2220
2221 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
2222
50a18af8
JK
22232015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 Fix testcase compilation.
2226 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
2227
8503d6e1
JB
22282015-01-06 Joel Brobecker <brobecker@adacore.com>
2229
2230 * gdb.python/py-type.exp: Add a couple test about empty
2231 array creation, and negative-length array creation.
2232
cc73dbcc
DE
22332015-01-02 Doug Evans <xdje42@gmail.com>
2234
2235 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
2236
0300bbc7
DE
22372015-01-02 Doug Evans <dje@google.com>
2238
2239 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
2240
9d85a0ec
YQ
22412014-12-29 Yao Qi <yao@codesourcery.com>
2242
2243 * gdb.trace/entry-values.exp: Update comments. Rename variable
2244 bar_call_foo to returned_from_foo.
2245
87186c6a
MMN
22462014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
2247
2248 PR gdb/17394
2249 * gdb.linespec/break-asm-file.c: New file.
2250 * gdb.linespec/break-asm-file.exp: New file.
2251 * gdb.linespec/break-asm-file0.s: New file.
2252 * gdb.linespec/break-asm-file1.s: New file.
2253
1bab7383
YQ
22542014-12-18 Nigel Stephens <nigel@mips.com>
2255 Maciej W. Rozycki <macro@codesourcery.com>
2256
2257 * gdb.base/float.exp: Handle the new output from "info float" on
2258 MIPS targets.
2259
1bc1068a
JK
22602014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2261
2262 Fix MinGW compilation.
2263 * gdb.compile/compile-ops.exp: Update untested message if
2264 !skip_compile_feature_tests.
2265 * gdb.compile/compile-setjmp.exp: Likewise.
2266 * gdb.compile/compile-tls.exp: Likewise.
2267 * gdb.compile/compile.exp: Likewise.
2268 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
2269 supported on this host".
2270
b6615d10
DE
22712014-12-16 Doug Evans <xdje42@gmail.com>
2272
2273 * boards/stabs.exp: New file.
2274
25dda427
AA
22752014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
2276
2277 * gdb.base/completion.exp: Adjust to format changes of "maint
2278 print user-registers".
2279
bf330350
CU
22802014-12-16 Catalin Udma <catalin.udma@freescale.com>
2281
2282 PR server/17457
2283 * gdb.arch/aarch64-fp.c: New file.
2284 * gdb.arch/aarch64-fp.exp: New file.
2285
395cf596
SDJ
22862014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2287
2288 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
2289 r210637, r210913, r211666, r215400, r215817).
2290
2291 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
2292 * dg-extract-results.py: New file.
2293 * dg-extract-results.sh: Use it if the environment seems
2294 suitable.
2295
2296 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
2297
2298 * dg-extract-results.py (parse_run): Handle warnings that
2299 are printed before a test harness is run.
2300
2301 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
2302
2303 * dg-extract-results.py (Named): Remove __cmp__ method.
2304 (output_variation): Use a key to sort variation.harnesses.
2305
2306 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
2307
2308 * dg-extract-results.py: For Python 3, force sys.stdout to
2309 handle surrogate escape sequences.
2310 (safe_open): New function.
2311 (output_segment, main): Use it.
2312
2313 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2314
2315 * dg-extract-results.py (Prog.result_re): Include options
2316 in test name.
2317
2318 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
2319
2320 * dg-extract-results.py (output_variation): Always sort if
2321 do_sum.
2322
e882ef3c
SM
23232014-12-15 Simon Marchi <simon.marchi@ericsson.com>
2324
2325 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
2326 as long as we get pagination notifications.
2327
4992aa20
JM
23282014-12-15 Jason Merrill <jason@redhat.com>
2329
2330 * Makefile.in (check-gdb.%): Restore.
2331 * README: Mention it.
2332
c1b5a1a6
JB
23332014-12-13 Joel Brobecker <brobecker@adacore.com>
2334
2335 * gdb.ada/str_uninit: New testcase.
2336
5537b577
JK
23372014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2338
2339 PR symtab/17642
2340 * gdb.base/vla-stub-define.c: New file.
2341 * gdb.base/vla-stub.c: New file.
2342 * gdb.base/vla-stub.exp: New file.
2343
bb2ec1b3
TT
23442014-12-12 Phil Muldoon <pmuldoon@redhat.com>
2345 Jan Kratochvil <jan.kratochvil@redhat.com>
2346 Tom Tromey <tromey@redhat.com>
2347
2348 * configure.ac: Add gdb.compile/.
2349 * configure: Regenerate.
2350 * gdb.compile/Makefile.in: New file.
2351 * gdb.compile/compile-ops.exp: New file.
2352 * gdb.compile/compile-ops.c: New file.
2353 * gdb.compile/compile-tls.c: New file.
2354 * gdb.compile/compile-tls.exp: New file.
2355 * gdb.compile/compile-constvar.S: New file.
2356 * gdb.compile/compile-constvar.c: New file.
2357 * gdb.compile/compile-mod.c: New file.
2358 * gdb.compile/compile-nodebug.c: New file.
2359 * gdb.compile/compile-setjmp-mod.c: New file.
2360 * gdb.compile/compile-setjmp.c: New file.
2361 * gdb.compile/compile-setjmp.exp: New file.
2362 * gdb.compile/compile-shlib.c: New file.
2363 * gdb.compile/compile.c: New file.
2364 * gdb.compile/compile.exp: New file.
2365 * lib/gdb.exp (skip_compile_feature_tests): New proc.
2366
4ff709eb
TT
23672014-12-12 Tom Tromey <tromey@redhat.com>
2368
2369 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
2370 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
2371
6dddd6a5
DE
23722014-12-12 Doug Evans <dje@google.com>
2373
2374 * lib/gdb-python.exp (get_python_valueof): New function.
2375 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
2376
71c24708
AA
23772014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2378
2379 * gdb.base/completion.exp: Add test for completion of "info
2380 registers ".
2381
3e29f34a
MR
23822014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
2383
2384 * gdb.base/func-ptrs.c: New file.
2385 * gdb.base/func-ptrs.exp: New file.
2386
fc126975
SM
23872014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2388
2389 PR breakpoints/17012
2390 * gdb.base/dprintf-detach.c: New file.
2391 * gdb.base/dprintf-detach.exp: New file.
2392
0a46d518
SM
23932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
2394
2395 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
2396 * lib/gdb.exp (target_is_gdbserver): New procedure.
2397
a0be3e44
DE
23982014-12-08 Doug Evans <dje@google.com>
2399
2400 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
2401
df1b803a
YQ
24022014-12-05 Yao Qi <yao@codesourcery.com>
2403
2404 * gdb.guile/scm-error.exp: Remove the third argument to
2405 gdb_remote_download.
2406 * gdb.guile/scm-frame-args.exp: Likewise.
2407 * gdb.guile/scm-section-script.exp: Likewise.
2408
ddb9f679
YQ
24092014-12-05 Yao Qi <yao@codesourcery.com>
2410
2411 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
2412
86e4ed39
DE
24132014-12-04 Doug Evans <dje@google.com>
2414
2415 * gdb.python/py-objfile.exp: Add tests for
2416 objfile.add_separate_debug_file.
2417
7c50a931
DE
24182014-12-04 Doug Evans <dje@google.com>
2419
2420 * lib/gdb.exp (get_build_id): New function.
2421 (build_id_debug_filename_get): Rewrite to use it.
2422 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
2423
621661e3
MR
24242014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
2425
2426 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
2427 `method(long)', not just 0x0.
2428 * gdb.cp/nsalias.exp: Align code labels to 4.
2429 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
2430 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
2431 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
2432 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
2433 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
2434 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
2435
29f0c3b7
DE
24362014-12-02 Doug Evans <dje@google.com>
2437
e1e061e7 2438 PR symtab/17602
29f0c3b7 2439 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 2440 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
2441 * gdb.cp/anon-ns.exp: Update.
2442
162078c8
NB
24432014-12-02 Nick Bull <nicholaspbull@gmail.com>
2444
2445 * gdb.python/py-events.py (inferior_call_handler): New.
2446 (register_changed_handler, memory_changed_handler): New.
2447 (test_events.invoke): Register new handlers.
2448 * gdb.python/py-events.exp: Add tests for inferior call,
2449 memory_changed and register_changed events.
2450
fdb09caf
AA
24512014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2452
2453 * gdb.base/execl-update-breakpoints.exp: Specify the link address
2454 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
2455 if the linker doesn't understand this.
2456
55cfb2c4
SM
24572014-12-01 Simon Marchi <simon.marchi@ericsson.com>
2458
2459 * gdb.python/python.exp: Change expected reply to help().
2460
9e8cd6df
YQ
24612014-12-01 Yao Qi <yao@codesourcery.com>
2462
2463 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
2464 AC_CONFIG_SUBDIRS(gdb.gdbtk).
2465 * configure: Re-generated.
2466
6c659fc2
SC
24672014-11-28 Siva Chandra Reddy <sivachandra@google.com>
2468
2469 * gdb.cp/chained-calls.cc: New file.
2470 * gdb.cp/chained-calls.exp: New file.
2471 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
2472
d7fc3181
SM
24732014-11-28 Simon Marchi <simon.marchi@ericsson.com>
2474
2475 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
2476 * gdb.dwarf2/symtab-producer.exp: Same.
2477 * gdb.gdb/python-interrupts.exp: Same.
2478 * gdb.gdb/python-selftest.exp: Same.
2479 * gdb.python/py-linetable.exp: Same.
2480 * gdb.python/py-type.exp: Same.
2481 * gdb.python/py-value-cc.exp: Same.
2482 * gdb.python/py-value.exp: Same.
2483
10e79639
YQ
24842014-11-28 Yao Qi <yao@codesourcery.com>
2485
2486 * gdb.base/break-probes.exp: Match library name prefixed with
2487 sysroot.
2488
f28a0564
SM
24892014-11-27 Simon Marchi <simon.marchi@ericsson.com>
2490
2491 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
2492 test expected output. Add parentheses for the call to print.
2493 Remove L suffix from integers.
2494
3fe1ce1d
DE
24952014-11-26 Doug Evans <dje@google.com>
2496
2497 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
2498
84429e27
YQ
24992014-11-22 Yao Qi <yao@codesourcery.com>
2500
2501 * gdb.trace/entry-values.c: Remove asms.
2502 (foo): Add foo_label.
2503 (bar): Add bar_label.
2504 * gdb.trace/entry-values.exp: Remove code computing foo's
2505 length and bar's length.
2506 (Dwarf::assemble): Invoke function_range for bar and use
2507 MACRO_AT_func for foo.
2508
26741859
YQ
25092014-11-22 Yao Qi <yao@codesourcery.com>
2510
2511 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
2512 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
2513 Use .Lgcc43_procstart instead of gcc43.
2514
45e44d27
JB
25152014-11-21 Joel Brobecker <brobecker@adacore.com>
2516
2517 * gdb.ada/n_arr_bound: New testcase.
2518
458c8db8
SDJ
25192014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2520
2521 PR breakpoints/10737
2522 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
2523 test_catch_syscall_multi_arch.
2524 (test_catch_syscall_multi_arch): New function.
2525
43f3e411
DE
25262014-11-20 Doug Evans <xdje42@gmail.com>
2527
2528 * gdb.base/maint.exp: Update expected output.
2529
0d7b2549
AA
25302014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2531
2532 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
2533 4-byte instruction on S390.
2534
8908fca5
JB
25352014-11-19 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.ada/arr_arr: New testcase.
2538
4a46959e
JB
25392014-11-19 Joel Brobecker <brobecker@adacore.com>
2540
2541 * gdb.ada/pkd_arr_elem: New Testcase.
2542
470e2f4e
LM
25432014-11-18 Luis Machado <lgustavo@codesourcery.com>
2544
2545 * gdb.reverse/break-precsave: Expect completion message for
2546 core file reads.
2547 * gdb.reverse/consecutive-precsave.exp: Likewise.
2548 * gdb.reverse/finish-precsave.exp: Likewise.
2549 * gdb.reverse/i386-precsave.exp: Likewise.
2550 * gdb.reverse/machinestate-precsave.exp: Likewise.
2551 * gdb.reverse/sigall-precsave.exp: Likewise.
2552 * gdb.reverse/solib-precsave.exp: Likewise.
2553 * gdb.reverse/step-precsave.exp: Likewise.
2554 * gdb.reverse/until-precsave.exp: Likewise.
2555 * gdb.reverse/watch-precsave.exp: Likewise.
2556
a267f3ad
AA
25572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2558
2559 * gdb.base/bp-permanent.c: Include unistd.h.
2560 * gdb.python/py-framefilter-mi.c (main): Add return type.
2561 * gdb.python/py-framefilter.c (main): Likewise.
2562 * gdb.trace/actions-changed.c (main): Likewise.
2563
12084a9a
AA
25642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2565
2566 * gdb.mi/until.c: Add eye-catchers.
2567 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
2568 line numbers.
2569
dc7e1a77
AA
25702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2571
2572 * gdb.base/condbreak.exp: Drop references to removed non-prototype
2573 function header variants in break1.c.
2574 * gdb.base/ena-dis-br.exp: Likewise.
2575 * gdb.base/hbreak2.exp: Likewise.
2576 * gdb.reverse/until-precsave.exp: Drop references to removed
2577 non-prototype function header variants in ur1.c.
2578 * gdb.reverse/until-reverse.exp: Likewise.
2579
41c77605
PM
25802014-11-17 Petr Machata <pmachata@redhat.com>
2581
2582 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
2583 ${_cu_offset_size} bytes abbrev offset.
2584
34248c3a
DE
25852014-11-15 Doug Evans <xdje42@gmail.com>
2586
2587 PR symtab/17559
2588 * gdb.base/line-symtabs.exp: New file.
2589 * gdb.base/line-symtabs.c: New file.
2590 * gdb.base/line-symtabs.h: New file.
2591
646da059
YQ
25922014-11-14 Yao Qi <yao@codesourcery.com>
2593
2594 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
2595 (func): Add label func_label.
2596 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
2597 Replace low_pc and high_pc with MACRO_AT_range.
2598 Replace name, low_pc and high_pc with MACRO_AT_func.
2599
9301ebe6
YQ
26002014-11-14 Yao Qi <yao@codesourcery.com>
2601
2602 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2603 Replace name, low_pc and high_pc with MACRO_AT_func.
2604
f166b542
YQ
26052014-11-14 Yao Qi <yao@codesourcery.com>
2606
2607 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2608 produce debug information.
2609 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2610
0f6e71e3
YQ
26112014-11-14 Yao Qi <yao@codesourcery.com>
2612
2613 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2614 object and get function length.
2615 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2616 with MACRO_AT_func.
2617 (top-level): Replace gdb_compile and clean_restart with
2618 prepare_for_testing.
2619 * gdb.dwarf2/main.c (main): Add label main_label.
2620
876c4df9
YQ
26212014-11-14 Yao Qi <yao@codesourcery.com>
2622
2623 * lib/dwarf.exp (function_range): New procedure.
2624 (Dwarf::_handle_macro_at_func): New procedure.
2625 (Dwarf::_handle_macro_at_range): New procedure.
2626 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2627
02ad9cf1
YQ
26282014-11-14 Yao Qi <yao@codesourcery.com>
2629
2630 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2631 (_handle_attribute): New procedure.
2632
a59add0c
AA
26332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2634
2635 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2636 * gdb.base/call-sc.c (zed): Likewise.
2637 * gdb.base/checkpoint.c (main): Likewise.
2638 * gdb.base/dump.c (main): Likewise.
2639 * gdb.base/gcore.c (main): Likewise.
2640 * gdb.base/huge.c (main): Likewise.
2641 * gdb.base/multi-forks.c (main): Likewise.
2642 * gdb.base/pr10179-a.c (main): Likewise.
2643 * gdb.base/savedregs.c (main): Likewise.
2644 * gdb.base/sigaltstack.c (main): Likewise.
2645 * gdb.base/siginfo.c (main): Likewise.
2646 * gdb.base/structs.c (zed): Likewise.
2647 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2648 * gdb.mi/mi-syn-frame.c (main): Likewise.
2649 * gdb.mi/until.c (foo, main): Likewise.
2650 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2651 * gdb.base/solib-weak.c (foo): Declare.
2652 * gdb.base/attach-twice.c: Include stdio.h.
2653 * gdb.base/weaklib1.c: Likewise.
2654 * gdb.base/weaklib2.c: Likewise.
2655 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2656 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2657 unistd.h.
2658 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2659 * gdb.mi/mi-exit-code.c: Likewise.
2660 * gdb.base/break-interp-lib.c: Include string.h.
2661 * gdb.base/coremaker.c: Likewise.
2662 * gdb.base/testenv.c: Likewise.
2663 * gdb.python/py-finish-breakpoint.c: Likewise.
2664 * gdb.base/inferior-died.c: Include sys/wait.h.
2665 * gdb.base/fileio.c: Include time.h.
2666 * gdb.base/async-shell.c: Include unistd.h.
2667 * gdb.base/dprintf-non-stop.c: Likewise.
2668 * gdb.base/info-os.c: Likewise.
2669 * gdb.mi/mi-console.c: Likewise.
2670 * gdb.mi/watch-nonstop.c: Likewise.
2671 * gdb.python/py-events.c: Likewise.
2672 * gdb.base/async.c (baz): Move up before its invocation.
2673 * gdb.base/code_elim2.c (my_global_func): Likewise.
2674 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2675 * gdb.base/advance.c (func2): Likewise.
2676
3b5d5997
AA
26772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2678
2679 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2680 variant.
2681 * gdb.base/annota3.c: Likewise.
2682 * gdb.base/async.c: Likewise.
2683 * gdb.base/average.c: Likewise.
2684 * gdb.base/call-ar-st.c: Likewise.
2685 * gdb.base/call-rt-st.c: Likewise.
2686 * gdb.base/call-sc.c: Likewise.
2687 * gdb.base/call-strs.c: Likewise.
2688 * gdb.base/ending-run.c: Likewise.
2689 * gdb.base/execd-prog.c: Likewise.
2690 * gdb.base/exprs.c: Likewise.
2691 * gdb.base/foll-exec.c: Likewise.
2692 * gdb.base/foll-fork.c: Likewise.
2693 * gdb.base/foll-vfork.c: Likewise.
2694 * gdb.base/funcargs.c: Likewise.
2695 * gdb.base/gcore.c: Likewise.
2696 * gdb.base/jump.c: Likewise.
2697 * gdb.base/langs0.c: Likewise.
2698 * gdb.base/langs1.c: Likewise.
2699 * gdb.base/langs2.c: Likewise.
2700 * gdb.base/mips_pro.c: Likewise.
2701 * gdb.base/nodebug.c: Likewise.
2702 * gdb.base/opaque0.c: Likewise.
2703 * gdb.base/opaque1.c: Likewise.
2704 * gdb.base/recurse.c: Likewise.
2705 * gdb.base/run.c: Likewise.
2706 * gdb.base/scope0.c: Likewise.
2707 * gdb.base/scope1.c: Likewise.
2708 * gdb.base/setshow.c: Likewise.
2709 * gdb.base/setvar.c: Likewise.
2710 * gdb.base/shmain.c: Likewise.
2711 * gdb.base/shr1.c: Likewise.
2712 * gdb.base/shr2.c: Likewise.
2713 * gdb.base/sigall.c: Likewise.
2714 * gdb.base/signals.c: Likewise.
2715 * gdb.base/so-indr-cl.c: Likewise.
2716 * gdb.base/solib2.c: Likewise.
2717 * gdb.base/structs.c: Likewise.
2718 * gdb.base/sum.c: Likewise.
2719 * gdb.base/vforked-prog.c: Likewise.
2720 * gdb.base/watchpoint.c: Likewise.
2721 * gdb.reverse/shr2.c: Likewise.
2722 * gdb.reverse/until-reverse.c: Likewise.
2723 * gdb.reverse/ur1.c: Likewise.
2724 * gdb.reverse/watch-reverse.c: Likewise.
2725
066a77c5
AA
27262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2727
2728 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2729 variant.
2730 * gdb.base/sepdebug.exp: Drop references to removed code.
2731
4f204ea5
AA
27322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2733
2734 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2735 variant. Preserve original line numbering.
2736 * gdb.base/list1.c: Likewise.
2737
3b377a3a
AA
27382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2739
2740 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2741 variant.
2742 * gdb.base/break1.c: Likewise.
2743 * gdb.base/break.exp: Drop references to removed code.
2744
e444df73
AA
27452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2746
2747 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2748 variant.
2749
8008f2a7
AA
27502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2751
2752 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2753
a5a06887
AA
27542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2755
2756 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2757 logic into perform_all_tests() and invoke it with and without
2758 function header prototypes.
2759 (do_function_calls): Remove conditional XFAIL for PR 5318.
2760 (rerun_and_prepare): Remove duplicate code.
2761 (perform_all_tests): New. Main logic moved here.
2762
44dba9b9
AA
27632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2764
2765 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2766 code guarded by #ifdef NO_PROTOTYPES.
2767 (t_double_many_args): Likewise.
2768 (DEF_FUNC_MANY_ARGS_1): Likewise.
2769 (DEF_FUNC_VALUES_1): Likewise.
2770 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2771 guarded by #ifdef PROTOTYPES.
2772
d1fbcd56
AA
27732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2774
2775 * gdb.mi/mi-console.c: Add eye-catcher.
2776 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2777 instead of literal line number.
2778
b0e59b8f
AA
27792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780
2781 * gdb.base/shr2.c: Add eye-catcher.
2782 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2783 line number.
2784
78f98cca
AA
27852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2786
2787 * gdb.base/jump.c: Add eye-catchers.
2788 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2789 numbers.
2790
58fa2af0
AA
27912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2792
2793 * gdb.base/execd-prog.c: Add eye-catchers.
2794 * gdb.base/foll-exec.c: Likewise.
2795 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2796 line numbers.
2797
04e5059b
AA
27982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2799
2800 * gdb.base/ending-run.c: Add eye-catchers.
2801 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2802 literal line numbers.
2803
dbfdb174
AA
28042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2805
2806 * gdb.base/call-rt-st.c: Add eye-catchers.
2807 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2808 literal line numbers.
2809
888a2ade
AA
28102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2811
2812 * gdb.base/call-ar-st.c: Add eye-catchers.
2813 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2814 literal line numbers.
2815
6acc2dde
AA
28162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2817
2818 * gdb.base/average.c: Add eye-catchers.
2819 * gdb.base/sum.c: Likewise.
2820 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2821 regexps dynamically.
2822
9ecfcd1d
AA
28232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2824
2825 * gdb.base/solib1.c: Add eye-catchers.
2826 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2827 literal line numbers.
2828
78708b7c
PA
28292014-11-12 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2832 leader has exited.
2833
af48d08f
PA
28342014-11-12 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.arch/i386-bp_permanent.c: New file.
2837 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2838 (srcfile): Set to i386-bp_permanent.c.
2839 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2840 that stepi does not execute the 'leave' instruction, instead of
2841 testing it does execute.
2842 * gdb.base/bp-permanent.c: New file.
2843 * gdb.base/bp-permanent.exp: New file.
2844
af3768e9
DE
28452014-11-10 Doug Evans <xdje42@gmail.com>
2846
2847 PR symtab/17564
2848 * gdb.base/symtab-search-order.exp: New file.
2849 * gdb.base/symtab-search-order.c: New file.
2850 * gdb.base/symtab-search-order-1.c: New file.
2851 * gdb.base/symtab-search-order-shlib-1.c: New file.
2852
9de00a4a
PA
28532014-11-07 Pedro Alves <palves@redhat.com>
2854
2855 PR gdb/17511
2856 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2857 i?86-*-linux*.
2858
e0f52461
SC
28592014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2860
2861 PR c++/17494
2862 * gdb.cp/pr17494.cc: New file.
2863 * gdb.cp/pr17494.exp: New file.
2864
6ce8c980
YQ
28652014-11-02 Yao Qi <yao@codesourcery.com>
2866
2867 * gdb.python/python.exp: Get working directory and match the
2868 output of "set extended-prompt \\w " with it.
2869
02be9a71
DE
28702014-10-30 Doug Evans <dje@google.com>
2871
2872 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2873 in objfiles.
2874 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2875 in progspaces.
2876
3bdff46b
LM
28772014-10-30 Janis Johnson <janisjo@codesourcery.com>
2878
2879 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2880 * gdb.base/realname-expand.exp: Likewise.
2881 * gdb.linespec/macro-relative.exp: Likewise.
2882
ab917dfb
PA
28832014-10-29 Pedro Alves <palves@redhat.com>
2884
2885 PR gdb/17408
2886 * gdb.threads/schedlock.c (some_function): New function.
2887 (call_function): New global.
2888 (MAYBE_CALL_SOME_FUNCTION): New macro.
2889 (thread_function): Call it.
2890 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2891 and use it instead of a global counter. Adjust all callers.
2892 (get_current_thread): Use "find current thread" for test message
2893 here rather than having all callers pass down the same string.
2894 (goto_loop): New procedure, factored out from ...
2895 (my_continue): ... this.
2896 (step_ten_loops): Change parameter from test message to command to
2897 use. Adjust.
2898 (list_count): Delete global.
2899 (check_result): New procedure, factored out from duplicate top
2900 level code.
2901 (continue tests): Wrap in with_test_prefix.
2902 (test_step): New procedure, factored out from duplicate top level
2903 code.
2904 (top level): Test "step" in combination with all scheduler-locking
2905 modes. Test "next" in combination with all scheduler-locking
2906 modes, and in combination with stepping over a function call or
2907 not.
2908 * gdb.threads/next-bp-other-thread.c: New file.
2909 * gdb.threads/next-bp-other-thread.exp: New file.
2910
d3d4baed
PA
29112014-10-29 Pedro Alves <palves@redhat.com>
2912
2913 PR python/17372
2914 * gdb.python/python.exp: Test a multi-line command that spawns
2915 interactive Python.
2916 * gdb.base/multi-line-starts-subshell.exp: New file.
2917
563e8d85
YQ
29182014-10-29 Yao Qi <yao@codesourcery.com>
2919
2920 * gdb.base/fileio.exp: Make directories on host.
2921
0ea4d52e
YQ
29222014-10-29 Yao Qi <yao@codesourcery.com>
2923
2924 * gdb.base/fileio.c (test_write): Close the file.
2925
7f5ef605
PA
29262014-10-28 Pedro Alves <palves@redhat.com>
2927
2928 PR gdb/12623
2929 * gdb.base/sigstep.c (no_handler): New global.
2930 (main): If 'no_handler is true, set the signal handlers to
2931 SIG_IGN.
2932 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2933 with_sw_watch and no_handler parameters. Handle them.
2934 (top level) <stepping over handler when stopped at a breakpoint
2935 test>: Add a test axis for testing with a software watchpoint, and
2936 another for testing with the signal handler set to SIG_IGN.
2937 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2938 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2939
abbdbd03
PA
29402014-10-28 Pedro Alves <palves@redhat.com>
2941
2942 PR gdb/17511
2943 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2944 * gdb.base/sigstep.exp (other_handler_location): New global.
2945 (advance): Support stepping into the signal handler, and running
2946 commands while in the handler.
2947 (in_handler_map): New global.
2948 (top level): In the advance test, add combinations for getting
2949 into the handler with stepping commands, and for running commands
2950 in the handler. Add comment descripting the advancei tests.
2951
1df4399f
PA
29522014-10-28 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.base/sigstep.exp: Use build_executable instead of
2955 prepare_for_testing.
2956 (top level): Move code that starts GDB, runs to main and creates a
2957 display to ...
2958 (restart): ... this new procedure.
2959 (top level): Move backtrace from signal handler test to ...
2960 (validate_backtrace): ... this new procedure.
2961 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2962 with_test_prefix. Always restart GDB.
2963 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2964 with_test_prefix. Always restart GDB. No need to delete
2965 breakpoints after the test.
2966 (test_skip_handler): Remove prefix parameter.
2967 (skip_over_handler, breakpoint_to_handler)
2968 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2969 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2970 restart GDB. No need to delete breakpoints after the test.
2971 (top level): Use foreach to call the test procedures with
2972 different commands.
2973
a5b6e449
PA
29742014-10-28 Pedro Alves <palves@redhat.com>
2975
2976 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2977 instead of GNATS numbers.
2978 * gdb.base/sigbpt.exp: Likewise.
2979 * gdb.base/siginfo.exp: Likewise.
2980 * gdb.base/sigstep.exp: Likewise.
2981
e5f8a7cc
PA
29822014-10-27 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.base/sigstep.c (dummy): New global.
2985 (main): Issue a couple writes to the new global.
2986 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2987 procedures.
2988 (skip_over_handler): Use test_skip_handler.
2989 (top level): Call skip_over_handler for stepi and nexti too.
2990 (breakpoint_over_handler): Use test_skip_handler.
2991 (top level): Call breakpoint_over_handler for stepi and nexti too.
2992
763905a3
YQ
29932014-10-27 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.trace/tfile.c (adjust_function_address)
2996 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2997 function descriptor.
2998
6f259a23
DB
29992014-10-24 Don Breazeal <donb@codesourcery.com>
3000
3001 * gdb.base/foll-fork.exp (test_follow_fork,
3002 catch_fork_child_follow): Check for updated fork messages emitted
3003 from infrun.c.
3004 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
3005 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
3006 vfork_and_exec_child_follow_through_step): Check for updated vfork
3007 messages emitted from infrun.c.
3008
09dd9a69
PA
30092014-10-24 Pedro Alves <palves@redhat.com>
3010
3011 * gdb.base/corefile.exp: Remove references to ultrix.
3012 * gdb.base/interrupt.exp: Likewise.
3013 * gdb.base/whatis.exp: Likewise.
3014 * gdb.gdb/selftest.exp: Likewise.
3015 * gdb.threads/manythreads.exp: Likewise.
3016 * gdb.threads/print-threads.exp: Likewise.
3017 * gdb.threads/pthreads.exp:: Likewise.
3018 * gdb.threads/schedlock.exp: Likewise.
3019
3433cfa5
SC
30202014-10-24 Siva Chandra Reddy <sivachandra@google.com>
3021
3022 * gdb.cp/non-trivial-retval.cc: Add a test case.
3023 * gdb.cp/non-trivial-retval.exp: Add a test.
3024
092f880b
YQ
30252014-10-20 Yao Qi <yao@codesourcery.com>
3026
3027 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
3028 * gdb.python/py-objfile-script-gdb.py: New file.
3029 * gdb.python/py-objfile-script.exp: Update reference to
3030 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
3031 of remote_download. Remove the dest file.
3032
acbdb7f3
YQ
30332014-10-20 Yao Qi <yao@codesourcery.com>
3034
3035 * gdb.base/checkpoint.exp: Don't remove file copied on host.
3036 * gdb.base/step-line.exp: Likewise.
3037 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3038 * gdb.dwarf2/dw2-basic.exp: Likewise.
3039 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3040 * gdb.dwarf2/dw2-filename.exp: Likewise.
3041 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3042 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3043 * gdb.dwarf2/dw2-producer.exp: Likewise.
3044 * gdb.dwarf2/mac-fileno.exp: Likewise.
3045 * gdb.python/py-frame-args.exp: Likewise.
3046 * gdb.python/py-framefilter.exp: Likewise.
3047 * gdb.python/py-mi.exp: Likewise.
3048 * gdb.python/py-objfile-script.exp: Likewise
3049 * gdb.python/py-pp-integral.exp: Likewise.
3050 * gdb.python/py-pp-re-notag.exp: Likewise.
3051 * gdb.python/py-prettyprint.exp: Likewise.
3052 * gdb.python/py-section-script.exp: Likewise.
3053 * gdb.python/py-typeprint.exp: Likewise.
3054 * gdb.python/py-xmethods.exp: Likewise.
3055 * gdb.stabs/weird.exp: Likewise.
3056 * gdb.xml/tdesc-regs.exp: Likewise.
3057
bd286a29
KCY
30582014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
3059
3060 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
3061 (out_cu): Use addr_len for the size of addresses.
3062 (out_line): Likewise. Size DW_LNE_set_address instruction
3063 according to addr_len.
3064 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
3065 (FUNC): Add START_INSNS to definition.
3066
673dc4a0
YQ
30672014-10-18 Yao Qi <yao@codesourcery.com>
3068
3069 * gdb.base/argv0-symlink.exp: Check argv[0] value if
3070 gdb_has_argv0 return true.
3071 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
3072 check [target_info exists noargs], check [gdb_has_argv0]
3073 instead.
3074 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3075 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
3076 procedures.
3077
4ffbba72
DE
30782014-10-17 Doug Evans <dje@google.com>
3079
3080 * gdb.python/py-events.exp: Update expected output for clear_objfiles
3081 event.
3082 * gdb.python/py-events.py: Add clear_objfiles event.
3083
d096d8c1
DE
30842014-10-17 Doug Evans <dje@google.com>
3085
3086 * gdb.python/py-objfile.exp: Test progspace attribute.
3087
a80db015
LM
30882014-10-17 Luis Machado <lgustavo@codesourcery.com>
3089
3090 * gdb.guile/scm-breakpoint.exp: Do not assume any
3091 directory separators when matching source file paths.
3092 * gdb.python/py-breakpoint.exp: Likewise.
3093 * gdb.reverse/break-precsave.exp: Likewise.
3094 * gdb.reverse/break-reverse.exp: Likewise.
3095 * gdb.reverse/consecutive-precsave.exp: Likewise.
3096 * gdb.reverse/finish-precsave.exp: Likewise.
3097 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3098 * gdb.reverse/finish-reverse.exp: Likewise.
3099 * gdb.reverse/i386-precsave.exp: Likewise.
3100 * gdb.reverse/i387-env-reverse.exp: Likewise.
3101 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3102 * gdb.reverse/machinestate-precsave.exp: Likewise.
3103 * gdb.reverse/machinestate.exp: Likewise.
3104 * gdb.reverse/sigall-precsave.exp: Likewise.
3105 * gdb.reverse/solib-precsave.exp: Likewise.
3106 * gdb.reverse/step-precsave.exp: Likewise.
3107 * gdb.reverse/until-precsave.exp: Likewise.
3108 * gdb.reverse/watch-precsave.exp: Likewise.
3109 * gdb.reverse/watch-reverse.exp: Likewise.
3110
b22089ab
YQ
31112014-10-17 Yao Qi <yao@codesourcery.com>
3112
3113 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
3114 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
3115
6c4486e6
PA
31162014-10-17 Pedro Alves <palves@redhat.com>
3117
3118 PR gdb/17471
3119 * gdb.base/bg-execution-repeat.c: New file.
3120 * gdb.base/bg-execution-repeat.exp: New file.
3121
0ff33695
PA
31222014-10-17 Pedro Alves <palves@redhat.com>
3123
3124 PR gdb/17300
3125 * gdb.base/continue-all-already-running.c: New file.
3126 * gdb.base/continue-all-already-running.exp: New file.
3127
6fdebc3d
PA
31282014-10-17 Pedro Alves <palves@redhat.com>
3129
3130 PR gdb/17472
3131 * gdb.base/annota-input-while-running.c: New file.
3132 * gdb.base/annota-input-while-running.exp: New file.
3133
32a8097b
PA
31342014-10-17 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/callfuncs.exp: emove references to osf.
3137 * gdb.base/sigall.exp: Likewise.
3138 * gdb.gdb/selftest.exp: Likewise.
3139 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3140 * gdb.mi/non-stop.c: Likewise.
3141 * gdb.mi/pthreads.c: Likewise.
3142 * gdb.reverse/sigall-precsave.exp: Likewise.
3143 * gdb.reverse/sigall-reverse.exp: Likewise.
3144 * gdb.threads/pthreads.c: Likewise.
3145 * gdb.threads/pthreads.exp: Likewise.
3146
7a3517ff
YQ
31472014-10-17 Yao Qi <yao@codesourcery.com>
3148
3149 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
3150 check 'target_info exists noargs'.
3151 (test_command_prompt_position): Likewise.
3152 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
3153 Remove "set args".
3154 (progvar_simple_while_test): Likewise.
3155 (progvar_complex_if_while_test): Likewise.
3156 (if_while_breakpoint_command_test): Likewise.
3157 (infrun_breakpoint_command_test): Likewise.
3158 (breakpoint_command_test): Likewise.
3159 (watchpoint_command_test): Likewise.
3160 (bp_deleted_in_command_test): Likewise.
3161 (temporary_breakpoint_commands): Likewise.
3162
bb99c472
YQ
31632014-10-16 Yao Qi <yao@codesourcery.com>
3164
3165 * gdb.base/remotetimeout.exp: Remove noargs checking.
3166
7c16b83e
PA
31672014-10-15 Pedro Alves <palves@redhat.com>
3168
3169 PR breakpoints/9649
3170 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
3171 * gdb.base/breakpoint-in-ro-region.exp
3172 (probe_target_hardware_step): New procedure.
3173 (top level): Probe hardware stepping and hardware breakpoint
3174 support. Test stepping through a read-only region, with both
3175 "breakpoint auto-hw" on and off and both "always-inserted" on and
3176 off.
3177
35a49624
IB
31782014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
3179
3180 * gdb.dlang/demangle.exp: Update for demangling changes.
3181
2d1c107c
SC
31822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3183
3184 * gdb.cp/non-trivial-retval.cc: Add new test cases.
3185 * gdb.cp/non-trivial-retval.exp: Add new tests.
3186
778811d5
SC
31872014-10-15 Siva Chandra Reddy <sivachandra@google.com>
3188
3189 PR c++/13403
3190 PR c++/15154
3191 * gdb.cp/non-trivial-retval.cc: New file.
3192 * gdb.cp/non-trivial-retval.exp: New file.
3193
10c5f0a8
YQ
31942014-10-15 Yao Qi <yao@codesourcery.com>
3195
3196 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
3197 remote host.
3198
65d7b369
YQ
31992014-10-15 Yao Qi <yao@codesourcery.com>
3200
3201 * gdb.python/py-symbol.exp: Match file base name if host is
3202 remote, otherwise match file name with dir name.
3203 * gdb.python/py-symtab.exp: Likewise.
3204 * gdb.python/python.exp: Likewise.
3205
46dc1394
YQ
32062014-10-15 Yao Qi <yao@codesourcery.com>
3207
3208 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
3209 pattern.
3210 * gdb.python/py-symtab.exp: Likewise.
3211 * gdb.python/python.exp: Remove trailing ".*". Fix typo
3212 locationn.
3213
c40cc657
JB
32142014-10-14 Joel Brobecker <brobecker@adacore.com>
3215
3216 * gdb.ada/addr_arith: New testcase.
3217
2abf49e1
MR
32182014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
3219
3220 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
3221 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
3222 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
3223 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
3224
f7088df3
SDJ
32252014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
3226
3227 * gdb.arch/stap-eval-lang-ada.S: Likewise.
3228 * gdb.arch/stap-eval-lang-ada.c: Likewise.
3229 * gdb.arch/stap-eval-lang-ada.exp: New file.
3230
4dc06805
YQ
32312014-10-14 Yao Qi <yao@codesourcery.com>
3232
3233 * gdb.mi/mi-var-child.c (nothing1): New function.
3234 (nothing2): New function.
3235 (do_children_tests): Set function pointers by nothing1 and
3236 nothing2.
3237 * gdb.mi/mi-var-child.exp: Step over new added statements.
3238 Update test to match the new output.
3239 * gdb.mi/var-cmd.c (nothing1): New function.
3240 (nothing2): New function.
3241 (do_children_tests): Set function pointers by nothing1 and
3242 nothing2.
3243 * gdb.mi/mi-var-display.exp: Update test to match output.
3244 Step to the line specified by $line_dct_nothing.
3245 Increase the number of lines to step.
3246
46a93de2
YQ
32472014-10-14 Yao Qi <yao@codesourcery.com>
3248
3249 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
3250 tests.
3251 * gdb.mi/mi2-var-child.exp: Likewise.
3252
14ea52ee
DE
32532014-10-13 Doug Evans <dje@google.com>
3254
3255 * gdb.python/py-objfile.exp: Change name of file name test.
3256
e5c6e92b
DE
32572014-10-13 Doug Evans <dje@google.com>
3258
3259 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
3260 from the start of the CU.
3261
c780cc2f
JK
32622014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3263 Yao Qi <yao@codesourcery.com>
3264
3265 Fix "save breakpoints" for "catch" command.
3266 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
3267 Remove -nonewline. Match also the added "main" line.
3268
99894e11
JK
32692014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 Fix "save breakpoints" for "disable $bpnum" command.
3272 * gdb.base/save-bp.c (main): Add label.
3273 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
3274
6e1ac5a3
JK
32752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3276
3277 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
3278
754dd2b0
YQ
32792014-10-11 Yao Qi <yao@codesourcery.com>
3280
3281 * gdb.server/server-kill.exp: Execute command
3282 "set remote trace-status-packet on" before "tstatus".
3283
f90183d7
YQ
32842014-10-11 Yao Qi <yao@codesourcery.com>
3285
3286 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
3287 (main): Call getppid.
3288 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
3289 and continue to it. Read variable "server_pid".
3290
bf40a607
YQ
32912014-10-11 Yao Qi <yao@codesourcery.com>
3292
3293 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
3294
052ca370
YQ
32952014-10-11 Yao Qi <yao@codesourcery.com>
3296
3297 * gdb.threads/thread-find.exp: Don't execute command
3298 "info threads".
3299 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
3300 * gdb.threads/linux-dp.exp: Don't check the condition
3301 $threads_created equals to zero.
3302
3831839c
PA
33032014-10-10 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.base/bigcore.exp: Remove references to IRIX.
3306 * gdb.base/funcargs.exp: Likewise.
3307 * gdb.base/interrupt.exp: Likewise.
3308 * gdb.base/mips_pro.exp: Likewise.
3309 * gdb.base/nodebug.exp: Likewise.
3310 * gdb.base/setvar.exp: Likewise.
3311 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
3312
8b9a549d
PA
33132014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3314 Pedro Alves <palves@redhat.com>
3315
3316 PR symtab/14466
3317 * gdb.base/vdso-warning.c: New file.
3318 * gdb.base/vdso-warning.exp: New file.
3319
d48ba5e8
DE
33202014-10-02 Doug Evans <dje@google.com>
3321
3322 * gdb.base/structs.c (main): Don't run forever.
3323
2278c276
PA
33242014-10-02 Pedro Alves <palves@redhat.com>
3325
3326 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
3327 (top level) <stop threads 1, stop threads 2>: Use it.
3328
b57bacec
PA
33292014-10-02 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.threads/break-while-running.exp (test): Add new
3332 'update_thread_list' argument. Skip "info threads" if false.
3333 (top level): Add new 'update_thread_list' axis.
3334
13fd3ff3
PA
33352014-10-02 Pedro Alves <palves@redhat.com>
3336
3337 PR breakpoints/17431
3338 * gdb.base/execl-update-breakpoints.c: New file.
3339 * gdb.base/execl-update-breakpoints.exp: New file.
3340
0fec99e8
PA
33412014-10-01 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/breakpoint-in-ro-region.c: New file.
3344 * gdb.base/breakpoint-in-ro-region.exp: New file.
3345
2ddf4301
SM
33462014-10-01 Simon Marchi <simon.marchi@ericsson.com>
3347
3348 * gdb.mi/mi-exit-code.exp: New file.
3349 * gdb.mi/mi-exit-code.c: New file.
3350
6a5f3f43
YQ
33512014-09-30 Yao Qi <yao@codesourcery.com>
3352
3353 * lib/prelink-support.exp (build_executable_own_libs): Error if
3354 the target isn't native.
3355
345bcc73
YQ
33562014-09-30 Yao Qi <yao@codesourcery.com>
3357
3358 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
3359 false.
3360
a25a5a45
PA
33612014-09-22 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.threads/break-while-running.exp: New file.
3364 * gdb.threads/break-while-running.c: New file.
3365
00ba3162
YQ
33662014-09-19 Yao Qi <yao@codesourcery.com>
3367
3368 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
3369 Invoke test. Restart GDB with --readnow and invoke test again.
3370
c3b7b696
YQ
33712014-09-19 Yao Qi <yao@codesourcery.com>
3372
3373 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
3374 proc set_breakpoint_on_gcd_function. Invoke
3375 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
3376 invoke set_breakpoint_on_gcd_function again.
3377
2b4fd423
DE
33782014-09-18 Doug Evans <dje@google.com>
3379
3380 * gdb.dwarf2/symtab-producer.exp: New file.
3381
a5947601
SDJ
33822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3383
3384 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
3385 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
3386 * gdb.base/global-var-nested-by-dso.c: Likewise.
3387 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3388
91c19059
SDJ
33892014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
3390 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/watch-bitfields.exp: Pass string other than test file
3393 name to prepare_for_testing.
3394 (watch): New procedure.
3395 (expect_watchpoint): Use with_test_prefix.
3396 (top level): Factor out tests to ...
3397 (test_watch_location, test_regular_watch): ... these new
3398 procedures, and use with_test_prefix and gdb_continue_to_end.
3399
bb9d5f81
PP
34002014-09-16 Patrick Palka <patrick@parcs.ath.cx>
3401
3402 PR breakpoints/12526
3403 * gdb.base/watch-bitfields.exp: New file.
3404 * gdb.base/watch-bitfields.c: New file.
3405
635856f5
PA
34062014-09-16 Pedro Alves <palves@redhat.com>
3407
3408 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
3409 software and hardware addresses, not software address against
3410 itself.
3411
7280ceea
PA
34122014-09-16 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
3415 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
3416
428b16bd
PA
34172014-09-16 Pedro Alves <palves@redhat.com>
3418
3419 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
3420 files.
3421 * gdb.base/a2-run.exp: Remove all code guarded by istarget
3422 "*-*-vxworks*" throughout.
3423 * gdb.base/break.exp: Likewise.
3424 * gdb.base/default.exp: Likewise.
3425 * gdb.base/scope.exp: Likewise.
3426 * gdb.base/sepdebug.exp: Likewise.
3427 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
3428 throughout.
3429 * gdb.base/run.c: Likewise.
3430 * gdb.base/sepdebug.c: Likewise.
3431 * gdb.hp/gdb.aCC/run.c: Likewise.
3432 * gdb.reverse/until-reverse.c: Likewise.
3433 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
3434
666d413c
YQ
34352014-09-16 Yao Qi <yao@codesourcery.com>
3436
3437 * boards/local-remote-host-native.exp: New file.
3438
57cbd724
DE
34392014-09-14 Doug Evans <xdje42@gmail.com>
3440
3441 * gdb.threads/queue-signal.c (thread_count): New variable.
3442 (thread_count_mutex, thread_count_condvar): New variables.
3443 (incr_thread_count, wait_all_threads_running): New functions.
3444 (main): Wait for all threads to be in their thread functions.
3445
81219e53
DE
34462014-09-13 Doug Evans <xdje42@gmail.com>
3447
3448 * gdb.threads/queue-signal.c: New file.
3449 * gdb.threads/queue-signal.exp: New file.
3450
3714cea7
DE
34512014-09-13 Doug Evans <xdje42@gmail.com>
3452
3453 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
3454 be consistent with what default_gdb_init uses.
3455 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
3456 the plain text of the prompt. Add some logging printfs.
3457 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
3458
fa43b1d7
PA
34592014-09-12 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
3462 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
3463 * gdb.arch/i386-size-overlap.exp: Likewise.
3464 * gdb.arch/i386-size.exp: Likewise.
3465 * gdb.arch/i386-unwind.exp: Likewise.
3466 * gdb.base/a2-run.exp: Likewise.
3467 * gdb.base/break.exp: Likewise.
3468 * gdb.base/charset.exp: Likewise.
3469 * gdb.base/chng-syms.exp: Likewise.
3470 * gdb.base/commands.exp: Likewise.
3471 * gdb.base/dbx.exp: Likewise.
3472 * gdb.base/find.exp: Likewise.
3473 * gdb.base/funcargs.exp: Likewise.
3474 * gdb.base/jit-simple.exp: Likewise.
3475 * gdb.base/reread.exp: Likewise.
3476 * gdb.base/sepdebug.exp: Likewise.
3477 * gdb.base/step-bt.exp: Likewise.
3478 * gdb.cp/mb-inline.exp: Likewise.
3479 * gdb.cp/mb-templates.exp: Likewise.
3480 * gdb.objc/basicclass.exp: Likewise.
3481 * gdb.threads/killed.exp: Likewise.
3482
9d9bf2df
EBM
34832014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3484
3485 PR tdep/17379
3486 * gdb.arch/powerpc-stackless.S: New file.
3487 * gdb.arch/powerpc-stackless.exp: New file.
3488
1cf2f1b0
JK
34892014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.base/attach.c: Include unistd.h.
3492 (main): Call alarm. Add label postloop.
3493 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
3494 gdb_breakpoint, gdb_continue_to_breakpoint.
3495 (test_command_line_attach_run): Kill ${testpid} in one exit path.
3496
98880d46
PA
34972014-09-11 Pedro Alves <palves@redhat.com>
3498
3499 PR gdb/17347
3500 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
3501 * gdb.base/attach.exp (test_command_line_attach_run): New
3502 procedure.
3503 (top level): Call it.
3504
4c92ff2c
PA
35052014-09-11 Pedro Alves <palves@redhat.com>
3506
3507 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
3508 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
3509 (do_command_attach_tests): Use spawn_wait_for_attach.
3510 * gdb.base/solib-overlap.exp: Likewise.
3511 * gdb.multi/multi-attach.exp: Likewise.
3512 * gdb.python/py-prompt.exp: Likewise.
3513 * gdb.python/py-sync-interp.exp: Likewise.
3514 * gdb.server/ext-attach.exp: Likewise.
3515
3adc1a7d
GKB
35162014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
3517
3518 * gdb.fortran/array-element.exp: Remove unexpected "continue"
3519 command in testcase. Simplify testcase.
3520
96334934
JB
35212014-09-10 Joel Brobecker <brobecker@adacore.com>
3522
3523 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
3524
eb479039
JB
35252014-09-10 Joel Brobecker <brobecker@adacore.com>
3526
3527 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
3528
deede10c
JB
35292014-09-10 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
3532
7828a5f5
JB
35332014-09-10 Joel Brobecker <brobecker@adacore.com>
3534
3535 * gdb.dwarf2/dynarr-ptr.c: New file.
3536 * gdb.dwarf2/dynarr-ptr.exp: New file.
3537
33aeebcf
MR
35382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3539
3540 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
3541 of 30 rather than hardcoding 120 for a slow test case. Take the
3542 `gdb,timeout' target setting into account for this calculation.
3543 Don't extend the timeout for the test cases that don't need it.
3544
7b415901
MR
35452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3546
3547 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
3548 a factor of 2 for a slow test case. Take the `gdb,timeout'
3549 target setting into account for this calculation.
3550 * gdb.reverse/until-precsave.exp: Increase the timeout by
3551 a factor of 15 and 3 respectively rather than adding 120
3552 for a pair of slow test cases. Take the `gdb,timeout'
3553 target setting into account for this calculation.
3554
4a40f85a
MR
35552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3556
3557 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
3558 timeout, don't pass one down to gdb_expect.
3559 (gdb_expect): Rework timeout selection.
3560
09635af7
MR
35612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3562
3563 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
3564 exception on timeout.
3565 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
3566 (gdbserver_start_extended): Catch any `gdbserver_start' error
3567 exceptions.
3568 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
3569 * lib/mi-support.exp (mi_gdb_target_load): Catch any
3570 `gdbserver_gdb_load' error exceptions.
3571
2bdd10b7
MR
35722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3573
3574 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
3575 120 on waiting for the TCP socket to open.
3576
316935f0
DE
35772014-09-09 Doug Evans <xdje42@gmail.com>
3578
3579 * gdb.base/default.exp (show_conv_list): Add _caller_is,
3580 _caller_matches, _any_caller_is, _any_caller_matches.
3581
83740597
DE
35822014-09-09 Doug Evans <xdje42@gmail.com>
3583
3584 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
3585
4c122fc3
YQ
35862014-09-09 Yao Qi <yao@codesourcery.com>
3587
3588 * gdb.mi/mi-var-display.exp: Set print symbol off.
3589
a9f116cb
GKB
35902014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3591
3592 PR gdb/17035
3593 * gdb.base/commands.exp: Add tests to verify user-defined
3594 commands with empty bodies.
3595 * gdb.python/py-cmd.exp: Test that we don't show user-defined
3596 python commands in `show user command`.
3597 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3598 scheme commands in `show user command`.
3599
c75bd3a2
JK
36002014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3601
3602 PR python/17355
3603 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3604 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3605 * gdb.python/py-framefilter-invalidarg.exp: New file.
3606 * gdb.python/py-framefilter-invalidarg.py: New file.
3607
faa42425
DE
36082014-09-06 Doug Evans <xdje42@gmail.com>
3609
3610 PR 15276
3611 * gdb.python/py-caller-is.c: New file.
3612 * gdb.python/py-caller-is.exp: New file.
3613
474ca4f6
SDJ
36142014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3615
3616 PR gdb/17235
3617 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3618 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3619
eb0b0463
SDJ
36202014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3621
3622 PR fortran/17237
3623 * gdb.fortran/print-formatted.exp: New file.
3624 * gdb.fortran/print-formatted.f90: Likewise.
3625
5f3b99cf
SS
36262014-09-03 Sasha Smundak <asmundak@google.com>
3627
3628 * gdb.python/py-frame.exp: Test Frame.read_register.
3629
7d793aa9
SDJ
36302014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3631
3632 PR python/16699
3633 * gdb.python/py-completion.exp: New file.
3634 * gdb.python/py-completion.py: Likewise.
3635
fb0576e9
DE
36362014-08-28 Doug Evans <dje@google.com>
3637
3638 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3639 eax,etc. are live with values set by gdb and thus the compiler can't
3640 use them.
3641 * gdb.arch/i386-pseudo.c (main): Ditto.
3642
ee92b0dd
DE
36432014-08-27 Doug Evans <dje@google.com>
3644
3645 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3646
6649db35
DE
36472014-08-25 Doug Evans <dje@google.com>
3648
3649 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3650 (main): Ditto.
3651
564b7600
DE
36522014-08-25 Doug Evans <dje@google.com>
3653
3654 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3655
3881fb67
YQ
36562014-08-24 Yao Qi <yao@codesourcery.com>
3657
3658 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3659 symbol off.
3660 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3661
a05a36a5
DE
36622014-08-22 Doug Evans <dje@google.com>
3663
3664 PR 17276
3665 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3666 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3667 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3668
7c343b48
YQ
36692014-08-22 Yao Qi <yao@codesourcery.com>
3670
3671 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3672 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3673 * gdb.python/python.exp: Likewise. Use .py file on the host
3674 instead of the build.
3675
22fd09ae
JK
36762014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 * gdb.threads/gcore-stale-thread.c: New file.
3679 * gdb.threads/gcore-stale-thread.exp: New file.
3680
a8454a7c
PA
36812014-08-21 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3684 * gdb.base/gcore-relro-pie.exp: Likewise.
3685 * gdb.base/gcore-relro.exp: Likewise.
3686 * gdb.base/gcore.exp: Likewise.
3687 * gdb.base/print-symbol-loading.exp: Likewise.
3688 * gdb.threads/gcore-thread.exp: Likewise.
3689 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3690
2a31c623
PA
36912014-08-20 Pedro Alves <palves@redhat.com>
3692 Jan Kratochvil <jan.kratochvil@redhat.com>
3693
3694 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3695 configure.
3696 (EXPECT): Handle READ1 being set.
3697 (all): Depend on EXTRA_RULES.
3698 (check-read1, expect-read1, read1.so, read1): New rules.
3699 * README (Testsuite Parameters): Document the READ1 make variable.
3700 (Race detection): New section.
3701 * configure: Regenerate.
3702 * configure.ac: If build==host==target, and running under a
3703 GNU/glibc system, add read1 to the extra Makefile rules.
3704 (EXTRA_RULES): AC_SUBST it.
3705 * lib/read1.c: New file.
3706
d36430db
JB
37072014-08-20 Joel Brobecker <brobecker@adacore.com>
3708
3709 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3710 the handling of variables declared as a typedef to an array
3711 which a DW_AT_data_location attribute.
3712
9a0dc9e3
PA
37132014-08-19 Andrew Burgess <aburgess@broadcom.com>
3714 Pedro Alves <palves@redhat.com>
3715
3716 PR symtab/14604
3717 PR symtab/14605
3718 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3719 gdb_test.
3720
0718a8da
PA
37212014-08-19 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3724
13b448cd
YQ
37252014-08-19 Yao Qi <yao@codesourcery.com>
3726
3727 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3728 right line.
3729
1cbf5077
DB
37302014-08-18 David Blaikie <dblaikie@gmail.com>
3731
3732 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3733
bf0fae19
JB
37342014-08-18 Joel Brobecker <brobecker@adacore.com>
3735
3736 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3737 attribute in array range.
3738
3c8c5dcc
JB
37392014-08-18 Joel Brobecker <brobecker@adacore.com>
3740
3741 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3742
e66d4446
SC
37432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3744
3745 PR c++/17132
3746 * gdb.cp/pr17132.cc: New file.
3747 * gdb.cp/pr17132.exp: New file.
3748
940df408
SC
37492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3750
3751 * gdb.python/py-xmethods.py (A_getarrayind)
3752 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3753 Use 'print' with function call syntax.
3754 (E_method_matcher.match): Fix tab vs space indentation mixup.
3755
ebcc6c3a
YQ
37562014-08-15 Yao Qi <yao@codesourcery.com>
3757
3758 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3759 false.
3760
775e0f04
YQ
37612014-08-15 Yao Qi <yao@codesourcery.com>
3762
3763 * gdb.cp/casts.exp: Set print symbol off.
3764 * gdb.cp/class2.exp: Likewise.
3765 * gdb.cp/overload.exp: Likewise.
3766 * gdb.cp/templates.exp: Likewise.
3767
d769e349
DE
37682014-08-11 Doug Evans <dje@google.com>
3769
3770 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3771 (test_load_shlib): Update.
3772
20c6f1e1
YQ
37732014-08-09 Yao Qi <yao@codesourcery.com>
3774
3775 * gdb.base/display.exp: Invoke is_address_zero_readable.
3776 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3777 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3778 * gdb.base/hbreak-unmapped.exp: Return if
3779 is_address_zero_readable returns true.
3780 * gdb.base/signest.exp: Likewise.
3781 * gdb.base/signull.exp: Likewise.
3782 * gdb.base/sigbpt.exp: Likewise.
3783 * gdb.guile/scm-disasm.exp: Do the test if
3784 is_address_zero_readable returns false.
3785 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3786 * gdb.python/py-arch.exp: Likewise.
3787 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3788 * lib/gdb.exp (is_address_zero_readable): New proc.
3789
5792e8e3
YQ
37902014-08-09 Yao Qi <yao@codesourcery.com>
3791
3792 PR testsuite/13443
3793 * gdb.mi/mi-var-display.exp: Make test messages unique.
3794
3cecbbbe
TT
37952014-08-04 Tom Tromey <tromey@redhat.com>
3796
3797 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3798 target 0".
3799
00b51ff5
TT
38002014-08-04 Tom Tromey <tromey@redhat.com>
3801
3802 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3803 "target_resume".
3804
6908c509
JB
38052014-08-01 Joel Brobecker <brobecker@adacore.com>
3806
3807 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3808 inner_vla_struct_object_size.
3809 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3810 as xfail.
3811
cc6563d2
PA
38122014-07-30 Pedro Alves <palves@redhat.com>
3813
3814 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3815 comment.
3816
7e09a223
YQ
38172014-07-29 Yao Qi <yao@codesourcery.com>
3818
3819 PR gdb/17206
3820 * gdb.base/until-nodebug.exp: New.
3821
7ebdbe92
DE
38222014-07-28 Doug Evans <xdje42@gmail.com>
3823
3824 PR guile/17203
3825 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3826 previously existing parameter, and previously ambiguously spelled
3827 parameter.
3828
fdb1adc6
WN
38292014-07-28 Will Newton <will.newton@linaro.org>
3830
3831 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3832
186fcde0
DE
38332014-07-26 Ludovic Courtès <ludo@gnu.org>
3834 Doug Evans <xdje42@gmail.com>
3835
3836 PR guile/17146
3837 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3838
70509625
PA
38392014-07-25 Pedro Alves <palves@redhat.com>
3840
3841 * gdb.threads/signal-command-handle-nopass.c: New file.
3842 * gdb.threads/signal-command-handle-nopass.exp: New file.
3843 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3844 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3845 * gdb.threads/signal-delivered-right-thread.c: New file.
3846 * gdb.threads/signal-delivered-right-thread.exp: New file.
3847
c3f814a1
PA
38482014-07-25 Pedro Alves <palves@redhat.com>
3849
3850 * gdb.base/double-prompt-target-event-error.exp
3851 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3852 match.
3853 (cancel_pagination_in_target_event): Rework double prompt
3854 detection.
3855 * gdb.base/paginate-after-ctrl-c-running.exp
3856 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3857 <return>' match.
3858 * gdb.base/paginate-bg-execution.exp
3859 (test_bg_execution_pagination_return)
3860 (test_bg_execution_pagination_cancel): Remove '-notransfer
3861 <return>' matches.
3862 * gdb.base/paginate-execution-startup.exp
3863 (test_fg_execution_pagination_return)
3864 (test_fg_execution_pagination_cancel): Remove '-notransfer
3865 <return>' matches.
3866 * gdb.base/paginate-inferior-exit.exp
3867 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3868 match.
3869 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3870 * lib/gdb.exp (pagination_prompt): Run text through
3871 string_to_regexp.
3872 (gdb_test_multiple): Match $pagination_prompt instead of
3873 "<return>".
3874 (string_to_regexp): Move to lib/gdb-utils.exp.
3875
e214cf6c
JK
38762014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 * gdb.arch/amd64-entry-value-paramref.S: New file.
3879 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3880 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3881 * gdb.arch/amd64-optimout-repeat.S: New file.
3882 * gdb.arch/amd64-optimout-repeat.c: New file.
3883 * gdb.arch/amd64-optimout-repeat.exp: New file.
3884
17d0c5c8
JK
38852014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 PR gdb/17170
3888 * gdb.base/statistics.exp: New file.
3889
b8b8facf
DE
38902014-07-17 Doug Evans <dje@google.com>
3891
74b49205 3892 PR gdb/17170
b8b8facf
DE
3893 * gdb.base/maint.exp: Update testing of per-command stats.
3894
1b5d0ab3
PA
38952014-07-16 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3898 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3899 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3900 (tfile_write_buf): New functions.
3901 (add_memory_block): Rewrite using the above.
3902 (adjust_function_address): New function.
3903 (FUNCTION_ADDRESS): New macro.
3904 (write_basic_trace_file): Remove short_x local, and use
3905 tfile_write_16. Change type of func_addr local to unsigned long
3906 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3907 here. Cast argument of add_memory_block to char pointer.
3908 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3909 (main): Remove parameters.
3910 * gdb.trace/tfile.exp: Remove nowarnings.
3911
4d974e88
SM
39122014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3913
3914 * gdb.base/debug-expr.exp: Test string evaluation with
3915 "debug expression" on.
3916
41e99568
PA
39172014-07-15 Pedro Alves <palves@redhat.com>
3918
3919 * gdb.base/reread.exp: Use clean_restart.
3920
487d9753
PL
39212014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3922
3923 * gdb.arch/avr-flash-qualifer.c: New.
3924 * gdb.arch/avr-flash-qualifer.exp: New.
3925
cc1c52ad
PA
39262014-07-14 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3929 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3930
1e973570
PA
39312014-07-14 Pedro Alves <palves@redhat.com>
3932
3933 * gdb.base/double-prompt-target-event-error.c: New file.
3934 * gdb.base/double-prompt-target-event-error.exp: New file.
3935
93d6eb10
PA
39362014-07-14 Pedro Alves <palves@redhat.com>
3937
3938 PR gdb/17072
3939 * gdb.base/paginate-inferior-exit.c: New file.
3940 * gdb.base/paginate-inferior-exit.exp: New file.
3941
0017922d
PA
39422014-07-14 Pedro Alves <palves@redhat.com>
3943
3944 PR gdb/17072
3945 * gdb.base/paginate-bg-execution.c: New file.
3946 * gdb.base/paginate-bg-execution.exp: New file.
3947
94696ad3
PA
39482014-07-14 Pedro Alves <palves@redhat.com>
3949
3950 PR gdb/17072
3951 * gdb.base/paginate-execution-startup.c: New file.
3952 * gdb.base/paginate-execution-startup.exp: New file.
3953 * lib/gdb.exp (pagination_prompt): New global.
3954 (default_gdb_spawn): New procedure, factored out from
3955 default_gdb_spawn.
3956 (default_gdb_start): Adjust to call default_gdb_spawn.
3957 (gdb_spawn): New procedure.
3958
bd293940
PA
39592014-07-14 Pedro Alves <palves@redhat.com>
3960
3961 * lib/gdb.exp (gdb_assert): New procedure.
3962 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3963
c933f875
PA
39642014-07-14 Pedro Alves <palves@redhat.com>
3965
3966 * gdb.base/execution-termios.c: New file.
3967 * gdb.base/execution-termios.exp: New file.
3968
d98b7a16
TT
39692014-07-14 Tom Tromey <tromey@redhat.com>
3970
3971 * gdb.cp/vla-cxx.cc: New file.
3972 * gdb.cp/vla-cxx.exp: New file.
3973
548740d6
TT
39742014-07-14 Tom Tromey <tromey@redhat.com>
3975
3976 * gdb.reverse/rerun-prec.c: New file.
3977 * gdb.reverse/rerun-prec.exp: New file.
3978
a25eb028
MR
39792014-07-12 Maciej W. Rozycki <macro@mips.com>
3980 Maciej W. Rozycki <macro@codesourcery.com>
3981
3982 * lib/gdb-utils.exp: New file.
3983 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3984 inline `gdb_init_command' processing.
3985 (gdb_start_cmd): Likewise.
3986 * lib/mi-support.exp (mi_run_cmd): Likewise.
3987 * README: Document `gdb_init_command' and `gdb_init_commands'.
3988
218c2655
JK
39892014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 Fix false FAIL running under a very long directory name.
3992 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3993 and "set print elements 10000". Twice.
3994
5401fde3
YQ
39952014-07-11 Yao Qi <yao@codesourcery.com>
3996
3997 * gdb.base/exprs.exp: "set print symbol off".
3998
e76126e8
PA
39992014-07-11 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.threads/kill.c: New file.
4002 * gdb.threads/kill.exp: New file.
4003
2d6f0de6
YQ
40042014-07-10 Yao Qi <yao@codesourcery.com>
4005
4006 * gdb.trace/tfile.c (write_basic_trace_file)
4007 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
4008 address written to trace file.
4009
7180e04a
PA
40102014-07-09 Pedro Alves <palves@redhat.com>
4011
4012 * gdb.base/attach-wait-input.exp: New file.
4013 * gdb.base/attach-wait-input.c: New file.
4014
9a9a7608
AB
40152014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4016
4017 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
4018 setting up test structures.
4019 (main): Call new test function.
4020 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
4021 test function, continue into test function and walk test
4022 structures.
4023
161ac41e
YQ
40242014-07-02 Yao Qi <yao@codesourcery.com>
4025
4026 * gdb.trace/entry-values.c: Define labels 'foo_start' and
4027 'bar_start' at the beginning of functions 'foo' and 'bar'
4028 respectively.
4029 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
4030 instead of 'foo' and 'bar'.
4031
1f267ae3
MM
40322014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4033
4034 * gdb.btrace/segv.exp: New.
4035 * gdb.btrace/segv.c: New.
4036
2b239efb
LM
40372014-07-02 Luis Machado <lgustavo@codesourcery.com>
4038
4039 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
4040 instruction.
4041
cf363f18
MW
40422014-06-30 Mark Wielaard <mjw@redhat.com>
4043
4044 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
4045 vulture, vilify, villar): New volatile array constants.
4046 (vindictive, vegetation): New const volatile array constants.
4047 * gdb.base/volatile.exp: Test volatile and const volatile array
4048 types.
4049
aebf9d24
AA
40502014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4051
4052 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
4053 target lacks support for awatch, rwatch, or hbreak.
4054
b67a2c6f
YQ
40552014-06-27 Yao Qi <yao@codesourcery.com>
4056
4057 * gdb.multi/dummy-frame-restore.exp: New.
4058 * gdb.multi/dummy-frame-restore.c: New.
4059
aef92902
MM
40602014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4061
4062 * gdb.btrace/gcore.exp: New.
4063
8e9db26e
PA
40642014-06-23 Pedro Alves <palves@redhat.com>
4065
4066 * gdb.base/watchpoint-reuse-slot.c: New file.
4067 * gdb.base/watchpoint-reuse-slot.exp: New file.
4068
70afc5b7
SC
40692014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4070
4071 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
4072 progspace's filename in 'info', 'enable' and 'disable' command
4073 tests.
4074
b972bd9c
JK
40752014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
4078 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4079 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
4080
125f8a3d
GB
40812014-06-20 Gary Benson <gbenson@redhat.com>
4082
4083 * gdb.arch/i386-avx.exp: Fix include file location.
4084 * gdb.arch/i386-sse.exp: Likewise.
4085
3ed9baed
IB
40862014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4087
4088 * gdb.dlang/expression.exp: New file.
4089
034f788c
PA
40902014-06-19 Pedro Alves <palves@redhat.com>
4091
4092 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
4093 out from ...
4094 (top level): ... here. Iterate running tests under different
4095 scheduler-locking settings.
4096
45371d0c
LM
40972014-06-18 Luis Machado <lgustavo@codesourcery.com>
4098
4099 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
4100 to DW_FORM_addr and use non-zero addresses.
4101
5d376983
SC
41022014-06-18 Siva Chandra Reddy <sivachandra@google.com>
4103
4104 PR gdb/17017
4105 * gdb.python/py-xmethods.cc: Add global function call counters and
4106 increment them in their respective functions. Remove "cout"
4107 statements.
4108 * gdb.python/py-xmethods.exp: Make tests check the global function
4109 call counters instead of depending on inferior IO.
4110
a1aa2221
LM
41112014-06-18 Don Breazeal <donb@codesourcery.com>
4112
4113 * gdb.base/foll-fork.exp (default_fork_parent_follow):
4114 Deleted procedure.
4115 (explicit_fork_parent_follow): Deleted procedure.
4116 (explicit_fork_child_follow): Deleted procedure.
4117 (test_follow_fork): New procedure.
4118 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 4119 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
4120 procedure calls.
4121
0fc05997
YQ
41222014-06-17 Yao Qi <yao@codesourcery.com>
4123
4124 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
4125 CP1252.
4126
70795c52
LM
41272014-06-17 Luis Machado <lgustavo@codesourcery.com>
4128
4129 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
4130 Initialize ptr and S explicitly.
4131 (skip_type_update_when_not_use_rtti_test): Likewise.
4132
6be47f0c
KS
41332014-06-16 Keith Seitz <keiths@redhat.com>
4134
4135 PR mi/15863
4136 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
4137 the inferior is started.
4138
d03de421
PA
41392014-06-16 Pedro Alves <palves@redhat.com>
4140
4141 * gdb.base/break-main-file-remove-fail.c: New file.
4142 * gdb.base/break-main-file-remove-fail.exp: New file.
4143 * gdb.base/break-unload-file.exp: Use build_executable instead of
4144 prepare_for_testing.
4145 (test_break): New parameter "initial_load". Handle it.
4146 (top level): Add initial_load cmdline/file axis.
4147
f9579b99
TT
41482014-06-12 Tom Tromey <tromey@redhat.com>
4149
4150 * gdb.base/completion.exp: Don't use directory name in test.
4151
3657956b
GB
41522014-06-09 Gary Benson <gbenson@redhat.com>
4153
4154 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4155 separate the always-available ANSI-standard signals from the
4156 signals that require checking.
4157 (main): Likewise.
4158 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
4159 Likewise.
4160 (main): Likewise.
4161
4186eb54
KS
41622014-06-07 Keith Seitz <keiths@redhat.com>
4163
4164 Revert:
4165 PR c++/16253
4166 * gdb.cp/var-tag.cc: New file.
4167 * gdb.cp/var-tag.exp: New file.
4168 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4169 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4170 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4171 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4172
25326a28 41732014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
4174
4175 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
4176
829155c9
PA
41772014-06-06 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4180 in target debug output instead of looking at RSP packets,
4181 disabling the test on any target that uses hardware stepping.
4182 Update comments.
4183
61c8d22e
PA
41842014-06-06 Pedro Alves <palves@redhat.com>
4185
4186 * gdb.base/break-unload-file.exp: Fix typo.
4187
d9a47287
YQ
41882014-06-06 Yao Qi <yao@codesourcery.com>
4189
4190 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
4191 from "jit_function" to "^jit_function".
4192
e5e01dbf
YQ
41932014-06-06 Yao Qi <yao@codesourcery.com>
4194
4195 * gdb.base/async.c (foo): Add one statement.
4196 * gdb.base/async.exp: Get the next instruction address and
4197 match the output of "nexti" by instruction address. Match
4198 the hex address in the output of "finish".
4199
73ba372c
GB
42002014-06-06 Gary Benson <gbenson@redhat.com>
4201
4202 * gdb.base/call-signals.c: Remove preprocessor conditionals
4203 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4204 SIGSEGV and SIGTERM.
4205 * gdb.base/sigall.c: Likewise.
4206 * gdb.base/unwindonsignal.c: Likewise.
4207 * gdb.reverse/sigall-reverse.c: Likewise.
4208
831517df
YQ
42092014-06-06 Yao Qi <yao@codesourcery.com>
4210
4211 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4212 readable, skip the test.
4213
b8b91e98
YQ
42142014-06-06 Yao Qi <yao@codesourcery.com>
4215
4216 * gdb.threads/staticthreads.c (thread_function): Move the line
4217 setting breakpoint on forward.
4218 * gdb.threads/staticthreads.exp: Update comments.
4219
fb934770
LC
42202014-06-05 Ludovic Courtès <ludo@gnu.org>
4221
4222 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
4223 "history-append! type error".
4224
6ef284bd
SM
42252014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4226
4227 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
4228 erroneous dprintf expected input.
4229
a872e241
DE
42302014-06-04 Doug Evans <xdje42@gmail.com>
4231
4232 * gdb.guile/scm-generics.exp: Delete.
4233
16f691fb
DE
42342014-06-04 Doug Evans <xdje42@gmail.com>
4235
4236 * gdb.guile/scm-breakpoint.exp: Update.
4237 Add tests for breakpoint registration.
4238
012370f6
TT
42392014-06-04 Tom Tromey <tromey@redhat.com>
4240
4241 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
4242 VLA-in-union.
4243 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
4244 inner_vla_struct, vla_union types. Initialize objects of those
4245 types and compute their sizes.
4246
9f5a4cef
HZ
42472014-06-04 Nathan Sidwell <nathan@codesourcery.com>
4248 Hui Zhu <hui@codesourcery.com>
4249
4250 * gdb.base/fileio.exp: Add test for shell not available as well as
4251 available.
4252 * gdb.base/fileio.c (test_system): Check for shell twice.
4253
90a45c4d
YQ
42542014-06-04 Yao Qi <yao@codesourcery.com>
4255
4256 * gdb.base/auto-connect-native-target.exp: Remove redundant
4257 space from the regexp pattern.
4258
70017e41
YQ
42592014-06-04 Yao Qi <yao@codesourcery.com>
4260
4261 * gdb.base/default.exp: Replace "child" with "native" in
4262 regexp pattern.
4263
883964a7
SC
42642014-06-03 Siva Chandra Reddy <sivachandra@google.com>
4265
4266 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
4267 * gdb.python/py-xmethods.exp: New tests to test xmethods.
4268 * gdb.python/py-xmethods.py: Python script supporting the
4269 new testcase and tests.
4270
ef370185
JB
42712014-06-03 Joel Brobecker <brobecker@adacore.com>
4272 Pedro Alves <palves@redhat.com>
4273
4274 PR breakpoints/17000
4275 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
4276 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
4277
1e2ccb61
BM
42782014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
4279
4280 * gdb.base/subst.exp: Add tests to verify partial path matching
4281 output.
4282
c6ec5ab2
PA
42832014-06-03 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
4286 target that doesn't use software single-stepping.
4287
835c559f
PA
42882014-06-03 Pedro Alves <palves@redhat.com>
4289
4290 PR breakpoints/17000
4291 * gdb.base/sss-bp-on-user-bp-2.c: New file.
4292 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
4293
06eb1586
DE
42942014-06-02 Doug Evans <xdje42@gmail.com>
4295
4296 * gdb.guile/scm-parameter.exp: New file.
4297
e698b8c4
DE
42982014-06-02 Doug Evans <xdje42@gmail.com>
4299
4300 * gdb.guile/scm-cmd.c: New file.
4301 * gdb.guile/scm-cmd.exp: New file.
4302
ded03782
DE
43032014-06-02 Doug Evans <xdje42@gmail.com>
4304
4305 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
4306 pretty-printer lookup.
4307 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
4308 (make-pp_s-printer): Call it.
4309 (make-pretty-printer-from-dict): New function.
4310 (lookup-pretty-printer-maker-from-dict): New function.
4311 (*pretty-printer*): Simplify.
4312 (make-objfile-pp_s-printer): New function.
4313 (install-objfile-pretty-printers!): New function.
4314 (make-progspace-pp_s-printer): New function.
4315 (install-progspace-pretty-printers!): New function.
4316 * gdb.guile/scm-progspace.c: New file.
4317 * gdb.guile/scm-progspace.exp: New file.
4318
41fac0cf
PA
43192014-06-02 Pedro Alves <palves@redhat.com>
4320
4321 * gdb.base/dprintf-bp-same-addr.c: New file.
4322 * gdb.base/dprintf-bp-same-addr.exp: New file.
4323
96ae5695
EBM
43242014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4325
4326 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
4327 * gdb.arch/powerpc-power.s: Likewise.
4328
da02b3a8
JB
43292014-06-02 Joel Brobecker <brobecker@adacore.com>
4330
4331 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
4332
c72b2e7b
YQ
43332014-06-01 Yao Qi <yao@codesourcery.com>
4334
4335 * gdb.base/watchpoint.exp (test_watch_location): Check null
4336 pointer can be dereferenced. If not, do the test, otherwise
4337 skip it.
4338
53e8a631
AB
43392014-05-30 Andrew Burgess <aburgess@broadcom.com>
4340
4341 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4342 results.
4343 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
4344
938f0e2f
AB
43452014-05-30 Andrew Burgess <aburgess@broadcom.com>
4346
4347 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4348 * gdb.arch/amd64-invalid-stack-middle.c: New file.
4349 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
4350 * gdb.arch/amd64-invalid-stack-top.c: New file.
4351 * gdb.arch/amd64-invalid-stack-top.exp: New file.
4352
9ba6657a
PA
43532014-05-30 Pedro Alves <palves@redhat.com>
4354
4355 PR breakpoints/17000
4356 * gdb.base/sss-bp-on-user-bp.c: New file.
4357 * gdb.base/sss-bp-on-user-bp.exp: New file.
4358
522c09bf
DB
43592014-05-30 David Blaikie <dblaikie@gmail.com>
4360
4361 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4362 gnu_inline semantics via attribute.
4363 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
4364 source explicitly specifies the required semantics.
4365
bf4ef81e
MR
43662014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
4367
4368 * gdb.reverse/sigall-reverse.exp: Fix a typo.
4369
329ea579
PA
43702014-05-29 Pedro Alves <palves@redhat.com>
4371 Tom Tromey <tromey@redhat.com>
4372
4373 * gdb.base/async-shell.exp: Don't enable target-async.
4374 * gdb.base/async.exp
4375 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
4376 parameter. Adjust.
4377 (top level): Don't test with "target-async".
4378 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
4379 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
4380 * gdb.base/inferior-died.exp: Don't enable target-async.
4381 * gdb.base/interrupt-noterm.exp: Likewise.
4382 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
4383 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4384 * gdb.mi/mi-nonstop.exp: Likewise.
4385 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4386 * gdb.mi/mi-nsintrall.exp: Likewise.
4387 * gdb.mi/mi-nsmoribund.exp: Likewise.
4388 * gdb.mi/mi-nsthrexec.exp: Likewise.
4389 * gdb.mi/mi-watch-nonstop.exp: Likewise.
4390 * gdb.multi/watchpoint-multi.exp: Adjust comment.
4391 * gdb.python/py-evsignal.exp: Don't enable target-async.
4392 * gdb.python/py-evthreads.exp: Likewise.
4393 * gdb.python/py-prompt.exp: Likewise.
4394 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
4395 * gdb.server/solib-list.exp: Don't enable target-async.
4396 * gdb.threads/thread-specific-bp.exp: Likewise.
4397 * lib/mi-support.exp: Adjust to use mi-async.
4398
fd664c91
PA
43992014-05-29 Pedro Alves <palves@redhat.com>
4400
4401 PR gdb/13860
4402 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
4403 reason, even in sync mode.
4404
251bde03
PA
44052014-05-29 Pedro Alves <palves@redhat.com>
4406 Hui Zhu <hui@codesourcery.com>
4407
4408 PR PR15693
4409 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
4410 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
4411 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
4412 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
4413
7f3c0343
JB
44142014-05-28 Joel Brobecker <brobecker@adacore.com>
4415
4416 * config/monitor.exp (gdb_target_monitor): Replace use of
4417 "set remotebaud" by "set serial baud".
4418
b2715b27
AW
44192014-05-26 Andy Wingo <wingo@igalia.com>
4420
4421 * gdb.guile/scm-breakpoint.exp:
4422 * gdb.guile/scm-gsmob.exp: Update to use plain old object
4423 properties instead of gdb-object-properties.
4424
498a4489
YQ
44252014-05-26 Yao Qi <yao@codesourcery.com>
4426
4427 * gdb.server/no-thread-db.exp: Specify source file name
4428 explicitly when setting a breakpoint.
4429
589fdceb
MM
44302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4431
4432 * gdb.btrace/vdso.c: New.
4433 * gdb.btrace/vdso.exp: New.
4434
e9089e05
MM
44352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4436
4437 * gdb.base/gcore.exp (capture_command_output): Move ...
4438 * lib/gdb.exp (capture_command_output): ... here.
4439
67b5c0c1
MM
44402014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4441
4442 * gdb.btrace/data.exp: Test memory access during btrace replay.
4443
a2199296
SM
44442014-05-22 Simon Marchi <simon.marchi@ericsson.com>
4445
4446 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
4447
17b2616c
PA
44482014-05-21 Pedro Alves <palves@redhat.com>
4449
4450 PR gdb/13860
4451 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
4452 (top level): Test that output related to execution commands is
4453 sent to the console with CLI commands, but not with MI commands.
4454 Test that breakpoint events are always mirrored to the console.
4455 Also expect the new source line to be output after a "next" in
4456 async mode too. Make it a pass/fail test.
4457 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
4458 output.
4459 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
4460
5166082f
PA
44612014-05-21 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/list.exp (build_pattern, test_list): New procedures.
4464 Use them to test variations of "list" after reaching a breakpoint.
4465 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
4466 Test "list" with listsize 10 after reaching a breakpoint.
4467 * gdb.python/python.exp (decode_line current location line
4468 number): Adjust expected line number.
4469
2f25d70f
SM
44702014-05-21 Simon Marchi <simon.marchi@ericsson.com>
4471
4472 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
4473 behavior for $args, pass it directly to "run".
4474
ff604a67
MR
44752014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4476
4477 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
4478 30000 to 65536.
4479
6a3cb8e8
PA
44802014-05-21 Pedro Alves <palves@redhat.com>
4481
4482 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
4483 auto-connect-native-target off".
4484 * gdb.base/auto-connect-native-target.c: New file.
4485 * gdb.base/auto-connect-native-target.exp: New file.
4486
4ebfc96e
PA
44872014-05-21 Pedro Alves <palves@redhat.com>
4488
4489 * gdb.base/default.exp: Test "target native" instead of "target
4490 child".
4491
36d46afb
MW
44922014-05-21 Mark Wielaard <mjw@redhat.com>
4493
4494 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
4495
5876f503
JK
44962014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 Fix TLS access for -static -pthread.
4499 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
4500 <HAVE_TLS> (thread_function, main): Initialize it.
4501 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
4502 Add clean_restart.
4503 <$have_tls != "">: Check TLSVAR.
4504
0256a6ac
PA
45052014-05-21 Pedro Alves <palves@redhat.com>
4506
4507 * gdb.base/dcache-line-read-error.c: New.
4508 * gdb.base/dcache-line-read-error.exp: New.
4509
936d2992
PA
45102014-05-20 Pedro Alves <palves@redhat.com>
4511
4512 * gdb.base/compare-sections.c: New file.
4513 * gdb.base/compare-sections.exp: New file.
4514
802e8e6d
PA
45152014-05-20 Pedro Alves <palves@redhat.com>
4516
4517 * gdb.base/break-idempotent.c: New file.
4518 * gdb.base/break-idempotent.exp: New file.
4519
e59fa00f
MM
45202014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4521
4522 * gdb.btrace/nohist.exp: New.
4523
8b696e31
YQ
45242014-05-20 Yao Qi <yao@codesourcery.com>
4525
4526 * lib/gdb.exp (gdb_init): Set timeout if test file is under
4527 gdb.reverse directory and gdb_reverse_timeout exists in board
4528 setting.
4529 * README: Document gdb_reverse_timeout.
4530
73c9764f
YQ
45312014-05-20 Yao Qi <yao@codesourcery.com>
4532
4533 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
4534 'test_file_name'. Treat args as a string instead of a list.
4535 (gdb_init): Rename argument 'args' by 'test_file_name'.
4536
f1f4348a
JK
45372014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 * gdb.arch/powerpc-power.exp: New file.
4540 * gdb.arch/powerpc-power.s: New file.
4541
0dbe70ce
DE
45422014-05-16 Doug Evans <dje@google.com>
4543
4544 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
4545 * gdb.base/completion.exp: Check that all expected files exist
4546 before doing file completion.
0dbe70ce 4547
8d551b02
DE
45482014-05-16 Doug Evans <dje@google.com>
4549
4550 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
4551 Update.
4552 (do_syscall_tests_without_xml): Update.
4553
73eb7709
PA
45542014-05-16 Pedro Alves <palves@redhat.com>
4555
4556 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
4557 instead of "unknown output after running".
4558
3fae92fc
YQ
45592014-05-16 Yao Qi <yao@codesourcery.com>
4560
4561 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
4562 file1.txt from host at the end.
4563 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4564
c2b2ccc5
DE
45652014-05-15 Doug Evans <dje@google.com>
4566
4567 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
4568 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
4569 loading file. Add test for TU lookup.
4570
8c217a4b
SM
45712014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4572
4573 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
4574 calling "-exec-arguments" or "set args" before running the
4575 inferior.
4576
3deb39c6
SM
45772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
4578
4579 * lib/mi-support.exp (mi_expect_stop): Expect message for
4580 inferiors that exit with non-zero exit code.
4581
71a79f8c
YQ
45822014-05-14 Yao Qi <yao@codesourcery.com>
4583
4584 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
4585 match absolute path on remote host.
4586 (test_file_list_exec_source_files): Remove "/" from the
4587 pattern.
4588
f23fcd46
YQ
45892014-05-14 Yao Qi <yao@codesourcery.com>
4590
4591 * boards/local-remote-host-notty.exp (${board}_file): New
4592 proc.
4593
9404b58f
KM
45942014-05-07 Kyle McMartin <kyle@redhat.com>
4595
4596 Pushed by Joel Brobecker <brobecker@adacore.com>.
4597 * gdb.arch/aarch64-atomic-inst.c: New file.
4598 * gdb.arch/aarch64-atomic-inst.exp: New file.
4599
5e45f04c
YQ
46002014-05-07 Yao Qi <yao@codesourcery.com>
4601
4602 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4603 in current context" too.
4604
c888a17d
KS
46052014-05-05 Keith Seitz <keiths@redhat.com>
4606
4607 * gdb.linespec/ls-dollar.exp: Add test for linespec
4608 file:convenience_variable.
4609
290a839c
YQ
46102014-05-05 Yao Qi <yao@codesourcery.com>
4611
4612 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4613 traceframes into tfile and ctf trace files. Read data from
4614 trace file and test collected data.
4615 (gdb_collect_locals_test): Likewise.
4616 (gdb_unavailable_registers_test): Likewise.
4617 (gdb_unavailable_floats): Likewise.
4618 (gdb_collect_globals_test): Likewise.
4619 (top-level): Append "ctf" to trace_file_targets if GDB
4620 supports.
4621
b5262cd0
YQ
46222014-05-05 Yao Qi <yao@codesourcery.com>
4623
4624 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4625 code to ...
4626 (gdb_collect_args_test_1): ... it. New proc.
4627 (gdb_collect_locals_test): Move some code to ...
4628 (gdb_collect_locals_test_1): ... it. New proc.
4629 (gdb_unavailable_registers_test): Move some code to ...
4630 (gdb_unavailable_registers_test_1): ... it. New proc.
4631 (gdb_unavailable_floats): Move some code to ...
4632 (gdb_unavailable_floats_1): ... it. New proc.
4633
30a1e6cc
SDJ
46342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4635
4636 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4637 probes to test for bitness recognition.
4638 * gdb.arch/amd64-stap-optional-prefix.exp
4639 (test_probe_value_without_reg): New procedure.
4640 Add code to test for different kinds of bitness.
4641
f33da99a
SDJ
46422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4643
4644 PR breakpoints/16889
4645 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4646 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4647
5b80f00d
PA
46482014-05-01 Pedro Alves <palves@redhat.com>
4649
4650 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4651 gdb_file_cmd if no file is specified.
4652 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4653 last_loaded_file to set the remote exec-file.
4654
f8c2a73c
PA
46552014-05-01 Pedro Alves <palves@redhat.com>
4656
4657 * boards/local-remote-host.exp: New file.
4658
be6e8ac7
PA
46592014-05-01 Pedro Alves <palves@redhat.com>
4660
4661 * boards/local-remote-host.exp: Rename to ...
4662 * boards/local-remote-host-notty.exp: ... this.
4663
cac0dc8f
JB
46642014-04-28 Joel Brobecker <brobecker@adacore.com>
4665
4666 * gdb.ada/dyn_arrayidx: New testcase.
4667
9730e6cc
YQ
46682014-04-26 Yao Qi <yao@codesourcery.com>
4669
4670 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4671 and compute the length of function main. Save it in
4672 $main_length.
4673 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4674 (top-level): Use gdb_compile to compile objects into
4675 executable and restart GDB. Remove invocation to
4676 prepare_for_testing.
4677
7ae1a6a6
PA
46782014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4679 Pedro Alves <palves@redhat.com>
4680
4681 PR server/16255
4682 * gdb.multi/multi-attach.c: New file.
4683 * gdb.multi/multi-attach.exp: New file.
4684
4082afcc
PA
46852014-04-25 Pedro Alves <palves@redhat.com>
4686
4687 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4688 user.
4689 (top level): Test that "set remote conditional-breakpoints-packet
4690 off" works as intended.
4691 * gdb.base/dprintf.exp: Test that "set remote
4692 breakpoint-commands-packet off" works as intended.
4693 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4694 New function.
4695 (top level): Call it.
4696 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4697 remote fast-tracepoints-packet off" works as intended.
4698 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4699 * lib/gdb.exp (gdb_is_target_remote): ... here.
4700
2abc3f8d
DB
47012014-04-24 David Blaikie <dblaikie@gmail.com>
4702
4703 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4704 ensure clang would not discard them.
4705 * gdb.base/gdbvars.c: Ditto.
4706 * gdb.base/memattr.c: Ditto.
4707 * gdb.base/whatis.c: Ditto.
4708 * gdb.python/py-prettyprint.c: Ditto.
4709 * gdb.trace/actions.c: Ditto.
4710 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4711 ensure clang would not discard it.
4712
bfd39632
DB
47132014-04-24 David Blaikie <dblaikie@gmail.com>
4714
4715 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4716 clang to emit the full definition of type required by the test
4717 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4718
22842ff6
DB
47192014-04-24 David Blaikie <dblaikie@gmail.com>
4720
4721 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4722 coax Clang into emitting the definition of the type.
4723 * gdb.cp/pr10728-x.h (y): Ditto.
4724 * gdb.cp/pr10728-y.cc (y): Ditto.
4725
c2e827ad
DB
47262014-04-24 David Blaikie <dblaikie@gmail.com>
4727
4728 * gdb.base/label.exp: XFAIL label related tests under Clang.
4729 * gdb.cp/cplabel.exp: Ditto.
4730 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4731 under Clang those using labels.
4732
4c2d33e7
YQ
47332014-04-25 Yao Qi <yao@codesourcery.com>
4734
4735 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4736 double_label.
4737 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4738 partial_label and double_label.
4739
56083b99
DB
47402014-04-24 David Blaikie <dblaikie@gmail.com>
4741
4742 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4743
25d4e99d
DB
47442014-04-24 David Blaikie <dblaikie@gmail.com>
4745
4746 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4747 of the function to work across GCC and Clang.
4748 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4749 pointer types (const void ** const V void **).
4750
01f9f808
MS
47512014-04-24 Michael Sturm <michael.sturm@mintel.com>
4752 Walfred Tedeschi <walfred.tedeschi@intel.com>
4753
4754 * Makefile.in (EXECUTABLES): Added i386-avx512.
4755 * gdb.arch/i386-avx512.c: New file.
4756 * gdb.arch/i386-avx512.exp: Likewise.
4757
4b48d439
KS
47582014-04-23 Keith Seitz <keiths@redhat.com>
4759
4760 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4761 (mi_make_breakpoint_table): New procedure.
4762 (mi_create_breakpoint): Use mi_make_breakpoint
4763 and return the result.
4764 (mi_make_breakpoint): New procedure.
4765 (mi_build_kv_pairs): New procedure.
4766
4767 * gdb.mi/mi-break.exp: Remove unused globals,
4768 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4769 All callers updated.
4770 * gdb.mi/mi-dprintf.exp: Use variable to track command
4771 number.
4772 Update all callers of mi_create_breakpoint and use
4773 mi_make_breakpoint_table.
4774 Remove any unused global variables.
4775 * gdb.mi/mi-nonstop.exp: Likewise.
4776 * gdb.mi/mi-nsintrall.exp: Likewise.
4777 * gdb.mi/mi-nsmoribund.exp: Likewise.
4778 * gdb.mi/mi-nsthrexec.exp: Likewise.
4779 * gdb.mi/mi-reverse.exp: Likewise.
4780 * gdb.mi/mi-simplerun.exp: Likewise.
4781 * gdb.mi/mi-stepn.exp: Likewise.
4782 * gdb.mi/mi-syn-frame.exp: Likewise.
4783 * gdb.mi/mi-until.exp: Likewise.
4784 * gdb.mi/mi-var-cp.exp: Likewise.
4785 * gdb.mi/mi-var-display.exp: Likewise.
4786 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4787 * gdb.mi/mi2-var-child.exp: Likewise.
4788 * gdb.mi/mi-vla-c99.exp: Likewise.
4789 * lib/mi-support.exp: Likewise.
4790
4791 From Ian Lance Taylor <iant@cygnus.com>:
4792 * lib/gdb.exp (parse_args): New procedure.
4793
08351840
PA
47942014-04-23 Pedro Alves <palves@redhat.com>
4795
4796 * gdb.base/break-unload-file.c: New file.
4797 * gdb.base/break-unload-file.exp: New file.
4798 * gdb.base/sym-file-lib.c (baz): New function.
4799 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4800 field.
4801 (load): Store the segment's mapped size.
4802 (unload): New function.
4803 (unload_shlib): New function.
4804 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4805 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4806 set a breakpoint at baz, and call it.
4807 * gdb.base/sym-file.exp: New tests for stale breakpoint
4808 instructions.
4809
076855f9
PA
48102014-04-23 Pedro Alves <palves@redhat.com>
4811
4812 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4813 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4814 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4815 * gdb.base/hbreak-unmapped.c: New file.
4816 * gdb.base/hbreak-unmapped.exp: New file.
4817 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4818 * lib/gdb.exp (gdb_is_target_remote): ... here.
4819
483805cf
PA
48202014-04-22 Pedro Alves <palves@redhat.com>
4821
4822 * gdb.base/consecutive-step-over.c: New file.
4823 * gdb.base/consecutive-step-over.exp: New file.
4824
06d97543
PA
48252014-04-22 Pedro Alves <palves@redhat.com>
4826
4827 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4828 instead of send_gdb/gdb_expect.
4829
b4429ea2
YQ
48302014-04-22 Yao Qi <yao@codesourcery.com>
4831
4832 * lib/trace-support.exp (generate_tracefile): New procedure.
4833 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4834 return 0.
4835 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4836 if generate_tracefile returns 1.
4837
51d48146
PA
48382014-04-18 Tom Tromey <palves@redhat.com>
4839 Pedro alves <tromey@redhat.com>
4840
4841 PR backtrace/15558
4842 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4843 with a backtrace limit.
4844 * gdb.python/py-frame-inline.exp: Test running to an inline
4845 function with a backtrace limit, and printing the newest frame.
4846 * gdb.python/py-frame-inline.c (main): Call f.
4847
bd1dce5f
MS
48482014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4849
4850 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4851
40d1a503
MS
48522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4853
4854 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4855 Drop prefix from unsupported source file path.
4856
389b98f7
YQ
48572014-04-17 Yao Qi <yao@codesourcery.com>
4858
4859 * lib/gdb.exp (with_target_charset): New proc.
4860 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4861 with_target_charset.
4862 (test_print_strings): Likewise.
4863 (test_repeat_bytes): Likewise.
4864 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4865 for some tests.
4866
22869d73
KS
48672014-04-16 Keith Seitz <keiths@redhat.com>
4868
4869 PR gdb/15827
4870 * gdb.dwarf2/corrupt.c: New file.
4871 * gdb.dwarf2/corrupt.exp: New file.
4872
c4f87ca6
KS
48732014-04-16 Keith Seitz <keiths@redhat.com>
4874
4875 PR c++/16597
4876 * gdb.cp/namelessclass.cc: New file.
4877 * gdb.cp/namelessclass.exp: New file.
4878 * gdb.cp/namelessclass.S: New file.
4879
ab19de87
DE
48802014-04-16 Doug Evans <dje@google.com>
4881
4882 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4883 Add comment.
4884 (gdbserver_default_get_comm_port): New function.
4885 (gdbserver_start): Check if board file provided
4886 "gdbserver,get_comm_port" and use it if so.
4887 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4888 (gdb,socketport): Set to "stdio".
4889 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4890 (stdio_gdbserver_template): Delete.
4891 (${board}_get_remote_address): Update.
4892 (${board}_build_remote_cmd): Delete.
4893 (${board}_get_comm_port): New function.
4894 (${board}_spawn): Update.
4895 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4896 Delete.
4897 (${board}_get_remote_address): Update.
4898 (${board}_get_comm_port): New function.
4899
fc98a809
AB
49002014-04-16 Andrew Burgess <aburgess@broadcom.com>
4901
4902 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4903 appearing in any order.
4904
87fd9e6e
DE
49052014-04-15 Doug Evans <dje@google.com>
4906
4907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4908 uninitialized value of "description".
4909
099fc3ea
KS
49102014-04-15 Keith Seitz <keiths@redhat.com>
4911
4912 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4913 Remove unused globals.
4914 (test_running_the_program): Likewise.
4915 (test_controlled_execution): Likewise.
4916 (test_controlling_breakpoints): Likewise.
4917 (test_program_termination): Likewise.
4918
5da151d4
KS
49192014-04-15 Keith Seitz <keiths@redhat.com>
4920
4921 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4922 unused globals.
4923 (test_rbreak_creation_and_listing): Likewise.
4924 (test_ignore_count): Likewise.
4925 (test_error): Likewise.
4926
35e5d2f0
PA
49272014-04-15 Pedro Alves <palves@redhat.com>
4928
4929 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4930 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4931 sym-file-loader.c.
4932 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4933 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4934 to sym-file-loader.c.
4935 (struct library): Forward declare.
4936 (load_shlib, lookup_function): Change prototypes.
4937 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4938 (translate_offset): Remove declarations.
4939 (get_text_addr): New declaration.
4940 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4941 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4942 sym-file-loader.h.
4943 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4944 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4945 here from sym-file-loader.h.
4946 (struct library): New structure.
4947 (load_shlib, lookup_function): Change prototypes and adjust to
4948 work with a struct library.
4949 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4950 (translate_offset): Make static.
4951 (get_text_addr): New function.
4952 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4953
eb4c1710
PA
49542014-04-15 Pedro Alves <palves@redhat.com>
4955
4956 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4957
2d1baf52
PA
49582014-04-15 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.base/sym-file-loader.c: Include <limits.h>.
4961 (SELF_LINK): New define.
4962 (get_origin): New function.
4963 (load_shlib): Use it.
4964 * gdb.base/sym-file.exp: Don't early return if the target is
4965 remote. Use runto_main, and issue fail is that fails. Use
4966 gdb_load_shlibs.
4967 (shlib_name): Delete.
4968 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4969
7dd6df01
PA
49702014-04-15 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.base/sym-file.exp: Remove regex characters from test
4973 message. Don't refer to breakpoint numbers in test messages.
4974
b50c8614
KS
49752014-04-14 Keith Seitz <keiths@redhat.com>
4976
4977 PR c++/16253
4978 * gdb.cp/var-tag.cc: New file.
4979 * gdb.cp/var-tag.exp: New file.
4980 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4981 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4982 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4983 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4984
3d567982
TT
49852014-04-14 Tom Tromey <tromey@redhat.com>
4986
4987 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4988 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4989 type.
4990 * gdb.cp/enum-class.exp: New file.
4991 * gdb.cp/enum-class.cc: New file.
4992
0626fc76
TT
49932014-04-14 Tom Tromey <tromey@redhat.com>
4994
4995 * gdb.dwarf2/enum-type.exp: New file.
4996
dca325b3
SA
49972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4998
4999 * gdb.mi/mi-vla-c99.exp: New file.
5000 * gdb.mi/vla.c: New file.
5001
5854b38a
SA
50022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5003
5004 * gdb.base/vla-datatypes.c: New file.
5005 * gdb.base/vla-datatypes.exp: New file.
5006
463bb957
SA
50072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5008
5009 * gdb.base/vla-ptr.c: New file.
5010 * gdb.base/vla-ptr.exp: New file.
5011
3dd170be
SA
50122014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5013
5014 * gdb.dwarf2/count.exp: New file.
5015
5ecaaa66
SA
50162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5017
5018 * gdb.base/vla-sideeffect.c: New file.
5019 * gdb.base/vla-sideeffect.exp: New file.
5020
41f1ada5
DB
50212014-04-14 David Blaikie <dblaikie@gmail.com>
5022
5023 * gdb.mi/non-stop.c: Add return value for non-void function return
5024 statement.
5025 * gdb.threads/staticthreads.c: Ditto.
5026
0be03e84
DE
50272014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5028 Doug Evans <xdje42@gmail.com>
5029
5030 * gdb.guile/scm-value.c: Improve test case.
5031 * gdb.guile/scm-value.exp: Add new test.
5032
f180a1fb
DB
50332014-04-11 David Blaikie <dblaikie@gmail.com>
5034
5035 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
5036 override Clang's default.
5037
6b662e19
JB
50382014-04-11 Joel Brobecker <brobecker@adacore.com>
5039
5040 Revert the following changes (regressions):
5041
5042 * gdb.base/vla-sideeffect.c: New file.
5043 * gdb.base/vla-sideeffect.exp: New file.
5044
5045 * gdb.dwarf2/count.exp: New file.
5046
5047 * gdb.base/vla-multi.c: New file.
5048 * gdb.base/vla-multi.exp: New file.
5049
5050 * gdb.base/vla-ptr.c: New file.
5051 * gdb.base/vla-ptr.exp: New file.
5052
5053 * gdb.base/vla-datatypes.c: New file.
5054 * gdb.base/vla-datatypes.exp: New file.
5055
5056 * gdb.mi/mi-vla-c99.exp: New file.
5057 * gdb.mi/vla.c: New file.
5058
245a5f0b
KS
50592014-04-11 Keith Seitz <keiths@redhat.com>
5060
5061 PR c++/16675
5062 * gdb.cp/cpsizeof.exp: New file.
5063 * gdb.cp/cpsizeof.cc: New file.
5064
58a84dcf
SA
50652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5066
191a8a90
JB
5067 * gdb.mi/mi-vla-c99.exp: New file.
5068 * gdb.mi/vla.c: New file.
58a84dcf 5069
c8655f75
SA
50702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5071
5072 * gdb.base/vla-datatypes.c: New file.
5073 * gdb.base/vla-datatypes.exp: New file.
5074
024e13b4
SA
50752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5076
5077 * gdb.base/vla-ptr.c: New file.
5078 * gdb.base/vla-ptr.exp: New file.
5079
1a237e0e
SA
50802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5081
5082 * gdb.base/vla-multi.c: New file.
5083 * gdb.base/vla-multi.exp: New file.
5084
504f3432
SA
50852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5086
5087 * gdb.dwarf2/count.exp: New file.
5088
3bce8237
SA
50892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5090
191a8a90
JB
5091 * gdb.base/vla-sideeffect.c: New file.
5092 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 5093
322f9c21
YQ
50942014-04-11 Yao Qi <yao@codesourcery.com>
5095
5096 * gdb.base/completion.exp: Check file exists before running tests
5097 on file completion.
5098
d708bcd1
PA
50992014-04-10 Pedro Alves <palves@redhat.com>
5100
5101 * gdb.base/cond-eval-mode.c: New file.
5102 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
5103 prepare_for_testing to build the new file. Check result of
5104 runto_main.
5105 (test_break, test_watch): New procedures.
5106 (top level): Use them.
5107
ae1d2761
PM
51082014-04-08 Pierre Muller <muller@sourceware.org>
5109
5110 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
5111 Ctrl-V use for mingw hosts.
5112
7af389b8
SC
51132014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5114
5115 * gdb.python/py-value.c: Improve test case.
5116 * gdb.python/py-value.exp: Add new test.
5117
5e703181
DE
51182014-04-07 David Blaikie <dblaikie@gmail.com>
5119
5120 * lib/compiler.c: Identify the clang compiler.
5121 * lib/compiler.cc: Ditto.
5122
9810b410
YQ
51232014-04-03 Yao Qi <yao@codesourcery.com>
5124
5125 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
5126
98d1b8dc
AB
51272014-04-01 Anton Blanchard <anton@samba.org>
5128
5129 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
5130 messages unique.
5131
3114cea1
AB
51322014-04-01 Anton Blanchard <anton@samba.org>
5133
5134 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
5135 prepare_for_testing.
5136
62f7182c
AB
51372014-04-01 Anton Blanchard <anton@samba.org>
5138
5139 * gdb.arch/ppc64-atomic-inst.c: Remove.
5140 * gdb.arch/ppc64-atomic-inst.S: New file.
5141 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
5142
770e7fc7
DE
51432014-03-31 Doug Evans <dje@google.com>
5144
5145 * gdb.base/print-symbol-loading-lib.c: New file.
5146 * gdb.base/print-symbol-loading-main.c: New file.
5147 * gdb.base/print-symbol-loading.exp: New file.
5148
46e2bafa
YQ
51492014-03-31 Yao Qi <yao@codesourcery.com>
5150
5151 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
5152
8776cfe9
JB
51532014-03-28 Joel Brobecker <brobecker@adacore.com>
5154
5155 * gdb.ada/mi_dyn_arr: New testcase.
5156
5d1ef361
DE
51572014-03-27 Doug Evans <dje@google.com>
5158
5159 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
5160
b5bee914
YQ
51612014-03-27 Yao Qi <yao@codesourcery.com>
5162
5163 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
5164 if target is nios2-*-*.
5165
0d4d0e77
YQ
51662014-03-26 Yao Qi <yao@codesourcery.com>
5167
5168 * lib/gdb.exp (readline_is_used): New proc.
5169 * gdb.base/completion.exp: Move tests on command complete up.
5170 Skip the rest of tests if readline is not used.
5171 * gdb.ada/complete.exp: Skp the test if readline is not
5172 used.
5173 * gdb.base/filesym.exp: Likewise.
5174 * gdb.base/macscp.exp: Likewise.
5175 * gdb.base/readline-ask.exp: Likewise.
5176 * gdb.base/readline.exp: Likewise.
5177 * gdb.python/py-cmd.exp: Likewise.
5178 * gdb.trace/tfile.exp: Likewise.
5179
29361eee
YQ
51802014-03-26 Yao Qi <yao@codesourcery.com>
5181
5182 * gdb.base/macscp.exp: Fix code format issues.
5183
bc9a5525
UW
51842014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
5185
5186 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
5187 * gdb.asm/powerpc64le.inc: New file.
5188
d3839ede
PA
51892014-03-25 Pedro Alves <palves@redhat.com>
5190 Doug Evans <dje@google.com>
5191
5192 * gdb.base/source-execution.c: New file.
5193 * gdb.base/source-execution.exp: New file.
5194 * gdb.base/source-execution.gdb: New file.
5195
01672a57
DE
51962014-03-24 Doug Evans <dje@google.com>
5197
5198 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
5199 using fission.
5200
88bbeca9
HZ
52012014-03-24 Hui Zhu <hui@codesourcery.com>
5202 Pedro Alves <palves@redhat.com>
5203
5204 PR breakpoints/16101
5205 * gdb.base/dprintf.exp: Use unsupported rather than changing the
5206 test pass/fail messages. Detect missing support for dprintf when
5207 breakpoints are actually inserted.
5208 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
5209 breakpoints are actually inserted.
5210 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
5211 fails.
5212
d2348791
JK
52132014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
5216
feef67ab
DE
52172014-03-22 Doug Evans <xdje42@gmail.com>
5218
5219 * gdb.python/python.exp (python not supported): Verify multi-line
5220 python command issues an error.
25d743f9 5221 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 5222 guile command issues an error.
feef67ab 5223
ecebef6a
MR
52242014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
5225
5226 * gdb.threads/thread-specific.exp: Handle the lack of usable
5227 $this_breakpoint and $this_thread.
5228
ccdd1909
HZ
52292014-03-21 Hui Zhu <hui@codesourcery.com>
5230
5231 * gdb.base/attach.exp (do_command_attach_tests): New.
5232
beb460e8
PA
52332014-03-20 Tom Tromey <tromey@redhat.com>
5234 Pedro Alves <palves@redhat.com>
5235
5236 PR cli/15718
5237 * gdb.base/condbreak-call-false.c: New file.
5238 * gdb.base/condbreak-call-false.exp: New file.
5239
40acf43a
PA
52402014-03-20 Pedro Alves <palves@redhat.com>
5241
5242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
5243 Delete.
5244 (block_signals, unblock_signals): Delete.
5245 (child_function_2, main): Remove references to deleted variable
5246 and functions.
5247
9f5e1e02
PA
52482014-03-20 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
5251 Use pthread_kill to signal thread 2.
5252 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5253 Adjust to make the test send itself a signal rather than using the
5254 host's "kill" command.
5255
99619bea
PA
52562014-03-20 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.threads/multiple-step-overs.c: New file.
5259 * gdb.threads/multiple-step-overs.exp: New file.
5260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5261 Adjust expected infrun debug output.
5262
2adfaa28
PA
52632014-03-20 Pedro Alves <palves@redhat.com>
5264
5265 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
5266 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
5267
31e77af2
PA
52682014-03-20 Pedro Alves <palves@redhat.com>
5269
5270 PR breakpoints/7143
5271 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
5272 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
5273 of gdb_test_multiple.
5274 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
5275 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
5276
b9f437de
PA
52772014-03-20 Pedro Alves <palves@redhat.com>
5278
5279 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
5280 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
5281
05adc73e
PA
52822014-03-19 Pedro Alves <palves@redhat.com>
5283
5284 * gdb.base/async.exp: Remove early return.
5285
6048b950
PA
52862014-03-19 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.base/async.exp (step& tests): Pass explicit test messages.
5289
8bcfb00a
PA
52902014-03-19 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.base/async.exp (test_background): Expect \r\n after
5293 "completed." in the fail pattern.
5294
884e37dc
PA
52952014-03-19 Pedro Alves <palves@redhat.com>
5296
5297 * gdb.base/async.exp (test_background): New procedure.
5298 Use it for all background execution command tests.
5299
148e57e2
PA
53002014-03-19 Pedro Alves <palves@redhat.com>
5301
5302 * gdb.base/async.exp: Use prepare_for_testing.
5303
f48088c7
PA
53042014-03-19 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
5307 the same line.
5308
e2f6c966
PA
53092014-03-19 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.base/async.c (main): Add "jump here" and "until here" line
5312 marker comments.
5313 * gdb.base/async.exp (jump_here): New global.
5314 (jump& test): Use it.
5315 (until_here): New global.
5316 (until& test): Use it.
5317
c30568d4
PA
53182014-03-19 Pedro Alves <palves@redhat.com>
5319
5320 * gdb.base/async.exp: Don't frob gdb_protocol.
5321
0172b6a7
DE
53222014-03-18 Doug Evans <xdje42@gmail.com>
5323
5324 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
5325 Fix spelling of exec-done-display.
5326
06c868a8
JK
53272014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5328
5329 PR gdb/15358
5330 * gdb.base/gdb-sigterm.c: New file.
5331 * gdb.base/gdb-sigterm.exp: New file.
5332
0c7e1a46
PA
53332014-03-18 Pedro Alves <palves@redhat.com>
5334
5335 PR gdb/13860
5336 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
5337 * lib/mi-support.exp (mi_expect_stop): Add special handling for
5338 solib-event.
5339
f7c77d93
JB
53402014-03-17 Joel Brobecker <brobecker@adacore.com>
5341
5342 * gdb.ada/pckd_arr_ren: New testcase.
5343
5a1e8c7a
DE
53442014-03-13 Doug Evans <xdje42@gmail.com>
5345
5346 PR guile/16612
5347 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
5348 collect after discarding symbols.
5349
350e1a76
DE
53502014-03-13 Ludovic Courtès <ludo@gnu.org>
5351 Doug Evans <xdje42@gmail.com>
5352
5353 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
5354 to history survives a gc.
5355
a69900ae
PA
53562014-03-13 Pedro Alves <palves@redhat.com>
5357
5358 * gdb.base/default.exp: Don't test "target procfs".
5359
5db9f0bd
PA
53602014-03-13 Pedro Alves <palves@redhat.com>
5361
5362 * gdb.base/default.exp: Update "target child" and "target procfs"
5363 tests to not expect "Unix".
5364
b3ccfe11
TT
53652014-03-12 Tom Tromey <tromey@redhat.com>
5366
5367 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
5368 New procs. Add target-async tests.
5369 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
5370 Add target-async tests.
5371
646f4417
AA
53722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5373
5374 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
5375 'func_start' and 'func_end' for the beginning and end of the
5376 function code, respectively.
5377 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
5378 'func_end' instead of 'func' and 'main'.
5379
288c211f
AA
53802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5381
5382 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
5383 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
5384 generate the debug info assembler source.
5385
e0c0f156
AA
53862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5387
5388 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
5389 * gdb.dwarf2/arr-subrange.exp: Likewise.
5390 * gdb.dwarf2/dwz.exp: Likewise.
5391 * gdb.dwarf2/method-ptr.exp: Likewise.
5392 * gdb.dwarf2/missing-sig-type.exp: Likewise.
5393 * gdb.dwarf2/subrange.exp: Likewise.
5394 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
5395 * gdb.dwarf2/implptrpiece.exp: Likewise.
5396 * gdb.dwarf2/nostaticblock.exp: Likewise.
5397
0e5c4555
AA
53982014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5399
5400 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
5401 directory to absolute path name arguments.
5402
5ec18f2b
JG
54032014-03-10 Joel Brobecker <brobecker@adacore.com>
5404
5405 * gdb.ada/tagged_access: New testcase.
5406
847fc4f2
MM
54072014-03-07 Markus Metzger <markus.t.metzger@intel.com>
5408
5409 * gdb.btrace/data.exp: Update expected output.
5410
cc3da688
YQ
54112014-03-06 Yao Qi <yao@codesourcery.com>
5412
5413 * gdb.trace/pr16508.exp: New file.
5414
0f26cec1
PA
54152014-03-05 Pedro Alves <palves@redhat.com>
5416
5417 PR gdb/16575
5418 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
5419 procedure.
5420 (top level): Adjust to use it. Add tests that exercise breakpoint
5421 interaction with the code-cache.
5422
7a5a839f
LC
54232014-02-26 Ludovic Courtès <ludo@gnu.org>
5424
5425 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
5426 test for 'history-append!'.
5427
31aa7e4e
JB
54282014-02-26 Joel Brobecker <brobecker@adacore.com>
5429
5430 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
5431 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5432 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
5433 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
5434 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
5435 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
5436
1b588015
JB
54372014-02-26 Joel Brobecker <brobecker@adacore.com>
5438
5439 * testsuite/gdb.python/py-pp-re-notag.c: New file.
5440 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
5441 * testsuite/gdb.python/py-pp-re-notag.p: New file.
5442
55426c9d
JB
54432014-02-26 Joel Brobecker <brobecker@adacore.com>
5444
5445 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
5446
dc53a7ad
JB
54472014-02-26 Joel Brobecker <brobecker@adacore.com>
5448
5449 * gdb.dwarf2/arr-stride.c: New file.
5450 * gdb.dwarf2/arr-stride.exp: New file.
5451
12ab52e9
PA
54522014-02-26 Pedro Alves <palves@redhat.com>
5453
5454 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
5455 that won't ever trigger. Make sure that GDB reports the correct
5456 breakpoint that caused the stop.
5457
849c862e
JK
54582014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5459
5460 PR gdb/16626
5461 * gdb.base/auto-load-script: New file.
5462 * gdb.base/auto-load.c: New file.
5463 * gdb.base/auto-load.exp: New file.
5464
71b7d793
JK
5465 PR gdb/16626
5466 * gdb.base/auto-load.exp: Fix out-of-srctree run.
5467
e2f0d509
JK
54682014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 Fix dw2-icycle.exp -fsanitize=address GDB crash.
5471 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
5472
50cc37c8
DE
54732014-02-24 Doug Evans <dje@google.com>
5474
5475 * lib/gdb.exp (run_on_host): Log error output if program fails.
5476
ea4758f2
PA
54772014-02-21 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.threads/step-after-sr-lock.c: Rename to ...
5480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
5481 * gdb.threads/step-after-sr-lock.exp: Rename to ...
5482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5483 ... this.
5484
d7b30f67
SDJ
54852014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
5486
5487 PR tdep/16397
5488 * gdb.arch/amd64-stap-special-operands.exp: New file.
5489 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
5490 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
5491 * gdb.arch/amd64-stap-triplet.S: Likewise.
5492 * gdb.arch/amd64-stap-triplet.c: Likewise.
5493
83deb43f
JB
54942014-02-20 Joel Brobecker <brobecker@adacore.com>
5495
5496 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
5497 in .section pseudo-op.
5498
adde2bff
DE
54992014-02-20 lin zuojian <manjian2006@gmail.com>
5500 Joel Brobecker <brobecker@adacore.com>
5501 Doug Evans <xdje42@gmail.com>
5502
5503 PR symtab/16581
5504 * gdb.dwarf2/dw2-icycle.S: New file.
5505 * gdb.dwarf2/dw2-icycle.c: New file.
5506 * gdb.dwarf2/dw2-icycle.exp: New file.
5507
f7bd0f78
SC
55082014-02-19 Siva Chandra Reddy <sivachandra@google.com>
5509
5510 * gdb.python/py-value-cc.cc: Improve test case to enable testing
5511 operations on gdb.Value objects.
5512 * gdb.python/py-value-cc.exp: Add new test to test operations on
5513 gdb.Value objects.
5514
c17ef0d5
DE
55152014-02-18 Doug Evans <dje@google.com>
5516
5517 * Makefile.in (TESTS): New variable.
5518 (expanded_tests, expanded_tests_or_none): New variables
5519 (check-single): Pass $(expanded_tests_or_none) to runtest.
5520 (check-parallel): Only run tests in $(TESTS) if non-empty.
5521 (check/no-matching-tests-found): New rule.
5522 * README: Document TESTS makefile variable.
5523
5dd3176f
DE
55242014-02-18 Doug Evans <dje@google.com>
5525
5526 * Makefile.in (check-parallel): rm -rf outputs temp.
5527
0b10be4f
JK
55282014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5529
5530 Fix "ERROR: no fileid for" in the testsuite.
5531 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
5532
85f224e7
DE
55332014-02-12 Doug Evans <dje@google.com>
5534
5535 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
5536 (MISCELLANEOUS): New variable.
5537 (clean): rm -rf $(MISCELLANEOUS).
5538 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
5539 dwp live in the same directory as symlinks, with each symlink pointed
5540 to a differently named file in a different directory.
5541
149b30ff
DE
55422014-02-11 Doug Evans <dje@google.com>
5543
5544 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
5545 of Tcl file commands.
5546
1dfdac32
MK
55472014-02-10 Mark Kettenis <kettenis@gnu.org>
5548
5549 * gdb.threads/step-after-sr-lock.exp: Avoid executing
5550 "kill -SIGUSR1 -1".
5551
aa4fb036
JB
55522014-02-10 Joel Brobecker <brobecker@adacore.com>
5553
5554 * gdb.ada/tick_length_array_enum_idx: New testcase.
5555
ed3ef339
DE
55562014-02-10 Doug Evans <xdje42@gmail.com>
5557
5558 * configure.ac (AC_OUTPUT): Add gdb.guile.
5559 * configure: Regenerate.
5560 * lib/gdb-guile.exp: New file.
5561 * lib/gdb.exp (get_target_charset): New function.
5562 * gdb.base/help.exp: Update expected output from "apropos apropos".
5563 * gdb.guile/Makefile.in: New file.
5564 * gdb.guile/guile.exp: New file.
5565 * gdb.guile/scm-arch.c: New file.
5566 * gdb.guile/scm-arch.exp: New file.
5567 * gdb.guile/scm-block.c: New file.
5568 * gdb.guile/scm-block.exp: New file.
5569 * gdb.guile/scm-breakpoint.c: New file.
5570 * gdb.guile/scm-breakpoint.exp: New file.
5571 * gdb.guile/scm-disasm.c: New file.
5572 * gdb.guile/scm-disasm.exp: New file.
5573 * gdb.guile/scm-equal.c: New file.
5574 * gdb.guile/scm-equal.exp: New file.
5575 * gdb.guile/scm-error.exp: New file.
5576 * gdb.guile/scm-error.scm: New file.
5577 * gdb.guile/scm-frame-args.c: New file.
5578 * gdb.guile/scm-frame-args.exp: New file.
5579 * gdb.guile/scm-frame-args.scm: New file.
5580 * gdb.guile/scm-frame-inline.c: New file.
5581 * gdb.guile/scm-frame-inline.exp: New file.
5582 * gdb.guile/scm-frame.c: New file.
5583 * gdb.guile/scm-frame.exp: New file.
5584 * gdb.guile/scm-generics.exp: New file.
5585 * gdb.guile/scm-gsmob.exp: New file.
5586 * gdb.guile/scm-iterator.c: New file.
5587 * gdb.guile/scm-iterator.exp: New file.
5588 * gdb.guile/scm-math.c: New file.
5589 * gdb.guile/scm-math.exp: New file.
5590 * gdb.guile/scm-objfile-script-gdb.in: New file.
5591 * gdb.guile/scm-objfile-script.c: New file.
5592 * gdb.guile/scm-objfile-script.exp: New file.
5593 * gdb.guile/scm-objfile.c: New file.
5594 * gdb.guile/scm-objfile.exp: New file.
5595 * gdb.guile/scm-ports.exp: New file.
5596 * gdb.guile/scm-pretty-print.c: New file.
5597 * gdb.guile/scm-pretty-print.exp: New file.
5598 * gdb.guile/scm-pretty-print.scm: New file.
5599 * gdb.guile/scm-section-script.c: New file.
5600 * gdb.guile/scm-section-script.exp: New file.
5601 * gdb.guile/scm-section-script.scm: New file.
5602 * gdb.guile/scm-symbol.c: New file.
5603 * gdb.guile/scm-symbol.exp: New file.
5604 * gdb.guile/scm-symtab-2.c: New file.
5605 * gdb.guile/scm-symtab.c: New file.
5606 * gdb.guile/scm-symtab.exp: New file.
5607 * gdb.guile/scm-type.c: New file.
5608 * gdb.guile/scm-type.exp: New file.
5609 * gdb.guile/scm-value-cc.cc: New file.
5610 * gdb.guile/scm-value-cc.exp: New file.
5611 * gdb.guile/scm-value.c: New file.
5612 * gdb.guile/scm-value.exp: New file.
5613 * gdb.guile/source2.scm: New file.
5614 * gdb.guile/types-module.cc: New file.
5615 * gdb.guile/types-module.exp: New file.
5616
7026a7c1
YQ
56172014-02-10 Yao Qi <yao@codesourcery.com>
5618
5619 PR testsuite/16543
5620 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5621 * configure: Regenerated.
5622 * Makefile.in: New file.
5623
6c466447
AS
56242014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5625
5626 * gdb.python/py-framefilter.exp: Fix typo.
5627
6e854735
YQ
56282014-02-08 Yao Qi <yao@codesourcery.com>
5629
5630 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5631 that no =breakpoint-modified is emitted when breakpoints are
5632 modified through MI commands.
5633
d137e6dc
PA
56342014-02-07 Pedro Alves <pedro@codesourcery.com>
5635 Pedro Alves <palves@redhat.com>
5636
5637 * gdb.threads/step-after-sr-lock.c: New file.
5638 * gdb.threads/step-after-sr-lock.exp: New file.
5639
b5ee5a50
PA
56402014-02-07 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5643
3c77faf3
JK
56442014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5645
5646 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5647 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5648
6dddc817
DE
56492014-02-06 Doug Evans <xdje42@gmail.com>
5650
5651 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5652 output.
5653
5654 * gdb.gdb/python-interrupts.exp: New file.
5655
de7b2893
YQ
56562014-02-05 Yao Qi <yao@codesourcery.com>
5657
5658 * gdb.trace/report.exp (use_collected_data): Test the output
5659 of "info threads" and "info inferiors".
5660
66d032ac
YQ
56612014-02-05 Yao Qi <yao@codesourcery.com>
5662
5663 Revert this patch:
5664
5665 2013-05-24 Yao Qi <yao@codesourcery.com>
5666
5667 * gdb.trace/tfile.exp: Test inferior and thread.
5668
591a12a1
UW
56692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5670
5671 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5672 on a function.
5673 * gdb.base/step-bt.c: Call hello via function pointer to make
5674 sure its first instruction is executed on powerpc64le-linux.
5675
0ff3e01f
UW
56762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5677
5678 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5679
084ee545
UW
56802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5681
5682 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5683 of the test patterns for use on little-endian systems.
5684
6ed14ff3
UW
56852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5686
5687 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5688 (decimal_vector): Fix for little-endian.
5689
401e27fd
JM
56902014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5691
5692 * gdb.arch/sparc-sysstep.exp: New file.
5693 * gdb.arch/sparc-sysstep.c: Likewise.
5694
5695 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5696
8b924729
EBM
56972014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5698
5699 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5700
fb151210
JB
57012014-01-23 Tom Tromey <tromey@redhat.com>
5702
5703 * gdb.ada/array_char_idx: New testcase.
5704
0740f8d8
TT
57052014-01-23 Tom Tromey <tromey@redhat.com>
5706
5707 PR python/16487:
5708 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5709 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5710 classes.
5711
21909fa1
TT
57122014-01-23 Tom Tromey <tromey@redhat.com>
5713
5714 PR python/16491:
5715 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5716 string from an inferior frame.
5717 * gdb.python/py-framefilter-mi.exp: Update.
5718
87ce2a04
DE
57192014-01-22 Doug Evans <dje@google.com>
5720
5721 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5722
237b092b
AA
57232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5724
5725 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5726
d674a709
AA
57272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5728
5729 * gdb.trace/entry-values.exp: Remove excess space character from
5730 regex patterns. Handle s390 call instruction.
5731
20fa3390
AA
57322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5733
5734 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5735 define "*_start" label. Make "name" static.
5736 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5737 ${name} by references to ${name}_start.
5738
78466714
AA
57392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5740
5741 * gdb.base/info-macros.exp: Remove "debug" from the compile
5742 options.
5743
ec9f644a
IB
57442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5745
5746 * gdb.dlang/demangle.exp: New file.
5747
94b1b47e
IB
57482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5749
5750 * gdb.dlang/primitive-types.exp: New file.
5751
7f420862
IB
57522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5753
5754 * configure.ac: Create gdb.dlang/Makefile.
5755 * configure: Regenerate.
5756 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5757 * gdb.dlang/Makefile.in: New file.
5758 * lib/d-support.exp: New file.
5759 * lib/gdb.exp (skip_d_tests): New proc.
5760
52834460
MM
57612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5762
5763 * gdb.btrace/delta.exp: Check reverse stepi.
5764 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5765 * gdb.btrace/finish.exp: New.
5766 * gdb.btrace/next.exp: New.
5767 * gdb.btrace/nexti.exp: New.
5768 * gdb.btrace/record_goto.c: Add comments.
5769 * gdb.btrace/step.exp: New.
5770 * gdb.btrace/stepi.exp: New.
5771 * gdb.btrace/multi-thread-step.c: New.
5772 * gdb.btrace/multi-thread-step.exp: New.
5773 * gdb.btrace/rn-dl-bind.c: New.
5774 * gdb.btrace/rn-dl-bind.exp: New.
5775 * gdb.btrace/data.c: New.
5776 * gdb.btrace/data.exp: New.
5777 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5778
6e07b1d2
MM
57792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5780
5781 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5782 * gdb.btrace/exception.exp: Update.
5783 * gdb.btrace/instruction_history.exp: Update.
5784 * gdb.btrace/record_goto.exp: Update.
5785 * gdb.btrace/tailcall.exp: Update.
5786 * gdb.btrace/unknown_functions.exp: Update.
5787 * gdb.btrace/delta.exp: New.
5788
0b722aec
MM
57892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5790
5791 * gdb.btrace/record_goto.exp: Add backtrace test.
5792 * gdb.btrace/tailcall.exp: Add backtrace test.
5793
066ce621
MM
57942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5795
5796 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5797 * gdb.btrace/record_goto.c: New.
5798 * gdb.btrace/record_goto.exp: New.
5799 * gdb.btrace/x86-record_goto.S: New.
5800
0688d04e
MM
58012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5802
5803 * gdb.btrace/function_call_history.exp: Update tests.
5804 * gdb.btrace/instruction_history.exp: Update tests.
5805
8710b709
MM
58062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5807
5808 * gdb.btrace/function_call_history.exp: Fix expected field
5809 order for "record function-call-history".
5810 Add new tests for "record function-call-history /c".
5811 * gdb.btrace/exception.cc: New.
5812 * gdb.btrace/exception.exp: New.
5813 * gdb.btrace/tailcall.exp: New.
5814 * gdb.btrace/x86-tailcall.S: New.
5815 * gdb.btrace/x86-tailcall.c: New.
5816 * gdb.btrace/unknown_functions.c: New.
5817 * gdb.btrace/unknown_functions.exp: New.
5818 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5819
5de9129b
MM
58202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5821
5822 * gdb.btrace/instruction_history.exp: Update.
5823 * gdb.btrace/function_call_history.exp: Update.
5824
23a7fe75
MM
58252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5826
5827 * gdb.btrace/function_call_history.exp: Fix expected function
5828 trace.
5829 * gdb.btrace/instruction_history.exp: Initialize traced.
5830 Remove traced_functions.
5831
724c7dd8
MM
58322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5833
5834 * gdb.btrace/function_call_history.exp: Update
5835 * gdb.btrace/instruction_history.exp: Update.
5836
6d78d93b
MM
58372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5838
5839 * gdb.btrace/enable.exp: Update expected text.
5840
93a360cc
OJ
58412014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5842
5843 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5844 bytes.
5845
3772b53f
MR
58462014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5847
5848 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5849
596662fa
OJ
58502014-01-15 Omair Javaid <omair.javaid@linaro.org>
5851
5852 * lib/gdb.exp (supports_process_record): Return true for
5853 arm*-linux*. (supports_reverse): Likewise.
5854
b5b08fb4
SC
58552014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5856
5857 PR python/15464
5858 PR python/16113
5859 * gdb.python/py-type.c: Enhance test case.
5860 * gdb.python/py-value-cc.cc: Likewise
5861 * gdb.python/py-type.exp: Add new tests.
5862 * gdb.python/py-value-cc.exp: Likewise
5863
52d7fb13
AA
58642014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5868 Make "name" extern.
5869 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5870 references to ${name}_start by references to ${name}.
5871
a2cd8cfe
JB
58722014-01-10 Joel Brobecker <brobecker@adacore.com>
5873
5874 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5875
4e23fced
JB
58762014-01-10 Joel Brobecker <brobecker@adacore.com>
5877
5878 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5879
c6a9e42c
PA
58802014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5881 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 5884 mi_gdb_target_load.
c6a9e42c 5885
b7ea362b
PA
58862014-01-08 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.threads/reconnect-signal.c: New file.
5889 * gdb.threads/reconnect-signal.exp: New file.
5890
5e3f4fab
EBM
58912014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 * gdb.base/source-dir.exp: New file.
5894
79301218
JB
58952014-01-07 Joel Brobecker <brobecker@adacore.com>
5896
5897 * gdb.ada/mi_interface: New testcase.
5898
8e355c5d
JB
58992014-01-07 Joel Brobecker <brobecker@adacore.com>
5900
5901 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5902 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5903 gdb.ada/pp-rec-component/pck.ads: New files.
5904
c0d48811
JB
59052014-01-07 Joel Brobecker <brobecker@adacore.com>
5906
5907 * gdb.python/py-pp-integral.c: New file.
5908 * gdb.python/py-pp-integral.py: New file.
5909 * gdb.python/py-pp-integral.exp: New file.
5910
17b609c3 5911For older changes see ChangeLog-1993-2013.
c906108c 5912\f
8d8cb839
EZ
5913;; Local Variables:
5914;; mode: change-log
5915;; left-margin: 8
5916;; fill-column: 74
5917;; version-control: never
5918;; End:
902f2ccb 5919
32d0add0 5920 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
5921 Copying and distribution of this file, with or without modification,
5922 are permitted provided the copyright notice and this notice are preserved.