]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix PR18735 test for RL78.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8bcbad33
SM
12016-01-18 Simon Marchi <simon.marchi@ericsson.com>
2
3 * lib/gdb.exp (gdb_test): Remove unused global references.
4
f303dbd6
PA
52016-01-18 Pedro Alves <palves@redhat.com>
6
7 * gdb.base/async-shell.exp: Adjust expected output.
8 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9 * gdb.base/siginfo-thread.exp: Adjust expected output.
10 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11 * gdb.java/jnpe.exp: Adjust expected output.
12 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14 * gdb.threads/leader-exit.exp: Adjust expected output.
15 * gdb.threads/manythreads.exp: Adjust expected output.
16 * gdb.threads/pthreads.exp: Adjust expected output.
17 * gdb.threads/schedlock.exp: Adjust expected output.
18 * gdb.threads/siginfo-threads.exp: Adjust expected output.
19 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
20 expected output.
21 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
22 output.
23 * gdb.threads/sigthread.exp: Adjust expected output.
24 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
25
b2789696
YQ
262016-01-18 Yao Qi <yao.qi@linaro.org>
27
28 * gdb.guile/scm-section-script.c: Replace @progbits with
29 %progbits.
30 * gdb.python/py-section-script.c: Likewise.
31
71ef29a8
PA
322016-01-15 Pedro Alves <palves@redhat.com>
33
34 * gdb.multi/tids.exp: Test star wildcard ranges.
35
3f5b7598
PA
362016-01-15 Pedro Alves <palves@redhat.com>
37
38 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
39 command from "thread apply" invocation.
40 (thr_apply_info_thr_invalid): Default the expected output to the
41 input tid list.
42 (top level): Add tests that use convenience variables. Add tests
43 for "thread apply" with a valid TID list, but missing the command.
44
663f6d42
PA
452016-01-13 Pedro Alves <palves@redhat.com>
46
47 * gdb.base/default.exp: Expect $_gthread as well.
48 * gdb.multi/tids.exp: Test $_gthread.
49 * gdb.threads/thread-specific.exp: Test $_gthread.
50
c84f6bbf
PA
512016-01-13 Pedro Alves <palves@redhat.com>
52
53 * gdb.multi/tids.exp: Test "info threads -gid".
54
22a02324
PA
552016-01-13 Pedro Alves <palves@redhat.com>
56
57 * gdb.multi/tids.exp: Test InferiorThread.global_num and
58 Breakpoint.thread.
59 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
60
5d5658a1
PA
612016-01-07 Pedro Alves <palves@redhat.com>
62
63 * gdb.base/break.exp: Adjust to output changes.
64 * gdb.base/hbreak2.exp: Likewise.
65 * gdb.base/sepdebug.exp: Likewise.
66 * gdb.base/watch_thread_num.exp: Likewise.
67 * gdb.linespec/keywords.exp: Likewise.
68 * gdb.multi/info-threads.exp: Likewise.
69 * gdb.threads/thread-find.exp: Likewise.
70 * gdb.multi/tids.c: New file.
71 * gdb.multi/tids.exp: New file.
72
84654457
PA
732016-01-13 Pedro Alves <palves@redhat.com>
74
75 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
76
e3940304
PA
772016-01-13 Pedro Alves <palves@redhat.com>
78
79 * gdb.base/default.exp: Expect $_inferior as well.
80 * gdb.multi/base.exp: Test $_inferior.
81
a911d87a
PA
822016-01-13 Pedro Alves <palves@redhat.com>
83
84 PR breakpoints/19388
85 * gdb.base/catch-signal-siginfo-cond.c: New file.
86 * gdb.base/catch-signal-siginfo-cond.exp: New file.
87
82075af2
JS
882016-01-12 Josh Stone <jistone@redhat.com>
89 Philippe Waroquiers <philippe.waroquiers@skynet.be>
90
91 * gdb.base/catch-syscall.c (do_execve): New variable.
92 (main): Conditionally trigger an execve.
93 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
94 (test_catch_syscall_execve): New, check entry/return across execve.
95 (do_syscall_tests): Call test_catch_syscall_execve.
96
e46eeedd
PA
972016-01-12 Pedro Alves <palves@redhat.com>
98
99 * gdb.base/random-signal.exp (do_test): New procedure, with body
100 of testcase moved in.
101
01d8c27e
JK
1022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
103 Pedro Alves <palves@redhat.com>
104
105 * gdb.base/funcargs.exp (finish from indirectly called function):
106 Reintroduce the case for 'First'.
107
9a706302
JK
1082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
109 Pedro Alves <palves@redhat.com>
110
111 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
112 (tcatch_vfork_then_child_follow_exec)
113 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
114 identification.
115
c0ecb95f
JK
1162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
119 and repeats to unlimited.
120 * gdb.python/py-value.exp: Likewise.
121 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
122 and repeats to unlimited.
123
6cfc1fcb
JK
1242016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
127 and reordering the functions.
128 * gdb.multi/hangout.c: Likewise.
129 * gdb.multi/hello.c: Likewise.
130
582a1b00
SM
1312016-01-08 Simon Marchi <simon.marchi@ericsson.com>
132
133 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
134 absolute.
135 (SingleStatisticTestResult.report): Use dict.keys instead of
136 dict.iterkeys.
137
79bc59cb
PA
1382016-01-06 Pedro Alves <palves@redhat.com>
139
140 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
141
43368e1d
MM
1422016-01-04 Markus Metzger <markus.t.metzger@intel.com>
143
144 * gdb.btrace/dlopen.exp: New.
145 * gdb.btrace/dlopen.c: New.
146 * gdb.btrace/dlopen-dso.c: New.
147
79fad5b8
SL
1482015-12-25 Sandra Loosemore <sandra@codesourcery.com>
149
150 * lib/gdb.exp (gdb_test): Update comments to clarify that the
151 PATTERN argument is optional.
152
ab8314b3
JB
1532015-12-24 Joel Brobecker <brobecker@adacore.com>
154
155 * lib/ada.exp (target_compile_ada_from_dir): New function.
156 (gdb_compile_ada): Reimplement avoiding the use of project files.
157 * gdb.ada/gnat_ada.gpr: Delete.
158 * gdb.ada/cond_lang.exp: Adjust test to make path before
159 filename optional.
160 * gdb.ada/small_reg_param.exp: Likewise.
161
fe33faff
SM
1622015-12-22 Simon Marchi <simon.marchi@ericsson.com>
163
164 * gdb.base/foll-vork.exp: Remove HP-UX special case.
165
6d265cb4
TP
1662015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
167
168 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
169 case.
170
10125099
SM
1712015-12-21 Simon Marchi <simon.marchi@ericsson.com>
172
173 * gdb.base/break.exp: Remove dead code.
174 * gdb.base/sepdebug.exp: Likewise.
175
3ca22649
SM
1762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
177
178 * gdb.asm/asm-source.exp: Remove HP-UX references.
179 * gdb.base/annota1.exp: Likewise.
180 * gdb.base/annota3.exp: Likewise.
181 * gdb.base/attach.exp: Likewise.
182 * gdb.base/bigcore.exp: Likewise.
183 * gdb.base/break.exp: Likewise.
184 * gdb.base/call-ar-st.exp: Likewise.
185 * gdb.base/callfuncs.exp: Likewise.
186 * gdb.base/catch-fork-static.exp: Likewise.
187 * gdb.base/display.exp: Likewise.
188 * gdb.base/foll-exec-mode.exp: Likewise.
189 * gdb.base/foll-exec.exp: Likewise.
190 * gdb.base/foll-fork.exp: Likewise.
191 * gdb.base/foll-vfork.exp: Likewise.
192 * gdb.base/funcargs.exp: Likewise.
193 * gdb.base/hbreak2.exp: Likewise.
194 * gdb.base/inferior-died.exp: Likewise.
195 * gdb.base/interrupt.exp: Likewise.
196 * gdb.base/multi-forks.exp: Likewise.
197 * gdb.base/nodebug.exp: Likewise.
198 * gdb.base/sepdebug.exp: Likewise.
199 * gdb.base/solib1.c: Likewise.
200 * gdb.base/step-test.exp: Likewise.
201 * gdb.mi/non-stop.c: Likewise.
202 * gdb.mi/pthreads.c: Likewise.
203 * gdb.multi/bkpt-multi-exec.ex: Likewise.
204 * gdb.threads/pthreads.c: Likewise.
205 * gdb.threads/staticthreads.exp: Likewise.
206 * lib/future.exp: Likewise.
207 * lib/gdb.exp: Likewise.
208 * gdb.base/so-indr-cl.c: Remove.
209 * gdb.base/so-indr-cl.exp: Likewise.
210 * gdb.base/solib.c: Likewise.
211 * gdb.base/solib.exp: Likewise.
212 * gdb.base/solib2.c: Likewise.
213
b6304613
SM
2142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
215
216 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
217 * gdb.base/call-ar-st.exp: Likewise.
218 * gdb.base/callfuncs.exp: Likewise.
219 * gdb.base/condbreak.exp: Likewise.
220 * gdb.base/constvars.exp: Likewise.
221 * gdb.base/hbreak2.exp: Likewise.
222 * gdb.base/langs.exp: Likewise.
223 * gdb.base/list.exp: Likewise.
224 * gdb.base/long_long.exp: Likewise.
225 * gdb.base/ptype.exp: Likewise.
226 * gdb.base/scope.exp: Likewise.
227 * gdb.base/signals.exp: Likewise.
228 * gdb.base/so-impl-ld.exp: Likewise.
229 * gdb.base/varargs.exp: Likewise.
230 * gdb.base/volatile.exp: Likewise.
231 * gdb.base/whatis.exp: Likewise.
232 * gdb.cp/cplusfuncs.exp: Likewise.
233 * gdb.cp/inherit.exp: Likewise.
234 * gdb.cp/local.exp: Likewise.
235 * gdb.cp/member-ptr.exp: Likewise.
236 * gdb.cp/method.exp: Likewise.
237 * gdb.cp/overload.exp: Likewise.
238 * gdb.cp/templates.exp: Likewise.
239 * gdb.stabs/weird.exp: Likewise.
240 * lib/compiler.c: Likewise.
241 * lib/compiler.cc: Likewise.
242 * lib/cp-support.exp: Likewise.
243 * lib/gdb.exp: Likewise.
244
bf401b07
SM
2452015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
246
247 * configure.ac: Remove HP-UX case.
248 * configure: Regenerate.
249
aff9c0f8
SM
2502015-12-18 Simon Marchi <simon.marchi@ericsson.com>
251
252 * lib/gdb.exp (gdb_compile): Add function doc.
253
a6904d5a
PA
2542015-12-17 Pedro Alves <palves@redhat.com>
255
256 PR threads/19354
257 * gdb.multi/info-threads.exp: New file.
258
a22279dd
YQ
2592015-12-15 Yao Qi <yao.qi@linaro.org>
260
261 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
262 is aarch64*-*-*.
263
0588c796
SL
2642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
265
266 * gdb.base/history-duplicates.exp: Skip if no readline support.
267
5d978e17
SL
2682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
269
270 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
271
7e763b86
SL
2722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
273
274 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
275
87a3a92c
SL
2762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
277
278 * gdb.base/completion.exp: Skip tests that interrupt GDB with
279 ctrl-C if nointerrupts target property is set.
280 * gdb.base/double-prompt-target-event-error.exp: Likewise.
281 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
282 * gdb.base/paginate-bg-execution.exp: Likewise.
283 * gdb.base/paginate-execution-startup.exp: Likewise.
284 * gdb.base/random-signal.exp: Likewise.
285 * gdb.base/range-stepping.exp: Likewise.
286 * gdb.cp/annota2.exp: Likewise.
287 * gdb.cp/annota3.exp: Likewise.
288 * gdb.gdb/selftest.exp: Likewise.
289 * gdb.threads/continue-pending-status.exp: Likewise.
290 * gdb.threads/leader-exit.exp: Likewise.
291 * gdb.threads/manythreads.exp: Likewise.
292 * gdb.threads/pthreads.exp: Likewise.
293 * gdb.threads/schedlock.exp: Likewise.
294 * gdb.threads/sigthread.exp: Likewise.
295
a8f077dc
DB
2962015-12-11 Don Breazeal <donb@codesourcery.com>
297
298 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
299 remote.
300 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
301 * gdb.base/foll-exec.exp (main): Enable for target remote.
302 * gdb.base/foll-fork.exp (main): Likewise.
303 * gdb.base/foll-vfork.exp (main): Likewise.
304 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
305 (proc continue_to_exit_bp_loc): Use clean_restart.
306 * gdb.base/pie-execl.exp (main): Disable for target remote.
307 * gdb.base/watch-vfork.exp (main): Enable for target remote.
308 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
309 * gdb.threads/execl.exp (main): Likewise.
310 * gdb.threads/fork-child-threads.exp (main): Likewise.
311 * gdb.threads/fork-plus-threads.exp (main): Disable for target
312 remote.
313 * gdb.threads/fork-thread-pending.exp (main): Enable for target
314 remote.
315 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
316 pid.tid style ptids, instead of just tid.
317 * gdb.threads/thread-execl.exp (main): Enable for target remote.
318 * gdb.threads/watchpoint-fork.exp (main): Likewise.
319 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
320 ptids, instead of just tid.
321
3b2464a8
AB
3222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
323
324 * gdb.base/list.exp (test_list_forward): Add end of file error
325 test.
326 (test_repeat_list_command): Add end of file error test.
327 (test_list_backwards): Add beginning of file error test.
328
a0def019
AB
3292015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
330
331 * gdb.base/list.exp (test_list_invalid_args): New function,
332 defined, and called.
333
5c000dff
AB
3342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
335
336 * gdb.base/list.exp (test_list): Make test names unique.
337
f1637ebe
YQ
3382015-12-11 Yao Qi <yao.qi@linaro.org>
339
340 * gdb.base/coremaker2.c: Remove.
341
36d6fc0a
PA
3422015-12-10 Pedro Alves <palves@redhat.com>
343
344 * gdb.multi/base.exp: Remove stale "spaces" references.
345
762f7747
PA
3462015-12-10 Pedro Alves <palves@redhat.com>
347
348 * gdb.multi/base.exp: Don't use nowarnings.
349 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
350 * gdb.multi/hangout.c: Include stdio.h.
351 * gdb.multi/hello.c: Include stdlib.h.
352 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
353 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
354 * gdb.multi/multi-arch.exp: Don't use nowarnings.
355
28d2bfb9
AB
3562015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
357
358 * gdb.dwarf2/dw2-ranges-base.c: New file.
359 * gdb.dwarf2/dw2-ranges-base.exp: New file.
360 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
361 support additional line table, and debug ranges generation.
362 (Dwarf::ranges): New function, generate .debug_ranges.
363 (Dwarf::lines): Support generating simple line table programs.
364 (Dwarf::assemble): Initialise new namespace variables.
365
5fc2beac
KB
3662015-12-09 Kevin Buettner <kevinb@redhat.com>
367
368 * gdb.base/async.exp (proc test_background): Add case for
369 asynchronous execution not supported.
370
1c35a88f
LM
3712015-12-09 Luis Machado <lgustavo@codesourcery.com>
372
373 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
374 format and change test names to make them unique.
375
b593e3d9
RK
3762015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
377 Pedro Alves <pedro@redhat.com>
378
379 PR gdb/18702
380 Add checking of floatformats setup on x86_64 hosts.
381 * gdb.arch/i386-float.S (main): Load bigval and smallval.
382 (smallval, bigval): New labels/constants.
383 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
384 float" after loading bigval and smallval.
385
d72413e6
PMR
3862015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
387
388 * gdb.ada/fun_overload_menu.exp: New testcase.
389 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
390
ece66d65
JS
3912015-12-04 Josh Stone <jistone@redhat.com>
392
393 * gdb.base/catch-fork-static.exp: New.
394
41d0efca
YQ
3952015-12-03 Yao Qi <yao.qi@linaro.org>
396
397 * gdb.base/sizeof.c: Don't include stdio.h and
398 ../lib/unbuffer_output.c.
399 (main): New variable 'size' and 'value'. Remove printf and
400 gdb_unbuffer_output. Assign return value to size and value.
401 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
402 at the beginning.
403 (check_sizeof): Check the result by printing variable 'size'.
404 (check_valueof): Check the result by printing variable 'value'.
405
99fd02d9
YQ
4062015-12-01 Yao Qi <yao.qi@linaro.org>
407
408 * gdb.base/disp-step-syscall.exp: Define syscall instruction
409 for aarch64*-*-linux* target.
410
f2faf941
PA
4112015-11-30 Pedro Alves <palves@redhat.com>
412
413 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
414
04bf20c5
PA
4152015-11-30 Pedro Alves <palves@redhat.com>
416
417 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
418 Handle non-stop mode vCont replies.
419
09df4675
PA
4202015-11-30 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
423 prepare_for_testing. Start gdb with "set non-stop on" appended to
424 GDBFLAGS. Lax expected stop output.
425
58b584af
YQ
4262015-11-27 Yao Qi <yao.qi@linaro.org>
427
428 * gdb.arch/arm-neon.exp: New.
429 * gdb.arch/arm-neon.c: New.
430
dfcb77a8
YQ
4312015-11-27 Yao Qi <yao.qi@linaro.org>
432
433 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
434
88e8ec1b
YQ
4352015-11-27 Yao Qi <yao.qi@linaro.org>
436
437 * gdb.cp/annota2.exp: Allow multiple occurrences of the
438 frames-invalid annotation.
439
bfde72c2
YQ
4402015-11-27 Yao Qi <yao.qi@linaro.org>
441
442 * gdb.cp/annota2.exp: Use ${frames_invalid}.
443
f6512a69
SM
4442015-11-26 Simon Marchi <simon.marchi@ericsson.com>
445
446 * gdb.threads/names.exp: New file.
447 * gdb.threads/names.c: New file.
448 * README: Mention gdb,no_thread_names.
449
46a3515b
MM
4502015-11-26 Markus Metzger <markus.t.metzger@intel.com>
451
452 PR 19297
453 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
454 support" error.
455
62147a22
PA
4562015-11-24 Pedro Alves <palves@redhat.com>
457
458 PR 17539
459 * gdb.base/display.exp: Expect displays to be sorted in ascending
460 order. Use multi_line.
461 * gdb.base/solib-display.exp: Likewise.
462
2f341b6e
PA
4632015-11-24 Pedro Alves <palves@redhat.com>
464
465 PR 17539
466 * gdb.base/display.exp: Expect displays to be sorted in ascending
467 order. Use multi_line.
468 * gdb.base/solib-display.exp: Likewise.
469
7e0aa6aa
PA
4702015-11-24 Pedro Alves <palves@redhat.com>
471
472 PR 17539
473 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
474 threads in ascending order.
475 * gdb.base/foll-fork.exp: Likewise.
476 * gdb.base/foll-vfork.exp: Likewise.
477 * gdb.base/multi-forks.exp: Likewise.
478 * gdb.mi/mi-nonstop.exp: Likewise.
479 * gdb.mi/mi-nsintrall.exp: Likewise.
480 * gdb.multi/base.exp: Likewise.
481 * gdb.multi/multi-arch.exp: Likewise.
482 * gdb.python/py-inferior.exp: Likewise.
483 * gdb.threads/break-while-running.exp: Likewise.
484 * gdb.threads/execl.exp: Likewise.
485 * gdb.threads/gcore-thread.exp: Likewise.
486 * gdb.threads/info-threads-cur-sal.exp: Likewise.
487 * gdb.threads/kill.exp: Likewise.
488 * gdb.threads/linux-dp.exp: Likewise.
489 * gdb.threads/multiple-step-overs.exp: Likewise.
490 * gdb.threads/next-bp-other-thread.exp: Likewise.
491 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
492 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
493 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
494 * gdb.threads/thread-find.exp: Likewise.
495 * gdb.threads/tls.exp: Likewise.
496 * lib/mi-support.exp (mi_reverse_list): Delete.
497 (mi_check_thread_states): No longer reverse list.
498
2cc57ad8
PA
4992015-11-24 Pedro Alves <palves@redhat.com>
500
501 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
502 use lowercase.
503
c93e8391
SM
5042015-11-23 Simon Marchi <simon.marchi@ericsson.com>
505
506 * gdb.trace/actions.c: Include trace-common.h.
507 (main): Add a location for a fast tracepoint.
508 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
509 the normal tracepoints.
510 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
511
045ccf91
SM
5122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
513
514 * save-trace.exp: Factor out code to these...
515 (gdb_save_tracepoints): New.
516 (gdb_load_tracepoints): New.
517 (do_save_load_test): New.
518
5506f9f6
KB
5192015-11-23 Kevin Buettner <kevinb@redhat.com>
520
521 * gdb.base/asmlabel.exp: New test.
522 * gdb.base/asmlabel.c: New test case.
523
16c3b12f
JB
5242015-11-23 Joel Brobecker <brobecker@adacore.com>
525
526 * gdb.base/wrong_frame_bt_full-main.c: New file.
527 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
528 * gdb.base/wrong_frame_bt_full.exp: New file.
529
155bfbd3
JB
5302015-11-23 Joel Brobecker <brobecker@adacore.com>
531
532 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
533
bb097445
JM
5342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
535
206853a0 536 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
537 pstate register when comparing registers values in
538 sparc64-*-linux-gnu targets to avoid spurious differences.
539
9c88ed8f
JM
5402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
541
206853a0 542 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 543
96161e25
SL
5442015-11-19 Sandra Loosemore <sandra@codesourcery.com>
545
546 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
547 as type argument to gdb_compile.
548 * gdb.base/nested-subp2.exp: Likewise.
549 * gdb.base/nested-subp3.exp: Likewise.
550
340c2830
DV
5512015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
552
553 * lib/dwarf.exp (_note): Fix left shift of negative value.
554 * gdb.trace/trace-condition.exp: Likewise.
555
c1862d0f
YQ
5562015-11-13 Yao Qi <yao.qi@linaro.org>
557
558 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
559 comments about d10v.
560 (test_scalar_returns): Likewise.
561 * gdb.base/d10v.ld: Remove.
562 * gdb.base/overlays.exp: Remove the target triplet checking for
563 d10v-*-*.
564 * gdb.base/structs.exp (test_struct_returns): Remove the
565 comments about d10v.
566 (test_struct_calls): Likewise.
567
77ae9c19
YQ
5682015-11-13 Yao Qi <yao.qi@linaro.org>
569
570 * gdb.base/gnu_vector.exp: Check the return value by "p res".
571 * gdb.base/gnu_vector.c: Don't include stdio.h.
572 (main): Don't print res and call add_some_intvecs.
573
430e004e
MK
5742015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
575
576 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
577 macro.
578 (func5): Removed.
579 (func4): Use FAST_TRACEPOINT_LABEL.
580 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
581 macro.
582 (func): Removed.
583 (thread_function): Use FAST_TRACEPOINT_LABEL.
584 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
585 (func): Remove.
586 (marker): Use FAST_TRACEPOINT_LABEL.
587 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
588 (pendfunc1): Remove.
589 (pendfunc): Use FAST_TRACEPOINT_LABEL.
590 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
591 (foo): Remove.
592 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
593 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
594 macro.
595 (func): Remove.
596 (marker): Use FAST_TRACEPOINT_LABEL.
597 * gdb.trace/trace-common.h: New header.
598 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
599 macro.
600 (func): Remove.
601 (marker): Use FAST_TRACEPOINT_LABEL.
602 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
603 (func): Remove.
604 (thread_function): Use FAST_TRACEPOINT_LABEL.
605
6e7675a7
MK
6062015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
607
608 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
609 in front.
610 * gdb.trace/change-loc.exp: Use global pcreg definition.
611 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
612 * gdb.trace/entry-values.exp: Use global spreg definition, add $
613 in front.
614 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
615 * gdb.trace/pending.exp: Likewise.
616 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
617 * gdb.trace/trace-break.exp: Likewise.
618 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
619 in front.
620 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
621 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
622 in front.
623 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
624
dddc0e16
JB
6252015-11-09 Joel Brobecker <brobecker@adacore.com>
626
627 * gdb.ada/fin_fun_out: New testcase.
628
c6f0b406
KB
6292015-11-07 Kevin Buettner <kevinb@redhat.com>
630
631 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
632 value associated with DW_AT_byte_size.
633 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
634 constants for DW_AT_byte_size, DW_AT_lower_bound, and
635 DW_AT_upper_bound.
636
f01dcfd9
KB
6372015-11-07 Kevin Buettner <kevinb@redhat.com>
638
639 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
640 (gdb_target_symbol_prefix_flags): Define in terms of _asm
641 version.
642 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
643 gdb.dwarf2/dw2-canonicalize-type.exp,
644 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
645 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
646 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
647 provided by gdb_target_symbol_prefix_flags_asm.
648 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
649 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
650 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
651 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
652 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
653 macros where needed). Use this macro for symbols which require
654 the prefix provided by SYMBOL_PREFIX.
655
2223449a
KB
6562015-11-05 Kevin Buettner <kevinb@redhat.com>
657
658 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
659 New procs.
660 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
661 representing expressions, of more than one list element.
662 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
663 to prepend linker symbol prefix to f.
664 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
665 table_1 and table_2.
666 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
667 Likewise, for f and g.
668 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
669 for ptr.
670 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
671 for main.
672 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
673 table_1_ptr and table_2_ptr.
674
6f2f1a3a
JK
6752015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
676 Joel Brobecker <brobecker@adacore.com>
677
678 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
679
566c56c9
MK
6802015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
681
682 * gdb.reverse/s390-mvcle.c: New test.
683 * gdb.reverse/s390-mvcle.exp: New file.
684 * lib/gdb.exp: Enable reverse tests on s390*-linux.
685
d5f0636b
MK
6862015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
687
688 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
689
7ad8b86c
MK
6902015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
691
692 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
693 reaching marker2.
694 * gdb.reverse/getresuid-reverse.exp: Likewise.
695 * gdb.reverse/pipe-reverse.exp: Likewise.
696 * gdb.reverse/readv-reverse.exp: Likewise.
697 * gdb.reverse/recvmsg-reverse.exp: Likewise.
698 * gdb.reverse/time-reverse.exp: Likewise.
699 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
700
4081c0f1
YQ
7012015-10-30 Yao Qi <yao.qi@linaro.org>
702
703 * gdb.threads/wp-replication.c (watch_count_done): Remove.
704 (empty_cycle): Remove.
705 (main): Don't call empty_cycle. Don't use watch_count_done.
706 * gdb.threads/wp-replication.exp: Don't set breakpoint on
707 empty_cycle. Rewrite the code counting HW watchpoints.
708
452b4ba5
MK
7092015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
710
711 * gdb.reverse/fstatat-reverse.c: New test.
712 * gdb.reverse/fstatat-reverse.exp: New file.
713 * gdb.reverse/getresuid-reverse.c: New test.
714 * gdb.reverse/getresuid-reverse.exp: New file.
715 * gdb.reverse/pipe-reverse.c: New test.
716 * gdb.reverse/pipe-reverse.exp: New file.
717 * gdb.reverse/readv-reverse.c: New test.
718 * gdb.reverse/readv-reverse.exp: New file.
719 * gdb.reverse/recvmsg-reverse.c: New test.
720 * gdb.reverse/recvmsg-reverse.exp: New file.
721 * gdb.reverse/time-reverse.c: New test.
722 * gdb.reverse/time-reverse.exp: New file.
723 * gdb.reverse/waitpid-reverse.c: New test.
724 * gdb.reverse/waitpid-reverse.exp: New file.
725
5e2e7507
JK
7262015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
727
728 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
729
0fde2c53
DE
7302015-10-26 Doug Evans <dje@google.com>
731
732 PR symtab/17391
733 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
734 * gdb.dwarf2/bad-regnum.c: New file.
735 * gdb.dwarf2/bad-regnum.exp: New file.
736
1a70ae97
DE
7372015-10-26 Doug Evans <dje@google.com>
738
739 PR python/18938
740 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
741 file.
742
27dc26ab
JK
7432015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
744
745 * gdb.compile/compile.exp (compile code globalvar): Update expectation
746 for a change by "Mention language in compile error message".
747
bed91f4d
SM
7482015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
749
750 PR python/18073
751 * gdb.python/py-type.c (C::a_method): New.
752 (C::a_const_method): New.
753 (C::a_static_method): New.
754 (a_function): New.
755 * gdb.python/py-type.exp (test_fields): Test getting fields
756 from function and method.
757
3f2f83dd
KB
7582015-10-21 Keven Boell <keven.boell@intel.com>
759
760 * gdb.fortran/vla-alloc-assoc.exp: New file.
761 * gdb.fortran/vla-datatypes.exp: New file.
762 * gdb.fortran/vla-datatypes.f90: New file.
763 * gdb.fortran/vla-history.exp: New file.
764 * gdb.fortran/vla-ptype-sub.exp: New file.
765 * gdb.fortran/vla-ptype.exp: New file.
766 * gdb.fortran/vla-sizeof.exp: New file.
767 * gdb.fortran/vla-sub.f90: New file.
768 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
769 * gdb.fortran/vla-value-sub-finish.exp: New file.
770 * gdb.fortran/vla-value-sub.exp: New file.
771 * gdb.fortran/vla-value.exp: New file.
772 * gdb.fortran/vla-ptr-info.exp: New file.
773 * gdb.mi/mi-vla-fortran.exp: New file.
774 * gdb.mi/vla.f90: New file.
775
27145d50
SL
7762015-10-21 Sandra Loosemore <sandra@codesourcery.com>
777
778 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
779 of hardwired timeout value.
780
5f3ff4f8
JK
7812015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
782 Pedro Alves <palves@redhat.com>
783
784 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
785 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
786
bfd09d20
JS
7872015-10-19 Josh Stone <jistone@redhat.com>
788
789 * gdb.base/catch-syscall.c: Include <sched.h>.
790 (unknown_syscall): New variable.
791 (main): Trigger a vfork and an unknown syscall.
792 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
793 (unknown_syscall_number): Likewise.
794 (check_call_to_syscall): Accept an optional syscall pattern.
795 (check_return_from_syscall): Likewise.
796 (check_continue): Likewise.
797 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
798 (test_catch_syscall_skipping_return): New test toggling off 'catch
799 syscall' to step over the syscall return, then toggling back on.
800 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
801 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
802 (do_syscall_tests): Call test_catch_syscall_without_args and
803 test_catch_syscall_mid_vfork.
804 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
805 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
806
b32b93c6
AS
8072015-10-19 Andrew Stubbs <ams@codesourcery.com>
808
809 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
810 print g_vE): Add new pass patterns.
811 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
812 print various symbol names for vptr fields.
813
9d622bda
AB
8142015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
815
816 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
817 results.
818
0fd8ac1c
YQ
8192015-10-12 Yao Qi <yao.qi@linaro.org>
820
821 * gdb.arch/disp-step-insn-reloc.exp: New test case.
822
34240514
YQ
8232015-10-12 Yao Qi <yao.qi@linaro.org>
824
825 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
826 is aarch64*-*-linux*.
827
8240f442
YQ
8282015-10-12 Yao Qi <yao.qi@linaro.org>
829
830 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
831 (can_relocate_bcond_true): ... it.
832 (can_relocate_bcond_false): New function.
833 (foo): Likewise.
834 (can_relocate_bl): Likewise.
835 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
836 can_relocate_bl.
837
2520f728
PMR
8382015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
839
840 * gdb.base/nested-addr.c: New file.
841 * gdb.base/nested-addr.exp: New testcase.
842
abcef95a
MM
8432015-10-09 Markus Metzger <markus.t.metzger@intel.com>
844
845 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
846 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
847 its output. Ignore the output of "record goto begin" and instead
848 check that GDB is replaying.
849
145e3ddb
PA
8502015-10-09 Pedro Alves <palves@redhat.com>
851
852 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
853 (top level): Use it in the run with no args test.
854
d5d8c4e1
IB
8552015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
856
857 * gdb.dlang/properties.exp: New file.
858
06e635ef
SL
8592015-10-02 Sandra Loosemore <sandra@codesourcery.com>
860
861 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
862 whether or not address 0x1000 is mapped on the target.
863
e019fd1d
SM
8642015-09-30 Simon Marchi <simon.marchi@ericsson.com>
865
866 * gdb.python/py-type.exp: Do not run tests if binaries fail to
867 build.
868
77ba2a67
MM
8692015-09-30 Markus Metzger <markus.t.metzger@intel.com>
870
871 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
872 instruction-history test.
873
c60eb31f
DE
8742015-09-28 Doug Evans <dje@google.com>
875
876 * gdb.base/gcore.c (array_func): Add reference to static_array.
877
9a3c8263
SM
8782015-09-25 Simon Marchi <simon.marchi@ericsson.com>
879
880 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
881 source line.
882
9720e656
SL
8832015-09-24 Sandra Loosemore <sandra@codesourcery.com>
884
885 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
886 short or char as base type.
887
938d3bf2
SL
8882015-09-23 Sandra Loosemore <sandra@codesourcery.com>
889
890 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
891 to allow any size enum.
892
e6c2c623
PMR
8932015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
894
895 * gdb.ada/array_ptr_renaming.exp: New testcase.
896 * gdb.ada/array_ptr_renaming/foo.adb: New file.
897 * gdb.ada/array_ptr_renaming/pack.ads: New file.
898
06da0f77
PL
8992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
900
901 * gdb.trace/ftrace-lock.c: New file.
902 * gdb.trace/ftrace-lock.exp: New file.
903
4f51c22a
PL
9042015-09-21 Pierre Langlois <pierre.langlois@arm.com>
905
906 * gdb.arch/insn-reloc.c: New file.
907 * gdb.arch/ftrace-insn-reloc.exp: New file.
908
7041adf4
PL
9092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
910
911 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
912 instruction.
913 * gdb.trace/pendshr1.c (pendfunc): Likewise.
914 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
915 * gdb.trace/range-stepping.c: Likewise.
916 * gdb.trace/trace-break.c: Likewise.
917 * gdb.trace/trace-mt.c (thread_function): Likewise.
918 * gdb.trace/ftrace.c (marker): Likewise.
919 * gdb.trace/trace-condition.c (marker): Likewise.
920 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
921 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
922 is_aarch64_target.
923
015d2e7e
DE
9242015-09-18 Doug Evans <xdje42@gmail.com>
925
926 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
927 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
928
26b188a2
SL
9292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
930
931 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
932 the breakpoint.
933
79dc332b
SL
9342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
935
936 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
937 the pending breakpoint. Remove timeout override for "Run till
938 MI pending breakpoint on pendfunc3 on thread 2" test.
939
f57929f2
SL
9402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
941
942 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
943 filename pattern.
944
3f469b17
SL
9452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
946
947 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
948 in breakpoint filename pattern.
949
515b89b3
SL
9502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
951
7800dbe4
SL
952 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
953
9542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
955
515b89b3
SL
956 * gdb.linespec/explicit.exp: Check for readline support for
957 tab-completion tests. Fix obvious typo.
958
d2939ba2
MM
9592015-09-18 Markus Metzger <markus.t.metzger@intel.com>
960
961 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
962 and replay.
963
cbb55fa7
MM
9642015-09-18 Markus Metzger <markus.t.metzger@intel.com>
965
966 * gdb.btrace/non-stop.c: New.
967 * gdb.btrace/non-stop.exp: New.
968
43691ca1
PL
9692015-09-17 Pierre Langlois <pierre.langlois@arm.com>
970 Yao Qi <yao.qi@linaro.org>
971
972 * gdb.trace/trace-condition.c: New file.
973 * gdb.trace/trace-condition.exp: New file.
974
d78908cf
WW
9752015-09-16 Wei-cheng Wang <cole945@gmail.com>
976
977 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
978 for testing bytecode compilation.
979
1ed415e2
PA
9802015-09-16 Pedro Alves <palves@redhat.com>
981 Sandra Loosemore <sandra@codesourcery.com>
982
983 * gdb.threads/non-stop-fair-events.c (timeout): New global.
984 (SECONDS): Redefine.
985 (main): Call pthread_kill and alarm early.
986 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
987 support.
988 (test): If the target can't hardware step and doesn't support
989 displaced stepping, increase the timeout.
990
d136eff5
PA
9912015-09-16 Pedro Alves <palves@redhat.com>
992
993 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
994 (enable_debug): New procedures.
995 (test): Use them. Bail out if waiting for threads fails.
996 (top level): Bail out if a test fails.
997
991f019c
YQ
9982015-09-16 Yao Qi <yao.qi@linaro.org>
999
1000 * gdb.asm/asm-source.exp: Set asm-arch for
1001 aarch64*-*-* target.
1002 * gdb.asm/aarch64.inc: New file.
1003
bfca584f
PMR
10042015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1005
1006 * gdb.ada/array_of_variable_length.exp: New testcase.
1007 * gdb.ada/array_of_variable_length/foo.adb: New file.
1008 * gdb.ada/array_of_variable_length/pck.adb: New file.
1009 * gdb.ada/array_of_variable_length/pck.ads: New file.
1010
b326e587
DE
10112015-09-15 Doug Evans <dje@google.com>
1012
1013 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1014 of function static local variable.
1015
5382cfab
PW
10162015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1017
1018 * gdb.threads/tls-so_extern.exp: New test file.
1019 * gdb.threads/tls-so_extern.c: New test file.
1020 * gdb.threads/tls-so_extern_main.c: New test file.
1021
141c5cc4
JK
10222015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1023
1024 * gdb.opt/solib-intra-step-lib.c: New file.
1025 * gdb.opt/solib-intra-step-main.c: New file.
1026 * gdb.opt/solib-intra-step.exp: New file.
1027
d15dcecd
PA
10282015-09-15 Pedro Alves <palves@redhat.com>
1029
1030 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1031 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1032
4c2f2a79
PA
10332015-09-14 Pedro Alves <palves@redhat.com>
1034
1035 * gdb.base/hook-stop-continue.c: Delete.
1036 * gdb.base/hook-stop-continue.exp: Delete.
1037 * gdb.base/hook-stop-frame.c: Delete.
1038 * gdb.base/hook-stop-frame.exp: Delete.
1039 * gdb.base/hook-stop.c: New file.
1040 * gdb.base/hook-stop.exp: New file.
1041
919e6dbe
PMR
10422015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1043
1044 * gdb.ada/access_to_packed_array.exp: New testcase.
1045 * gdb.ada/access_to_packed_array/foo.adb: New file.
1046 * gdb.ada/access_to_packed_array/pack.adb: New file.
1047 * gdb.ada/access_to_packed_array/pack.ads: New file.
1048
157280a4
MM
10492015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1050
1051 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1052 buffer size test.
1053
2fd33e94
DB
10542015-09-11 Don Breazeal <donb@codesourcery.com>
1055
1056 * gdb.base/foll-exec.c: Add copyright header. Fix
1057 formatting issues.
1058 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1059 (do_exec_tests): Use clean_restart in place of zap_session,
1060 and for test initialization. Fix formatting issues. Use
1061 fail in place of perror.
1062 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1063 an expect statement to match an expression with output from
1064 the program under debug.
1065 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1066 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1067 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1068 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1069 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1070
e70b6e8e
DE
10712015-09-09 Doug Evans <dje@google.com>
1072
1073 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1074
7a551a51
DE
10752015-09-09 Doug Evans <dje@google.com>
1076
1077 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1078
4c666f84
DE
10792015-09-09 Doug Evans <dje@google.com>
1080
1081 * gdb.base/savedregs.exp: Fix typo.
1082
243a9253
PA
10832015-09-09 Pedro Alves <palves@redhat.com>
1084
1085 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1086
c0fa8fbd
SL
10872015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1088
1089 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1090 command actually switches threads. Give up on remaining
1091 tests if target fails to stop at breakpoint.
1092
cd7c1778
PMR
10932015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1094
1095 * gdb.ada/funcall_char.exp: New testcase.
1096 * gdb.ada/funcall_char/foo.adb: New file.
1097
dc5c8746
PMR
10982015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1099
1100 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1101 expected outputs. Add two testcases for completing ambiguous
1102 functions.
1103 * gdb.ada/complete/aux_pck.adb: New file.
1104 * gdb.ada/complete/aux_pck.ads: New file.
1105 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1106 Ambiguous_Func functions.
1107 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1108 * gdb.ada/complete/pck.adb: Likewise.
1109
4e83a1e7
UW
11102015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1111
1112 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1113 failures to run the test program under GDB.
1114
8ce74153
LM
11152015-08-26 Luis Machado <lgustavo@codesourcery.com>
1116
1117 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1118 to C.
1119
e9756d52
PP
11202015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1121
1122 * gdb.base/run-after-attach.exp: New test file.
1123 * gdb.base/run-after-attach.c: New test file.
1124
8d37573b
DB
11252015-08-26 Don Breazeal <donb@codesourcery.com>
1126
1127 * gdb.base/foll-exec-2.c: New test program.
1128 * gdb.base/foll-exec-2.exp: New test.
1129
63e43d3a
PMR
11302015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1131
1132 * gdb.base/nested-subp1.exp: New file.
1133 * gdb.base/nested-subp1.c: New file.
1134 * gdb.base/nested-subp2.exp: New file.
1135 * gdb.base/nested-subp2.c: New file.
1136 * gdb.base/nested-subp3.exp: New file.
1137 * gdb.base/nested-subp3.c: New file.
1138
3d40fbb5
PA
11392015-08-24 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.server/connect-without-multi-process.c: New file.
1142 * gdb.server/connect-without-multi-process.exp: New file.
1143
4422ac93
LM
11442015-08-24 Luis Machado <lgustavo@codesourcery.com>
1145
1146 * gdb.opt/inline-markers.c: Make z int.
1147
91dddb86
LM
11482015-08-24 Luis Machado <lgustavo@codesourcery.com>
1149
1150 * gdb.opt/inline-markers.c: Make z volatile.
1151
a48847ee
LM
11522015-08-24 Luis Machado <lgustavo@codesourcery.com>
1153
1154 * gdb.opt/inline-bt.c: New volatile global z.
1155 * gdb.opt/inline-cmds.c: Likewise.
1156 * gdb.opt/inline-locals.c: Likewise.
1157 * gdb.opt/inline-markers.c: New extern global z.
1158 (marker): Use z.
1159 (inline_fn): Likewise.
1160
0ebbc52b
PA
11612015-08-24 Pedro Alves <palves@redhat.com>
1162
1163 * config/m32r-stub.exp: Remove file.
1164 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1165 * gdb.base/call-rt-st.exp: Likewise.
1166 * gdb.base/call-strs.exp: Likewise.
1167 * gdb.base/default.exp: Remove references to h8300-*-hms and
1168 *-*-udi*.
1169 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1170
77c365df
AA
11712015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1172
1173 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1174 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1175 and "return" use KFAIL when GDB can not read/write the vector
1176 return value.
1177
4313b8c0
GB
11782015-08-21 Gary Benson <gbenson@redhat.com>
1179
1180 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1181
0e433b32
PA
11822015-08-20 Pedro Alves <palves@redhat.com>
1183
1184 * gdb.server/solib-list.exp: No longer expect an interior stop in
1185 non-stop mode.
1186
221e1a37
PA
11872015-08-20 Pedro Alves <palves@redhat.com>
1188
1189 * gdb.server/connect-stopped-target.c: New file.
1190 * gdb.server/connect-stopped-target.exp: New file.
1191
40e3ad0e
PA
11922015-08-20 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.dwarf2/comp-unit-lang.exp: New file.
1195 * gdb.dwarf2/comp-unit-lang.c: New file.
1196
af39b327
PMR
11972015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1198
1199 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1200 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1201
7d45c7c3 12022015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1203
7d45c7c3
KB
1204 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1205 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1206
4d6cceb4
DE
12072015-08-18 Doug Evans <dje@google.com>
1208 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1209
1210 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1211 skip_python_tests. New arg prompt_regexp.
1212 (skip_python_tests): New function.
1213 * lib/mi-support.exp (mi_skip_python_tests): New function.
1214 * gdb.python/py-mi-objfile-gdb.py: New file.
1215 * gdb.python/py-mi-objfile.c: New file.
1216 * gdb.python/py-mi-objfile.exp: New file.
1217
ad89c2aa
KS
12182015-08-17 Keith Seitz <keiths@redhat.com>
1219
1220 * gdb.linespec/explicit.exp: Move strace test from here ...
1221 * gdb.trace/strace.exp: ... to here.
1222
e3ae3c43
PP
12232015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1224
1225 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1226 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1227
604b2636
DE
12282015-08-14 Doug Evans <xdje42@gmail.com>
1229
1230 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1231 inferior before selecting a new file.
1232
6ff0ba5f
DE
12332015-08-14 Doug Evans <xdje42@gmail.com>
1234
1235 * gdb.mi/mi-disassemble.exp: Update.
1236 * gdb.base/disasm-optim.S: New file.
1237 * gdb.base/disasm-optim.c: New file.
1238 * gdb.base/disasm-optim.h: New file.
1239 * gdb.base/disasm-optim.exp: New file.
1240
9ca98f92
KS
12412015-08-14 Keith Seitz <keiths@redhat.com>
1242
1243 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1244 "evaluated-by".
1245
52bbc560
JB
12462015-08-13 Joel Brobecker <brobecker@adacore.com>
1247
1248 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1249
5d8c3ed3
PMR
12502015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1251
1252 * gdb.ada/fun_renaming.exp: New testcase.
1253 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1254 * gdb.ada/fun_renaming/pack.adb: New file.
1255 * gdb.ada/fun_renaming/pack.ads: New file.
1256
ea8812bc
KS
12572015-08-12 Keith Seitz <keiths@redhat.com>
1258
1259 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1260 gdb_get_line_number.
1261
4dafcdeb
JB
12622015-08-12 Joel Brobecker <brobecker@adacore.com>
1263
1264 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1265 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1266 gdb.base/dso2dso.exp: New files.
1267
5ba32597
SDJ
12682015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1269 Pedro Alves <palves@redhat.com>
1270 Keith Seitz <keiths@redhat.com>
1271
1272 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1273 GDBFLAGS.
1274
b6dafabf
PP
12752015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1276
1277 * gdb.base/gdbhistsize-history.exp
1278 (test_histsize_history_setting): Use save_vars.
1279 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1280 Use save_vars.
1281 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1282 * gdb.base/readline.exp: Use save_vars.
1283
abe8e607
PP
12842015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1285
1286 * lib/gdb.exp (save_vars): New proc.
1287
629500fa
KS
12882015-08-11 Keith Seitz <keiths@redhat.com>
1289
1290 * gdb.base/help.exp: Update help_breakpoint_text.
1291
eb8c4e2e
KS
12922015-08-11 Keith Seitz <keiths@redhat.com>
1293
1294 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1295 (at toplevel): Call test_explicit_breakpoints.
1296 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1297 breakpoints.
1298 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1299 breakpoint conditions, "-cond".
1300
87f0e720
KS
13012015-08-11 Keith Seitz <keiths@redhat.com>
1302
1303 * gdb.linespec/3explicit.c: New file.
1304 * gdb.linespec/cpexplicit.cc: New file.
1305 * gdb.linespec/cpexplicit.exp: New file.
1306 * gdb.linespec/explicit.c: New file.
1307 * gdb.linespec/explicit.exp: New file.
1308 * gdb.linespec/explicit2.c: New file.
1309 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1310 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1311 before using in the matching pattern.
1312 Clarify that `prefix' is a regular expression.
1313
f00aae0f
KS
13142015-08-11 Keith Seitz <keiths@redhat.com>
1315
1316 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1317 test.
1318 Add tests for missing ",FMT" and ",".
1319
e27852be
DE
13202015-08-10 Doug Evans <dje@google.com>
1321 Keith Seitz <keiths@redhat.com>
1322
1323 PR gdb/17960
1324 * gdb.base/completion.exp: Add location completer tests.
1325
7f03bd92
PA
13262015-08-07 Pedro Alves <palves@redhat.com>
1327
1328 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1329 tests here.
1330 (top level): Run do_test with and without displaced stepping.
1331
3fc8eb30
PA
13322015-08-07 Pedro Alves <palves@redhat.com>
1333
1334 * gdb.base/valgrind-disp-step.c: New file.
1335 * gdb.base/valgrind-disp-step.exp: New file.
1336
d4569d7b
PA
13372015-08-07 Pedro Alves <palves@redhat.com>
1338
1339 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1340 Delete function.
1341 (main): Add alarm. Run an infinite loop instead of calling
1342 wait_threads.
1343 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1344 comment.
1345 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1346 Delete function.
1347 (main): Add alarm. Run an infinite loop instead of calling
1348 wait_threads.
1349 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1350 comment.
1351
e1316e60
PA
13522015-08-07 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.base/checkpoint-ns.exp: New file.
1355 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1356 standard_testfile.
1357
da8c46d2
MM
13582015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1359
1360 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1361 * gdb.btrace/instruction_history.exp: Update.
1362 * gdb.btrace/tsx.exp: New.
1363 * gdb.btrace/tsx.c: New.
1364
de1c2c52
PA
13652015-08-06 Pedro Alves <palves@redhat.com>
1366
1367 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1368 increase timeout.
1369 * gdb.reverse/until-precsave.exp: Bump timeouts.
1370
782e0bf4
PA
13712015-08-06 Pedro Alves <palves@redhat.com>
1372
1373 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1374
83e97ed0
PA
13752015-08-06 Pedro Alves <palves@redhat.com>
1376
1377 PR gdb/18749
1378 * gdb.threads/process-dies-while-handling-bp.c: New file.
1379 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1380
863d01bd
PA
13812015-08-06 Pedro Alves <palves@redhat.com>
1382
1383 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1384 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1385
0a39bb32
PA
13862015-08-05 Pedro Alves <palves@redhat.com>
1387
1388 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1389 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1390
ee2d2b10
SL
13912015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1392
1393 * gdb.base/bp-permanent.exp: Report test as unsupported if
1394 the target cannot stop at the permanent breakpoint.
1395
4e1bdb00
DE
13962015-08-03 Doug Evans <dje@google.com>
1397
1398 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1399 10000.
1400
3d338901
DE
14012015-08-03 Doug Evans <dje@google.com>
1402
1403 * Makefile.in (workers/%.worker, build-perf): New rule.
1404 (GDB_PERFTEST_MODE): New variable.
1405 (check-perf): Use it.
1406 (clean): Clean up gdb.perf parallel build subdirs.
1407 * lib/build-piece.exp: New file.
1408 * lib/gdb.exp (make_gdb_parallel_path): New function
1409 (standard_output_file, standard_temp_file): Call it.
1410 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1411 of $GDB_PARALLEL.
1412 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1413
af061d3e
DE
14142015-08-03 Doug Evans <dje@google.com>
1415
8e1afc81 1416 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1417 (LOG_FILE_NAME): New global.
1418 (TextReporter.__init__): Initialize self.txt_sum.
1419 (TextReporter.report): Add support for multiple data-points.
1420 Move report to perftest.sum, put raw data in perftest.log.
1421 (TextReporter.start): Open sum and log files.
1422 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1423 * gdb.perf/lib/perftest/testresult.py
1424 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1425
2c8c5d37
PA
14262015-07-31 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1429 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1430 kill_wait_spawned_process instead of explicit "kill -9".
1431 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1432 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1433 kill_wait_spawned_process.
1434 * gdb.base/attach-twice.exp: Likewise.
1435 * gdb.base/attach.exp: Likewise.
1436 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1437 gdb_test_multiple.
1438 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1439 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1440 kill_wait_spawned_process.
1441 * gdb.base/valgrind-infcall.exp: Likewise.
1442 * gdb.multi/multi-attach.exp: Likewise.
1443 * gdb.python/py-prompt.exp: Likewise.
1444 * gdb.python/py-sync-interp.exp: Likewise.
1445 * gdb.server/ext-attach.exp: Likewise.
1446 * gdb.threads/attach-into-signal.exp (corefunc): Use
1447 spawn_wait_for_attach, spawn_id_get_pid and
1448 kill_wait_spawned_process.
1449 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1450 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1451 spawn_id_get_pid and kill_wait_spawned_process.
1452 * gdb.threads/attach-stopped.exp (corefunc): Use
1453 spawn_wait_for_attach, spawn_id_get_pid and
1454 kill_wait_spawned_process.
1455 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1456 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1457 kill_wait_spawned_process instead of explicit "kill -9".
1458 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1459 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1460 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1461 processes. Don't map cygwin/windows pids here. Now returns a
1462 spawn id list.
1463
032a0fca
SL
14642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1465
1466 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1467 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1468 correct patch.
1469
61a934ca
SL
14702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1471
1472 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1473
4bc4d428
SL
14742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1475
1476 Reapply:
1477 2014-05-21 Mark Wielaard <mjw@redhat.com>
1478
1479 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1480
998d452a
PA
14812015-07-30 Pedro Alves <palves@redhat.com>
1482
1483 * linux-low.c (handle_extended_wait): Set the child's last
1484 reported status to TARGET_WAITKIND_STOPPED.
1485
69dde7dc
PA
14862015-07-30 Pedro Alves <palves@redhat.com>
1487
1488 PR threads/18600
1489 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1490 only shows inferior 1.
1491
4dd63d48
PA
14922015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1493 Pedro Alves <palves@redhat.com>
1494
1495 PR threads/18600
1496 * gdb.threads/fork-plus-threads.c: New file.
1497 * gdb.threads/fork-plus-threads.exp: New file.
1498
d618e4c5
PP
14992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1500
1501 * gdb.base/batch-preserve-term-settings.exp
1502 (test_terminal_settings_preserved_after_cli_exit): Use
1503 send_quit_command.
1504
1eef6428
PA
15052015-07-29 Pedro Alves <palves@redhat.com>
1506 Don Breazeal <donb@codesourcery.com>
1507
1508 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1509 output from both inferior_spawn_id and gdb_spawn_id.
1510
7da5b897
SDJ
15112015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1512
1513 * gdb.threads/attach-into-signal.exp (corefunc): Use
1514 with_test_prefix on nested loops, uniquefying the test messages.
1515
dac804df
SDJ
15162015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1517
1518 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1519 commit.
1520
06265e53
PP
15212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1522
1523 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1524 New proc.
1525 (test_terminal_settings_preserved_after_sigterm): New test.
1526
18206ca3
PP
15272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1528
1529 * gdb.base/batch-preserve-term-settings.exp
1530 (test_terminal_settings_preserved_after_cli_exit): New test.
1531
90074d11
PP
15322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1533
1534 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1535 manipulation of saved_gdbflags.
1536 (test_terminal_settings_preserved): Remove global declaration of
1537 the unused variable pagination_prompt. Remove manipulation of
1538 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1539 GDBFLAGS.
1540
eb1a7902
PA
15412015-07-29 Pedro Alves <palves@redhat.com>
1542
1543 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1544
8b75dd3b
PA
15452015-07-29 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1548 at the top.
1549
dedad4e3
PA
15502015-07-29 Pedro Alves <palves@redhat.com>
1551
1552 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1553 (main): Call gdb_unbuffer_output.
1554 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1555 (main): Call gdb_unbuffer_output.
1556 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1557 (main): Call gdb_unbuffer_output.
1558 * gdb.base/call-strs.exp: Adjust to step over the
1559 gdb_unbuffer_output call.
1560 * gdb.base/catch-gdb-caused-signals.c: Include
1561 "../lib/unbuffer_output.c".
1562 (main): Call gdb_unbuffer_output.
1563 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1564 (main): Call gdb_unbuffer_output.
1565 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1566 (main): Call gdb_unbuffer_output.
1567 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1568 (main): Call gdb_unbuffer_output.
1569 * gdb.base/shlib-call.exp: Adjust to step over the
1570 gdb_unbuffer_output call.
1571 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1572 (main): Call gdb_unbuffer_output.
1573 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1574 (main): Call gdb_unbuffer_output.
1575 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1576 (main): Rename to ...
1577 (test): ... this.
1578 (main): Reimplement.
1579 * gdb.base/varargs.exp: Run to test instead of to main.
1580 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1581 (main): Call gdb_unbuffer_output.
1582
58789a91
PA
15832015-07-29 Pedro Alves <palves@redhat.com>
1584
1585 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1586 factore out from mi_continue_dprintf. For call-style dprintfs,
1587 expect dprintf output out of $inferior_spawn_id.
1588 (mi_continue_dprintf): Use mi_expect_dprintf.
1589 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1590 (main): Call gdb_unbuffer_output.
1591
e8376742
PA
15922015-07-29 Pedro Alves <palves@redhat.com>
1593
1594 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1595 (default_mi_gdb_start): Set inferior_spawn_id instead of
1596 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1597 gdb_spawn_id.
1598 (mi_gdb_test): Always expect inferior output from both
1599 $inferior_spawn_id and $gdb_spawn_id.
1600
08280010
PA
16012015-07-29 Pedro Alves <palves@redhat.com>
1602
1603 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1604 send_inferior and $inferior_spawn_id.
1605
4d30e432
PA
16062015-07-29 Pedro Alves <palves@redhat.com>
1607
1608 * gdb.gdb/complaints.exp (test_initial_complaints)
1609 (test_serial_complaints, test_short_complaints): Use
1610 gdb_test_stdio.
1611 (test_empty_complaint): Handle $inferior_spawn_id !=
1612 $gdb_spawn_id.
1613
0d30a335
PA
16142015-07-29 Pedro Alves <palves@redhat.com>
1615
1616 * gdb.base/varargs.exp: Use gdb_test_stdio.
1617
39413b29
PA
16182015-07-29 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1621
7cb000a9
PA
16222015-07-29 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1625
d7b8ac82
PA
16262015-07-29 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1629 parameter into two new parameters, "inf_result" and "gdb_result".
1630 Expect inferior output and gdb output from $inferior_spawn_id and
1631 $gdb_spawn_id, respectively. Adjust all callers.
1632
789c3a0c
PA
16332015-07-29 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1636 of gdb_test_sequence.
1637
77e760c3
PA
16382015-07-29 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1641 (saw_spurious_output): Expect inferior output from
1642 $inferior_spawn_id. Use gdb_test_stdio.
1643
8396d2cd
PA
16442015-07-29 Pedro Alves <palves@redhat.com>
1645
1646 * gdb.base/dprintf.exp: Use standard_testfile. Change
1647 prepare_for_testing call.
1648 (srcfile): Don't set.
1649 (restart): New procedure.
1650 (test_dprintf): New procecure, use to continue over dprintfs.
1651 (test_call, test_agent): New procedures, tests moved here.
1652 Restart gdb and recreate dprintfs. Adjust expected output.
1653
2051d61f
PA
16542015-07-29 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1657
452397af
PA
16582015-07-29 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1661
8aed9555
PA
16622015-07-29 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1665 gdb_test_stdio.
1666
188a61b4
PA
16672015-07-29 Pedro Alves <palves@redhat.com>
1668
1669 * lib/gdb.exp (gdb_test_stdio): New procedure.
1670
12264a45
PA
16712015-07-29 Pedro Alves <palves@redhat.com>
1672
1673 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1674
23ffc893
PA
16752015-07-29 Pedro Alves <palves@redhat.com>
1676
1677 * gdb.base/call-signal-resume.exp: Remove check for
1678 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1679 * gdb.base/unwindonsignal.exp: Likewise.
1680 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1681 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1682
65566918
PA
16832015-07-29 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.base/siginfo-addr.c (pass): New function.
1686 (handler): Call it iff si_addr is correct.
1687 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1688 Set a breakpoint at "pass" and continue to it.
1689
d60a9221
SDJ
16902015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1691
1692 * gdb.python/py-objfile.exp: Make some tests have unique names.
1693 * gdb.python/py-pp-registration.exp: Likewise.
1694
bde40b8f
PA
16952015-07-28 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1698
13e1dec8
SM
16992015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1700
1701 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1702
da33c9a7
SM
17032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1704
1705 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1706
077836f7
PP
17072015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1708
1709 * gdb.base/gdb-sigterm-2.exp: New test.
1710
b8cc7b2e
DE
17112015-07-25 Doug Evans <xdje42@gmail.com>
1712
1713 Revert:
1714 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1715 (workers/%.worker, build-perf): New rule.
1716 (GDB_PERFTEST_MODE): New variable.
1717 (check-perf): Use it.
1718 (clean): Clean up gdb.perf parallel build subdirs.
1719 * lib/build-piece.exp: New file.
1720 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1721 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1722 name.
1723 (standard_temp_file): Ditto.
1724 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1725 of $GDB_PARALLEL.
1726
c8bd4544
DE
17272015-07-24 Doug Evans <dje@google.com>
1728
1729 * gdb.perf/lib/perftest/utils.py: New file.
1730 * gdb.perf/gm-hello.cc: New file.
1731 * gdb.perf/gm-pervasive-typedef.cc: New file.
1732 * gdb.perf/gm-pervasive-typedef.h: New file.
1733 * gdb.perf/gm-std.cc: New file.
1734 * gdb.perf/gm-std.h: New file.
1735 * gdb.perf/gm-use-cerr.cc: New file.
1736 * gdb.perf/gm-utils.h: New file.
1737 * gdb.perf/gmonster-null-lookup.py: New file.
1738 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1739 * gdb.perf/gmonster-print-cerr.py: New file.
1740 * gdb.perf/gmonster-ptype-string.py: New file.
1741 * gdb.perf/gmonster-runto-main.py: New file.
1742 * gdb.perf/gmonster-select-file.py: New file.
1743 * gdb.perf/gmonster1-null-lookup.exp: New file.
1744 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1745 * gdb.perf/gmonster1-print-cerr.exp: New file.
1746 * gdb.perf/gmonster1-ptype-string.exp: New file.
1747 * gdb.perf/gmonster1-runto-main.exp: New file.
1748 * gdb.perf/gmonster1-select-file.exp: New file.
1749 * gdb.perf/gmonster1.cc: New file.
1750 * gdb.perf/gmonster1.exp: New file.
1751 * gdb.perf/gmonster2-null-lookup.exp: New file.
1752 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1753 * gdb.perf/gmonster2-print-cerr.exp: New file.
1754 * gdb.perf/gmonster2-ptype-string.exp: New file.
1755 * gdb.perf/gmonster2-runto-main.exp: New file.
1756 * gdb.perf/gmonster2-select-file.exp: New file.
1757 * gdb.perf/gmonster2.cc: New file.
1758 * gdb.perf/gmonster2.exp: New file.
1759
6eab34f3
DE
17602015-07-24 Doug Evans <dje@google.com>
1761
1762 * gdb.perf/README: New file.
1763 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1764 * lib/gen-perf-test.exp: New file.
1765
63738bfd
DE
17662015-07-24 Doug Evans <dje@google.com>
1767
1768 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1769 (PerfTest::startup): New function.
1770 (PerfTest::run): Return result of calling body.
1771 (PerfTest::assemble): Rewrite.
1772 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1773 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1774 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1775 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1776 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1777
7b606f95
DE
17782015-07-24 Doug Evans <dje@google.com>
1779
1780 * lib/gdb.exp (clean_restart): Make executable optional.
1781
a97b16b8
DE
17822015-07-24 Doug Evans <dje@google.com>
1783
1784 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1785 compiler_info references.
1786 * gdb.cp/temargs.exp: Ditto.
1787 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1788 (get_compiler_info): Early exit if already computed. Set compiler_info
1789 to "unknown" if there was a problem.
1790 (test_compiler_info): Add function comment. Call get_compiler_info.
1791
35baa57f
DE
17922015-07-24 Doug Evans <dje@google.com>
1793
1794 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1795 (workers/%.worker, build-perf): New rule.
1796 (GDB_PERFTEST_MODE): New variable.
1797 (check-perf): Use it.
1798 (clean): Clean up gdb.perf parallel build subdirs.
1799 * lib/build-piece.exp: New file.
1800 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1801 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1802 name.
1803 (standard_temp_file): Ditto.
1804 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1805 of $GDB_PARALLEL.
1806
6ebea266
DE
18072015-07-24 Doug Evans <dje@google.com>
1808
1809 * lib/future.exp (gdb_default_target_compile): New option
1810 "early_flags".
1811 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1812 --as-needed.
1813
1e76a7e9
SDJ
18142015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1815
1816 * gdb.base/catch-syscall.exp: Call gdb_exit before
1817 gdb_skip_xml_test.
1818
5068630a
PA
18192015-07-24 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.python/py-events.exp: Accept output between the stop event
1822 and the prompt.
1823 * gdb.python/py-evsignal.exp: Likewise.
1824 * gdb.python/py-evthreads.exp: Likewise.
1825
77598427
PA
18262015-07-24 Pedro Alves <palves@redhat.com>
1827
1828 PR gdb/18717
1829 * gdb.threads/non-ldr-exit.c: New file.
1830 * gdb.threads/non-ldr-exit.exp: New file.
1831
11e6c98f
YQ
18322015-07-24 Yao Qi <yao.qi@linaro.org>
1833
1834 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1835 restarting process.
1836
51aee833
YQ
18372015-07-24 Yao Qi <yao.qi@linaro.org>
1838
1839 * gdb.server/ext-restart.exp: New file.
1840
8cfe207c
YQ
18412015-07-24 Yao Qi <yao.qi@linaro.org>
1842
1843 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1844 argument options.
1845 * gdb.server/ext-wrapper.exp: New file.
1846
cc12ce38
DE
18472015-07-23 Doug Evans <dje@google.com>
1848
1849 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1850 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1851
d0d84780
PMR
18522015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1853
1854 * gdb.ada/var_arr_typedef.exp: New testcase.
1855 * gdb.ada/var_arr_typedef/pack.adb: New file.
1856 * gdb.ada/var_arr_typedef/pack.ads: New file.
1857 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1858
8b558f79
JB
18592015-07-20 Joel Brobecker <brobecker@adacore.com>
1860
1861 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1862
775a3298
JK
18632015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1864
1865 * gdb.arch/i386-biarch-core.exp: Replace istarget
1866 by "complete set gnutarget". Remove expectation for the "core-file"
1867 command.
1868
db1ff28b
JK
18692015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1870
1871 Revert the previous commit:
1872 Tests for validate symbol file using build-id.
1873
0a94970d
JK
18742015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1875
1876 Tests for validate symbol file using build-id.
1877 * gdb.base/solib-mismatch-lib.c: New file.
1878 * gdb.base/solib-mismatch-libmod.c: New file.
1879 * gdb.base/solib-mismatch.c: New file.
1880 * gdb.base/solib-mismatch.exp: New file.
1881
03346981
SL
18822015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1883
1884 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1885 nios2-*-linux*.
1886 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1887 * gdb.base/siginfo.exp: Likewise.
1888 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1889
42422cc7
PL
18902015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1891
1892 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1893 Move it to ...
1894 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1895 ... here.
1896 * gdb.trace/range-stepping.exp: Check that the target supports
1897 range stepping.
1898
cfa68bae
JK
18992015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1902
8ffdba26
PA
19032015-07-14 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/killed-outside.exp: New file.
1906 * gdb.base/killed-outside.c: New file.
1907
218a5a11
JK
19082015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1909
1910 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1911 (n at main): New.
1912 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1913
e03ed3c6
AA
19142015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1915
1916 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1917 infcall tests instead of setting up for KFAIL.
1918
485668e5
MM
19192015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1920
1921 * gdb.btrace/record_goto-step.exp: New.
1922
08464196
JK
19232015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1924
1925 PR compile/18484
1926 * gdb.compile/compile.c (struct struct_type): Add volatile to
1927 selffield's type.
1928 * gdb.compile/compile.exp
1929 (compile code struct_object.selffield = &struct_object): Skip further
1930 struct_object tests if this one xfails.
1931
bcf5c1d9
RC
19322015-07-08 Robert O'Callahan <robert@ocallahan.org>
1933
1934 PR exp/18617
1935 * gdb.trace/ax.exp: Add test.
1936
4931af25
YQ
19372015-07-07 Yao Qi <yao.qi@linaro.org>
1938
1939 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1940 instead of istarget "aarch64*-*-*".
1941 * gdb.arch/aarch64-fp.exp: Likewise.
1942 * gdb.base/float.exp: Likewise.
1943 * gdb.reverse/aarch64.exp: Likewise.
1944 * lib/gdb.exp (is_aarch64_target): New proc.
1945
9fcf688e
YQ
19462015-07-07 Yao Qi <yao.qi@linaro.org>
1947
1948 * lib/gdb.exp (is_aarch32_target): New proc.
1949 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1950 instead of "istarget "arm*-*-*"".
1951 * gdb.arch/arm-disp-step.exp: Likewise.
1952 * gdb.arch/thumb-bx-pc.exp: Likewise.
1953 * gdb.arch/thumb-prologue.exp: Likewise.
1954 * gdb.arch/thumb-singlestep.exp: Likewise.
1955 * gdb.base/disp-step-syscall.exp: Likewise.
1956 * gdb.base/float.exp: Likewise.
1957
fbd8d50d
YQ
19582015-07-07 Yao Qi <yao.qi@linaro.org>
1959
1960 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1961 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1962
71be1fdc
YQ
19632015-07-07 Yao Qi <yao.qi@linaro.org>
1964
1965 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1966 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1967 if it exists.
1968 * gdb.multi/multi-arch.exp: Likewise.
1969
3e221d36
SM
19702015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1971
1972 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1973 print.
1974
d441430b
YQ
19752015-07-07 Yao Qi <yao.qi@linaro.org>
1976
1977 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1978
06f810bd
MG
19792015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1980
1981 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1982 '[' and ']' characters.
1983
5e61e7c0
IB
19842015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1985
1986 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1987
28bf096c
PA
19882015-06-29 Pedro Alves <palves@redhat.com>
1989
1990 PR threads/18127
1991 * gdb.threads/hand-call-new-thread.c: New file.
1992 * gdb.threads/hand-call-new-thread.c: New file.
1993
ee93cd5e
KS
19942015-06-26 Keith Seitz <keiths@redhat.com>
1995 Doug Evans <dje@google.com>
1996
1997 PR 16253
1998 * gdb.cp/var-tag-2.cc: New file.
1999 * gdb.cp/var-tag-3.cc: New file.
2000 * gdb.cp/var-tag-4.cc: New file.
2001 * gdb.cp/var-tag.cc: New file.
2002 * gdb.cp/var-tag.exp: New file.
2003
fc637f04
PP
20042015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2005
2006 * gdb.base/history-duplicates.exp: New test.
2007
2e52ae68
PP
20082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2009
2010 * gdb.base/completion.exp: Test the completion of the "focus"
2011 command.
2012
6e22494e
JK
20132015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2014
2015 * gdb.arch/amd64-prologue-skip.S: New file.
2016 * gdb.arch/amd64-prologue-skip.exp: New file.
2017
bf7b9cd9
SM
20182015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2019
2020 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2021 is_address_zero_readable check.
2022
201e8dfd
PB
20232015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2024
2025 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2026 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2027
5cd867b4
YQ
20282015-06-24 Yao Qi <yao.qi@linaro.org>
2029
2030 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2031 linux targets.
2032
4d7be007
YQ
20332015-06-24 Yao Qi <yao.qi@linaro.org>
2034
2035 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2036 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2037 * gdb.base/siginfo-thread.exp: Likewise.
2038
07fcd301
YQ
20392015-06-22 Yao Qi <yao.qi@linaro.org>
2040
2041 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2042
52042a00
YQ
20432015-06-22 Yao Qi <yao.qi@linaro.org>
2044
2045 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2046 aarch64*-*-*.
2047 (skip_hw_watchpoint_tests): Likewise.
2048
74bd41ce
PP
20492015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2050
2051 * gdb.base/gdbinit-history.exp: Test the interaction between
2052 setting GDBHISTSIZE and setting the history size via .gdbinit.
2053
bc460514
PP
20542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2055
2056 PR gdb/16999
2057 * gdb.base/gdbhistsize-history.exp: New test.
2058
b58c513b
PP
20592015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2060
2061 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2062 with GDBHISTSIZE.
2063 * gdb.base/readline.exp: Likewise.
2064
92046791
YQ
20652015-06-17 Yao Qi <yao.qi@linaro.org>
2066
2067 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2068 line.
2069
2093d2d3
PP
20702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2071
2072 * gdb.base/gdbinit-history.exp: Add test case to check that
2073 an unlimited history file does not get truncated on exit.
2074
e6c693af
AA
20752015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2076
2077 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2078 (VECTOR): New macro. Use it...
2079 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2080 ...for these typedefs.
2081 (int8, char1, int1, double1): New typedefs.
2082 (struct just_int2, struct two_int2): New structures.
2083 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2084 (add_structvecs, add_singlevecs): New functions.
2085 (main): Call add_some_intvecs twice.
2086 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2087 the compile and exit upon failure. Try compiling for the "native"
2088 architecture. Test inferior function calls with vector arguments
2089 and vector return value handling with "finish" and "return".
2090
c74f7d1c
JT
20912015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2092
2093 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2094 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2095 PE file.
2096 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2097
98aa42ee
AT
20982015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2099
2100 PR breakpoints/16465
2101 * gdb.mi/mi-dprintf-pending.c: New file.
2102 * gdb.mi/mi-dprintf-pending.exp: New test.
2103 * gdb.mi/mi-dprintf-pendshr.c: New file.
2104
7d73c23c 21052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2106 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2107
2108 * gdb.arch/i386-mpx-map.c: New file.
2109 * gdb.arch/i386-mpx-map.exp: New File.
2110
21112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2112
2113 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2114 * gdb.arch/i386-mpx.exp: Indentation fixed.
2115
21162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2117
2118 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2119 function and improved indentation.
2120 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2121 gdb_test_multiple. Added additional tests to skip the test.
2122
21232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2124
2125 * gdb.arch/i386-avx512.c: Change path in include file.
2126 * gdb.arch/i386-avx512.exp: Change include dir path
2127 compilation flag.
2128 * gdb.arch/i386-mpx.c: Change path in include file.
2129 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2130 flag.
2131
d5eba19a
JK
21322015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2133
2134 * gdb.compile/compile-print.exp (compile print *vararray@3)
2135 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2136
7f361056
JK
21372015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2138
2139 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2140 (do not keep jit in memory): ... this.
2141 (expect 5): Change it to ...
2142 (expect no 5): ... this.
2143
3b462ec2
SM
21442015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2145
2146 PR gdb/15564
2147 * gdb.mi/mi-detach.exp: New file.
2148
e0619de6
JK
21492015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 PR symtab/18392
2152 * gdb.arch/amd64-tailcall-self.S: New file.
2153 * gdb.arch/amd64-tailcall-self.c: New file.
2154 * gdb.arch/amd64-tailcall-self.exp: New file.
2155
e970cb34
DB
21562015-05-28 Don Breazeal <donb@codesourcery.com>
2157
2158 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2159 tests for remote targets by checking is_target_gdbserver.
2160
b2e2f908
DE
21612015-05-27 Doug Evans <dje@google.com>
2162
2163 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2164 * gdb.dwarf2/opaque-type-lookup.c: New file.
2165 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2166
82c7be31
DE
21672015-05-26 Doug Evans <dje@google.com>
2168
2169 * gdb.cp/iostream.cc: New file.
2170 * gdb.cp/iostream.exp: New file.
2171
b4f54984
DE
21722015-05-26 Doug Evans <dje@google.com>
2173
2174 * gdb.dwarf2/dw2-op-call.exp: Update.
2175 * gdb.dwarf2/dw4-sig-types.exp: Update.
2176 * gdb.dwarf2/implptr.exp: Update.
2177 * gdb.mi/mi-cmd-param-changed.exp: Update.
2178
4ea6efe9
DE
21792015-05-26 Doug Evans <dje@google.com>
2180
2181 * gdb.python/py-lazy-string.c: New file.
2182 * gdb.python/py-lazy-string.exp: New file.
2183 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2184 (main): Update. Add estring3.
2185 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2186 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2187
f6bb7db3
YQ
21882015-05-26 Omair Javaid <omair.javaid@linaro.org>
2189 Yao Qi <yao.qi@linaro.org>
2190
2191 * gdb.reverse/aarch64.c: New.
2192 * gdb.reverse/aarch64.exp: New.
2193
a81bfbd0
OJ
21942015-05-26 Omair Javaid <omair.javaid@linaro.org>
2195
2196 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2197 (supports_reverse): Likewise.
2198
158bf1b4
PP
21992015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2200
2201 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2202 Use with_test_prefix.
2203
a0145030
AB
22042015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2205
2206 * gdb.base/completion.exp: Add test for completion of layout
2207 names.
2208
ebe3b578
AB
22092015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2210
2211 * lib/gdb.exp (skip_tui_tests): New proc.
2212 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2213
84204ed7
PA
22142015-05-19 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2217 Save the whole env array instead of just HOME. Unset HISTSIZE in
2218 the environment while testing. Restore whole environment
2219 afterwards.
2220
37442ce1
DE
22212015-05-16 Doug Evans <xdje42@gmail.com>
2222
2223 * gdb.guile/scm-ports.c: New file.
2224 * gdb.guile/scm-ports.exp: Add memory port tests.
2225
36de76f9
JK
22262015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 * gdb.compile/compile-print.c: New file.
2229 * gdb.compile/compile-print.exp: New file.
2230
3a9558c4
JK
22312015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 * gdb.compile/compile-ops.exp: Cast param to void.
2234 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2235 (compile code struct_object.selffield = &struct_object): Add xfail.
2236
aa715135
JG
22372015-05-15 Joel Brobecker <brobecker@adacore.com>
2238
2239 * gdb.ada/arr_enum_with_gap: New testcase.
2240
931e5bc3
JG
22412015-05-15 Joel Brobecker <brobecker@adacore.com>
2242
2243 * gdb.ada/byte_packed_arr: New testcase.
2244
9cd4d857
JB
22452015-05-15 Joel Brobecker <brobecker@adacore.com>
2246
2247 * gdb.ada/pckd_neg: New testcase.
2248
ebfd00d2
PP
22492015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2250
2251 PR gdb/17820
2252 * gdb.base/gdbinit-history.exp: New test.
2253 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2254 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2255
4c082a81
SC
22562015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2257
2258 * gdb.python/py-xmethods.cc: Enhance test case.
2259 * gdb.python/py-xmethods.exp: New tests.
2260 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2261 function.
2262 (B_indexoper): Likewise.
2263 (global_dm_list) : Add new xmethod worker functions.
2264
f7797074
SDJ
22652015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2266
2267 * gdb.base/coredump-filter.exp: Correctly unset
2268 "coredump_var_addr" array.
2269
a4674e4e
PA
22702015-05-08 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.server/non-existing-program.exp: Unset spawn_id.
2273
df2eb078
SC
22742015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2275
2276 PR python/18291
2277 * gdb.python/py-xmethods.exp: Add tests.
2278
422349a3
YQ
22792015-05-08 Yao Qi <yao.qi@linaro.org>
2280
2281 PR gdb/18208
2282 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2283 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2284 function set_coredump_filter, and remove remote_exec call.
2285 Remove argument ipid. Callers update.
2286 (top level): Don't get inferior's PID.
2287
63fc80ce
AA
22882015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2289
2290 * gdb.base/watch_thread_num.exp: Skip test on targets without
2291 access watchpoints.
2292
80ad801e
PA
22932015-05-06 Pedro Alves <palves@redhat.com>
2294
2295 PR server/18081
2296 * gdb.server/non-existing-program.exp: New file.
2297
0fa7fe50
JB
22982015-05-05 Joel Brobecker <brobecker@adacore.com>
2299
2300 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2301
3ea89b92
PMR
23022015-05-05 Joel Brobecker <brobecker@adacore.com>
2303
2304 * gdb.ada/out_of_line_in_inlined: New testcase.
2305
87b8eff0
JB
23062015-05-05 Joel Brobecker <brobecker@adacore.com>
2307
2308 * gdb.ada/var_rec_arr: New testcase.
2309
5fccc635
YQ
23102015-04-30 Yao Qi <yao.qi@linaro.org>
2311
2312 * gdb.base/break-idempotent.exp: If
2313 skip_hw_watchpoint_multi_tests returns true, skip the tests
2314 on "rwatch" and "awatch".
2315
42d38f42
YQ
23162015-04-30 Yao Qi <yao.qi@linaro.org>
2317
2318 * gdb.base/relativedebug.exp: Invoke gdb command
2319 "info sharedlibrary", and if libc.so doesn't have debug info,
2320 skip the test.
2321
2ce1cdbf
DE
23222015-04-29 Doug Evans <dje@google.com>
2323
2324 * gdb.python/py-xmethods.exp: Add ptype tests.
2325 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2326 get_result_type method.
2327
f24a38c5
LM
23282015-04-29 Luis Machado <lgustavo@codesourcery.com>
2329
2330 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2331 the target does not support hardware watchpoints.
2332
ecbf2b3c
LM
23332015-04-29 Luis Machado <lgustavo@codesourcery.com>
2334
2335 * gdb.base/break-always.exp: Abort testing if writing to memory
2336 causes an error.
2337
34f5f757
DE
23382015-04-28 Doug Evans <dje@google.com>
2339
2340 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2341 * gdb.python/py-pp-registration.exp: ... here. New file.
2342 * gdb.python/py-pp-registration.c: New file.
2343 * gdb.python/py-pp-registration.py: New file.
2344
69b4374a
DE
23452015-04-28 Doug Evans <dje@google.com>
2346
2347 * gdb.python/py-bad-printers.c: New file.
2348 * gdb.python/py-bad-printers.py: New file.
2349 * gdb.python/py-bad-printers.exp: New file.
2350
59fb7612
SS
23512015-04-28 Sasha Smundak <asmundak@google.com>
2352
2353 * gdb.python/py-type.exp: New test.
2354
2631b16a
AW
23552015-04-28 Andy Wingo <wingo@igalia.com>
2356
2357 * gdb.python/py-parameter.exp:
2358 * gdb.guile/scm-parameter.exp: Escape the path that we are
2359 matching against, as it might contain characters that are special
2360 to regular expressions.
2361
460efde1
JB
23622015-04-27 Joel Brobecker <brobecker@adacore.com>
2363
2364 * gdb.ada/rec_comp: New testcase.
2365
2d369d8e
SDJ
23662015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2367
2368 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2369 before using it.
2370
cf75d6c3
AB
23712015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2372
2373 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2374 new tests for verilog output.
2375
8dbe7ca5
YQ
23762015-04-24 Yao Qi <yao.qi@linaro.org>
2377
2378 * boards/remote-gdbserver-on-localhost.exp: New file.
2379
4ef9fb2f
PA
23802015-04-23 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2383 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2384 "end of file", remove $inferior_spawn_id from the indirect list.
2385
0a803169
PA
23862015-04-23 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2389
749ef8f8
PA
23902015-04-23 Pedro Alves <palves@redhat.com>
2391
2392 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2393 on $any_spawn_id instead of only on $gdb_spawn_id.
2394
8aae4344
PM
23952015-04-21 Pierre Muller <muller@sourceware.org>
2396
2397 PR pascal/17815
2398 * lib/pascal.exp (gpc_compile): Add new option "class".
2399 (fpc_compile): Likewise.
2400 * gdb.pascal/case-insensitive-symbols.pas: New file.
2401 * gdb.pascal/case-insensitive-symbols.exp: New file.
2402
1586c8fb
GB
24032015-04-20 Gary Benson <gbenson@redhat.com>
2404
2405 * gdb.base/attach.exp: Fix three extended remote failures.
2406
1b6e6f5c
GB
24072015-04-17 Gary Benson <gbenson@redhat.com>
2408
2409 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2410 the main executable over the remote protocol.
2411
e797481d
PA
24122015-04-16 Pedro Alves <palves@redhat.com>
2413
2414 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2415 a new gdbserver if gdbserver_reconnect_p is set.
2416
1ca99c42
PA
24172015-04-16 Pedro Alves <palves@redhat.com>
2418
2419 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2420 is set, don't exit gdbserver.
2421
af9fd6f8
AA
24222015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2423
2424 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2425 appropriate .insn, such that an older assembler can be used.
2426 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2427 the z/Architecture instruction set on 31-bit targets as well.
2428
04ff1e61
AA
24292015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2430
2431 * gdb.go/handcall.exp: Remove all logic related to the first
2432 breakpoint and rely on go_runto_main instead.
2433 * gdb.go/strings.exp: Likewise.
2434 * gdb.go/unsafe.exp: Likewise.
2435 * gdb.go/hello.exp: Likewise. Also rename the remaining
2436 breakpoint marker to "breakpoint 1".
2437 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2438 * gdb.go/strings.go: Likewise.
2439 * gdb.go/unsafe.go: Likewise.
2440 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2441 "set breakpoint 2 here" and rename the remaining breakpoint marker
2442 to "breakpoint 1".
2443
40d2f8d6
SM
24442015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2445
2446 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2447 if itertools.imap is not present.
2448 * gdb.python/py-objfile.exp: Add parentheses.
2449 * gdb.python/py-type.exp: Same.
2450 * gdb.python/py-unwind-maint.py: Same.
2451
8cbc97c6
YQ
24522015-04-15 Yao Qi <yao.qi@linaro.org>
2453
2454 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2455 of ":$ptr_size" and set its form explicitly.
2456
45fd756c
YQ
24572015-04-15 Pedro Alves <palves@redhat.com>
2458 Yao Qi <yao.qi@linaro.org>
2459
2460 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2461 timeout by factor of 4.
2462 (test_regular_watch): Likewise.
2463 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2464 * gdb.reverse/sigall-reverse.exp: Likewise.
2465 * gdb.reverse/until-precsave.exp: Likewise.
2466 * lib/gdb.exp (with_timeout_factor): New proc.
2467 (gdb_expect): Move some code to ...
2468 (get_largest_timeout): ... here. New procedure.
2469
9e811bc3
LM
24702015-04-14 Luis Machado <lgustavo@codesourcery.com>
2471
2472 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2473
0ff6fcb2
LM
24742015-04-13 Luis Machado <lgustavo@codesourcery.com>
2475
2476 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2477 to write to the .text section.
2478
7578d5f7
LM
24792015-04-13 Luis Machado <lgustavo@codesourcery.com>
2480
2481 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2482 Handle the case of targets that do not provide PID information.
2483
2efe15c4
YQ
24842015-04-13 Yao Qi <yao.qi@linaro.org>
2485
2486 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2487 and use expect instead of gdb_expect.
2488
8cd8f2f8
SDJ
24892015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2490
2491 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2492 "coredump_var_addr" to avoid naming conflict with other testcases.
2493
9ee41772
PA
24942015-04-10 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2497 gdb_test_sequence and gdb_assert.
2498
07473109
PA
24992015-04-10 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2502 test messages that don't include the breakpoint address.
2503
de3db44c
YQ
25042015-04-10 Yao Qi <yao.qi@linaro.org>
2505
2506 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2507 false for some offset and width combinations which aren't
2508 supported by linux kernel.
2509
c79d856c
PA
25102015-04-10 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2513 procedure, factored out from ...
2514 (top level): ... here. Add "set displaced-stepping" testing axis.
2515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2516 parameter "displaced". Use it.
2517 (top level): Use foreach and add "set displaced-stepping" testing
2518 axis.
2519
ebc90b50
PA
25202015-04-10 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2523 Remove comment.
2524 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2525 both the address of the instruction that triggers the watchpoint
2526 and the address of the instruction immediately after, and use
2527 those addresses for the test. Fix comment.
2528
8f572e5c
PA
25292015-04-10 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/sigstep.exp (breakpoint_to_handler)
2532 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2533 Test "backtrace" in handler.
2534 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2535 (top level): Add new "displaced" test axis to
2536 breakpoint_to_handler, breakpoint_to_handler_entry and
2537 breakpoint_over_handler.
2538
8d707a12
PA
25392015-04-10 Pedro Alves <palves@redhat.com>
2540
2541 PR gdb/18216
2542 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2543
ef713951
YQ
25442015-04-10 Yao Qi <yao.qi@linaro.org>
2545
2546 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2547 (test_add_rn_pc): New function.
2548 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2549 (top level): Invoke test_add_rn_pc.
2550
906d60cf
PA
25512015-04-10 Pedro Alves <palves@redhat.com>
2552
2553 PR gdb/13858
2554 * gdb.base/step-over-no-symbols.exp: New file.
2555
f2983cc3
AW
25562015-04-09 Andy Wingo <wingo@igalia.com>
2557
2558 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2559 after the Python tests.
2560
6d62641c
SDJ
25612015-04-08 Keith Seitz <keiths@redhat.com>
2562
2563 PR python/16699
2564 * gdb.python/py-completion.exp: New tests for completion.
2565 * gdb.python/py-completion.py (CompleteLimit1): New class.
2566 (CompleteLimit2): Likewise.
2567 (CompleteLimit3): Likewise.
2568 (CompleteLimit4): Likewise.
2569 (CompleteLimit5): Likewise.
2570 (CompleteLimit6): Likewise.
2571 (CompleteLimit7): Likewise.
2572
f3770638
PA
25732015-04-08 Pedro Alves <palves@redhat.com>
2574
2575 PR gdb/18214
2576 PR gdb/18216
2577 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2578 function.
2579 (main): Install it as SIGUSR1 handler.
2580 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2581 parameter. Always use "setup" as prefix. Toggle "set
2582 displaced-stepping" off/on depending on global. Don't switch to
2583 thread 1 here.
2584 (top level): Add displaced stepping "off/on" test axis. Update
2585 "setup" calls. Wrap each subtest with with_test_prefix. Test
2586 continuing with a queued signal in each thread.
2587
4496bed7
PA
25882015-04-08 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2591 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2592 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2593 Return early if running to main fails.
2594 * gdb.trace/while-stepping.exp: Likewise.
2595
b97fde92
PA
25962015-04-07 Pedro Alves <palves@redhat.com>
2597
2598 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2599 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2600 interact with inferior program.
2601
f71c18e7
PA
26022015-04-07 Pedro Alves <palves@redhat.com>
2603
2604 * lib/gdb.exp (inferior_spawn_id): New global.
2605 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2606 spawn id after processing the user code.
2607 (default_gdb_start): Set inferior_spawn_id.
2608 (send_inferior): New procedure.
2609 * lib/gdbserver-support.exp (gdbserver_start): Set
2610 inferior_spawn_id.
2611 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2612
6423214f
PA
26132015-04-07 Pedro Alves <palves@redhat.com>
2614
2615 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2616 * lib/gdbserver-support.exp (gdbserver_start): Make
2617 $server_spawn_id global.
2618 (gdbserver_start): Don't wait for gdbserver's spawn id with
2619 expect_background.
2620 (close_gdbserver): New procedure.
2621 (gdb_exit): Rename the default version and reimplement.
2622
71c0ee8c
PA
26232015-04-07 Pedro Alves <palves@redhat.com>
2624
72f4393d 2625 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2626 append the substituted item, not the original item.
2627
203bc29b
PA
26282015-04-07 Pedro Alves <palves@redhat.com>
2629
2630 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2631 gdb_expect.
2632
508a3ddf
PA
26332015-04-07 Pedro Alves <palves@redhat.com>
2634
2635 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2636 output appearing once only.
2637
9f6dbe2b
PA
26382015-04-07 Pedro Alves <palves@redhat.com>
2639
2640 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2641 that doesn't expect anything. Return early if running to main
2642 fails.
2643
337532fa
YQ
26442015-04-07 Yao Qi <yao.qi@linaro.org>
2645
2646 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2647 (child_function): Call alarm.
2648 (main): Move call to alarm into the loop.
2649 * gdb.threads/non-stop-fair-events.exp: Build program with
2650 -DTIMEOUT=$timeout.
2651
01b622d4
DE
26522015-04-06 Doug Evans <xdje42@gmail.com>
2653
2654 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2655 Fix dest parameter to board_info.
2656 (fpc_compile): Ditto.
2657 (gdb_compile_pascal): Rename dest arg to destfile.
2658
961f4160
PMR
26592015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2660
2661 * gdb.ada/funcall_ref.exp: New file.
2662 * gdb.ada/funcall_ref/foo.adb: New file.
2663
cafda597
YQ
26642015-04-02 Yao Qi <yao.qi@linaro.org>
2665
2666 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2667 is remote.
2668
fed040c6
GB
26692015-04-02 Gary Benson <gbenson@redhat.com>
2670
2671 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2672
d11916aa
SS
26732015-04-01 Sasha Smundak <asmundak@google.com>
2674
2675 * gdb.python/py-unwind-maint.c: New file.
2676 * gdb.python/py-unwind-maint.exp: New test.
2677 * gdb.python/py-unwind-maint.py: New file.
2678 * gdb.python/py-unwind.c: New file.
2679 * gdb.python/py-unwind.exp: New test.
2680 * gdb.python/py-unwind.py: New test.
2681
a1471180
PA
26822015-04-01 Pedro Alves <palves@redhat.com>
2683
2684 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2685 to fail instead of non-existent $test.
2686
0bbeccb1
PA
26872015-04-01 Pedro Alves <palves@redhat.com>
2688
2689 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2690 GDBFLAGS if not empty.
2691
3c724c8c
PMR
26922015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2693
2694 * gdb.ada/complete.exp: Remove "multi_line".
2695 * gdb.ada/info_exc.exp: Remove "multi_line".
2696 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2697 * gdb.ada/ptype_field.exp: Remove "multi_line".
2698 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2699 * gdb.ada/tagged.exp: Remove "multi_line".
2700 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2701 [multi_line ...]
2702 * gdb.btrace/delta.exp: Likewise.
2703 * gdb.btrace/exception.exp: Likewise.
2704 * gdb.btrace/function_call_history.exp: Likewise.
2705 * gdb.btrace/instruction_history.exp: Likewise.
2706 * gdb.btrace/nohist.exp: Likewise.
2707 * gdb.btrace/record_goto.exp: Likewise.
2708 * gdb.btrace/segv.exp: Likewise.
2709 * gdb.btrace/stepi.exp: Likewise.
2710 * gdb.btrace/tailcall.exp: Likewise.
2711 * gdb.btrace/unknown_functions.exp: Likewise.
2712 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2713 * lib/gdb.exp: Add the "multi_line" helper.
2714
4eec2deb
PA
27152015-04-01 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.threads/tid-reuse.c: New file.
2718 * gdb.threads/tid-reuse.exp: New file.
2719
df8411da
SDJ
27202015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2721
2722 PR corefiles/16092
2723 * gdb.base/coredump-filter.c: New file.
2724 * gdb.base/coredump-filter.exp: Likewise.
2725
6ef37366
PM
27262015-03-27 Petr Machata <pmachata@redhat.com>
2727
2728 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2729 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2730 (Dwarf::assemble): Initialize them.
2731 (Dwarf::lines): New function.
2732
7ec911b0
JT
27332015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2734
2735 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2736 SYMBOL_PREFIX for x86_64-*-cygwin.
2737
ff908ebf
AW
27382015-03-26 Andy Wingo <wingo@igalia.com>
2739
2740 PR symtab/18148
2741 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2742 const_value but not a location.
2743 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2744 location defined in non-main CUs are visible.
2745
6d5f0679
YQ
27462015-03-26 Yao Qi <yao.qi@linaro.org>
2747
2748 PR testsuite/18139
2749 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2750 Add a line number entry for the same line.
2751 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2752 Add a line number entry for the same line.
2753
2898689b
YQ
27542015-03-26 Yao Qi <yao.qi@linaro.org>
2755
2756 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2757 .int 0.
2758 (func): Likewise. Add .Lfunc_1 label.
2759 Use .Lfunc_1 label.
2760 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2761 .int 0.
2762 (func): Likewise.
2763 Use .Lfunc_1 label.
2764
85180498
YQ
27652015-03-26 Yao Qi <yao.qi@linaro.org>
2766
2767 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2768 Call gdb_compile instead to compile each .s files without debug
2769 information.
2770
8aa08a8d
YQ
27712015-03-26 Yao Qi <yao.qi@linaro.org>
2772
2773 * gdb.base/savedregs.exp (process_saved_regs): Make
2774 "Saved registers:" optional in the pattern.
2775
66849923
MM
27762015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2777
2778 * gdb.btrace/next.exp: Merged into step.exp.
2779 * gdb.btrace/finish.exp: Merged into step.exp.
2780 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2781 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2782 "record goto" and checking the exact replay position.
2783 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2784 check for "Recording format" in "info record" output.
2785 * gdb.btrace/record_goto.exp: Choose test file based on target.
2786 * gdb.btrace/x86-record_goto.S: Renamed into ...
2787 * gdb.btrace/x86_64-record_goto.S: ... this.
2788 * gdb.btrace/i686-record_goto.S: New.
2789 * gdb.btrace/x86-tailcall.S: Renamed into ...
2790 * gdb.btrace/x86_64-tailcall.S: ... this.
2791 * gdb.btrace/i686-tailcall.S: New.
2792 * gdb.btrace/x86-tailcall.c: Renamed into ...
2793 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2794 separate statements. Update test.
2795 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2796 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2797 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2798 * gdb.btrace/tailcall.exp: Choose test file based on target.
2799 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2800
11cc1b74
MM
28012015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2802
2803 * gdb.btrace/exception.exp: Increase BTS buffer size.
2804
a25d8bf9
PA
28052015-03-24 Pedro Alves <palves@redhat.com>
2806
2807 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2808
856e7dd6
PA
28092015-03-24 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.threads/schedlock.exp (test_step): No longer expect that
2812 "set scheduler-locking step" with "next" over a function call runs
2813 threads unlocked.
2814
ad235a41
AT
28152015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2816
2817 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2818
15630549
AT
28192015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2820
2821 PR breakpoints/16466
2822 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2823 * gdb.mi/mi-pending.c (thread_func): New function.
2824 (int main): Add threading support required.
2825 * gdb.mi/mi-pending.exp: Add tests for this issue.
2826 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2827 (pendfunc2): Remove stdio dependency.
2828 * gdb.mi/mi-pendshr2.c: New file.
2829
693dca06
KS
28302015-03-23 Keith Seitz <keiths@redhat.com>
2831
2832 * gdb.linespec/keywords.c: New file.
2833 * gdb.linespec/keywords.exp: New file.
2834
7e993ebf
KS
28352015-03-23 Keith Seitz <keiths@redhat.com>
2836
2837 PR gdb/18021
2838 * gdb.dwarf2/staticvirtual.exp: New test.
2839
bc23328c
JK
28402015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2843 * README: Remove HP-UX and gdb.hp.
2844 (configuration):
2845 * configure: Regenerate.
2846 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2847 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2848 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2849 gdb.hp/gdb.defects/Makefile.
2850 * gdb.hp/Makefile.in: File deleted.
2851 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2852 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2853 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2854 * gdb.hp/gdb.aCC/run.c: File deleted.
2855 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2856 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2857 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2858 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2859 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2860 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2861 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2862 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2863 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2864 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2865 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2866 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2867 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2868 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2869 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2870 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2871 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2872 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2873 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2874 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2875 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2876 * gdb.hp/gdb.compat/average.c: File deleted.
2877 * gdb.hp/gdb.compat/sum.c: File deleted.
2878 * gdb.hp/gdb.compat/xdb.c: File deleted.
2879 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2880 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2881 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2882 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2883 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2884 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2885 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2886 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2887 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2888 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2889 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2890 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2891 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2892 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2893 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2894 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2895 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2896 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2897 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2898 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2899 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2900 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2901 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2902 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2903 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2904 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2905 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2906 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2907 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2908 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2909 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2910 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2911 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2912 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2913 * gdb.hp/tools/odump: File deleted.
2914
8bf3b159
PA
29152015-03-19 Pedro Alves <palves@redhat.com>
2916
2917 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2918 (saw_thread_3): New globals.
2919 (top level): Increment them when an event for the corresponding
2920 thread is seen.
2921 (no thread starvation): New test.
2922
eb54c8bf
PA
29232015-03-19 Pedro Alves <palves@redhat.com>
2924
2925 * gdb.threads/continue-pending-status.c: New file.
2926 * gdb.threads/continue-pending-status.exp: New file.
2927
32d2e5d6
PA
29282015-03-18 Pedro Alves <palves@redhat.com>
2929
2930 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2931 Use gdb_is_target_remote instead of is_remote. Use
2932 gdb_test_multiple instead of gdb_expect. Exit early if
2933 gdb_test_multiple hits its internal matches. Tighten stepi tests
2934 expected output. Fail on exit with any signal, instead of just
2935 SIGILL.
2936
f68f11b7
YQ
29372015-03-18 Yao Qi <yao.qi@linaro.org>
2938
2939 PR tdep/18107
2940 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2941 variable.
2942 * gdb.base/catch-syscall.exp: Don't skip it on
2943 aarch64*-*-linux* target. Remove elements in all_syscalls.
2944 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2945 target.
2946 (setup_all_syscalls): New proc.
2947
ca5fd19b
YQ
29482015-03-16 Yao Qi <yao.qi@linaro.org>
2949
2950 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2951 (top level): Skip tests if valid_addr_p returns false for
2952 $cmd1 or $cmd2.
2953
85642ba0
AW
29542015-03-11 Andy Wingo <wingo@igalia.com>
2955
2956 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2957
e03f9645
YQ
29582015-03-11 Yao Qi <yao.qi@linaro.org>
2959
2960 * gdb.base/catch-syscall.exp: Fix typo in comments.
2961
5d0962b2
YQ
29622015-03-11 Yao Qi <yao.qi@linaro.org>
2963
2964 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2965
b2df3cef
PA
29662015-03-09 Pedro Alves <palves@redhat.com>
2967
2968 * dg-extract-results.py: Delete.
2969
ef878e53
PA
29702015-03-09 Pedro Alves <palves@redhat.com>
2971
2972 Merge dg-extract-results.sh from GCC upstream (r218843).
2973
2974 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2975 * dg-extract-results.sh: Use --text with grep to avoid issues with
2976 binary files. Fall back to cat -v, if that doesn't work.
2977
9494d219
PA
29782015-03-05 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2981
a8d9763a
SM
29822015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2983
2984 * lib/mi-support.exp (mi_expect_interrupt): Accept
2985 alternative event for when in all-stop mode.
2986
be9957b8
PA
29872015-03-04 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2990
d57be0f4 29912015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2992
2993 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2994
c214c7cf
AA
29952015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2996
2997 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2998 regexps for GDB's current line display, accept a hex address
2999 preceding the line number.
3000
6d74a497
AA
30012015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3002
3003 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3004 the 'arch1' variable for "s390*-linux*" targets.
3005
511aee7c
PA
30062015-03-04 Pedro Alves <palves@redhat.com>
3007
3008 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3009 (main): Pass missing retval argument to pthread_join call.
3010
95e50b27
PA
30112015-03-02 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3014 (top level): Call do_test with non-stop as well.
3015
28054d69
PA
30162015-03-02 Pedro Alves <palves@redhat.com>
3017
3018 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3019 -1.
3020
4fa5d7b4
AA
30212015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3022
3023 * gdb.arch/s390-vregs.exp: New test.
3024 * gdb.arch/s390-vregs.S: New file.
3025
97c18565
PA
30262015-02-27 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3029 call to catch_command_errors.
3030 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3031 catch_command_errors.
3032
a37bfa30
PA
30332015-02-27 Pedro Alves <palves@redhat.com>
3034
3035 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3036 "true" for boolean result.
3037 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3038 prototype of main.
3039
6f98576f
PA
30402015-02-27 Pedro Alves <palves@redhat.com>
3041
3042 * lib/unbuffer_output.c: New file.
3043 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3044 (main): Call gdb_unbuffer_output.
3045
eba5ab56
YQ
30462015-02-27 Yao Qi <yao.qi@linaro.org>
3047
3048 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3049 target.
3050
0def5aaa
DE
30512015-02-26 Doug Evans <dje@google.com>
3052
3053 * gdb.cp/class2.cc (Dbase, D): New classes.
3054 (main): New local delta.
3055 * gdb.cp/class2.exp: Test printing delta.
3056 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3057 (dynbar): New global.
3058 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3059
081a1c2c
JK
30602015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 * gdb.compile/compile-ifunc.c: New file.
3063 * gdb.compile/compile-ifunc.exp: New file.
3064
2f41223f
AT
30652015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3066
3067 * gdb.base/structs.exp: Check for correct struct on finish.
3068
03eddd80
YQ
30692015-02-26 Yao Qi <yao.qi@linaro.org>
3070
3071 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3072 is zero.
3073
80c57053
JK
30742015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3075
3076 * gdb.arch/cordic.ko.bz2: New file.
3077 * gdb.arch/cordic.ko.debug.bz2: New file.
3078 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3079
21613c12
YQ
30802015-02-25 Yao Qi <yao.qi@linaro.org>
3081
3082 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3083 aarch64*-*-* target.
3084
d8b901ed
PA
30852015-02-23 Pedro Alves <palves@redhat.com>
3086
3087 * lib/gdb.exp (delete_breakpoints): Rewrite using
3088 gdb_test_multiple.
3089
e5b85ead
PA
30902015-02-23 Pedro Alves <palves@redhat.com>
3091
3092 * gdb.base/info-os.c: Include stdlib.h.
3093
85c3a371
DE
30942015-02-22 Doug Evans <xdje42@gmail.com>
3095
3096 PR symtab/17855
3097 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3098 is read after symbols have been re-read.
3099 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3100 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3101
96553a0c
DE
31022015-02-21 Doug Evans <dje@google.com>
3103
3104 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3105
97a0c697
JK
31062015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 PR corefiles/17808
3109 * gdb.arch/i386-biarch-core.core.bz2: New file.
3110 * gdb.arch/i386-biarch-core.exp: New file.
3111
a47cd6e9
PA
31122015-02-21 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3115 runto_main fails.
3116
c5facdc4
PA
31172015-02-20 Pedro Alves <palves@redhat.com>
3118
3119 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3120 info probes.
3121
2db9a427
PA
31222015-02-20 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3125
60fb7e9e
PA
31262015-02-20 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3129 clean_restart before gdb_target_supports_trace.
3130
5c5019c2
PA
31312015-02-20 Pedro Alves <palves@redhat.com>
3132
3133 PR threads/18006
3134 * gdb.threads/clone-thread_db.c: New file.
3135 * gdb.threads/clone-thread_db.exp: New file.
3136
c9587f88
AT
31372015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3138
3139 PR breakpoints/16812
3140 * gdb.base/catch-gdb-caused-signals.c: New file.
3141 * gdb.base/catch-gdb-caused-signals.exp: New file.
3142
f6a88844
JM
31432015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3144
3145 * configure: Regenerated.
3146 * configure.ac: Use GDB_AC_TRANSFORM.
3147 * aclocal.m4: sinclude ../transform.m4.
3148
497c491b
JM
31492015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3150
3151 * lib/dtrace.exp: New file.
3152 * gdb.base/dtrace-probe.exp: Likewise.
3153 * gdb.base/dtrace-probe.d: Likewise.
3154 * gdb.base/dtrace-probe.c: Likewise.
3155 * lib/pdtrace.in: Likewise.
3156 * configure.ac: Output variables with the transformed names of
3157 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3158 * configure: Regenerated.
3159
03e98035
JM
31602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3161
3162 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3163 expected message when trying to access $_probe_* convenience
3164 variables while not on a probe.
3165
63cc30e9
JK
31662015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3167
3168 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3169
0703599a
PA
31702015-02-11 Pedro Alves <pedro@codesourcery.com>
3171
3172 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3173 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3174
7e60a48e
DE
31752015-02-10 Doug Evans <xdje42@gmail.com>
3176
3177 * lib/gdb.exp (gdb_load): Always return a result.
3178
01b088bc
PA
31792015-02-10 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.threads/signal-sigtrap.c: New file.
3182 * gdb.threads/signal-sigtrap.exp: New file.
3183
b05ec7a5
AT
31842015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3185
3186 * gdb.trace/no-attach-trace.c: New file.
3187 * gdb.trace/no-attach-trace.exp: New file.
3188
a2c2acaf
MW
31892015-02-09 Mark Wielaard <mjw@redhat.com>
3190
3191 * gdb.dwarf2/atomic.c: New file.
3192 * gdb.dwarf2/atomic-type.exp: Likewise.
3193
31fd9caa
MM
31942015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3195
3196 * gdb.btrace/buffer-size.exp: Update "info record" output.
3197 * gdb.btrace/delta.exp: Update "info record" output.
3198 * gdb.btrace/enable.exp: Update "info record" output.
3199 * gdb.btrace/finish.exp: Update "info record" output.
3200 * gdb.btrace/instruction_history.exp: Update "info record" output.
3201 * gdb.btrace/next.exp: Update "info record" output.
3202 * gdb.btrace/nexti.exp: Update "info record" output.
3203 * gdb.btrace/step.exp: Update "info record" output.
3204 * gdb.btrace/stepi.exp: Update "info record" output.
3205 * gdb.btrace/nohist.exp: Update "info record" output.
3206
d33501a5
MM
32072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3208
3209 * gdb.btrace/buffer-size: New.
3210
f4abbc16
MM
32112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3212
3213 * gdb.btrace/delta.exp: Update "info record" output.
3214 * gdb.btrace/enable.exp: Update "info record" output.
3215 * gdb.btrace/finish.exp: Update "info record" output.
3216 * gdb.btrace/instruction_history.exp: Update "info record" output.
3217 * gdb.btrace/next.exp: Update "info record" output.
3218 * gdb.btrace/nexti.exp: Update "info record" output.
3219 * gdb.btrace/step.exp: Update "info record" output.
3220 * gdb.btrace/stepi.exp: Update "info record" output.
3221 * gdb.btrace/nohist.exp: Update "info record" output.
3222
b9d61307
SM
32232015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3224
3225 PR gdb/15678
3226 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3227
e584fdbc
PA
32282015-02-06 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3231 macro.
3232 (seconds_left, again): New globals.
3233 (main): Wait seconds_left in a 1-second sleep loop instead of
3234 sleeping 180 seconds. If 'again' is set, reset the seconds
3235 counter.
3236 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3237 'again' in the inferior before detaching. Print the seconds left.
3238 (options): New global.
3239 (top level): Build program with -DTIMEOUT=$timeout.
3240
77f41761
PA
32412015-02-06 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3244 determine how many seconds to pass to 'alarm'.
3245 * gdb.base/gdb-sigterm.exp (top level): Build program with
3246 -DTIMEOUT=$timeout.
3247 (do_test): Return success/failure indication. Add more verbose
3248 logging. Don't fail if 200 single steps are seen. Instead, fail
3249 when the test times out.
3250 (passes): New global.
3251 (top level): Break the testing loop if testing fails on any
3252 iteration. Use gdb_assert.
3253
b9394193
DB
32542015-02-04 Don Breazeal <donb@codesourcery.com>
3255
3256 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3257 and initialize them.
3258 (ipc_cleanup): New function.
3259 (main): Don't declare shmid, semid, and msqid. Add a call to
3260 atexit so that we call ipc_cleanup on exit.
3261
42d9e528
PA
32622015-02-04 Pedro Alves <palves@redhat.com>
3263
3264 * boards/native-extended-gdbserver.exp: Remove any target variant
3265 specifications from the board name before clearing the isremote
3266 flag from board_info.
3267
ae6ae975
DE
32682015-01-31 Doug Evans <xdje42@gmail.com>
3269
3270 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3271
cfb069a8
GB
32722015-01-31 Gary Benson <gbenson@redhat.com>
3273
3274 * gdb.base/completion.exp: Disable completion limiting for
3275 existing tests. Add new tests to check completion limiting.
3276 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3277
5dd31d79
DE
32782015-01-31 Doug Evans <xdje42@gmail.com>
3279
3280 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3281
9f050062
DE
32822015-01-31 Doug Evans <xdje42@gmail.com>
3283
3284 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3285 entries. Duplicate file section script entries.
3286 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3287 inlined entries. Add test for safe-path rejection.
3288 * gdb.python/py-section-script.c: Add duplicate inlined section script
3289 entries. Duplicate file section script entries.
3290 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3291 inlined entries. Add test for safe-path rejection.
3292
df25ebbd
JB
32932015-01-29 Joel Brobecker <brobecker@adacore.com>
3294
3295 * gdb.ada/disc_arr_bound: New testcase.
3296
4a0ca9ec
JB
32972015-01-29 Joel Brobecker <brobecker@adacore.com>
3298
3299 * gdb.ada/mi_var_array: New testcase.
3300
3a8b707a
DE
33012015-01-27 Doug Evans <dje@google.com>
3302
3303 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3304 Add test for objfile.filename, objfile.username after objfile
3305 has been unloaded.
3306
f8313f6e
JB
33072015-01-26 Joel Brobecker <brobecker@adacore.com>
3308
3309 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3310 the second test to print the name attribute of value
3311 returned by the call to gdb.lookup_type, and adjust
3312 the expected output accordingly.
3313
37bc665e
MW
33142015-01-25 Mark Wielaard <mjw@redhat.com>
3315
3316 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3317 * gdb.base/disp-step-fork.c: Include unistd.h.
3318 * gdb.base/siginfo-obj.c: Include stdio.h.
3319 * gdb.base/siginfo-thread.c: Likewise.
3320 * gdb.mi/non-stop.c: Include unistd.h.
3321 * gdb.mi/nsthrexec.c: Include stdio.h.
3322 * gdb.mi/pthreads.c: Include unistd.h.
3323 * gdb.modula2/unbounded1.c (main): Declare returns int.
3324 * gdb.reverse/consecutive-reverse.c: Likewise.
3325 * gdb.threads/create-fail.c: Include unistd.h.
3326 * gdb.threads/killed.c: Likewise.
3327 * gdb.threads/linux-dp.c: Likewise.
3328 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3329 * gdb.threads/non-ldr-exc-2.c: Likewise.
3330 * gdb.threads/non-ldr-exc-3.c: Likewise.
3331 * gdb.threads/non-ldr-exc-4.c: Likewise.
3332 * gdb.threads/pthreads.c: Include unistd.h.
3333 (main): Declare returns int.
3334 * gdb.threads/tls-main.c (foo): New declaration.
3335 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3336
f7e5394d
SM
33372015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3338
3339 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3340 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3341
743649fd
MW
33422015-01-15 Mark Wielaard <mjw@redhat.com>
3343
3344 * gdb.base/noreturn-return.c: New file.
3345 * gdb.base/noreturn-return.exp: New file.
3346 * gdb.base/noreturn-finish.c: New file.
3347 * gdb.base/noreturn-finish.exp: New file.
3348
198297aa
PA
33492015-01-23 Pedro Alves <palves@redhat.com>
3350
3351 * gdb.threads/continue-pending-after-query.c: New file.
3352 * gdb.threads/continue-pending-after-query.exp: New file.
3353
717cf30c
AG
33542015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3355 Simon Marchi <simon.marchi@ericsson.com>
3356
3357 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3358 * gdb.base/valgrind-db-attach.exp: Same.
3359 * gdb.base/valgrind-infcall.exp: Same.
3360 * lib/mi-support.exp (default_mi_gdb_start): Same.
3361 * lib/prompt.exp (default_prompt_gdb_start): Same.
3362 * lib/gdb.exp (default_gdb_spawn): Same.
3363 (gdb_interact): New.
3364
3365
4b62a76e
JK
33662015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3367
3368 * gdb.compile/compile.exp (pointer to jit function): New test.
3369
b4cdae6f
WW
33702015-01-17 Wei-cheng Wang <cole945@gmail.com>
3371
3372 * lib/gdb.exp (supports_process_record): Return true for
3373 powerpc*-*-linux*.
3374 (supports_reverse): Likewise.
3375
d221e7ef
DB
33762015-01-15 Don Breazeal <donb@codesourcery.com>
3377
3378 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3379 instead of checking whether the target board is remote and
3380 use spawn_wait_for_attach instead of exec/sleep.
3381 * gdb.base/attach-twice.exp: Likewise.
3382
bafffb51
JB
33832015-01-15 Joel Brobecker <brobecker@adacore.com>
3384
3385 * gdb.ada/var_arr_attrs: New testcase.
3386
5589af0e
PA
33872015-01-14 Pedro Alves <palves@redhat.com>
3388 Joel Brobecker <brobecker@adacore.com>
3389
3390 PR gdb/17525
3391 * gdb.base/bp-cmds-execution-x-script.c: New file.
3392 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3393 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3394
6c400b59
PA
33952015-01-14 Pedro Alves <palves@redhat.com>
3396
3397 PR cli/17828
3398 * gdb.base/batch-preserve-term-settings.c: New file.
3399 * gdb.base/batch-preserve-term-settings.exp: New file.
3400
e02c96a7
DE
34012015-01-13 Doug Evans <dje@google.com>
3402
3403 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3404 binary.
3405
576fd14c
JB
34062015-01-13 Joel Brobecker <brobecker@adacore.com>
3407
3408 * Makefile.in (clean mostlyclean): Do not delete *.py.
3409
04dccad0
JB
34102015-01-13 Joel Brobecker <brobecker@adacore.com>
3411
3412 * gdb.python/py-lookup-type.exp: New file.
3413
3d230f71
PA
34142015-01-12 Pedro Alves <palves@redhat.com>
3415
3416 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3417 restore GDBFLAGS before returning.
3418
7e67715d
JK
34192015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3420
3421 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3422 is_amd64_regs_target and is_x86_like_target.
3423
f2e0d4b4
DE
34242015-01-11 Doug Evans <xdje42@gmail.com>
3425
3426 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3427 is given without an explicit form.
3428 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3429 attributes.
3430 * gdb.dwarf/corrupt.exp: Ditto.
3431 * gdb.dwarf2/enum-type.exp: Ditto.
3432 * gdb.trace/entry-values.exp: Ditto.
3433 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3434
439250fb
DE
34352015-01-11 Doug Evans <xdje42@gmail.com>
3436
3437 PR gdb/15830
3438 * gdb.base/maint.exp: Remove references to "maint demangle".
3439 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3440 Add tests for explicitly specifying language to demangle.
3441 * gdb.dlang/demangle.exp: Ditto.
3442
ede9f622
PA
34432015-01-09 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.threads/non-stop-fair-events.c: New file.
3446 * gdb.threads/non-stop-fair-events.exp: New file.
3447
a7b796db
PA
34482015-01-09 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3451 the global scope. Set a breakpoint after all threads are started
3452 rather than stepping over two source lines. Expect the prompt.
3453 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3454 global.
3455 (NUM): Now 15.
3456 (main): Use threads_started_barrier to wait for all threads to
3457 start. Main thread no longer calls thread_function. Exit after
3458 180 seconds.
3459 (loop): New function.
3460 (thread_function): Wait on threads_started_barrier barrier. Call
3461 'loop' at each iteration.
3462 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3463 threads have started, instead of hardcoding number of "next"
3464 steps. Use an access watchpoint instead of a write watchpoint.
3465
9665ffdd
PA
34662015-01-09 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3469 (thread_func): Wait on barrier.
3470 (main): Wait for all threads to start before stopping GDB.
3471 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3472 global.
3473 (thread1_func, thread2_func): Wait on barrier.
3474 (main): Wait for all threads to start before stopping GDB.
3475 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3476 New global.
3477 (thread1_func, thread2_func): Wait on barrier.
3478 (main): Wait for all threads to start before stopping GDB.
3479
c945a99f
PA
34802015-01-09 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.threads/attach-many-short-lived-threads.c: New file.
3483 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3484
c1a747c1
PA
34852014-01-09 Pedro Alves <palves@redhat.com>
3486
3487 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3488 instead of to thread 2.
3489 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3490 Add barrier around each pthread_create call instead of around all
3491 calls.
3492 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3493 Set a break on thread_function and have the child threads hit it
3494 one at at a time.
3495
60b3033e
PA
34962015-01-09 Pedro Alves <palves@redhat.com>
3497
3498 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3499 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3500 false.
3501 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3502 checking whether the target board is remote.
3503 * gdb.multi/multi-attach.exp: Likewise.
3504 * gdb.python/py-sync-interp.exp: Likewise.
3505 * gdb.server/ext-attach.exp: Likewise.
3506 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3507 tests that need to attach, instead of checking whether the target
3508 board is remote at the top of the file.
3509
acc018ac
YQ
35102015-01-08 Yao Qi <yao@codesourcery.com>
3511
3512 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3513
50a18af8
JK
35142015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3515
3516 Fix testcase compilation.
3517 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3518
8503d6e1
JB
35192015-01-06 Joel Brobecker <brobecker@adacore.com>
3520
3521 * gdb.python/py-type.exp: Add a couple test about empty
3522 array creation, and negative-length array creation.
3523
cc73dbcc
DE
35242015-01-02 Doug Evans <xdje42@gmail.com>
3525
3526 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3527
0300bbc7
DE
35282015-01-02 Doug Evans <dje@google.com>
3529
3530 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3531
9d85a0ec
YQ
35322014-12-29 Yao Qi <yao@codesourcery.com>
3533
3534 * gdb.trace/entry-values.exp: Update comments. Rename variable
3535 bar_call_foo to returned_from_foo.
3536
87186c6a
MMN
35372014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3538
3539 PR gdb/17394
3540 * gdb.linespec/break-asm-file.c: New file.
3541 * gdb.linespec/break-asm-file.exp: New file.
3542 * gdb.linespec/break-asm-file0.s: New file.
3543 * gdb.linespec/break-asm-file1.s: New file.
3544
1bab7383
YQ
35452014-12-18 Nigel Stephens <nigel@mips.com>
3546 Maciej W. Rozycki <macro@codesourcery.com>
3547
3548 * gdb.base/float.exp: Handle the new output from "info float" on
3549 MIPS targets.
3550
1bc1068a
JK
35512014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 Fix MinGW compilation.
3554 * gdb.compile/compile-ops.exp: Update untested message if
3555 !skip_compile_feature_tests.
3556 * gdb.compile/compile-setjmp.exp: Likewise.
3557 * gdb.compile/compile-tls.exp: Likewise.
3558 * gdb.compile/compile.exp: Likewise.
3559 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3560 supported on this host".
3561
b6615d10
DE
35622014-12-16 Doug Evans <xdje42@gmail.com>
3563
3564 * boards/stabs.exp: New file.
3565
25dda427
AA
35662014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3567
3568 * gdb.base/completion.exp: Adjust to format changes of "maint
3569 print user-registers".
3570
bf330350
CU
35712014-12-16 Catalin Udma <catalin.udma@freescale.com>
3572
3573 PR server/17457
3574 * gdb.arch/aarch64-fp.c: New file.
3575 * gdb.arch/aarch64-fp.exp: New file.
3576
395cf596
SDJ
35772014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3578
3579 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3580 r210637, r210913, r211666, r215400, r215817).
3581
3582 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3583 * dg-extract-results.py: New file.
3584 * dg-extract-results.sh: Use it if the environment seems
3585 suitable.
3586
3587 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3588
3589 * dg-extract-results.py (parse_run): Handle warnings that
3590 are printed before a test harness is run.
3591
3592 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3593
3594 * dg-extract-results.py (Named): Remove __cmp__ method.
3595 (output_variation): Use a key to sort variation.harnesses.
3596
3597 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3598
3599 * dg-extract-results.py: For Python 3, force sys.stdout to
3600 handle surrogate escape sequences.
3601 (safe_open): New function.
3602 (output_segment, main): Use it.
3603
3604 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3605
3606 * dg-extract-results.py (Prog.result_re): Include options
3607 in test name.
3608
3609 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3610
3611 * dg-extract-results.py (output_variation): Always sort if
3612 do_sum.
3613
e882ef3c
SM
36142014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3615
3616 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3617 as long as we get pagination notifications.
3618
4992aa20
JM
36192014-12-15 Jason Merrill <jason@redhat.com>
3620
3621 * Makefile.in (check-gdb.%): Restore.
3622 * README: Mention it.
3623
c1b5a1a6
JB
36242014-12-13 Joel Brobecker <brobecker@adacore.com>
3625
3626 * gdb.ada/str_uninit: New testcase.
3627
5537b577
JK
36282014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3629
3630 PR symtab/17642
3631 * gdb.base/vla-stub-define.c: New file.
3632 * gdb.base/vla-stub.c: New file.
3633 * gdb.base/vla-stub.exp: New file.
3634
bb2ec1b3
TT
36352014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3636 Jan Kratochvil <jan.kratochvil@redhat.com>
3637 Tom Tromey <tromey@redhat.com>
3638
3639 * configure.ac: Add gdb.compile/.
3640 * configure: Regenerate.
3641 * gdb.compile/Makefile.in: New file.
3642 * gdb.compile/compile-ops.exp: New file.
3643 * gdb.compile/compile-ops.c: New file.
3644 * gdb.compile/compile-tls.c: New file.
3645 * gdb.compile/compile-tls.exp: New file.
3646 * gdb.compile/compile-constvar.S: New file.
3647 * gdb.compile/compile-constvar.c: New file.
3648 * gdb.compile/compile-mod.c: New file.
3649 * gdb.compile/compile-nodebug.c: New file.
3650 * gdb.compile/compile-setjmp-mod.c: New file.
3651 * gdb.compile/compile-setjmp.c: New file.
3652 * gdb.compile/compile-setjmp.exp: New file.
3653 * gdb.compile/compile-shlib.c: New file.
3654 * gdb.compile/compile.c: New file.
3655 * gdb.compile/compile.exp: New file.
3656 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3657
4ff709eb
TT
36582014-12-12 Tom Tromey <tromey@redhat.com>
3659
3660 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3661 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3662
6dddd6a5
DE
36632014-12-12 Doug Evans <dje@google.com>
3664
3665 * lib/gdb-python.exp (get_python_valueof): New function.
3666 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3667
71c24708
AA
36682014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3669
3670 * gdb.base/completion.exp: Add test for completion of "info
3671 registers ".
3672
3e29f34a
MR
36732014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3674
3675 * gdb.base/func-ptrs.c: New file.
3676 * gdb.base/func-ptrs.exp: New file.
3677
fc126975
SM
36782014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3679
3680 PR breakpoints/17012
3681 * gdb.base/dprintf-detach.c: New file.
3682 * gdb.base/dprintf-detach.exp: New file.
3683
0a46d518
SM
36842014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3685
3686 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3687 * lib/gdb.exp (target_is_gdbserver): New procedure.
3688
a0be3e44
DE
36892014-12-08 Doug Evans <dje@google.com>
3690
3691 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3692
df1b803a
YQ
36932014-12-05 Yao Qi <yao@codesourcery.com>
3694
3695 * gdb.guile/scm-error.exp: Remove the third argument to
3696 gdb_remote_download.
3697 * gdb.guile/scm-frame-args.exp: Likewise.
3698 * gdb.guile/scm-section-script.exp: Likewise.
3699
ddb9f679
YQ
37002014-12-05 Yao Qi <yao@codesourcery.com>
3701
3702 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3703
86e4ed39
DE
37042014-12-04 Doug Evans <dje@google.com>
3705
3706 * gdb.python/py-objfile.exp: Add tests for
3707 objfile.add_separate_debug_file.
3708
7c50a931
DE
37092014-12-04 Doug Evans <dje@google.com>
3710
3711 * lib/gdb.exp (get_build_id): New function.
3712 (build_id_debug_filename_get): Rewrite to use it.
3713 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3714
621661e3
MR
37152014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3716
3717 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3718 `method(long)', not just 0x0.
3719 * gdb.cp/nsalias.exp: Align code labels to 4.
3720 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3721 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3722 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3723 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3724 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3725 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3726
29f0c3b7
DE
37272014-12-02 Doug Evans <dje@google.com>
3728
e1e061e7 3729 PR symtab/17602
29f0c3b7 3730 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3731 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3732 * gdb.cp/anon-ns.exp: Update.
3733
162078c8
NB
37342014-12-02 Nick Bull <nicholaspbull@gmail.com>
3735
3736 * gdb.python/py-events.py (inferior_call_handler): New.
3737 (register_changed_handler, memory_changed_handler): New.
3738 (test_events.invoke): Register new handlers.
3739 * gdb.python/py-events.exp: Add tests for inferior call,
3740 memory_changed and register_changed events.
3741
fdb09caf
AA
37422014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3743
3744 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3745 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3746 if the linker doesn't understand this.
3747
55cfb2c4
SM
37482014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3749
3750 * gdb.python/python.exp: Change expected reply to help().
3751
9e8cd6df
YQ
37522014-12-01 Yao Qi <yao@codesourcery.com>
3753
3754 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3755 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3756 * configure: Re-generated.
3757
6c659fc2
SC
37582014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3759
3760 * gdb.cp/chained-calls.cc: New file.
3761 * gdb.cp/chained-calls.exp: New file.
3762 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3763
d7fc3181
SM
37642014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3765
3766 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3767 * gdb.dwarf2/symtab-producer.exp: Same.
3768 * gdb.gdb/python-interrupts.exp: Same.
3769 * gdb.gdb/python-selftest.exp: Same.
3770 * gdb.python/py-linetable.exp: Same.
3771 * gdb.python/py-type.exp: Same.
3772 * gdb.python/py-value-cc.exp: Same.
3773 * gdb.python/py-value.exp: Same.
3774
10e79639
YQ
37752014-11-28 Yao Qi <yao@codesourcery.com>
3776
3777 * gdb.base/break-probes.exp: Match library name prefixed with
3778 sysroot.
3779
f28a0564
SM
37802014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3781
3782 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3783 test expected output. Add parentheses for the call to print.
3784 Remove L suffix from integers.
3785
3fe1ce1d
DE
37862014-11-26 Doug Evans <dje@google.com>
3787
3788 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3789
84429e27
YQ
37902014-11-22 Yao Qi <yao@codesourcery.com>
3791
3792 * gdb.trace/entry-values.c: Remove asms.
3793 (foo): Add foo_label.
3794 (bar): Add bar_label.
3795 * gdb.trace/entry-values.exp: Remove code computing foo's
3796 length and bar's length.
3797 (Dwarf::assemble): Invoke function_range for bar and use
3798 MACRO_AT_func for foo.
3799
26741859
YQ
38002014-11-22 Yao Qi <yao@codesourcery.com>
3801
3802 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3803 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3804 Use .Lgcc43_procstart instead of gcc43.
3805
45e44d27
JB
38062014-11-21 Joel Brobecker <brobecker@adacore.com>
3807
3808 * gdb.ada/n_arr_bound: New testcase.
3809
458c8db8
SDJ
38102014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3811
3812 PR breakpoints/10737
3813 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3814 test_catch_syscall_multi_arch.
3815 (test_catch_syscall_multi_arch): New function.
3816
43f3e411
DE
38172014-11-20 Doug Evans <xdje42@gmail.com>
3818
3819 * gdb.base/maint.exp: Update expected output.
3820
0d7b2549
AA
38212014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3822
3823 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3824 4-byte instruction on S390.
3825
8908fca5
JB
38262014-11-19 Joel Brobecker <brobecker@adacore.com>
3827
3828 * gdb.ada/arr_arr: New testcase.
3829
4a46959e
JB
38302014-11-19 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.ada/pkd_arr_elem: New Testcase.
3833
470e2f4e
LM
38342014-11-18 Luis Machado <lgustavo@codesourcery.com>
3835
3836 * gdb.reverse/break-precsave: Expect completion message for
3837 core file reads.
3838 * gdb.reverse/consecutive-precsave.exp: Likewise.
3839 * gdb.reverse/finish-precsave.exp: Likewise.
3840 * gdb.reverse/i386-precsave.exp: Likewise.
3841 * gdb.reverse/machinestate-precsave.exp: Likewise.
3842 * gdb.reverse/sigall-precsave.exp: Likewise.
3843 * gdb.reverse/solib-precsave.exp: Likewise.
3844 * gdb.reverse/step-precsave.exp: Likewise.
3845 * gdb.reverse/until-precsave.exp: Likewise.
3846 * gdb.reverse/watch-precsave.exp: Likewise.
3847
a267f3ad
AA
38482014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3849
3850 * gdb.base/bp-permanent.c: Include unistd.h.
3851 * gdb.python/py-framefilter-mi.c (main): Add return type.
3852 * gdb.python/py-framefilter.c (main): Likewise.
3853 * gdb.trace/actions-changed.c (main): Likewise.
3854
12084a9a
AA
38552014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3856
3857 * gdb.mi/until.c: Add eye-catchers.
3858 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3859 line numbers.
3860
dc7e1a77
AA
38612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3862
3863 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3864 function header variants in break1.c.
3865 * gdb.base/ena-dis-br.exp: Likewise.
3866 * gdb.base/hbreak2.exp: Likewise.
3867 * gdb.reverse/until-precsave.exp: Drop references to removed
3868 non-prototype function header variants in ur1.c.
3869 * gdb.reverse/until-reverse.exp: Likewise.
3870
41c77605
PM
38712014-11-17 Petr Machata <pmachata@redhat.com>
3872
3873 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3874 ${_cu_offset_size} bytes abbrev offset.
3875
34248c3a
DE
38762014-11-15 Doug Evans <xdje42@gmail.com>
3877
3878 PR symtab/17559
3879 * gdb.base/line-symtabs.exp: New file.
3880 * gdb.base/line-symtabs.c: New file.
3881 * gdb.base/line-symtabs.h: New file.
3882
646da059
YQ
38832014-11-14 Yao Qi <yao@codesourcery.com>
3884
3885 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3886 (func): Add label func_label.
3887 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3888 Replace low_pc and high_pc with MACRO_AT_range.
3889 Replace name, low_pc and high_pc with MACRO_AT_func.
3890
9301ebe6
YQ
38912014-11-14 Yao Qi <yao@codesourcery.com>
3892
3893 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3894 Replace name, low_pc and high_pc with MACRO_AT_func.
3895
f166b542
YQ
38962014-11-14 Yao Qi <yao@codesourcery.com>
3897
3898 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3899 produce debug information.
3900 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3901
0f6e71e3
YQ
39022014-11-14 Yao Qi <yao@codesourcery.com>
3903
3904 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3905 object and get function length.
3906 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3907 with MACRO_AT_func.
3908 (top-level): Replace gdb_compile and clean_restart with
3909 prepare_for_testing.
3910 * gdb.dwarf2/main.c (main): Add label main_label.
3911
876c4df9
YQ
39122014-11-14 Yao Qi <yao@codesourcery.com>
3913
3914 * lib/dwarf.exp (function_range): New procedure.
3915 (Dwarf::_handle_macro_at_func): New procedure.
3916 (Dwarf::_handle_macro_at_range): New procedure.
3917 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3918
02ad9cf1
YQ
39192014-11-14 Yao Qi <yao@codesourcery.com>
3920
3921 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3922 (_handle_attribute): New procedure.
3923
a59add0c
AA
39242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3925
3926 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3927 * gdb.base/call-sc.c (zed): Likewise.
3928 * gdb.base/checkpoint.c (main): Likewise.
3929 * gdb.base/dump.c (main): Likewise.
3930 * gdb.base/gcore.c (main): Likewise.
3931 * gdb.base/huge.c (main): Likewise.
3932 * gdb.base/multi-forks.c (main): Likewise.
3933 * gdb.base/pr10179-a.c (main): Likewise.
3934 * gdb.base/savedregs.c (main): Likewise.
3935 * gdb.base/sigaltstack.c (main): Likewise.
3936 * gdb.base/siginfo.c (main): Likewise.
3937 * gdb.base/structs.c (zed): Likewise.
3938 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3939 * gdb.mi/mi-syn-frame.c (main): Likewise.
3940 * gdb.mi/until.c (foo, main): Likewise.
3941 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3942 * gdb.base/solib-weak.c (foo): Declare.
3943 * gdb.base/attach-twice.c: Include stdio.h.
3944 * gdb.base/weaklib1.c: Likewise.
3945 * gdb.base/weaklib2.c: Likewise.
3946 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3947 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3948 unistd.h.
3949 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3950 * gdb.mi/mi-exit-code.c: Likewise.
3951 * gdb.base/break-interp-lib.c: Include string.h.
3952 * gdb.base/coremaker.c: Likewise.
3953 * gdb.base/testenv.c: Likewise.
3954 * gdb.python/py-finish-breakpoint.c: Likewise.
3955 * gdb.base/inferior-died.c: Include sys/wait.h.
3956 * gdb.base/fileio.c: Include time.h.
3957 * gdb.base/async-shell.c: Include unistd.h.
3958 * gdb.base/dprintf-non-stop.c: Likewise.
3959 * gdb.base/info-os.c: Likewise.
3960 * gdb.mi/mi-console.c: Likewise.
3961 * gdb.mi/watch-nonstop.c: Likewise.
3962 * gdb.python/py-events.c: Likewise.
3963 * gdb.base/async.c (baz): Move up before its invocation.
3964 * gdb.base/code_elim2.c (my_global_func): Likewise.
3965 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3966 * gdb.base/advance.c (func2): Likewise.
3967
3b5d5997
AA
39682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3969
3970 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3971 variant.
3972 * gdb.base/annota3.c: Likewise.
3973 * gdb.base/async.c: Likewise.
3974 * gdb.base/average.c: Likewise.
3975 * gdb.base/call-ar-st.c: Likewise.
3976 * gdb.base/call-rt-st.c: Likewise.
3977 * gdb.base/call-sc.c: Likewise.
3978 * gdb.base/call-strs.c: Likewise.
3979 * gdb.base/ending-run.c: Likewise.
3980 * gdb.base/execd-prog.c: Likewise.
3981 * gdb.base/exprs.c: Likewise.
3982 * gdb.base/foll-exec.c: Likewise.
3983 * gdb.base/foll-fork.c: Likewise.
3984 * gdb.base/foll-vfork.c: Likewise.
3985 * gdb.base/funcargs.c: Likewise.
3986 * gdb.base/gcore.c: Likewise.
3987 * gdb.base/jump.c: Likewise.
3988 * gdb.base/langs0.c: Likewise.
3989 * gdb.base/langs1.c: Likewise.
3990 * gdb.base/langs2.c: Likewise.
3991 * gdb.base/mips_pro.c: Likewise.
3992 * gdb.base/nodebug.c: Likewise.
3993 * gdb.base/opaque0.c: Likewise.
3994 * gdb.base/opaque1.c: Likewise.
3995 * gdb.base/recurse.c: Likewise.
3996 * gdb.base/run.c: Likewise.
3997 * gdb.base/scope0.c: Likewise.
3998 * gdb.base/scope1.c: Likewise.
3999 * gdb.base/setshow.c: Likewise.
4000 * gdb.base/setvar.c: Likewise.
4001 * gdb.base/shmain.c: Likewise.
4002 * gdb.base/shr1.c: Likewise.
4003 * gdb.base/shr2.c: Likewise.
4004 * gdb.base/sigall.c: Likewise.
4005 * gdb.base/signals.c: Likewise.
4006 * gdb.base/so-indr-cl.c: Likewise.
4007 * gdb.base/solib2.c: Likewise.
4008 * gdb.base/structs.c: Likewise.
4009 * gdb.base/sum.c: Likewise.
4010 * gdb.base/vforked-prog.c: Likewise.
4011 * gdb.base/watchpoint.c: Likewise.
4012 * gdb.reverse/shr2.c: Likewise.
4013 * gdb.reverse/until-reverse.c: Likewise.
4014 * gdb.reverse/ur1.c: Likewise.
4015 * gdb.reverse/watch-reverse.c: Likewise.
4016
066a77c5
AA
40172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4018
4019 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4020 variant.
4021 * gdb.base/sepdebug.exp: Drop references to removed code.
4022
4f204ea5
AA
40232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4024
4025 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4026 variant. Preserve original line numbering.
4027 * gdb.base/list1.c: Likewise.
4028
3b377a3a
AA
40292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4030
4031 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4032 variant.
4033 * gdb.base/break1.c: Likewise.
4034 * gdb.base/break.exp: Drop references to removed code.
4035
e444df73
AA
40362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4037
4038 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4039 variant.
4040
8008f2a7
AA
40412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4042
4043 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4044
a5a06887
AA
40452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4046
4047 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4048 logic into perform_all_tests() and invoke it with and without
4049 function header prototypes.
4050 (do_function_calls): Remove conditional XFAIL for PR 5318.
4051 (rerun_and_prepare): Remove duplicate code.
4052 (perform_all_tests): New. Main logic moved here.
4053
44dba9b9
AA
40542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4055
4056 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4057 code guarded by #ifdef NO_PROTOTYPES.
4058 (t_double_many_args): Likewise.
4059 (DEF_FUNC_MANY_ARGS_1): Likewise.
4060 (DEF_FUNC_VALUES_1): Likewise.
4061 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4062 guarded by #ifdef PROTOTYPES.
4063
d1fbcd56
AA
40642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4065
4066 * gdb.mi/mi-console.c: Add eye-catcher.
4067 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4068 instead of literal line number.
4069
b0e59b8f
AA
40702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4071
4072 * gdb.base/shr2.c: Add eye-catcher.
4073 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4074 line number.
4075
78f98cca
AA
40762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4077
4078 * gdb.base/jump.c: Add eye-catchers.
4079 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4080 numbers.
4081
58fa2af0
AA
40822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4083
4084 * gdb.base/execd-prog.c: Add eye-catchers.
4085 * gdb.base/foll-exec.c: Likewise.
4086 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4087 line numbers.
4088
04e5059b
AA
40892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4090
4091 * gdb.base/ending-run.c: Add eye-catchers.
4092 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4093 literal line numbers.
4094
dbfdb174
AA
40952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4096
4097 * gdb.base/call-rt-st.c: Add eye-catchers.
4098 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4099 literal line numbers.
4100
888a2ade
AA
41012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4102
4103 * gdb.base/call-ar-st.c: Add eye-catchers.
4104 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4105 literal line numbers.
4106
6acc2dde
AA
41072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4108
4109 * gdb.base/average.c: Add eye-catchers.
4110 * gdb.base/sum.c: Likewise.
4111 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4112 regexps dynamically.
4113
9ecfcd1d
AA
41142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4115
4116 * gdb.base/solib1.c: Add eye-catchers.
4117 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4118 literal line numbers.
4119
78708b7c
PA
41202014-11-12 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4123 leader has exited.
4124
af48d08f
PA
41252014-11-12 Pedro Alves <palves@redhat.com>
4126
4127 * gdb.arch/i386-bp_permanent.c: New file.
4128 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4129 (srcfile): Set to i386-bp_permanent.c.
4130 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4131 that stepi does not execute the 'leave' instruction, instead of
4132 testing it does execute.
4133 * gdb.base/bp-permanent.c: New file.
4134 * gdb.base/bp-permanent.exp: New file.
4135
af3768e9
DE
41362014-11-10 Doug Evans <xdje42@gmail.com>
4137
4138 PR symtab/17564
4139 * gdb.base/symtab-search-order.exp: New file.
4140 * gdb.base/symtab-search-order.c: New file.
4141 * gdb.base/symtab-search-order-1.c: New file.
4142 * gdb.base/symtab-search-order-shlib-1.c: New file.
4143
9de00a4a
PA
41442014-11-07 Pedro Alves <palves@redhat.com>
4145
4146 PR gdb/17511
4147 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4148 i?86-*-linux*.
4149
e0f52461
SC
41502014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4151
4152 PR c++/17494
4153 * gdb.cp/pr17494.cc: New file.
4154 * gdb.cp/pr17494.exp: New file.
4155
6ce8c980
YQ
41562014-11-02 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.python/python.exp: Get working directory and match the
4159 output of "set extended-prompt \\w " with it.
4160
02be9a71
DE
41612014-10-30 Doug Evans <dje@google.com>
4162
4163 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4164 in objfiles.
4165 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4166 in progspaces.
4167
3bdff46b
LM
41682014-10-30 Janis Johnson <janisjo@codesourcery.com>
4169
4170 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4171 * gdb.base/realname-expand.exp: Likewise.
4172 * gdb.linespec/macro-relative.exp: Likewise.
4173
ab917dfb
PA
41742014-10-29 Pedro Alves <palves@redhat.com>
4175
4176 PR gdb/17408
4177 * gdb.threads/schedlock.c (some_function): New function.
4178 (call_function): New global.
4179 (MAYBE_CALL_SOME_FUNCTION): New macro.
4180 (thread_function): Call it.
4181 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4182 and use it instead of a global counter. Adjust all callers.
4183 (get_current_thread): Use "find current thread" for test message
4184 here rather than having all callers pass down the same string.
4185 (goto_loop): New procedure, factored out from ...
4186 (my_continue): ... this.
4187 (step_ten_loops): Change parameter from test message to command to
4188 use. Adjust.
4189 (list_count): Delete global.
4190 (check_result): New procedure, factored out from duplicate top
4191 level code.
4192 (continue tests): Wrap in with_test_prefix.
4193 (test_step): New procedure, factored out from duplicate top level
4194 code.
4195 (top level): Test "step" in combination with all scheduler-locking
4196 modes. Test "next" in combination with all scheduler-locking
4197 modes, and in combination with stepping over a function call or
4198 not.
4199 * gdb.threads/next-bp-other-thread.c: New file.
4200 * gdb.threads/next-bp-other-thread.exp: New file.
4201
d3d4baed
PA
42022014-10-29 Pedro Alves <palves@redhat.com>
4203
4204 PR python/17372
4205 * gdb.python/python.exp: Test a multi-line command that spawns
4206 interactive Python.
4207 * gdb.base/multi-line-starts-subshell.exp: New file.
4208
563e8d85
YQ
42092014-10-29 Yao Qi <yao@codesourcery.com>
4210
4211 * gdb.base/fileio.exp: Make directories on host.
4212
0ea4d52e
YQ
42132014-10-29 Yao Qi <yao@codesourcery.com>
4214
4215 * gdb.base/fileio.c (test_write): Close the file.
4216
7f5ef605
PA
42172014-10-28 Pedro Alves <palves@redhat.com>
4218
4219 PR gdb/12623
4220 * gdb.base/sigstep.c (no_handler): New global.
4221 (main): If 'no_handler is true, set the signal handlers to
4222 SIG_IGN.
4223 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4224 with_sw_watch and no_handler parameters. Handle them.
4225 (top level) <stepping over handler when stopped at a breakpoint
4226 test>: Add a test axis for testing with a software watchpoint, and
4227 another for testing with the signal handler set to SIG_IGN.
4228 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4229 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4230
abbdbd03
PA
42312014-10-28 Pedro Alves <palves@redhat.com>
4232
4233 PR gdb/17511
4234 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4235 * gdb.base/sigstep.exp (other_handler_location): New global.
4236 (advance): Support stepping into the signal handler, and running
4237 commands while in the handler.
4238 (in_handler_map): New global.
4239 (top level): In the advance test, add combinations for getting
4240 into the handler with stepping commands, and for running commands
4241 in the handler. Add comment descripting the advancei tests.
4242
1df4399f
PA
42432014-10-28 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.base/sigstep.exp: Use build_executable instead of
4246 prepare_for_testing.
4247 (top level): Move code that starts GDB, runs to main and creates a
4248 display to ...
4249 (restart): ... this new procedure.
4250 (top level): Move backtrace from signal handler test to ...
4251 (validate_backtrace): ... this new procedure.
4252 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4253 with_test_prefix. Always restart GDB.
4254 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4255 with_test_prefix. Always restart GDB. No need to delete
4256 breakpoints after the test.
4257 (test_skip_handler): Remove prefix parameter.
4258 (skip_over_handler, breakpoint_to_handler)
4259 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4260 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4261 restart GDB. No need to delete breakpoints after the test.
4262 (top level): Use foreach to call the test procedures with
4263 different commands.
4264
a5b6e449
PA
42652014-10-28 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4268 instead of GNATS numbers.
4269 * gdb.base/sigbpt.exp: Likewise.
4270 * gdb.base/siginfo.exp: Likewise.
4271 * gdb.base/sigstep.exp: Likewise.
4272
e5f8a7cc
PA
42732014-10-27 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.base/sigstep.c (dummy): New global.
4276 (main): Issue a couple writes to the new global.
4277 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4278 procedures.
4279 (skip_over_handler): Use test_skip_handler.
4280 (top level): Call skip_over_handler for stepi and nexti too.
4281 (breakpoint_over_handler): Use test_skip_handler.
4282 (top level): Call breakpoint_over_handler for stepi and nexti too.
4283
763905a3
YQ
42842014-10-27 Yao Qi <yao@codesourcery.com>
4285
4286 * gdb.trace/tfile.c (adjust_function_address)
4287 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4288 function descriptor.
4289
6f259a23
DB
42902014-10-24 Don Breazeal <donb@codesourcery.com>
4291
4292 * gdb.base/foll-fork.exp (test_follow_fork,
4293 catch_fork_child_follow): Check for updated fork messages emitted
4294 from infrun.c.
4295 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4296 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4297 vfork_and_exec_child_follow_through_step): Check for updated vfork
4298 messages emitted from infrun.c.
4299
09dd9a69
PA
43002014-10-24 Pedro Alves <palves@redhat.com>
4301
4302 * gdb.base/corefile.exp: Remove references to ultrix.
4303 * gdb.base/interrupt.exp: Likewise.
4304 * gdb.base/whatis.exp: Likewise.
4305 * gdb.gdb/selftest.exp: Likewise.
4306 * gdb.threads/manythreads.exp: Likewise.
4307 * gdb.threads/print-threads.exp: Likewise.
4308 * gdb.threads/pthreads.exp:: Likewise.
4309 * gdb.threads/schedlock.exp: Likewise.
4310
3433cfa5
SC
43112014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4312
4313 * gdb.cp/non-trivial-retval.cc: Add a test case.
4314 * gdb.cp/non-trivial-retval.exp: Add a test.
4315
092f880b
YQ
43162014-10-20 Yao Qi <yao@codesourcery.com>
4317
4318 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4319 * gdb.python/py-objfile-script-gdb.py: New file.
4320 * gdb.python/py-objfile-script.exp: Update reference to
4321 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4322 of remote_download. Remove the dest file.
4323
acbdb7f3
YQ
43242014-10-20 Yao Qi <yao@codesourcery.com>
4325
4326 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4327 * gdb.base/step-line.exp: Likewise.
4328 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4329 * gdb.dwarf2/dw2-basic.exp: Likewise.
4330 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4331 * gdb.dwarf2/dw2-filename.exp: Likewise.
4332 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4333 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4334 * gdb.dwarf2/dw2-producer.exp: Likewise.
4335 * gdb.dwarf2/mac-fileno.exp: Likewise.
4336 * gdb.python/py-frame-args.exp: Likewise.
4337 * gdb.python/py-framefilter.exp: Likewise.
4338 * gdb.python/py-mi.exp: Likewise.
4339 * gdb.python/py-objfile-script.exp: Likewise
4340 * gdb.python/py-pp-integral.exp: Likewise.
4341 * gdb.python/py-pp-re-notag.exp: Likewise.
4342 * gdb.python/py-prettyprint.exp: Likewise.
4343 * gdb.python/py-section-script.exp: Likewise.
4344 * gdb.python/py-typeprint.exp: Likewise.
4345 * gdb.python/py-xmethods.exp: Likewise.
4346 * gdb.stabs/weird.exp: Likewise.
4347 * gdb.xml/tdesc-regs.exp: Likewise.
4348
bd286a29
KCY
43492014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4350
4351 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4352 (out_cu): Use addr_len for the size of addresses.
4353 (out_line): Likewise. Size DW_LNE_set_address instruction
4354 according to addr_len.
4355 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4356 (FUNC): Add START_INSNS to definition.
4357
673dc4a0
YQ
43582014-10-18 Yao Qi <yao@codesourcery.com>
4359
4360 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4361 gdb_has_argv0 return true.
4362 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4363 check [target_info exists noargs], check [gdb_has_argv0]
4364 instead.
4365 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4366 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4367 procedures.
4368
4ffbba72
DE
43692014-10-17 Doug Evans <dje@google.com>
4370
4371 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4372 event.
4373 * gdb.python/py-events.py: Add clear_objfiles event.
4374
d096d8c1
DE
43752014-10-17 Doug Evans <dje@google.com>
4376
4377 * gdb.python/py-objfile.exp: Test progspace attribute.
4378
a80db015
LM
43792014-10-17 Luis Machado <lgustavo@codesourcery.com>
4380
4381 * gdb.guile/scm-breakpoint.exp: Do not assume any
4382 directory separators when matching source file paths.
4383 * gdb.python/py-breakpoint.exp: Likewise.
4384 * gdb.reverse/break-precsave.exp: Likewise.
4385 * gdb.reverse/break-reverse.exp: Likewise.
4386 * gdb.reverse/consecutive-precsave.exp: Likewise.
4387 * gdb.reverse/finish-precsave.exp: Likewise.
4388 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4389 * gdb.reverse/finish-reverse.exp: Likewise.
4390 * gdb.reverse/i386-precsave.exp: Likewise.
4391 * gdb.reverse/i387-env-reverse.exp: Likewise.
4392 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4393 * gdb.reverse/machinestate-precsave.exp: Likewise.
4394 * gdb.reverse/machinestate.exp: Likewise.
4395 * gdb.reverse/sigall-precsave.exp: Likewise.
4396 * gdb.reverse/solib-precsave.exp: Likewise.
4397 * gdb.reverse/step-precsave.exp: Likewise.
4398 * gdb.reverse/until-precsave.exp: Likewise.
4399 * gdb.reverse/watch-precsave.exp: Likewise.
4400 * gdb.reverse/watch-reverse.exp: Likewise.
4401
b22089ab
YQ
44022014-10-17 Yao Qi <yao@codesourcery.com>
4403
4404 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4405 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4406
6c4486e6
PA
44072014-10-17 Pedro Alves <palves@redhat.com>
4408
4409 PR gdb/17471
4410 * gdb.base/bg-execution-repeat.c: New file.
4411 * gdb.base/bg-execution-repeat.exp: New file.
4412
0ff33695
PA
44132014-10-17 Pedro Alves <palves@redhat.com>
4414
4415 PR gdb/17300
4416 * gdb.base/continue-all-already-running.c: New file.
4417 * gdb.base/continue-all-already-running.exp: New file.
4418
6fdebc3d
PA
44192014-10-17 Pedro Alves <palves@redhat.com>
4420
4421 PR gdb/17472
4422 * gdb.base/annota-input-while-running.c: New file.
4423 * gdb.base/annota-input-while-running.exp: New file.
4424
32a8097b
PA
44252014-10-17 Pedro Alves <palves@redhat.com>
4426
4427 * gdb.base/callfuncs.exp: emove references to osf.
4428 * gdb.base/sigall.exp: Likewise.
4429 * gdb.gdb/selftest.exp: Likewise.
4430 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4431 * gdb.mi/non-stop.c: Likewise.
4432 * gdb.mi/pthreads.c: Likewise.
4433 * gdb.reverse/sigall-precsave.exp: Likewise.
4434 * gdb.reverse/sigall-reverse.exp: Likewise.
4435 * gdb.threads/pthreads.c: Likewise.
4436 * gdb.threads/pthreads.exp: Likewise.
4437
7a3517ff
YQ
44382014-10-17 Yao Qi <yao@codesourcery.com>
4439
4440 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4441 check 'target_info exists noargs'.
4442 (test_command_prompt_position): Likewise.
4443 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4444 Remove "set args".
4445 (progvar_simple_while_test): Likewise.
4446 (progvar_complex_if_while_test): Likewise.
4447 (if_while_breakpoint_command_test): Likewise.
4448 (infrun_breakpoint_command_test): Likewise.
4449 (breakpoint_command_test): Likewise.
4450 (watchpoint_command_test): Likewise.
4451 (bp_deleted_in_command_test): Likewise.
4452 (temporary_breakpoint_commands): Likewise.
4453
bb99c472
YQ
44542014-10-16 Yao Qi <yao@codesourcery.com>
4455
4456 * gdb.base/remotetimeout.exp: Remove noargs checking.
4457
7c16b83e
PA
44582014-10-15 Pedro Alves <palves@redhat.com>
4459
4460 PR breakpoints/9649
4461 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4462 * gdb.base/breakpoint-in-ro-region.exp
4463 (probe_target_hardware_step): New procedure.
4464 (top level): Probe hardware stepping and hardware breakpoint
4465 support. Test stepping through a read-only region, with both
4466 "breakpoint auto-hw" on and off and both "always-inserted" on and
4467 off.
4468
35a49624
IB
44692014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4470
4471 * gdb.dlang/demangle.exp: Update for demangling changes.
4472
2d1c107c
SC
44732014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4474
4475 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4476 * gdb.cp/non-trivial-retval.exp: Add new tests.
4477
778811d5
SC
44782014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4479
4480 PR c++/13403
4481 PR c++/15154
4482 * gdb.cp/non-trivial-retval.cc: New file.
4483 * gdb.cp/non-trivial-retval.exp: New file.
4484
10c5f0a8
YQ
44852014-10-15 Yao Qi <yao@codesourcery.com>
4486
4487 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4488 remote host.
4489
65d7b369
YQ
44902014-10-15 Yao Qi <yao@codesourcery.com>
4491
4492 * gdb.python/py-symbol.exp: Match file base name if host is
4493 remote, otherwise match file name with dir name.
4494 * gdb.python/py-symtab.exp: Likewise.
4495 * gdb.python/python.exp: Likewise.
4496
46dc1394
YQ
44972014-10-15 Yao Qi <yao@codesourcery.com>
4498
4499 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4500 pattern.
4501 * gdb.python/py-symtab.exp: Likewise.
4502 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4503 locationn.
4504
c40cc657
JB
45052014-10-14 Joel Brobecker <brobecker@adacore.com>
4506
4507 * gdb.ada/addr_arith: New testcase.
4508
2abf49e1
MR
45092014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4510
4511 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4512 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4513 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4514 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4515
f7088df3
SDJ
45162014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4517
4518 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4519 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4520 * gdb.arch/stap-eval-lang-ada.exp: New file.
4521
4dc06805
YQ
45222014-10-14 Yao Qi <yao@codesourcery.com>
4523
4524 * gdb.mi/mi-var-child.c (nothing1): New function.
4525 (nothing2): New function.
4526 (do_children_tests): Set function pointers by nothing1 and
4527 nothing2.
4528 * gdb.mi/mi-var-child.exp: Step over new added statements.
4529 Update test to match the new output.
4530 * gdb.mi/var-cmd.c (nothing1): New function.
4531 (nothing2): New function.
4532 (do_children_tests): Set function pointers by nothing1 and
4533 nothing2.
4534 * gdb.mi/mi-var-display.exp: Update test to match output.
4535 Step to the line specified by $line_dct_nothing.
4536 Increase the number of lines to step.
4537
46a93de2
YQ
45382014-10-14 Yao Qi <yao@codesourcery.com>
4539
4540 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4541 tests.
4542 * gdb.mi/mi2-var-child.exp: Likewise.
4543
14ea52ee
DE
45442014-10-13 Doug Evans <dje@google.com>
4545
4546 * gdb.python/py-objfile.exp: Change name of file name test.
4547
e5c6e92b
DE
45482014-10-13 Doug Evans <dje@google.com>
4549
4550 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4551 from the start of the CU.
4552
c780cc2f
JK
45532014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4554 Yao Qi <yao@codesourcery.com>
4555
4556 Fix "save breakpoints" for "catch" command.
4557 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4558 Remove -nonewline. Match also the added "main" line.
4559
99894e11
JK
45602014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4561
4562 Fix "save breakpoints" for "disable $bpnum" command.
4563 * gdb.base/save-bp.c (main): Add label.
4564 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4565
6e1ac5a3
JK
45662014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4569
754dd2b0
YQ
45702014-10-11 Yao Qi <yao@codesourcery.com>
4571
4572 * gdb.server/server-kill.exp: Execute command
4573 "set remote trace-status-packet on" before "tstatus".
4574
f90183d7
YQ
45752014-10-11 Yao Qi <yao@codesourcery.com>
4576
4577 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4578 (main): Call getppid.
4579 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4580 and continue to it. Read variable "server_pid".
4581
bf40a607
YQ
45822014-10-11 Yao Qi <yao@codesourcery.com>
4583
4584 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4585
052ca370
YQ
45862014-10-11 Yao Qi <yao@codesourcery.com>
4587
4588 * gdb.threads/thread-find.exp: Don't execute command
4589 "info threads".
4590 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4591 * gdb.threads/linux-dp.exp: Don't check the condition
4592 $threads_created equals to zero.
4593
3831839c
PA
45942014-10-10 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.base/bigcore.exp: Remove references to IRIX.
4597 * gdb.base/funcargs.exp: Likewise.
4598 * gdb.base/interrupt.exp: Likewise.
4599 * gdb.base/mips_pro.exp: Likewise.
4600 * gdb.base/nodebug.exp: Likewise.
4601 * gdb.base/setvar.exp: Likewise.
4602 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4603
8b9a549d
PA
46042014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4605 Pedro Alves <palves@redhat.com>
4606
4607 PR symtab/14466
4608 * gdb.base/vdso-warning.c: New file.
4609 * gdb.base/vdso-warning.exp: New file.
4610
d48ba5e8
DE
46112014-10-02 Doug Evans <dje@google.com>
4612
4613 * gdb.base/structs.c (main): Don't run forever.
4614
2278c276
PA
46152014-10-02 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4618 (top level) <stop threads 1, stop threads 2>: Use it.
4619
b57bacec
PA
46202014-10-02 Pedro Alves <palves@redhat.com>
4621
4622 * gdb.threads/break-while-running.exp (test): Add new
4623 'update_thread_list' argument. Skip "info threads" if false.
4624 (top level): Add new 'update_thread_list' axis.
4625
13fd3ff3
PA
46262014-10-02 Pedro Alves <palves@redhat.com>
4627
4628 PR breakpoints/17431
4629 * gdb.base/execl-update-breakpoints.c: New file.
4630 * gdb.base/execl-update-breakpoints.exp: New file.
4631
0fec99e8
PA
46322014-10-01 Pedro Alves <palves@redhat.com>
4633
4634 * gdb.base/breakpoint-in-ro-region.c: New file.
4635 * gdb.base/breakpoint-in-ro-region.exp: New file.
4636
2ddf4301
SM
46372014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4638
4639 * gdb.mi/mi-exit-code.exp: New file.
4640 * gdb.mi/mi-exit-code.c: New file.
4641
6a5f3f43
YQ
46422014-09-30 Yao Qi <yao@codesourcery.com>
4643
4644 * lib/prelink-support.exp (build_executable_own_libs): Error if
4645 the target isn't native.
4646
345bcc73
YQ
46472014-09-30 Yao Qi <yao@codesourcery.com>
4648
4649 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4650 false.
4651
a25a5a45
PA
46522014-09-22 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.threads/break-while-running.exp: New file.
4655 * gdb.threads/break-while-running.c: New file.
4656
00ba3162
YQ
46572014-09-19 Yao Qi <yao@codesourcery.com>
4658
4659 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4660 Invoke test. Restart GDB with --readnow and invoke test again.
4661
c3b7b696
YQ
46622014-09-19 Yao Qi <yao@codesourcery.com>
4663
4664 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4665 proc set_breakpoint_on_gcd_function. Invoke
4666 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4667 invoke set_breakpoint_on_gcd_function again.
4668
2b4fd423
DE
46692014-09-18 Doug Evans <dje@google.com>
4670
4671 * gdb.dwarf2/symtab-producer.exp: New file.
4672
a5947601
SDJ
46732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4674
4675 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4676 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4677 * gdb.base/global-var-nested-by-dso.c: Likewise.
4678 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4679
91c19059
SDJ
46802014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4681 Pedro Alves <palves@redhat.com>
4682
4683 * gdb.base/watch-bitfields.exp: Pass string other than test file
4684 name to prepare_for_testing.
4685 (watch): New procedure.
4686 (expect_watchpoint): Use with_test_prefix.
4687 (top level): Factor out tests to ...
4688 (test_watch_location, test_regular_watch): ... these new
4689 procedures, and use with_test_prefix and gdb_continue_to_end.
4690
bb9d5f81
PP
46912014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4692
4693 PR breakpoints/12526
4694 * gdb.base/watch-bitfields.exp: New file.
4695 * gdb.base/watch-bitfields.c: New file.
4696
635856f5
PA
46972014-09-16 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4700 software and hardware addresses, not software address against
4701 itself.
4702
7280ceea
PA
47032014-09-16 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4706 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4707
428b16bd
PA
47082014-09-16 Pedro Alves <palves@redhat.com>
4709
4710 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4711 files.
4712 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4713 "*-*-vxworks*" throughout.
4714 * gdb.base/break.exp: Likewise.
4715 * gdb.base/default.exp: Likewise.
4716 * gdb.base/scope.exp: Likewise.
4717 * gdb.base/sepdebug.exp: Likewise.
4718 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4719 throughout.
4720 * gdb.base/run.c: Likewise.
4721 * gdb.base/sepdebug.c: Likewise.
4722 * gdb.hp/gdb.aCC/run.c: Likewise.
4723 * gdb.reverse/until-reverse.c: Likewise.
4724 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4725
666d413c
YQ
47262014-09-16 Yao Qi <yao@codesourcery.com>
4727
4728 * boards/local-remote-host-native.exp: New file.
4729
57cbd724
DE
47302014-09-14 Doug Evans <xdje42@gmail.com>
4731
4732 * gdb.threads/queue-signal.c (thread_count): New variable.
4733 (thread_count_mutex, thread_count_condvar): New variables.
4734 (incr_thread_count, wait_all_threads_running): New functions.
4735 (main): Wait for all threads to be in their thread functions.
4736
81219e53
DE
47372014-09-13 Doug Evans <xdje42@gmail.com>
4738
4739 * gdb.threads/queue-signal.c: New file.
4740 * gdb.threads/queue-signal.exp: New file.
4741
3714cea7
DE
47422014-09-13 Doug Evans <xdje42@gmail.com>
4743
4744 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4745 be consistent with what default_gdb_init uses.
4746 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4747 the plain text of the prompt. Add some logging printfs.
4748 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4749
fa43b1d7
PA
47502014-09-12 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4753 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4754 * gdb.arch/i386-size-overlap.exp: Likewise.
4755 * gdb.arch/i386-size.exp: Likewise.
4756 * gdb.arch/i386-unwind.exp: Likewise.
4757 * gdb.base/a2-run.exp: Likewise.
4758 * gdb.base/break.exp: Likewise.
4759 * gdb.base/charset.exp: Likewise.
4760 * gdb.base/chng-syms.exp: Likewise.
4761 * gdb.base/commands.exp: Likewise.
4762 * gdb.base/dbx.exp: Likewise.
4763 * gdb.base/find.exp: Likewise.
4764 * gdb.base/funcargs.exp: Likewise.
4765 * gdb.base/jit-simple.exp: Likewise.
4766 * gdb.base/reread.exp: Likewise.
4767 * gdb.base/sepdebug.exp: Likewise.
4768 * gdb.base/step-bt.exp: Likewise.
4769 * gdb.cp/mb-inline.exp: Likewise.
4770 * gdb.cp/mb-templates.exp: Likewise.
4771 * gdb.objc/basicclass.exp: Likewise.
4772 * gdb.threads/killed.exp: Likewise.
4773
9d9bf2df
EBM
47742014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4775
4776 PR tdep/17379
4777 * gdb.arch/powerpc-stackless.S: New file.
4778 * gdb.arch/powerpc-stackless.exp: New file.
4779
1cf2f1b0
JK
47802014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4781
4782 * gdb.base/attach.c: Include unistd.h.
4783 (main): Call alarm. Add label postloop.
4784 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4785 gdb_breakpoint, gdb_continue_to_breakpoint.
4786 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4787
98880d46
PA
47882014-09-11 Pedro Alves <palves@redhat.com>
4789
4790 PR gdb/17347
4791 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4792 * gdb.base/attach.exp (test_command_line_attach_run): New
4793 procedure.
4794 (top level): Call it.
4795
4c92ff2c
PA
47962014-09-11 Pedro Alves <palves@redhat.com>
4797
4798 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4799 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4800 (do_command_attach_tests): Use spawn_wait_for_attach.
4801 * gdb.base/solib-overlap.exp: Likewise.
4802 * gdb.multi/multi-attach.exp: Likewise.
4803 * gdb.python/py-prompt.exp: Likewise.
4804 * gdb.python/py-sync-interp.exp: Likewise.
4805 * gdb.server/ext-attach.exp: Likewise.
4806
3adc1a7d
GKB
48072014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4808
4809 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4810 command in testcase. Simplify testcase.
4811
96334934
JB
48122014-09-10 Joel Brobecker <brobecker@adacore.com>
4813
4814 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4815
eb479039
JB
48162014-09-10 Joel Brobecker <brobecker@adacore.com>
4817
4818 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4819
deede10c
JB
48202014-09-10 Joel Brobecker <brobecker@adacore.com>
4821
4822 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4823
7828a5f5
JB
48242014-09-10 Joel Brobecker <brobecker@adacore.com>
4825
4826 * gdb.dwarf2/dynarr-ptr.c: New file.
4827 * gdb.dwarf2/dynarr-ptr.exp: New file.
4828
33aeebcf
MR
48292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4830
4831 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4832 of 30 rather than hardcoding 120 for a slow test case. Take the
4833 `gdb,timeout' target setting into account for this calculation.
4834 Don't extend the timeout for the test cases that don't need it.
4835
7b415901
MR
48362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4837
4838 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4839 a factor of 2 for a slow test case. Take the `gdb,timeout'
4840 target setting into account for this calculation.
4841 * gdb.reverse/until-precsave.exp: Increase the timeout by
4842 a factor of 15 and 3 respectively rather than adding 120
4843 for a pair of slow test cases. Take the `gdb,timeout'
4844 target setting into account for this calculation.
4845
4a40f85a
MR
48462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4847
4848 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4849 timeout, don't pass one down to gdb_expect.
4850 (gdb_expect): Rework timeout selection.
4851
09635af7
MR
48522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4853
4854 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4855 exception on timeout.
4856 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4857 (gdbserver_start_extended): Catch any `gdbserver_start' error
4858 exceptions.
4859 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4860 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4861 `gdbserver_gdb_load' error exceptions.
4862
2bdd10b7
MR
48632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4864
4865 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4866 120 on waiting for the TCP socket to open.
4867
316935f0
DE
48682014-09-09 Doug Evans <xdje42@gmail.com>
4869
4870 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4871 _caller_matches, _any_caller_is, _any_caller_matches.
4872
83740597
DE
48732014-09-09 Doug Evans <xdje42@gmail.com>
4874
4875 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4876
4c122fc3
YQ
48772014-09-09 Yao Qi <yao@codesourcery.com>
4878
4879 * gdb.mi/mi-var-display.exp: Set print symbol off.
4880
a9f116cb
GKB
48812014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4882
4883 PR gdb/17035
4884 * gdb.base/commands.exp: Add tests to verify user-defined
4885 commands with empty bodies.
4886 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4887 python commands in `show user command`.
4888 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4889 scheme commands in `show user command`.
4890
c75bd3a2
JK
48912014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 PR python/17355
4894 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4895 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4896 * gdb.python/py-framefilter-invalidarg.exp: New file.
4897 * gdb.python/py-framefilter-invalidarg.py: New file.
4898
faa42425
DE
48992014-09-06 Doug Evans <xdje42@gmail.com>
4900
4901 PR 15276
4902 * gdb.python/py-caller-is.c: New file.
4903 * gdb.python/py-caller-is.exp: New file.
4904
474ca4f6
SDJ
49052014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4906
4907 PR gdb/17235
4908 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4909 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4910
eb0b0463
SDJ
49112014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4912
4913 PR fortran/17237
4914 * gdb.fortran/print-formatted.exp: New file.
4915 * gdb.fortran/print-formatted.f90: Likewise.
4916
5f3b99cf
SS
49172014-09-03 Sasha Smundak <asmundak@google.com>
4918
4919 * gdb.python/py-frame.exp: Test Frame.read_register.
4920
7d793aa9
SDJ
49212014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4922
4923 PR python/16699
4924 * gdb.python/py-completion.exp: New file.
4925 * gdb.python/py-completion.py: Likewise.
4926
fb0576e9
DE
49272014-08-28 Doug Evans <dje@google.com>
4928
4929 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4930 eax,etc. are live with values set by gdb and thus the compiler can't
4931 use them.
4932 * gdb.arch/i386-pseudo.c (main): Ditto.
4933
ee92b0dd
DE
49342014-08-27 Doug Evans <dje@google.com>
4935
4936 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4937
6649db35
DE
49382014-08-25 Doug Evans <dje@google.com>
4939
4940 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4941 (main): Ditto.
4942
564b7600
DE
49432014-08-25 Doug Evans <dje@google.com>
4944
4945 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4946
3881fb67
YQ
49472014-08-24 Yao Qi <yao@codesourcery.com>
4948
4949 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4950 symbol off.
4951 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4952
a05a36a5
DE
49532014-08-22 Doug Evans <dje@google.com>
4954
4955 PR 17276
4956 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4957 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4958 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4959
7c343b48
YQ
49602014-08-22 Yao Qi <yao@codesourcery.com>
4961
4962 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4963 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4964 * gdb.python/python.exp: Likewise. Use .py file on the host
4965 instead of the build.
4966
22fd09ae
JK
49672014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4968
4969 * gdb.threads/gcore-stale-thread.c: New file.
4970 * gdb.threads/gcore-stale-thread.exp: New file.
4971
a8454a7c
PA
49722014-08-21 Pedro Alves <palves@redhat.com>
4973
4974 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4975 * gdb.base/gcore-relro-pie.exp: Likewise.
4976 * gdb.base/gcore-relro.exp: Likewise.
4977 * gdb.base/gcore.exp: Likewise.
4978 * gdb.base/print-symbol-loading.exp: Likewise.
4979 * gdb.threads/gcore-thread.exp: Likewise.
4980 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4981
2a31c623
PA
49822014-08-20 Pedro Alves <palves@redhat.com>
4983 Jan Kratochvil <jan.kratochvil@redhat.com>
4984
4985 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4986 configure.
4987 (EXPECT): Handle READ1 being set.
4988 (all): Depend on EXTRA_RULES.
4989 (check-read1, expect-read1, read1.so, read1): New rules.
4990 * README (Testsuite Parameters): Document the READ1 make variable.
4991 (Race detection): New section.
4992 * configure: Regenerate.
4993 * configure.ac: If build==host==target, and running under a
4994 GNU/glibc system, add read1 to the extra Makefile rules.
4995 (EXTRA_RULES): AC_SUBST it.
4996 * lib/read1.c: New file.
4997
d36430db
JB
49982014-08-20 Joel Brobecker <brobecker@adacore.com>
4999
5000 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5001 the handling of variables declared as a typedef to an array
5002 which a DW_AT_data_location attribute.
5003
9a0dc9e3
PA
50042014-08-19 Andrew Burgess <aburgess@broadcom.com>
5005 Pedro Alves <palves@redhat.com>
5006
5007 PR symtab/14604
5008 PR symtab/14605
5009 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5010 gdb_test.
5011
0718a8da
PA
50122014-08-19 Pedro Alves <palves@redhat.com>
5013
5014 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5015
13b448cd
YQ
50162014-08-19 Yao Qi <yao@codesourcery.com>
5017
5018 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5019 right line.
5020
1cbf5077
DB
50212014-08-18 David Blaikie <dblaikie@gmail.com>
5022
5023 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5024
bf0fae19
JB
50252014-08-18 Joel Brobecker <brobecker@adacore.com>
5026
5027 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5028 attribute in array range.
5029
3c8c5dcc
JB
50302014-08-18 Joel Brobecker <brobecker@adacore.com>
5031
5032 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5033
e66d4446
SC
50342014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5035
5036 PR c++/17132
5037 * gdb.cp/pr17132.cc: New file.
5038 * gdb.cp/pr17132.exp: New file.
5039
940df408
SC
50402014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5041
5042 * gdb.python/py-xmethods.py (A_getarrayind)
5043 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5044 Use 'print' with function call syntax.
5045 (E_method_matcher.match): Fix tab vs space indentation mixup.
5046
ebcc6c3a
YQ
50472014-08-15 Yao Qi <yao@codesourcery.com>
5048
5049 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5050 false.
5051
775e0f04
YQ
50522014-08-15 Yao Qi <yao@codesourcery.com>
5053
5054 * gdb.cp/casts.exp: Set print symbol off.
5055 * gdb.cp/class2.exp: Likewise.
5056 * gdb.cp/overload.exp: Likewise.
5057 * gdb.cp/templates.exp: Likewise.
5058
d769e349
DE
50592014-08-11 Doug Evans <dje@google.com>
5060
5061 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5062 (test_load_shlib): Update.
5063
20c6f1e1
YQ
50642014-08-09 Yao Qi <yao@codesourcery.com>
5065
5066 * gdb.base/display.exp: Invoke is_address_zero_readable.
5067 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5069 * gdb.base/hbreak-unmapped.exp: Return if
5070 is_address_zero_readable returns true.
5071 * gdb.base/signest.exp: Likewise.
5072 * gdb.base/signull.exp: Likewise.
5073 * gdb.base/sigbpt.exp: Likewise.
5074 * gdb.guile/scm-disasm.exp: Do the test if
5075 is_address_zero_readable returns false.
5076 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5077 * gdb.python/py-arch.exp: Likewise.
5078 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5079 * lib/gdb.exp (is_address_zero_readable): New proc.
5080
5792e8e3
YQ
50812014-08-09 Yao Qi <yao@codesourcery.com>
5082
5083 PR testsuite/13443
5084 * gdb.mi/mi-var-display.exp: Make test messages unique.
5085
3cecbbbe
TT
50862014-08-04 Tom Tromey <tromey@redhat.com>
5087
5088 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5089 target 0".
5090
00b51ff5
TT
50912014-08-04 Tom Tromey <tromey@redhat.com>
5092
5093 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5094 "target_resume".
5095
6908c509
JB
50962014-08-01 Joel Brobecker <brobecker@adacore.com>
5097
5098 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5099 inner_vla_struct_object_size.
5100 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5101 as xfail.
5102
cc6563d2
PA
51032014-07-30 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5106 comment.
5107
7e09a223
YQ
51082014-07-29 Yao Qi <yao@codesourcery.com>
5109
5110 PR gdb/17206
5111 * gdb.base/until-nodebug.exp: New.
5112
7ebdbe92
DE
51132014-07-28 Doug Evans <xdje42@gmail.com>
5114
5115 PR guile/17203
5116 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5117 previously existing parameter, and previously ambiguously spelled
5118 parameter.
5119
fdb1adc6
WN
51202014-07-28 Will Newton <will.newton@linaro.org>
5121
5122 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5123
186fcde0
DE
51242014-07-26 Ludovic Courtès <ludo@gnu.org>
5125 Doug Evans <xdje42@gmail.com>
5126
5127 PR guile/17146
5128 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5129
70509625
PA
51302014-07-25 Pedro Alves <palves@redhat.com>
5131
5132 * gdb.threads/signal-command-handle-nopass.c: New file.
5133 * gdb.threads/signal-command-handle-nopass.exp: New file.
5134 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5135 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5136 * gdb.threads/signal-delivered-right-thread.c: New file.
5137 * gdb.threads/signal-delivered-right-thread.exp: New file.
5138
c3f814a1
PA
51392014-07-25 Pedro Alves <palves@redhat.com>
5140
5141 * gdb.base/double-prompt-target-event-error.exp
5142 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5143 match.
5144 (cancel_pagination_in_target_event): Rework double prompt
5145 detection.
5146 * gdb.base/paginate-after-ctrl-c-running.exp
5147 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5148 <return>' match.
5149 * gdb.base/paginate-bg-execution.exp
5150 (test_bg_execution_pagination_return)
5151 (test_bg_execution_pagination_cancel): Remove '-notransfer
5152 <return>' matches.
5153 * gdb.base/paginate-execution-startup.exp
5154 (test_fg_execution_pagination_return)
5155 (test_fg_execution_pagination_cancel): Remove '-notransfer
5156 <return>' matches.
5157 * gdb.base/paginate-inferior-exit.exp
5158 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5159 match.
5160 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5161 * lib/gdb.exp (pagination_prompt): Run text through
5162 string_to_regexp.
5163 (gdb_test_multiple): Match $pagination_prompt instead of
5164 "<return>".
5165 (string_to_regexp): Move to lib/gdb-utils.exp.
5166
e214cf6c
JK
51672014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5168
5169 * gdb.arch/amd64-entry-value-paramref.S: New file.
5170 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5171 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5172 * gdb.arch/amd64-optimout-repeat.S: New file.
5173 * gdb.arch/amd64-optimout-repeat.c: New file.
5174 * gdb.arch/amd64-optimout-repeat.exp: New file.
5175
17d0c5c8
JK
51762014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5177
5178 PR gdb/17170
5179 * gdb.base/statistics.exp: New file.
5180
b8b8facf
DE
51812014-07-17 Doug Evans <dje@google.com>
5182
74b49205 5183 PR gdb/17170
b8b8facf
DE
5184 * gdb.base/maint.exp: Update testing of per-command stats.
5185
1b5d0ab3
PA
51862014-07-16 Pedro Alves <palves@redhat.com>
5187
5188 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5189 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5190 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5191 (tfile_write_buf): New functions.
5192 (add_memory_block): Rewrite using the above.
5193 (adjust_function_address): New function.
5194 (FUNCTION_ADDRESS): New macro.
5195 (write_basic_trace_file): Remove short_x local, and use
5196 tfile_write_16. Change type of func_addr local to unsigned long
5197 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5198 here. Cast argument of add_memory_block to char pointer.
5199 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5200 (main): Remove parameters.
5201 * gdb.trace/tfile.exp: Remove nowarnings.
5202
4d974e88
SM
52032014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5204
5205 * gdb.base/debug-expr.exp: Test string evaluation with
5206 "debug expression" on.
5207
41e99568
PA
52082014-07-15 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.base/reread.exp: Use clean_restart.
5211
487d9753
PL
52122014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5213
5214 * gdb.arch/avr-flash-qualifer.c: New.
5215 * gdb.arch/avr-flash-qualifer.exp: New.
5216
cc1c52ad
PA
52172014-07-14 Pedro Alves <palves@redhat.com>
5218
5219 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5220 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5221
1e973570
PA
52222014-07-14 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.base/double-prompt-target-event-error.c: New file.
5225 * gdb.base/double-prompt-target-event-error.exp: New file.
5226
93d6eb10
PA
52272014-07-14 Pedro Alves <palves@redhat.com>
5228
5229 PR gdb/17072
5230 * gdb.base/paginate-inferior-exit.c: New file.
5231 * gdb.base/paginate-inferior-exit.exp: New file.
5232
0017922d
PA
52332014-07-14 Pedro Alves <palves@redhat.com>
5234
5235 PR gdb/17072
5236 * gdb.base/paginate-bg-execution.c: New file.
5237 * gdb.base/paginate-bg-execution.exp: New file.
5238
94696ad3
PA
52392014-07-14 Pedro Alves <palves@redhat.com>
5240
5241 PR gdb/17072
5242 * gdb.base/paginate-execution-startup.c: New file.
5243 * gdb.base/paginate-execution-startup.exp: New file.
5244 * lib/gdb.exp (pagination_prompt): New global.
5245 (default_gdb_spawn): New procedure, factored out from
5246 default_gdb_spawn.
5247 (default_gdb_start): Adjust to call default_gdb_spawn.
5248 (gdb_spawn): New procedure.
5249
bd293940
PA
52502014-07-14 Pedro Alves <palves@redhat.com>
5251
5252 * lib/gdb.exp (gdb_assert): New procedure.
5253 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5254
c933f875
PA
52552014-07-14 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.base/execution-termios.c: New file.
5258 * gdb.base/execution-termios.exp: New file.
5259
d98b7a16
TT
52602014-07-14 Tom Tromey <tromey@redhat.com>
5261
5262 * gdb.cp/vla-cxx.cc: New file.
5263 * gdb.cp/vla-cxx.exp: New file.
5264
548740d6
TT
52652014-07-14 Tom Tromey <tromey@redhat.com>
5266
5267 * gdb.reverse/rerun-prec.c: New file.
5268 * gdb.reverse/rerun-prec.exp: New file.
5269
a25eb028
MR
52702014-07-12 Maciej W. Rozycki <macro@mips.com>
5271 Maciej W. Rozycki <macro@codesourcery.com>
5272
5273 * lib/gdb-utils.exp: New file.
5274 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5275 inline `gdb_init_command' processing.
5276 (gdb_start_cmd): Likewise.
5277 * lib/mi-support.exp (mi_run_cmd): Likewise.
5278 * README: Document `gdb_init_command' and `gdb_init_commands'.
5279
218c2655
JK
52802014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5281
5282 Fix false FAIL running under a very long directory name.
5283 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5284 and "set print elements 10000". Twice.
5285
5401fde3
YQ
52862014-07-11 Yao Qi <yao@codesourcery.com>
5287
5288 * gdb.base/exprs.exp: "set print symbol off".
5289
e76126e8
PA
52902014-07-11 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.threads/kill.c: New file.
5293 * gdb.threads/kill.exp: New file.
5294
2d6f0de6
YQ
52952014-07-10 Yao Qi <yao@codesourcery.com>
5296
5297 * gdb.trace/tfile.c (write_basic_trace_file)
5298 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5299 address written to trace file.
5300
7180e04a
PA
53012014-07-09 Pedro Alves <palves@redhat.com>
5302
5303 * gdb.base/attach-wait-input.exp: New file.
5304 * gdb.base/attach-wait-input.c: New file.
5305
9a9a7608
AB
53062014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5307
5308 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5309 setting up test structures.
5310 (main): Call new test function.
5311 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5312 test function, continue into test function and walk test
5313 structures.
5314
161ac41e
YQ
53152014-07-02 Yao Qi <yao@codesourcery.com>
5316
5317 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5318 'bar_start' at the beginning of functions 'foo' and 'bar'
5319 respectively.
5320 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5321 instead of 'foo' and 'bar'.
5322
1f267ae3
MM
53232014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5324
5325 * gdb.btrace/segv.exp: New.
5326 * gdb.btrace/segv.c: New.
5327
2b239efb
LM
53282014-07-02 Luis Machado <lgustavo@codesourcery.com>
5329
5330 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5331 instruction.
5332
cf363f18
MW
53332014-06-30 Mark Wielaard <mjw@redhat.com>
5334
5335 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5336 vulture, vilify, villar): New volatile array constants.
5337 (vindictive, vegetation): New const volatile array constants.
5338 * gdb.base/volatile.exp: Test volatile and const volatile array
5339 types.
5340
aebf9d24
AA
53412014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5342
5343 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5344 target lacks support for awatch, rwatch, or hbreak.
5345
b67a2c6f
YQ
53462014-06-27 Yao Qi <yao@codesourcery.com>
5347
5348 * gdb.multi/dummy-frame-restore.exp: New.
5349 * gdb.multi/dummy-frame-restore.c: New.
5350
aef92902
MM
53512014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5352
5353 * gdb.btrace/gcore.exp: New.
5354
8e9db26e
PA
53552014-06-23 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.base/watchpoint-reuse-slot.c: New file.
5358 * gdb.base/watchpoint-reuse-slot.exp: New file.
5359
70afc5b7
SC
53602014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5361
5362 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5363 progspace's filename in 'info', 'enable' and 'disable' command
5364 tests.
5365
b972bd9c
JK
53662014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5367
5368 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5369 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5370 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5371
125f8a3d
GB
53722014-06-20 Gary Benson <gbenson@redhat.com>
5373
5374 * gdb.arch/i386-avx.exp: Fix include file location.
5375 * gdb.arch/i386-sse.exp: Likewise.
5376
3ed9baed
IB
53772014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5378
5379 * gdb.dlang/expression.exp: New file.
5380
034f788c
PA
53812014-06-19 Pedro Alves <palves@redhat.com>
5382
5383 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5384 out from ...
5385 (top level): ... here. Iterate running tests under different
5386 scheduler-locking settings.
5387
45371d0c
LM
53882014-06-18 Luis Machado <lgustavo@codesourcery.com>
5389
5390 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5391 to DW_FORM_addr and use non-zero addresses.
5392
5d376983
SC
53932014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5394
5395 PR gdb/17017
5396 * gdb.python/py-xmethods.cc: Add global function call counters and
5397 increment them in their respective functions. Remove "cout"
5398 statements.
5399 * gdb.python/py-xmethods.exp: Make tests check the global function
5400 call counters instead of depending on inferior IO.
5401
a1aa2221
LM
54022014-06-18 Don Breazeal <donb@codesourcery.com>
5403
5404 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5405 Deleted procedure.
5406 (explicit_fork_parent_follow): Deleted procedure.
5407 (explicit_fork_child_follow): Deleted procedure.
5408 (test_follow_fork): New procedure.
5409 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5410 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5411 procedure calls.
5412
0fc05997
YQ
54132014-06-17 Yao Qi <yao@codesourcery.com>
5414
5415 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5416 CP1252.
5417
70795c52
LM
54182014-06-17 Luis Machado <lgustavo@codesourcery.com>
5419
5420 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5421 Initialize ptr and S explicitly.
5422 (skip_type_update_when_not_use_rtti_test): Likewise.
5423
6be47f0c
KS
54242014-06-16 Keith Seitz <keiths@redhat.com>
5425
5426 PR mi/15863
5427 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5428 the inferior is started.
5429
d03de421
PA
54302014-06-16 Pedro Alves <palves@redhat.com>
5431
5432 * gdb.base/break-main-file-remove-fail.c: New file.
5433 * gdb.base/break-main-file-remove-fail.exp: New file.
5434 * gdb.base/break-unload-file.exp: Use build_executable instead of
5435 prepare_for_testing.
5436 (test_break): New parameter "initial_load". Handle it.
5437 (top level): Add initial_load cmdline/file axis.
5438
f9579b99
TT
54392014-06-12 Tom Tromey <tromey@redhat.com>
5440
5441 * gdb.base/completion.exp: Don't use directory name in test.
5442
3657956b
GB
54432014-06-09 Gary Benson <gbenson@redhat.com>
5444
5445 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5446 separate the always-available ANSI-standard signals from the
5447 signals that require checking.
5448 (main): Likewise.
5449 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5450 Likewise.
5451 (main): Likewise.
5452
4186eb54
KS
54532014-06-07 Keith Seitz <keiths@redhat.com>
5454
5455 Revert:
5456 PR c++/16253
5457 * gdb.cp/var-tag.cc: New file.
5458 * gdb.cp/var-tag.exp: New file.
5459 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5460 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5461 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5462 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5463
25326a28 54642014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5465
5466 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5467
829155c9
PA
54682014-06-06 Pedro Alves <palves@redhat.com>
5469
5470 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5471 in target debug output instead of looking at RSP packets,
5472 disabling the test on any target that uses hardware stepping.
5473 Update comments.
5474
61c8d22e
PA
54752014-06-06 Pedro Alves <palves@redhat.com>
5476
5477 * gdb.base/break-unload-file.exp: Fix typo.
5478
d9a47287
YQ
54792014-06-06 Yao Qi <yao@codesourcery.com>
5480
5481 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5482 from "jit_function" to "^jit_function".
5483
e5e01dbf
YQ
54842014-06-06 Yao Qi <yao@codesourcery.com>
5485
5486 * gdb.base/async.c (foo): Add one statement.
5487 * gdb.base/async.exp: Get the next instruction address and
5488 match the output of "nexti" by instruction address. Match
5489 the hex address in the output of "finish".
5490
73ba372c
GB
54912014-06-06 Gary Benson <gbenson@redhat.com>
5492
5493 * gdb.base/call-signals.c: Remove preprocessor conditionals
5494 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5495 SIGSEGV and SIGTERM.
5496 * gdb.base/sigall.c: Likewise.
5497 * gdb.base/unwindonsignal.c: Likewise.
5498 * gdb.reverse/sigall-reverse.c: Likewise.
5499
831517df
YQ
55002014-06-06 Yao Qi <yao@codesourcery.com>
5501
5502 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5503 readable, skip the test.
5504
b8b91e98
YQ
55052014-06-06 Yao Qi <yao@codesourcery.com>
5506
5507 * gdb.threads/staticthreads.c (thread_function): Move the line
5508 setting breakpoint on forward.
5509 * gdb.threads/staticthreads.exp: Update comments.
5510
fb934770
LC
55112014-06-05 Ludovic Courtès <ludo@gnu.org>
5512
5513 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5514 "history-append! type error".
5515
6ef284bd
SM
55162014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5517
5518 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5519 erroneous dprintf expected input.
5520
a872e241
DE
55212014-06-04 Doug Evans <xdje42@gmail.com>
5522
5523 * gdb.guile/scm-generics.exp: Delete.
5524
16f691fb
DE
55252014-06-04 Doug Evans <xdje42@gmail.com>
5526
5527 * gdb.guile/scm-breakpoint.exp: Update.
5528 Add tests for breakpoint registration.
5529
012370f6
TT
55302014-06-04 Tom Tromey <tromey@redhat.com>
5531
5532 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5533 VLA-in-union.
5534 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5535 inner_vla_struct, vla_union types. Initialize objects of those
5536 types and compute their sizes.
5537
9f5a4cef
HZ
55382014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5539 Hui Zhu <hui@codesourcery.com>
5540
5541 * gdb.base/fileio.exp: Add test for shell not available as well as
5542 available.
5543 * gdb.base/fileio.c (test_system): Check for shell twice.
5544
90a45c4d
YQ
55452014-06-04 Yao Qi <yao@codesourcery.com>
5546
5547 * gdb.base/auto-connect-native-target.exp: Remove redundant
5548 space from the regexp pattern.
5549
70017e41
YQ
55502014-06-04 Yao Qi <yao@codesourcery.com>
5551
5552 * gdb.base/default.exp: Replace "child" with "native" in
5553 regexp pattern.
5554
883964a7
SC
55552014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5556
5557 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5558 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5559 * gdb.python/py-xmethods.py: Python script supporting the
5560 new testcase and tests.
5561
ef370185
JB
55622014-06-03 Joel Brobecker <brobecker@adacore.com>
5563 Pedro Alves <palves@redhat.com>
5564
5565 PR breakpoints/17000
5566 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5567 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5568
1e2ccb61
BM
55692014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5570
5571 * gdb.base/subst.exp: Add tests to verify partial path matching
5572 output.
5573
c6ec5ab2
PA
55742014-06-03 Pedro Alves <palves@redhat.com>
5575
5576 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5577 target that doesn't use software single-stepping.
5578
835c559f
PA
55792014-06-03 Pedro Alves <palves@redhat.com>
5580
5581 PR breakpoints/17000
5582 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5583 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5584
06eb1586
DE
55852014-06-02 Doug Evans <xdje42@gmail.com>
5586
5587 * gdb.guile/scm-parameter.exp: New file.
5588
e698b8c4
DE
55892014-06-02 Doug Evans <xdje42@gmail.com>
5590
5591 * gdb.guile/scm-cmd.c: New file.
5592 * gdb.guile/scm-cmd.exp: New file.
5593
ded03782
DE
55942014-06-02 Doug Evans <xdje42@gmail.com>
5595
5596 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5597 pretty-printer lookup.
5598 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5599 (make-pp_s-printer): Call it.
5600 (make-pretty-printer-from-dict): New function.
5601 (lookup-pretty-printer-maker-from-dict): New function.
5602 (*pretty-printer*): Simplify.
5603 (make-objfile-pp_s-printer): New function.
5604 (install-objfile-pretty-printers!): New function.
5605 (make-progspace-pp_s-printer): New function.
5606 (install-progspace-pretty-printers!): New function.
5607 * gdb.guile/scm-progspace.c: New file.
5608 * gdb.guile/scm-progspace.exp: New file.
5609
41fac0cf
PA
56102014-06-02 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/dprintf-bp-same-addr.c: New file.
5613 * gdb.base/dprintf-bp-same-addr.exp: New file.
5614
96ae5695
EBM
56152014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5616
5617 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5618 * gdb.arch/powerpc-power.s: Likewise.
5619
da02b3a8
JB
56202014-06-02 Joel Brobecker <brobecker@adacore.com>
5621
5622 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5623
c72b2e7b
YQ
56242014-06-01 Yao Qi <yao@codesourcery.com>
5625
5626 * gdb.base/watchpoint.exp (test_watch_location): Check null
5627 pointer can be dereferenced. If not, do the test, otherwise
5628 skip it.
5629
53e8a631
AB
56302014-05-30 Andrew Burgess <aburgess@broadcom.com>
5631
5632 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5633 results.
5634 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5635
938f0e2f
AB
56362014-05-30 Andrew Burgess <aburgess@broadcom.com>
5637
5638 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5639 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5640 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5641 * gdb.arch/amd64-invalid-stack-top.c: New file.
5642 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5643
9ba6657a
PA
56442014-05-30 Pedro Alves <palves@redhat.com>
5645
5646 PR breakpoints/17000
5647 * gdb.base/sss-bp-on-user-bp.c: New file.
5648 * gdb.base/sss-bp-on-user-bp.exp: New file.
5649
522c09bf
DB
56502014-05-30 David Blaikie <dblaikie@gmail.com>
5651
5652 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5653 gnu_inline semantics via attribute.
5654 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5655 source explicitly specifies the required semantics.
5656
bf4ef81e
MR
56572014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5658
5659 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5660
329ea579
PA
56612014-05-29 Pedro Alves <palves@redhat.com>
5662 Tom Tromey <tromey@redhat.com>
5663
5664 * gdb.base/async-shell.exp: Don't enable target-async.
5665 * gdb.base/async.exp
5666 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5667 parameter. Adjust.
5668 (top level): Don't test with "target-async".
5669 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5670 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5671 * gdb.base/inferior-died.exp: Don't enable target-async.
5672 * gdb.base/interrupt-noterm.exp: Likewise.
5673 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5674 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5675 * gdb.mi/mi-nonstop.exp: Likewise.
5676 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5677 * gdb.mi/mi-nsintrall.exp: Likewise.
5678 * gdb.mi/mi-nsmoribund.exp: Likewise.
5679 * gdb.mi/mi-nsthrexec.exp: Likewise.
5680 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5681 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5682 * gdb.python/py-evsignal.exp: Don't enable target-async.
5683 * gdb.python/py-evthreads.exp: Likewise.
5684 * gdb.python/py-prompt.exp: Likewise.
5685 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5686 * gdb.server/solib-list.exp: Don't enable target-async.
5687 * gdb.threads/thread-specific-bp.exp: Likewise.
5688 * lib/mi-support.exp: Adjust to use mi-async.
5689
fd664c91
PA
56902014-05-29 Pedro Alves <palves@redhat.com>
5691
5692 PR gdb/13860
5693 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5694 reason, even in sync mode.
5695
251bde03
PA
56962014-05-29 Pedro Alves <palves@redhat.com>
5697 Hui Zhu <hui@codesourcery.com>
5698
5699 PR PR15693
5700 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5701 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5702 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5703 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5704
7f3c0343
JB
57052014-05-28 Joel Brobecker <brobecker@adacore.com>
5706
5707 * config/monitor.exp (gdb_target_monitor): Replace use of
5708 "set remotebaud" by "set serial baud".
5709
b2715b27
AW
57102014-05-26 Andy Wingo <wingo@igalia.com>
5711
5712 * gdb.guile/scm-breakpoint.exp:
5713 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5714 properties instead of gdb-object-properties.
5715
498a4489
YQ
57162014-05-26 Yao Qi <yao@codesourcery.com>
5717
5718 * gdb.server/no-thread-db.exp: Specify source file name
5719 explicitly when setting a breakpoint.
5720
589fdceb
MM
57212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5722
5723 * gdb.btrace/vdso.c: New.
5724 * gdb.btrace/vdso.exp: New.
5725
e9089e05
MM
57262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5727
5728 * gdb.base/gcore.exp (capture_command_output): Move ...
5729 * lib/gdb.exp (capture_command_output): ... here.
5730
67b5c0c1
MM
57312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5732
5733 * gdb.btrace/data.exp: Test memory access during btrace replay.
5734
a2199296
SM
57352014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5736
5737 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5738
17b2616c
PA
57392014-05-21 Pedro Alves <palves@redhat.com>
5740
5741 PR gdb/13860
5742 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5743 (top level): Test that output related to execution commands is
5744 sent to the console with CLI commands, but not with MI commands.
5745 Test that breakpoint events are always mirrored to the console.
5746 Also expect the new source line to be output after a "next" in
5747 async mode too. Make it a pass/fail test.
5748 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5749 output.
5750 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5751
5166082f
PA
57522014-05-21 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5755 Use them to test variations of "list" after reaching a breakpoint.
5756 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5757 Test "list" with listsize 10 after reaching a breakpoint.
5758 * gdb.python/python.exp (decode_line current location line
5759 number): Adjust expected line number.
5760
2f25d70f
SM
57612014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5762
5763 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5764 behavior for $args, pass it directly to "run".
5765
ff604a67
MR
57662014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5767
5768 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5769 30000 to 65536.
5770
6a3cb8e8
PA
57712014-05-21 Pedro Alves <palves@redhat.com>
5772
5773 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5774 auto-connect-native-target off".
5775 * gdb.base/auto-connect-native-target.c: New file.
5776 * gdb.base/auto-connect-native-target.exp: New file.
5777
4ebfc96e
PA
57782014-05-21 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.base/default.exp: Test "target native" instead of "target
5781 child".
5782
36d46afb
MW
57832014-05-21 Mark Wielaard <mjw@redhat.com>
5784
5785 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5786
5876f503
JK
57872014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5788
5789 Fix TLS access for -static -pthread.
5790 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5791 <HAVE_TLS> (thread_function, main): Initialize it.
5792 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5793 Add clean_restart.
5794 <$have_tls != "">: Check TLSVAR.
5795
0256a6ac
PA
57962014-05-21 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.base/dcache-line-read-error.c: New.
5799 * gdb.base/dcache-line-read-error.exp: New.
5800
936d2992
PA
58012014-05-20 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/compare-sections.c: New file.
5804 * gdb.base/compare-sections.exp: New file.
5805
802e8e6d
PA
58062014-05-20 Pedro Alves <palves@redhat.com>
5807
5808 * gdb.base/break-idempotent.c: New file.
5809 * gdb.base/break-idempotent.exp: New file.
5810
e59fa00f
MM
58112014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5812
5813 * gdb.btrace/nohist.exp: New.
5814
8b696e31
YQ
58152014-05-20 Yao Qi <yao@codesourcery.com>
5816
5817 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5818 gdb.reverse directory and gdb_reverse_timeout exists in board
5819 setting.
5820 * README: Document gdb_reverse_timeout.
5821
73c9764f
YQ
58222014-05-20 Yao Qi <yao@codesourcery.com>
5823
5824 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5825 'test_file_name'. Treat args as a string instead of a list.
5826 (gdb_init): Rename argument 'args' by 'test_file_name'.
5827
f1f4348a
JK
58282014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5829
5830 * gdb.arch/powerpc-power.exp: New file.
5831 * gdb.arch/powerpc-power.s: New file.
5832
0dbe70ce
DE
58332014-05-16 Doug Evans <dje@google.com>
5834
5835 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5836 * gdb.base/completion.exp: Check that all expected files exist
5837 before doing file completion.
0dbe70ce 5838
8d551b02
DE
58392014-05-16 Doug Evans <dje@google.com>
5840
5841 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5842 Update.
5843 (do_syscall_tests_without_xml): Update.
5844
73eb7709
PA
58452014-05-16 Pedro Alves <palves@redhat.com>
5846
5847 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5848 instead of "unknown output after running".
5849
3fae92fc
YQ
58502014-05-16 Yao Qi <yao@codesourcery.com>
5851
5852 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5853 file1.txt from host at the end.
5854 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5855
c2b2ccc5
DE
58562014-05-15 Doug Evans <dje@google.com>
5857
5858 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5859 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5860 loading file. Add test for TU lookup.
5861
8c217a4b
SM
58622014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5863
5864 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5865 calling "-exec-arguments" or "set args" before running the
5866 inferior.
5867
3deb39c6
SM
58682014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5869
5870 * lib/mi-support.exp (mi_expect_stop): Expect message for
5871 inferiors that exit with non-zero exit code.
5872
71a79f8c
YQ
58732014-05-14 Yao Qi <yao@codesourcery.com>
5874
5875 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5876 match absolute path on remote host.
5877 (test_file_list_exec_source_files): Remove "/" from the
5878 pattern.
5879
f23fcd46
YQ
58802014-05-14 Yao Qi <yao@codesourcery.com>
5881
5882 * boards/local-remote-host-notty.exp (${board}_file): New
5883 proc.
5884
9404b58f
KM
58852014-05-07 Kyle McMartin <kyle@redhat.com>
5886
5887 Pushed by Joel Brobecker <brobecker@adacore.com>.
5888 * gdb.arch/aarch64-atomic-inst.c: New file.
5889 * gdb.arch/aarch64-atomic-inst.exp: New file.
5890
5e45f04c
YQ
58912014-05-07 Yao Qi <yao@codesourcery.com>
5892
5893 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5894 in current context" too.
5895
c888a17d
KS
58962014-05-05 Keith Seitz <keiths@redhat.com>
5897
5898 * gdb.linespec/ls-dollar.exp: Add test for linespec
5899 file:convenience_variable.
5900
290a839c
YQ
59012014-05-05 Yao Qi <yao@codesourcery.com>
5902
5903 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5904 traceframes into tfile and ctf trace files. Read data from
5905 trace file and test collected data.
5906 (gdb_collect_locals_test): Likewise.
5907 (gdb_unavailable_registers_test): Likewise.
5908 (gdb_unavailable_floats): Likewise.
5909 (gdb_collect_globals_test): Likewise.
5910 (top-level): Append "ctf" to trace_file_targets if GDB
5911 supports.
5912
b5262cd0
YQ
59132014-05-05 Yao Qi <yao@codesourcery.com>
5914
5915 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5916 code to ...
5917 (gdb_collect_args_test_1): ... it. New proc.
5918 (gdb_collect_locals_test): Move some code to ...
5919 (gdb_collect_locals_test_1): ... it. New proc.
5920 (gdb_unavailable_registers_test): Move some code to ...
5921 (gdb_unavailable_registers_test_1): ... it. New proc.
5922 (gdb_unavailable_floats): Move some code to ...
5923 (gdb_unavailable_floats_1): ... it. New proc.
5924
30a1e6cc
SDJ
59252014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5926
5927 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5928 probes to test for bitness recognition.
5929 * gdb.arch/amd64-stap-optional-prefix.exp
5930 (test_probe_value_without_reg): New procedure.
5931 Add code to test for different kinds of bitness.
5932
f33da99a
SDJ
59332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5934
5935 PR breakpoints/16889
5936 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5937 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5938
5b80f00d
PA
59392014-05-01 Pedro Alves <palves@redhat.com>
5940
5941 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5942 gdb_file_cmd if no file is specified.
5943 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5944 last_loaded_file to set the remote exec-file.
5945
f8c2a73c
PA
59462014-05-01 Pedro Alves <palves@redhat.com>
5947
5948 * boards/local-remote-host.exp: New file.
5949
be6e8ac7
PA
59502014-05-01 Pedro Alves <palves@redhat.com>
5951
5952 * boards/local-remote-host.exp: Rename to ...
5953 * boards/local-remote-host-notty.exp: ... this.
5954
cac0dc8f
JB
59552014-04-28 Joel Brobecker <brobecker@adacore.com>
5956
5957 * gdb.ada/dyn_arrayidx: New testcase.
5958
9730e6cc
YQ
59592014-04-26 Yao Qi <yao@codesourcery.com>
5960
5961 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5962 and compute the length of function main. Save it in
5963 $main_length.
5964 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5965 (top-level): Use gdb_compile to compile objects into
5966 executable and restart GDB. Remove invocation to
5967 prepare_for_testing.
5968
7ae1a6a6
PA
59692014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5970 Pedro Alves <palves@redhat.com>
5971
5972 PR server/16255
5973 * gdb.multi/multi-attach.c: New file.
5974 * gdb.multi/multi-attach.exp: New file.
5975
4082afcc
PA
59762014-04-25 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5979 user.
5980 (top level): Test that "set remote conditional-breakpoints-packet
5981 off" works as intended.
5982 * gdb.base/dprintf.exp: Test that "set remote
5983 breakpoint-commands-packet off" works as intended.
5984 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5985 New function.
5986 (top level): Call it.
5987 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5988 remote fast-tracepoints-packet off" works as intended.
5989 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5990 * lib/gdb.exp (gdb_is_target_remote): ... here.
5991
2abc3f8d
DB
59922014-04-24 David Blaikie <dblaikie@gmail.com>
5993
5994 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5995 ensure clang would not discard them.
5996 * gdb.base/gdbvars.c: Ditto.
5997 * gdb.base/memattr.c: Ditto.
5998 * gdb.base/whatis.c: Ditto.
5999 * gdb.python/py-prettyprint.c: Ditto.
6000 * gdb.trace/actions.c: Ditto.
6001 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6002 ensure clang would not discard it.
6003
bfd39632
DB
60042014-04-24 David Blaikie <dblaikie@gmail.com>
6005
6006 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6007 clang to emit the full definition of type required by the test
6008 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6009
22842ff6
DB
60102014-04-24 David Blaikie <dblaikie@gmail.com>
6011
6012 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6013 coax Clang into emitting the definition of the type.
6014 * gdb.cp/pr10728-x.h (y): Ditto.
6015 * gdb.cp/pr10728-y.cc (y): Ditto.
6016
c2e827ad
DB
60172014-04-24 David Blaikie <dblaikie@gmail.com>
6018
6019 * gdb.base/label.exp: XFAIL label related tests under Clang.
6020 * gdb.cp/cplabel.exp: Ditto.
6021 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6022 under Clang those using labels.
6023
4c2d33e7
YQ
60242014-04-25 Yao Qi <yao@codesourcery.com>
6025
6026 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6027 double_label.
6028 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6029 partial_label and double_label.
6030
56083b99
DB
60312014-04-24 David Blaikie <dblaikie@gmail.com>
6032
6033 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6034
25d4e99d
DB
60352014-04-24 David Blaikie <dblaikie@gmail.com>
6036
6037 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6038 of the function to work across GCC and Clang.
6039 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6040 pointer types (const void ** const V void **).
6041
01f9f808
MS
60422014-04-24 Michael Sturm <michael.sturm@mintel.com>
6043 Walfred Tedeschi <walfred.tedeschi@intel.com>
6044
6045 * Makefile.in (EXECUTABLES): Added i386-avx512.
6046 * gdb.arch/i386-avx512.c: New file.
6047 * gdb.arch/i386-avx512.exp: Likewise.
6048
4b48d439
KS
60492014-04-23 Keith Seitz <keiths@redhat.com>
6050
6051 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6052 (mi_make_breakpoint_table): New procedure.
6053 (mi_create_breakpoint): Use mi_make_breakpoint
6054 and return the result.
6055 (mi_make_breakpoint): New procedure.
6056 (mi_build_kv_pairs): New procedure.
6057
6058 * gdb.mi/mi-break.exp: Remove unused globals,
6059 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6060 All callers updated.
6061 * gdb.mi/mi-dprintf.exp: Use variable to track command
6062 number.
6063 Update all callers of mi_create_breakpoint and use
6064 mi_make_breakpoint_table.
6065 Remove any unused global variables.
6066 * gdb.mi/mi-nonstop.exp: Likewise.
6067 * gdb.mi/mi-nsintrall.exp: Likewise.
6068 * gdb.mi/mi-nsmoribund.exp: Likewise.
6069 * gdb.mi/mi-nsthrexec.exp: Likewise.
6070 * gdb.mi/mi-reverse.exp: Likewise.
6071 * gdb.mi/mi-simplerun.exp: Likewise.
6072 * gdb.mi/mi-stepn.exp: Likewise.
6073 * gdb.mi/mi-syn-frame.exp: Likewise.
6074 * gdb.mi/mi-until.exp: Likewise.
6075 * gdb.mi/mi-var-cp.exp: Likewise.
6076 * gdb.mi/mi-var-display.exp: Likewise.
6077 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6078 * gdb.mi/mi2-var-child.exp: Likewise.
6079 * gdb.mi/mi-vla-c99.exp: Likewise.
6080 * lib/mi-support.exp: Likewise.
6081
6082 From Ian Lance Taylor <iant@cygnus.com>:
6083 * lib/gdb.exp (parse_args): New procedure.
6084
08351840
PA
60852014-04-23 Pedro Alves <palves@redhat.com>
6086
6087 * gdb.base/break-unload-file.c: New file.
6088 * gdb.base/break-unload-file.exp: New file.
6089 * gdb.base/sym-file-lib.c (baz): New function.
6090 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6091 field.
6092 (load): Store the segment's mapped size.
6093 (unload): New function.
6094 (unload_shlib): New function.
6095 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6096 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6097 set a breakpoint at baz, and call it.
6098 * gdb.base/sym-file.exp: New tests for stale breakpoint
6099 instructions.
6100
076855f9
PA
61012014-04-23 Pedro Alves <palves@redhat.com>
6102
6103 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6104 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6105 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6106 * gdb.base/hbreak-unmapped.c: New file.
6107 * gdb.base/hbreak-unmapped.exp: New file.
6108 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6109 * lib/gdb.exp (gdb_is_target_remote): ... here.
6110
483805cf
PA
61112014-04-22 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.base/consecutive-step-over.c: New file.
6114 * gdb.base/consecutive-step-over.exp: New file.
6115
06d97543
PA
61162014-04-22 Pedro Alves <palves@redhat.com>
6117
6118 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6119 instead of send_gdb/gdb_expect.
6120
b4429ea2
YQ
61212014-04-22 Yao Qi <yao@codesourcery.com>
6122
6123 * lib/trace-support.exp (generate_tracefile): New procedure.
6124 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6125 return 0.
6126 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6127 if generate_tracefile returns 1.
6128
51d48146
PA
61292014-04-18 Tom Tromey <palves@redhat.com>
6130 Pedro alves <tromey@redhat.com>
6131
6132 PR backtrace/15558
6133 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6134 with a backtrace limit.
6135 * gdb.python/py-frame-inline.exp: Test running to an inline
6136 function with a backtrace limit, and printing the newest frame.
6137 * gdb.python/py-frame-inline.c (main): Call f.
6138
bd1dce5f
MS
61392014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6140
6141 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6142
40d1a503
MS
61432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6144
6145 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6146 Drop prefix from unsupported source file path.
6147
389b98f7
YQ
61482014-04-17 Yao Qi <yao@codesourcery.com>
6149
6150 * lib/gdb.exp (with_target_charset): New proc.
6151 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6152 with_target_charset.
6153 (test_print_strings): Likewise.
6154 (test_repeat_bytes): Likewise.
6155 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6156 for some tests.
6157
22869d73
KS
61582014-04-16 Keith Seitz <keiths@redhat.com>
6159
6160 PR gdb/15827
6161 * gdb.dwarf2/corrupt.c: New file.
6162 * gdb.dwarf2/corrupt.exp: New file.
6163
c4f87ca6
KS
61642014-04-16 Keith Seitz <keiths@redhat.com>
6165
6166 PR c++/16597
6167 * gdb.cp/namelessclass.cc: New file.
6168 * gdb.cp/namelessclass.exp: New file.
6169 * gdb.cp/namelessclass.S: New file.
6170
ab19de87
DE
61712014-04-16 Doug Evans <dje@google.com>
6172
6173 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6174 Add comment.
6175 (gdbserver_default_get_comm_port): New function.
6176 (gdbserver_start): Check if board file provided
6177 "gdbserver,get_comm_port" and use it if so.
6178 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6179 (gdb,socketport): Set to "stdio".
6180 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6181 (stdio_gdbserver_template): Delete.
6182 (${board}_get_remote_address): Update.
6183 (${board}_build_remote_cmd): Delete.
6184 (${board}_get_comm_port): New function.
6185 (${board}_spawn): Update.
6186 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6187 Delete.
6188 (${board}_get_remote_address): Update.
6189 (${board}_get_comm_port): New function.
6190
fc98a809
AB
61912014-04-16 Andrew Burgess <aburgess@broadcom.com>
6192
6193 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6194 appearing in any order.
6195
87fd9e6e
DE
61962014-04-15 Doug Evans <dje@google.com>
6197
6198 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6199 uninitialized value of "description".
6200
099fc3ea
KS
62012014-04-15 Keith Seitz <keiths@redhat.com>
6202
6203 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6204 Remove unused globals.
6205 (test_running_the_program): Likewise.
6206 (test_controlled_execution): Likewise.
6207 (test_controlling_breakpoints): Likewise.
6208 (test_program_termination): Likewise.
6209
5da151d4
KS
62102014-04-15 Keith Seitz <keiths@redhat.com>
6211
6212 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6213 unused globals.
6214 (test_rbreak_creation_and_listing): Likewise.
6215 (test_ignore_count): Likewise.
6216 (test_error): Likewise.
6217
35e5d2f0
PA
62182014-04-15 Pedro Alves <palves@redhat.com>
6219
6220 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6221 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6222 sym-file-loader.c.
6223 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6224 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6225 to sym-file-loader.c.
6226 (struct library): Forward declare.
6227 (load_shlib, lookup_function): Change prototypes.
6228 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6229 (translate_offset): Remove declarations.
6230 (get_text_addr): New declaration.
6231 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6232 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6233 sym-file-loader.h.
6234 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6235 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6236 here from sym-file-loader.h.
6237 (struct library): New structure.
6238 (load_shlib, lookup_function): Change prototypes and adjust to
6239 work with a struct library.
6240 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6241 (translate_offset): Make static.
6242 (get_text_addr): New function.
6243 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6244
eb4c1710
PA
62452014-04-15 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6248
2d1baf52
PA
62492014-04-15 Pedro Alves <palves@redhat.com>
6250
6251 * gdb.base/sym-file-loader.c: Include <limits.h>.
6252 (SELF_LINK): New define.
6253 (get_origin): New function.
6254 (load_shlib): Use it.
6255 * gdb.base/sym-file.exp: Don't early return if the target is
6256 remote. Use runto_main, and issue fail is that fails. Use
6257 gdb_load_shlibs.
6258 (shlib_name): Delete.
6259 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6260
7dd6df01
PA
62612014-04-15 Pedro Alves <palves@redhat.com>
6262
6263 * gdb.base/sym-file.exp: Remove regex characters from test
6264 message. Don't refer to breakpoint numbers in test messages.
6265
b50c8614
KS
62662014-04-14 Keith Seitz <keiths@redhat.com>
6267
6268 PR c++/16253
6269 * gdb.cp/var-tag.cc: New file.
6270 * gdb.cp/var-tag.exp: New file.
6271 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6272 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6273 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6274 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6275
3d567982
TT
62762014-04-14 Tom Tromey <tromey@redhat.com>
6277
6278 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6279 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6280 type.
6281 * gdb.cp/enum-class.exp: New file.
6282 * gdb.cp/enum-class.cc: New file.
6283
0626fc76
TT
62842014-04-14 Tom Tromey <tromey@redhat.com>
6285
6286 * gdb.dwarf2/enum-type.exp: New file.
6287
dca325b3
SA
62882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6289
6290 * gdb.mi/mi-vla-c99.exp: New file.
6291 * gdb.mi/vla.c: New file.
6292
5854b38a
SA
62932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6294
6295 * gdb.base/vla-datatypes.c: New file.
6296 * gdb.base/vla-datatypes.exp: New file.
6297
463bb957
SA
62982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6299
6300 * gdb.base/vla-ptr.c: New file.
6301 * gdb.base/vla-ptr.exp: New file.
6302
3dd170be
SA
63032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6304
6305 * gdb.dwarf2/count.exp: New file.
6306
5ecaaa66
SA
63072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6308
6309 * gdb.base/vla-sideeffect.c: New file.
6310 * gdb.base/vla-sideeffect.exp: New file.
6311
41f1ada5
DB
63122014-04-14 David Blaikie <dblaikie@gmail.com>
6313
6314 * gdb.mi/non-stop.c: Add return value for non-void function return
6315 statement.
6316 * gdb.threads/staticthreads.c: Ditto.
6317
0be03e84
DE
63182014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6319 Doug Evans <xdje42@gmail.com>
6320
6321 * gdb.guile/scm-value.c: Improve test case.
6322 * gdb.guile/scm-value.exp: Add new test.
6323
f180a1fb
DB
63242014-04-11 David Blaikie <dblaikie@gmail.com>
6325
6326 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6327 override Clang's default.
6328
6b662e19
JB
63292014-04-11 Joel Brobecker <brobecker@adacore.com>
6330
6331 Revert the following changes (regressions):
6332
6333 * gdb.base/vla-sideeffect.c: New file.
6334 * gdb.base/vla-sideeffect.exp: New file.
6335
6336 * gdb.dwarf2/count.exp: New file.
6337
6338 * gdb.base/vla-multi.c: New file.
6339 * gdb.base/vla-multi.exp: New file.
6340
6341 * gdb.base/vla-ptr.c: New file.
6342 * gdb.base/vla-ptr.exp: New file.
6343
6344 * gdb.base/vla-datatypes.c: New file.
6345 * gdb.base/vla-datatypes.exp: New file.
6346
6347 * gdb.mi/mi-vla-c99.exp: New file.
6348 * gdb.mi/vla.c: New file.
6349
245a5f0b
KS
63502014-04-11 Keith Seitz <keiths@redhat.com>
6351
6352 PR c++/16675
6353 * gdb.cp/cpsizeof.exp: New file.
6354 * gdb.cp/cpsizeof.cc: New file.
6355
58a84dcf
SA
63562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6357
191a8a90
JB
6358 * gdb.mi/mi-vla-c99.exp: New file.
6359 * gdb.mi/vla.c: New file.
58a84dcf 6360
c8655f75
SA
63612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6362
6363 * gdb.base/vla-datatypes.c: New file.
6364 * gdb.base/vla-datatypes.exp: New file.
6365
024e13b4
SA
63662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6367
6368 * gdb.base/vla-ptr.c: New file.
6369 * gdb.base/vla-ptr.exp: New file.
6370
1a237e0e
SA
63712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6372
6373 * gdb.base/vla-multi.c: New file.
6374 * gdb.base/vla-multi.exp: New file.
6375
504f3432
SA
63762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6377
6378 * gdb.dwarf2/count.exp: New file.
6379
3bce8237
SA
63802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6381
191a8a90
JB
6382 * gdb.base/vla-sideeffect.c: New file.
6383 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6384
322f9c21
YQ
63852014-04-11 Yao Qi <yao@codesourcery.com>
6386
6387 * gdb.base/completion.exp: Check file exists before running tests
6388 on file completion.
6389
d708bcd1
PA
63902014-04-10 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/cond-eval-mode.c: New file.
6393 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6394 prepare_for_testing to build the new file. Check result of
6395 runto_main.
6396 (test_break, test_watch): New procedures.
6397 (top level): Use them.
6398
ae1d2761
PM
63992014-04-08 Pierre Muller <muller@sourceware.org>
6400
6401 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6402 Ctrl-V use for mingw hosts.
6403
7af389b8
SC
64042014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6405
6406 * gdb.python/py-value.c: Improve test case.
6407 * gdb.python/py-value.exp: Add new test.
6408
5e703181
DE
64092014-04-07 David Blaikie <dblaikie@gmail.com>
6410
6411 * lib/compiler.c: Identify the clang compiler.
6412 * lib/compiler.cc: Ditto.
6413
9810b410
YQ
64142014-04-03 Yao Qi <yao@codesourcery.com>
6415
6416 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6417
98d1b8dc
AB
64182014-04-01 Anton Blanchard <anton@samba.org>
6419
6420 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6421 messages unique.
6422
3114cea1
AB
64232014-04-01 Anton Blanchard <anton@samba.org>
6424
6425 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6426 prepare_for_testing.
6427
62f7182c
AB
64282014-04-01 Anton Blanchard <anton@samba.org>
6429
6430 * gdb.arch/ppc64-atomic-inst.c: Remove.
6431 * gdb.arch/ppc64-atomic-inst.S: New file.
6432 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6433
770e7fc7
DE
64342014-03-31 Doug Evans <dje@google.com>
6435
6436 * gdb.base/print-symbol-loading-lib.c: New file.
6437 * gdb.base/print-symbol-loading-main.c: New file.
6438 * gdb.base/print-symbol-loading.exp: New file.
6439
46e2bafa
YQ
64402014-03-31 Yao Qi <yao@codesourcery.com>
6441
6442 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6443
8776cfe9
JB
64442014-03-28 Joel Brobecker <brobecker@adacore.com>
6445
6446 * gdb.ada/mi_dyn_arr: New testcase.
6447
5d1ef361
DE
64482014-03-27 Doug Evans <dje@google.com>
6449
6450 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6451
b5bee914
YQ
64522014-03-27 Yao Qi <yao@codesourcery.com>
6453
6454 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6455 if target is nios2-*-*.
6456
0d4d0e77
YQ
64572014-03-26 Yao Qi <yao@codesourcery.com>
6458
6459 * lib/gdb.exp (readline_is_used): New proc.
6460 * gdb.base/completion.exp: Move tests on command complete up.
6461 Skip the rest of tests if readline is not used.
6462 * gdb.ada/complete.exp: Skp the test if readline is not
6463 used.
6464 * gdb.base/filesym.exp: Likewise.
6465 * gdb.base/macscp.exp: Likewise.
6466 * gdb.base/readline-ask.exp: Likewise.
6467 * gdb.base/readline.exp: Likewise.
6468 * gdb.python/py-cmd.exp: Likewise.
6469 * gdb.trace/tfile.exp: Likewise.
6470
29361eee
YQ
64712014-03-26 Yao Qi <yao@codesourcery.com>
6472
6473 * gdb.base/macscp.exp: Fix code format issues.
6474
bc9a5525
UW
64752014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6476
6477 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6478 * gdb.asm/powerpc64le.inc: New file.
6479
d3839ede
PA
64802014-03-25 Pedro Alves <palves@redhat.com>
6481 Doug Evans <dje@google.com>
6482
6483 * gdb.base/source-execution.c: New file.
6484 * gdb.base/source-execution.exp: New file.
6485 * gdb.base/source-execution.gdb: New file.
6486
01672a57
DE
64872014-03-24 Doug Evans <dje@google.com>
6488
6489 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6490 using fission.
6491
88bbeca9
HZ
64922014-03-24 Hui Zhu <hui@codesourcery.com>
6493 Pedro Alves <palves@redhat.com>
6494
6495 PR breakpoints/16101
6496 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6497 test pass/fail messages. Detect missing support for dprintf when
6498 breakpoints are actually inserted.
6499 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6500 breakpoints are actually inserted.
6501 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6502 fails.
6503
d2348791
JK
65042014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6505
6506 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6507
feef67ab
DE
65082014-03-22 Doug Evans <xdje42@gmail.com>
6509
6510 * gdb.python/python.exp (python not supported): Verify multi-line
6511 python command issues an error.
25d743f9 6512 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6513 guile command issues an error.
feef67ab 6514
ecebef6a
MR
65152014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6516
6517 * gdb.threads/thread-specific.exp: Handle the lack of usable
6518 $this_breakpoint and $this_thread.
6519
ccdd1909
HZ
65202014-03-21 Hui Zhu <hui@codesourcery.com>
6521
6522 * gdb.base/attach.exp (do_command_attach_tests): New.
6523
beb460e8
PA
65242014-03-20 Tom Tromey <tromey@redhat.com>
6525 Pedro Alves <palves@redhat.com>
6526
6527 PR cli/15718
6528 * gdb.base/condbreak-call-false.c: New file.
6529 * gdb.base/condbreak-call-false.exp: New file.
6530
40acf43a
PA
65312014-03-20 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6534 Delete.
6535 (block_signals, unblock_signals): Delete.
6536 (child_function_2, main): Remove references to deleted variable
6537 and functions.
6538
9f5e1e02
PA
65392014-03-20 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6542 Use pthread_kill to signal thread 2.
6543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6544 Adjust to make the test send itself a signal rather than using the
6545 host's "kill" command.
6546
99619bea
PA
65472014-03-20 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.threads/multiple-step-overs.c: New file.
6550 * gdb.threads/multiple-step-overs.exp: New file.
6551 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6552 Adjust expected infrun debug output.
6553
2adfaa28
PA
65542014-03-20 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6557 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6558
31e77af2
PA
65592014-03-20 Pedro Alves <palves@redhat.com>
6560
6561 PR breakpoints/7143
6562 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6563 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6564 of gdb_test_multiple.
6565 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6566 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6567
b9f437de
PA
65682014-03-20 Pedro Alves <palves@redhat.com>
6569
6570 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6571 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6572
05adc73e
PA
65732014-03-19 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.base/async.exp: Remove early return.
6576
6048b950
PA
65772014-03-19 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6580
8bcfb00a
PA
65812014-03-19 Pedro Alves <palves@redhat.com>
6582
6583 * gdb.base/async.exp (test_background): Expect \r\n after
6584 "completed." in the fail pattern.
6585
884e37dc
PA
65862014-03-19 Pedro Alves <palves@redhat.com>
6587
6588 * gdb.base/async.exp (test_background): New procedure.
6589 Use it for all background execution command tests.
6590
148e57e2
PA
65912014-03-19 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.base/async.exp: Use prepare_for_testing.
6594
f48088c7
PA
65952014-03-19 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6598 the same line.
6599
e2f6c966
PA
66002014-03-19 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.base/async.c (main): Add "jump here" and "until here" line
6603 marker comments.
6604 * gdb.base/async.exp (jump_here): New global.
6605 (jump& test): Use it.
6606 (until_here): New global.
6607 (until& test): Use it.
6608
c30568d4
PA
66092014-03-19 Pedro Alves <palves@redhat.com>
6610
6611 * gdb.base/async.exp: Don't frob gdb_protocol.
6612
0172b6a7
DE
66132014-03-18 Doug Evans <xdje42@gmail.com>
6614
6615 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6616 Fix spelling of exec-done-display.
6617
06c868a8
JK
66182014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6619
6620 PR gdb/15358
6621 * gdb.base/gdb-sigterm.c: New file.
6622 * gdb.base/gdb-sigterm.exp: New file.
6623
0c7e1a46
PA
66242014-03-18 Pedro Alves <palves@redhat.com>
6625
6626 PR gdb/13860
6627 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6628 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6629 solib-event.
6630
f7c77d93
JB
66312014-03-17 Joel Brobecker <brobecker@adacore.com>
6632
6633 * gdb.ada/pckd_arr_ren: New testcase.
6634
5a1e8c7a
DE
66352014-03-13 Doug Evans <xdje42@gmail.com>
6636
6637 PR guile/16612
6638 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6639 collect after discarding symbols.
6640
350e1a76
DE
66412014-03-13 Ludovic Courtès <ludo@gnu.org>
6642 Doug Evans <xdje42@gmail.com>
6643
6644 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6645 to history survives a gc.
6646
a69900ae
PA
66472014-03-13 Pedro Alves <palves@redhat.com>
6648
6649 * gdb.base/default.exp: Don't test "target procfs".
6650
5db9f0bd
PA
66512014-03-13 Pedro Alves <palves@redhat.com>
6652
6653 * gdb.base/default.exp: Update "target child" and "target procfs"
6654 tests to not expect "Unix".
6655
b3ccfe11
TT
66562014-03-12 Tom Tromey <tromey@redhat.com>
6657
6658 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6659 New procs. Add target-async tests.
6660 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6661 Add target-async tests.
6662
646f4417
AA
66632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6664
6665 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6666 'func_start' and 'func_end' for the beginning and end of the
6667 function code, respectively.
6668 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6669 'func_end' instead of 'func' and 'main'.
6670
288c211f
AA
66712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6672
6673 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6674 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6675 generate the debug info assembler source.
6676
e0c0f156
AA
66772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6678
6679 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6680 * gdb.dwarf2/arr-subrange.exp: Likewise.
6681 * gdb.dwarf2/dwz.exp: Likewise.
6682 * gdb.dwarf2/method-ptr.exp: Likewise.
6683 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6684 * gdb.dwarf2/subrange.exp: Likewise.
6685 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6686 * gdb.dwarf2/implptrpiece.exp: Likewise.
6687 * gdb.dwarf2/nostaticblock.exp: Likewise.
6688
0e5c4555
AA
66892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6690
6691 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6692 directory to absolute path name arguments.
6693
5ec18f2b
JG
66942014-03-10 Joel Brobecker <brobecker@adacore.com>
6695
6696 * gdb.ada/tagged_access: New testcase.
6697
847fc4f2
MM
66982014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6699
6700 * gdb.btrace/data.exp: Update expected output.
6701
cc3da688
YQ
67022014-03-06 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.trace/pr16508.exp: New file.
6705
0f26cec1
PA
67062014-03-05 Pedro Alves <palves@redhat.com>
6707
6708 PR gdb/16575
6709 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6710 procedure.
6711 (top level): Adjust to use it. Add tests that exercise breakpoint
6712 interaction with the code-cache.
6713
7a5a839f
LC
67142014-02-26 Ludovic Courtès <ludo@gnu.org>
6715
6716 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6717 test for 'history-append!'.
6718
31aa7e4e
JB
67192014-02-26 Joel Brobecker <brobecker@adacore.com>
6720
6721 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6722 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6723 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6724 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6725 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6726 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6727
1b588015
JB
67282014-02-26 Joel Brobecker <brobecker@adacore.com>
6729
6730 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6731 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6732 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6733
55426c9d
JB
67342014-02-26 Joel Brobecker <brobecker@adacore.com>
6735
6736 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6737
dc53a7ad
JB
67382014-02-26 Joel Brobecker <brobecker@adacore.com>
6739
6740 * gdb.dwarf2/arr-stride.c: New file.
6741 * gdb.dwarf2/arr-stride.exp: New file.
6742
12ab52e9
PA
67432014-02-26 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6746 that won't ever trigger. Make sure that GDB reports the correct
6747 breakpoint that caused the stop.
6748
849c862e
JK
67492014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6750
6751 PR gdb/16626
6752 * gdb.base/auto-load-script: New file.
6753 * gdb.base/auto-load.c: New file.
6754 * gdb.base/auto-load.exp: New file.
6755
71b7d793
JK
6756 PR gdb/16626
6757 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6758
e2f0d509
JK
67592014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6762 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6763
50cc37c8
DE
67642014-02-24 Doug Evans <dje@google.com>
6765
6766 * lib/gdb.exp (run_on_host): Log error output if program fails.
6767
ea4758f2
PA
67682014-02-21 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.threads/step-after-sr-lock.c: Rename to ...
6771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6772 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6774 ... this.
6775
d7b30f67
SDJ
67762014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6777
6778 PR tdep/16397
6779 * gdb.arch/amd64-stap-special-operands.exp: New file.
6780 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6781 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6782 * gdb.arch/amd64-stap-triplet.S: Likewise.
6783 * gdb.arch/amd64-stap-triplet.c: Likewise.
6784
83deb43f
JB
67852014-02-20 Joel Brobecker <brobecker@adacore.com>
6786
6787 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6788 in .section pseudo-op.
6789
adde2bff
DE
67902014-02-20 lin zuojian <manjian2006@gmail.com>
6791 Joel Brobecker <brobecker@adacore.com>
6792 Doug Evans <xdje42@gmail.com>
6793
6794 PR symtab/16581
6795 * gdb.dwarf2/dw2-icycle.S: New file.
6796 * gdb.dwarf2/dw2-icycle.c: New file.
6797 * gdb.dwarf2/dw2-icycle.exp: New file.
6798
f7bd0f78
SC
67992014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6800
6801 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6802 operations on gdb.Value objects.
6803 * gdb.python/py-value-cc.exp: Add new test to test operations on
6804 gdb.Value objects.
6805
c17ef0d5
DE
68062014-02-18 Doug Evans <dje@google.com>
6807
6808 * Makefile.in (TESTS): New variable.
6809 (expanded_tests, expanded_tests_or_none): New variables
6810 (check-single): Pass $(expanded_tests_or_none) to runtest.
6811 (check-parallel): Only run tests in $(TESTS) if non-empty.
6812 (check/no-matching-tests-found): New rule.
6813 * README: Document TESTS makefile variable.
6814
5dd3176f
DE
68152014-02-18 Doug Evans <dje@google.com>
6816
6817 * Makefile.in (check-parallel): rm -rf outputs temp.
6818
0b10be4f
JK
68192014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6820
6821 Fix "ERROR: no fileid for" in the testsuite.
6822 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6823
85f224e7
DE
68242014-02-12 Doug Evans <dje@google.com>
6825
6826 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6827 (MISCELLANEOUS): New variable.
6828 (clean): rm -rf $(MISCELLANEOUS).
6829 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6830 dwp live in the same directory as symlinks, with each symlink pointed
6831 to a differently named file in a different directory.
6832
149b30ff
DE
68332014-02-11 Doug Evans <dje@google.com>
6834
6835 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6836 of Tcl file commands.
6837
1dfdac32
MK
68382014-02-10 Mark Kettenis <kettenis@gnu.org>
6839
6840 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6841 "kill -SIGUSR1 -1".
6842
aa4fb036
JB
68432014-02-10 Joel Brobecker <brobecker@adacore.com>
6844
6845 * gdb.ada/tick_length_array_enum_idx: New testcase.
6846
ed3ef339
DE
68472014-02-10 Doug Evans <xdje42@gmail.com>
6848
6849 * configure.ac (AC_OUTPUT): Add gdb.guile.
6850 * configure: Regenerate.
6851 * lib/gdb-guile.exp: New file.
6852 * lib/gdb.exp (get_target_charset): New function.
6853 * gdb.base/help.exp: Update expected output from "apropos apropos".
6854 * gdb.guile/Makefile.in: New file.
6855 * gdb.guile/guile.exp: New file.
6856 * gdb.guile/scm-arch.c: New file.
6857 * gdb.guile/scm-arch.exp: New file.
6858 * gdb.guile/scm-block.c: New file.
6859 * gdb.guile/scm-block.exp: New file.
6860 * gdb.guile/scm-breakpoint.c: New file.
6861 * gdb.guile/scm-breakpoint.exp: New file.
6862 * gdb.guile/scm-disasm.c: New file.
6863 * gdb.guile/scm-disasm.exp: New file.
6864 * gdb.guile/scm-equal.c: New file.
6865 * gdb.guile/scm-equal.exp: New file.
6866 * gdb.guile/scm-error.exp: New file.
6867 * gdb.guile/scm-error.scm: New file.
6868 * gdb.guile/scm-frame-args.c: New file.
6869 * gdb.guile/scm-frame-args.exp: New file.
6870 * gdb.guile/scm-frame-args.scm: New file.
6871 * gdb.guile/scm-frame-inline.c: New file.
6872 * gdb.guile/scm-frame-inline.exp: New file.
6873 * gdb.guile/scm-frame.c: New file.
6874 * gdb.guile/scm-frame.exp: New file.
6875 * gdb.guile/scm-generics.exp: New file.
6876 * gdb.guile/scm-gsmob.exp: New file.
6877 * gdb.guile/scm-iterator.c: New file.
6878 * gdb.guile/scm-iterator.exp: New file.
6879 * gdb.guile/scm-math.c: New file.
6880 * gdb.guile/scm-math.exp: New file.
6881 * gdb.guile/scm-objfile-script-gdb.in: New file.
6882 * gdb.guile/scm-objfile-script.c: New file.
6883 * gdb.guile/scm-objfile-script.exp: New file.
6884 * gdb.guile/scm-objfile.c: New file.
6885 * gdb.guile/scm-objfile.exp: New file.
6886 * gdb.guile/scm-ports.exp: New file.
6887 * gdb.guile/scm-pretty-print.c: New file.
6888 * gdb.guile/scm-pretty-print.exp: New file.
6889 * gdb.guile/scm-pretty-print.scm: New file.
6890 * gdb.guile/scm-section-script.c: New file.
6891 * gdb.guile/scm-section-script.exp: New file.
6892 * gdb.guile/scm-section-script.scm: New file.
6893 * gdb.guile/scm-symbol.c: New file.
6894 * gdb.guile/scm-symbol.exp: New file.
6895 * gdb.guile/scm-symtab-2.c: New file.
6896 * gdb.guile/scm-symtab.c: New file.
6897 * gdb.guile/scm-symtab.exp: New file.
6898 * gdb.guile/scm-type.c: New file.
6899 * gdb.guile/scm-type.exp: New file.
6900 * gdb.guile/scm-value-cc.cc: New file.
6901 * gdb.guile/scm-value-cc.exp: New file.
6902 * gdb.guile/scm-value.c: New file.
6903 * gdb.guile/scm-value.exp: New file.
6904 * gdb.guile/source2.scm: New file.
6905 * gdb.guile/types-module.cc: New file.
6906 * gdb.guile/types-module.exp: New file.
6907
7026a7c1
YQ
69082014-02-10 Yao Qi <yao@codesourcery.com>
6909
6910 PR testsuite/16543
6911 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6912 * configure: Regenerated.
6913 * Makefile.in: New file.
6914
6c466447
AS
69152014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6916
6917 * gdb.python/py-framefilter.exp: Fix typo.
6918
6e854735
YQ
69192014-02-08 Yao Qi <yao@codesourcery.com>
6920
6921 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6922 that no =breakpoint-modified is emitted when breakpoints are
6923 modified through MI commands.
6924
d137e6dc
PA
69252014-02-07 Pedro Alves <pedro@codesourcery.com>
6926 Pedro Alves <palves@redhat.com>
6927
6928 * gdb.threads/step-after-sr-lock.c: New file.
6929 * gdb.threads/step-after-sr-lock.exp: New file.
6930
b5ee5a50
PA
69312014-02-07 Pedro Alves <palves@redhat.com>
6932
6933 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6934
3c77faf3
JK
69352014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6938 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6939
6dddc817
DE
69402014-02-06 Doug Evans <xdje42@gmail.com>
6941
6942 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6943 output.
6944
6945 * gdb.gdb/python-interrupts.exp: New file.
6946
de7b2893
YQ
69472014-02-05 Yao Qi <yao@codesourcery.com>
6948
6949 * gdb.trace/report.exp (use_collected_data): Test the output
6950 of "info threads" and "info inferiors".
6951
66d032ac
YQ
69522014-02-05 Yao Qi <yao@codesourcery.com>
6953
6954 Revert this patch:
6955
6956 2013-05-24 Yao Qi <yao@codesourcery.com>
6957
6958 * gdb.trace/tfile.exp: Test inferior and thread.
6959
591a12a1
UW
69602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6961
6962 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6963 on a function.
6964 * gdb.base/step-bt.c: Call hello via function pointer to make
6965 sure its first instruction is executed on powerpc64le-linux.
6966
0ff3e01f
UW
69672014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6968
6969 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6970
084ee545
UW
69712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6972
6973 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6974 of the test patterns for use on little-endian systems.
6975
6ed14ff3
UW
69762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6977
6978 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6979 (decimal_vector): Fix for little-endian.
6980
401e27fd
JM
69812014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6982
6983 * gdb.arch/sparc-sysstep.exp: New file.
6984 * gdb.arch/sparc-sysstep.c: Likewise.
6985
6986 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6987
8b924729
EBM
69882014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6989
6990 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6991
fb151210
JB
69922014-01-23 Tom Tromey <tromey@redhat.com>
6993
6994 * gdb.ada/array_char_idx: New testcase.
6995
0740f8d8
TT
69962014-01-23 Tom Tromey <tromey@redhat.com>
6997
6998 PR python/16487:
6999 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7000 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7001 classes.
7002
21909fa1
TT
70032014-01-23 Tom Tromey <tromey@redhat.com>
7004
7005 PR python/16491:
7006 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7007 string from an inferior frame.
7008 * gdb.python/py-framefilter-mi.exp: Update.
7009
87ce2a04
DE
70102014-01-22 Doug Evans <dje@google.com>
7011
7012 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7013
237b092b
AA
70142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7015
7016 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7017
d674a709
AA
70182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7019
7020 * gdb.trace/entry-values.exp: Remove excess space character from
7021 regex patterns. Handle s390 call instruction.
7022
20fa3390
AA
70232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7024
7025 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7026 define "*_start" label. Make "name" static.
7027 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7028 ${name} by references to ${name}_start.
7029
78466714
AA
70302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7031
7032 * gdb.base/info-macros.exp: Remove "debug" from the compile
7033 options.
7034
ec9f644a
IB
70352014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7036
7037 * gdb.dlang/demangle.exp: New file.
7038
94b1b47e
IB
70392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7040
7041 * gdb.dlang/primitive-types.exp: New file.
7042
7f420862
IB
70432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7044
7045 * configure.ac: Create gdb.dlang/Makefile.
7046 * configure: Regenerate.
7047 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7048 * gdb.dlang/Makefile.in: New file.
7049 * lib/d-support.exp: New file.
7050 * lib/gdb.exp (skip_d_tests): New proc.
7051
52834460
MM
70522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7053
7054 * gdb.btrace/delta.exp: Check reverse stepi.
7055 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7056 * gdb.btrace/finish.exp: New.
7057 * gdb.btrace/next.exp: New.
7058 * gdb.btrace/nexti.exp: New.
7059 * gdb.btrace/record_goto.c: Add comments.
7060 * gdb.btrace/step.exp: New.
7061 * gdb.btrace/stepi.exp: New.
7062 * gdb.btrace/multi-thread-step.c: New.
7063 * gdb.btrace/multi-thread-step.exp: New.
7064 * gdb.btrace/rn-dl-bind.c: New.
7065 * gdb.btrace/rn-dl-bind.exp: New.
7066 * gdb.btrace/data.c: New.
7067 * gdb.btrace/data.exp: New.
7068 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7069
6e07b1d2
MM
70702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7071
7072 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7073 * gdb.btrace/exception.exp: Update.
7074 * gdb.btrace/instruction_history.exp: Update.
7075 * gdb.btrace/record_goto.exp: Update.
7076 * gdb.btrace/tailcall.exp: Update.
7077 * gdb.btrace/unknown_functions.exp: Update.
7078 * gdb.btrace/delta.exp: New.
7079
0b722aec
MM
70802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7081
7082 * gdb.btrace/record_goto.exp: Add backtrace test.
7083 * gdb.btrace/tailcall.exp: Add backtrace test.
7084
066ce621
MM
70852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7086
7087 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7088 * gdb.btrace/record_goto.c: New.
7089 * gdb.btrace/record_goto.exp: New.
7090 * gdb.btrace/x86-record_goto.S: New.
7091
0688d04e
MM
70922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7093
7094 * gdb.btrace/function_call_history.exp: Update tests.
7095 * gdb.btrace/instruction_history.exp: Update tests.
7096
8710b709
MM
70972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7098
7099 * gdb.btrace/function_call_history.exp: Fix expected field
7100 order for "record function-call-history".
7101 Add new tests for "record function-call-history /c".
7102 * gdb.btrace/exception.cc: New.
7103 * gdb.btrace/exception.exp: New.
7104 * gdb.btrace/tailcall.exp: New.
7105 * gdb.btrace/x86-tailcall.S: New.
7106 * gdb.btrace/x86-tailcall.c: New.
7107 * gdb.btrace/unknown_functions.c: New.
7108 * gdb.btrace/unknown_functions.exp: New.
7109 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7110
5de9129b
MM
71112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7112
7113 * gdb.btrace/instruction_history.exp: Update.
7114 * gdb.btrace/function_call_history.exp: Update.
7115
23a7fe75
MM
71162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7117
7118 * gdb.btrace/function_call_history.exp: Fix expected function
7119 trace.
7120 * gdb.btrace/instruction_history.exp: Initialize traced.
7121 Remove traced_functions.
7122
724c7dd8
MM
71232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7124
7125 * gdb.btrace/function_call_history.exp: Update
7126 * gdb.btrace/instruction_history.exp: Update.
7127
6d78d93b
MM
71282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7129
7130 * gdb.btrace/enable.exp: Update expected text.
7131
93a360cc
OJ
71322014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7133
7134 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7135 bytes.
7136
3772b53f
MR
71372014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7138
7139 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7140
596662fa
OJ
71412014-01-15 Omair Javaid <omair.javaid@linaro.org>
7142
7143 * lib/gdb.exp (supports_process_record): Return true for
7144 arm*-linux*. (supports_reverse): Likewise.
7145
b5b08fb4
SC
71462014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7147
7148 PR python/15464
7149 PR python/16113
7150 * gdb.python/py-type.c: Enhance test case.
7151 * gdb.python/py-value-cc.cc: Likewise
7152 * gdb.python/py-type.exp: Add new tests.
7153 * gdb.python/py-value-cc.exp: Likewise
7154
52d7fb13
AA
71552014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7156 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7159 Make "name" extern.
7160 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7161 references to ${name}_start by references to ${name}.
7162
a2cd8cfe
JB
71632014-01-10 Joel Brobecker <brobecker@adacore.com>
7164
7165 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7166
4e23fced
JB
71672014-01-10 Joel Brobecker <brobecker@adacore.com>
7168
7169 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7170
c6a9e42c
PA
71712014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7172 Pedro Alves <palves@redhat.com>
7173
7174 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7175 mi_gdb_target_load.
c6a9e42c 7176
b7ea362b
PA
71772014-01-08 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.threads/reconnect-signal.c: New file.
7180 * gdb.threads/reconnect-signal.exp: New file.
7181
5e3f4fab
EBM
71822014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7183
7184 * gdb.base/source-dir.exp: New file.
7185
79301218
JB
71862014-01-07 Joel Brobecker <brobecker@adacore.com>
7187
7188 * gdb.ada/mi_interface: New testcase.
7189
8e355c5d
JB
71902014-01-07 Joel Brobecker <brobecker@adacore.com>
7191
7192 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7193 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7194 gdb.ada/pp-rec-component/pck.ads: New files.
7195
c0d48811
JB
71962014-01-07 Joel Brobecker <brobecker@adacore.com>
7197
7198 * gdb.python/py-pp-integral.c: New file.
7199 * gdb.python/py-pp-integral.py: New file.
7200 * gdb.python/py-pp-integral.exp: New file.
7201
17b609c3 7202For older changes see ChangeLog-1993-2013.
c906108c 7203\f
8d8cb839
EZ
7204;; Local Variables:
7205;; mode: change-log
7206;; left-margin: 8
7207;; fill-column: 74
7208;; version-control: never
7209;; End:
902f2ccb 7210
618f726f 7211 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7212 Copying and distribution of this file, with or without modification,
7213 are permitted provided the copyright notice and this notice are preserved.