]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add Python InferiorThread.global_num attribute
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
22a02324
PA
12016-01-13 Pedro Alves <palves@redhat.com>
2
3 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4 Breakpoint.thread.
5 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6
5d5658a1
PA
72016-01-07 Pedro Alves <palves@redhat.com>
8
9 * gdb.base/break.exp: Adjust to output changes.
10 * gdb.base/hbreak2.exp: Likewise.
11 * gdb.base/sepdebug.exp: Likewise.
12 * gdb.base/watch_thread_num.exp: Likewise.
13 * gdb.linespec/keywords.exp: Likewise.
14 * gdb.multi/info-threads.exp: Likewise.
15 * gdb.threads/thread-find.exp: Likewise.
16 * gdb.multi/tids.c: New file.
17 * gdb.multi/tids.exp: New file.
18
84654457
PA
192016-01-13 Pedro Alves <palves@redhat.com>
20
21 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
22
e3940304
PA
232016-01-13 Pedro Alves <palves@redhat.com>
24
25 * gdb.base/default.exp: Expect $_inferior as well.
26 * gdb.multi/base.exp: Test $_inferior.
27
a911d87a
PA
282016-01-13 Pedro Alves <palves@redhat.com>
29
30 PR breakpoints/19388
31 * gdb.base/catch-signal-siginfo-cond.c: New file.
32 * gdb.base/catch-signal-siginfo-cond.exp: New file.
33
82075af2
JS
342016-01-12 Josh Stone <jistone@redhat.com>
35 Philippe Waroquiers <philippe.waroquiers@skynet.be>
36
37 * gdb.base/catch-syscall.c (do_execve): New variable.
38 (main): Conditionally trigger an execve.
39 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
40 (test_catch_syscall_execve): New, check entry/return across execve.
41 (do_syscall_tests): Call test_catch_syscall_execve.
42
e46eeedd
PA
432016-01-12 Pedro Alves <palves@redhat.com>
44
45 * gdb.base/random-signal.exp (do_test): New procedure, with body
46 of testcase moved in.
47
01d8c27e
JK
482016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
49 Pedro Alves <palves@redhat.com>
50
51 * gdb.base/funcargs.exp (finish from indirectly called function):
52 Reintroduce the case for 'First'.
53
9a706302
JK
542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
55 Pedro Alves <palves@redhat.com>
56
57 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
58 (tcatch_vfork_then_child_follow_exec)
59 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
60 identification.
61
c0ecb95f
JK
622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
63
64 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
65 and repeats to unlimited.
66 * gdb.python/py-value.exp: Likewise.
67 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
68 and repeats to unlimited.
69
6cfc1fcb
JK
702016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
73 and reordering the functions.
74 * gdb.multi/hangout.c: Likewise.
75 * gdb.multi/hello.c: Likewise.
76
582a1b00
SM
772016-01-08 Simon Marchi <simon.marchi@ericsson.com>
78
79 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
80 absolute.
81 (SingleStatisticTestResult.report): Use dict.keys instead of
82 dict.iterkeys.
83
79bc59cb
PA
842016-01-06 Pedro Alves <palves@redhat.com>
85
86 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
87
43368e1d
MM
882016-01-04 Markus Metzger <markus.t.metzger@intel.com>
89
90 * gdb.btrace/dlopen.exp: New.
91 * gdb.btrace/dlopen.c: New.
92 * gdb.btrace/dlopen-dso.c: New.
93
79fad5b8
SL
942015-12-25 Sandra Loosemore <sandra@codesourcery.com>
95
96 * lib/gdb.exp (gdb_test): Update comments to clarify that the
97 PATTERN argument is optional.
98
ab8314b3
JB
992015-12-24 Joel Brobecker <brobecker@adacore.com>
100
101 * lib/ada.exp (target_compile_ada_from_dir): New function.
102 (gdb_compile_ada): Reimplement avoiding the use of project files.
103 * gdb.ada/gnat_ada.gpr: Delete.
104 * gdb.ada/cond_lang.exp: Adjust test to make path before
105 filename optional.
106 * gdb.ada/small_reg_param.exp: Likewise.
107
fe33faff
SM
1082015-12-22 Simon Marchi <simon.marchi@ericsson.com>
109
110 * gdb.base/foll-vork.exp: Remove HP-UX special case.
111
6d265cb4
TP
1122015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
113
114 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
115 case.
116
10125099
SM
1172015-12-21 Simon Marchi <simon.marchi@ericsson.com>
118
119 * gdb.base/break.exp: Remove dead code.
120 * gdb.base/sepdebug.exp: Likewise.
121
3ca22649
SM
1222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
123
124 * gdb.asm/asm-source.exp: Remove HP-UX references.
125 * gdb.base/annota1.exp: Likewise.
126 * gdb.base/annota3.exp: Likewise.
127 * gdb.base/attach.exp: Likewise.
128 * gdb.base/bigcore.exp: Likewise.
129 * gdb.base/break.exp: Likewise.
130 * gdb.base/call-ar-st.exp: Likewise.
131 * gdb.base/callfuncs.exp: Likewise.
132 * gdb.base/catch-fork-static.exp: Likewise.
133 * gdb.base/display.exp: Likewise.
134 * gdb.base/foll-exec-mode.exp: Likewise.
135 * gdb.base/foll-exec.exp: Likewise.
136 * gdb.base/foll-fork.exp: Likewise.
137 * gdb.base/foll-vfork.exp: Likewise.
138 * gdb.base/funcargs.exp: Likewise.
139 * gdb.base/hbreak2.exp: Likewise.
140 * gdb.base/inferior-died.exp: Likewise.
141 * gdb.base/interrupt.exp: Likewise.
142 * gdb.base/multi-forks.exp: Likewise.
143 * gdb.base/nodebug.exp: Likewise.
144 * gdb.base/sepdebug.exp: Likewise.
145 * gdb.base/solib1.c: Likewise.
146 * gdb.base/step-test.exp: Likewise.
147 * gdb.mi/non-stop.c: Likewise.
148 * gdb.mi/pthreads.c: Likewise.
149 * gdb.multi/bkpt-multi-exec.ex: Likewise.
150 * gdb.threads/pthreads.c: Likewise.
151 * gdb.threads/staticthreads.exp: Likewise.
152 * lib/future.exp: Likewise.
153 * lib/gdb.exp: Likewise.
154 * gdb.base/so-indr-cl.c: Remove.
155 * gdb.base/so-indr-cl.exp: Likewise.
156 * gdb.base/solib.c: Likewise.
157 * gdb.base/solib.exp: Likewise.
158 * gdb.base/solib2.c: Likewise.
159
b6304613
SM
1602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
161
162 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
163 * gdb.base/call-ar-st.exp: Likewise.
164 * gdb.base/callfuncs.exp: Likewise.
165 * gdb.base/condbreak.exp: Likewise.
166 * gdb.base/constvars.exp: Likewise.
167 * gdb.base/hbreak2.exp: Likewise.
168 * gdb.base/langs.exp: Likewise.
169 * gdb.base/list.exp: Likewise.
170 * gdb.base/long_long.exp: Likewise.
171 * gdb.base/ptype.exp: Likewise.
172 * gdb.base/scope.exp: Likewise.
173 * gdb.base/signals.exp: Likewise.
174 * gdb.base/so-impl-ld.exp: Likewise.
175 * gdb.base/varargs.exp: Likewise.
176 * gdb.base/volatile.exp: Likewise.
177 * gdb.base/whatis.exp: Likewise.
178 * gdb.cp/cplusfuncs.exp: Likewise.
179 * gdb.cp/inherit.exp: Likewise.
180 * gdb.cp/local.exp: Likewise.
181 * gdb.cp/member-ptr.exp: Likewise.
182 * gdb.cp/method.exp: Likewise.
183 * gdb.cp/overload.exp: Likewise.
184 * gdb.cp/templates.exp: Likewise.
185 * gdb.stabs/weird.exp: Likewise.
186 * lib/compiler.c: Likewise.
187 * lib/compiler.cc: Likewise.
188 * lib/cp-support.exp: Likewise.
189 * lib/gdb.exp: Likewise.
190
bf401b07
SM
1912015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
192
193 * configure.ac: Remove HP-UX case.
194 * configure: Regenerate.
195
aff9c0f8
SM
1962015-12-18 Simon Marchi <simon.marchi@ericsson.com>
197
198 * lib/gdb.exp (gdb_compile): Add function doc.
199
a6904d5a
PA
2002015-12-17 Pedro Alves <palves@redhat.com>
201
202 PR threads/19354
203 * gdb.multi/info-threads.exp: New file.
204
a22279dd
YQ
2052015-12-15 Yao Qi <yao.qi@linaro.org>
206
207 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
208 is aarch64*-*-*.
209
0588c796
SL
2102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
211
212 * gdb.base/history-duplicates.exp: Skip if no readline support.
213
5d978e17
SL
2142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
215
216 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
217
7e763b86
SL
2182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
219
220 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
221
87a3a92c
SL
2222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
223
224 * gdb.base/completion.exp: Skip tests that interrupt GDB with
225 ctrl-C if nointerrupts target property is set.
226 * gdb.base/double-prompt-target-event-error.exp: Likewise.
227 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
228 * gdb.base/paginate-bg-execution.exp: Likewise.
229 * gdb.base/paginate-execution-startup.exp: Likewise.
230 * gdb.base/random-signal.exp: Likewise.
231 * gdb.base/range-stepping.exp: Likewise.
232 * gdb.cp/annota2.exp: Likewise.
233 * gdb.cp/annota3.exp: Likewise.
234 * gdb.gdb/selftest.exp: Likewise.
235 * gdb.threads/continue-pending-status.exp: Likewise.
236 * gdb.threads/leader-exit.exp: Likewise.
237 * gdb.threads/manythreads.exp: Likewise.
238 * gdb.threads/pthreads.exp: Likewise.
239 * gdb.threads/schedlock.exp: Likewise.
240 * gdb.threads/sigthread.exp: Likewise.
241
a8f077dc
DB
2422015-12-11 Don Breazeal <donb@codesourcery.com>
243
244 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
245 remote.
246 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
247 * gdb.base/foll-exec.exp (main): Enable for target remote.
248 * gdb.base/foll-fork.exp (main): Likewise.
249 * gdb.base/foll-vfork.exp (main): Likewise.
250 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
251 (proc continue_to_exit_bp_loc): Use clean_restart.
252 * gdb.base/pie-execl.exp (main): Disable for target remote.
253 * gdb.base/watch-vfork.exp (main): Enable for target remote.
254 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
255 * gdb.threads/execl.exp (main): Likewise.
256 * gdb.threads/fork-child-threads.exp (main): Likewise.
257 * gdb.threads/fork-plus-threads.exp (main): Disable for target
258 remote.
259 * gdb.threads/fork-thread-pending.exp (main): Enable for target
260 remote.
261 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
262 pid.tid style ptids, instead of just tid.
263 * gdb.threads/thread-execl.exp (main): Enable for target remote.
264 * gdb.threads/watchpoint-fork.exp (main): Likewise.
265 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
266 ptids, instead of just tid.
267
3b2464a8
AB
2682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * gdb.base/list.exp (test_list_forward): Add end of file error
271 test.
272 (test_repeat_list_command): Add end of file error test.
273 (test_list_backwards): Add beginning of file error test.
274
a0def019
AB
2752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
276
277 * gdb.base/list.exp (test_list_invalid_args): New function,
278 defined, and called.
279
5c000dff
AB
2802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
281
282 * gdb.base/list.exp (test_list): Make test names unique.
283
f1637ebe
YQ
2842015-12-11 Yao Qi <yao.qi@linaro.org>
285
286 * gdb.base/coremaker2.c: Remove.
287
36d6fc0a
PA
2882015-12-10 Pedro Alves <palves@redhat.com>
289
290 * gdb.multi/base.exp: Remove stale "spaces" references.
291
762f7747
PA
2922015-12-10 Pedro Alves <palves@redhat.com>
293
294 * gdb.multi/base.exp: Don't use nowarnings.
295 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
296 * gdb.multi/hangout.c: Include stdio.h.
297 * gdb.multi/hello.c: Include stdlib.h.
298 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
299 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
300 * gdb.multi/multi-arch.exp: Don't use nowarnings.
301
28d2bfb9
AB
3022015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
303
304 * gdb.dwarf2/dw2-ranges-base.c: New file.
305 * gdb.dwarf2/dw2-ranges-base.exp: New file.
306 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
307 support additional line table, and debug ranges generation.
308 (Dwarf::ranges): New function, generate .debug_ranges.
309 (Dwarf::lines): Support generating simple line table programs.
310 (Dwarf::assemble): Initialise new namespace variables.
311
5fc2beac
KB
3122015-12-09 Kevin Buettner <kevinb@redhat.com>
313
314 * gdb.base/async.exp (proc test_background): Add case for
315 asynchronous execution not supported.
316
1c35a88f
LM
3172015-12-09 Luis Machado <lgustavo@codesourcery.com>
318
319 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
320 format and change test names to make them unique.
321
b593e3d9
RK
3222015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
323 Pedro Alves <pedro@redhat.com>
324
325 PR gdb/18702
326 Add checking of floatformats setup on x86_64 hosts.
327 * gdb.arch/i386-float.S (main): Load bigval and smallval.
328 (smallval, bigval): New labels/constants.
329 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
330 float" after loading bigval and smallval.
331
d72413e6
PMR
3322015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
333
334 * gdb.ada/fun_overload_menu.exp: New testcase.
335 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
336
ece66d65
JS
3372015-12-04 Josh Stone <jistone@redhat.com>
338
339 * gdb.base/catch-fork-static.exp: New.
340
41d0efca
YQ
3412015-12-03 Yao Qi <yao.qi@linaro.org>
342
343 * gdb.base/sizeof.c: Don't include stdio.h and
344 ../lib/unbuffer_output.c.
345 (main): New variable 'size' and 'value'. Remove printf and
346 gdb_unbuffer_output. Assign return value to size and value.
347 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
348 at the beginning.
349 (check_sizeof): Check the result by printing variable 'size'.
350 (check_valueof): Check the result by printing variable 'value'.
351
99fd02d9
YQ
3522015-12-01 Yao Qi <yao.qi@linaro.org>
353
354 * gdb.base/disp-step-syscall.exp: Define syscall instruction
355 for aarch64*-*-linux* target.
356
f2faf941
PA
3572015-11-30 Pedro Alves <palves@redhat.com>
358
359 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
360
04bf20c5
PA
3612015-11-30 Pedro Alves <palves@redhat.com>
362
363 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
364 Handle non-stop mode vCont replies.
365
09df4675
PA
3662015-11-30 Pedro Alves <palves@redhat.com>
367
368 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
369 prepare_for_testing. Start gdb with "set non-stop on" appended to
370 GDBFLAGS. Lax expected stop output.
371
58b584af
YQ
3722015-11-27 Yao Qi <yao.qi@linaro.org>
373
374 * gdb.arch/arm-neon.exp: New.
375 * gdb.arch/arm-neon.c: New.
376
dfcb77a8
YQ
3772015-11-27 Yao Qi <yao.qi@linaro.org>
378
379 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
380
88e8ec1b
YQ
3812015-11-27 Yao Qi <yao.qi@linaro.org>
382
383 * gdb.cp/annota2.exp: Allow multiple occurrences of the
384 frames-invalid annotation.
385
bfde72c2
YQ
3862015-11-27 Yao Qi <yao.qi@linaro.org>
387
388 * gdb.cp/annota2.exp: Use ${frames_invalid}.
389
f6512a69
SM
3902015-11-26 Simon Marchi <simon.marchi@ericsson.com>
391
392 * gdb.threads/names.exp: New file.
393 * gdb.threads/names.c: New file.
394 * README: Mention gdb,no_thread_names.
395
46a3515b
MM
3962015-11-26 Markus Metzger <markus.t.metzger@intel.com>
397
398 PR 19297
399 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
400 support" error.
401
62147a22
PA
4022015-11-24 Pedro Alves <palves@redhat.com>
403
404 PR 17539
405 * gdb.base/display.exp: Expect displays to be sorted in ascending
406 order. Use multi_line.
407 * gdb.base/solib-display.exp: Likewise.
408
2f341b6e
PA
4092015-11-24 Pedro Alves <palves@redhat.com>
410
411 PR 17539
412 * gdb.base/display.exp: Expect displays to be sorted in ascending
413 order. Use multi_line.
414 * gdb.base/solib-display.exp: Likewise.
415
7e0aa6aa
PA
4162015-11-24 Pedro Alves <palves@redhat.com>
417
418 PR 17539
419 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
420 threads in ascending order.
421 * gdb.base/foll-fork.exp: Likewise.
422 * gdb.base/foll-vfork.exp: Likewise.
423 * gdb.base/multi-forks.exp: Likewise.
424 * gdb.mi/mi-nonstop.exp: Likewise.
425 * gdb.mi/mi-nsintrall.exp: Likewise.
426 * gdb.multi/base.exp: Likewise.
427 * gdb.multi/multi-arch.exp: Likewise.
428 * gdb.python/py-inferior.exp: Likewise.
429 * gdb.threads/break-while-running.exp: Likewise.
430 * gdb.threads/execl.exp: Likewise.
431 * gdb.threads/gcore-thread.exp: Likewise.
432 * gdb.threads/info-threads-cur-sal.exp: Likewise.
433 * gdb.threads/kill.exp: Likewise.
434 * gdb.threads/linux-dp.exp: Likewise.
435 * gdb.threads/multiple-step-overs.exp: Likewise.
436 * gdb.threads/next-bp-other-thread.exp: Likewise.
437 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
438 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
439 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
440 * gdb.threads/thread-find.exp: Likewise.
441 * gdb.threads/tls.exp: Likewise.
442 * lib/mi-support.exp (mi_reverse_list): Delete.
443 (mi_check_thread_states): No longer reverse list.
444
2cc57ad8
PA
4452015-11-24 Pedro Alves <palves@redhat.com>
446
447 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
448 use lowercase.
449
c93e8391
SM
4502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
451
452 * gdb.trace/actions.c: Include trace-common.h.
453 (main): Add a location for a fast tracepoint.
454 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
455 the normal tracepoints.
456 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
457
045ccf91
SM
4582015-11-23 Simon Marchi <simon.marchi@ericsson.com>
459
460 * save-trace.exp: Factor out code to these...
461 (gdb_save_tracepoints): New.
462 (gdb_load_tracepoints): New.
463 (do_save_load_test): New.
464
5506f9f6
KB
4652015-11-23 Kevin Buettner <kevinb@redhat.com>
466
467 * gdb.base/asmlabel.exp: New test.
468 * gdb.base/asmlabel.c: New test case.
469
16c3b12f
JB
4702015-11-23 Joel Brobecker <brobecker@adacore.com>
471
472 * gdb.base/wrong_frame_bt_full-main.c: New file.
473 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
474 * gdb.base/wrong_frame_bt_full.exp: New file.
475
155bfbd3
JB
4762015-11-23 Joel Brobecker <brobecker@adacore.com>
477
478 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
479
bb097445
JM
4802015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
481
206853a0 482 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
483 pstate register when comparing registers values in
484 sparc64-*-linux-gnu targets to avoid spurious differences.
485
9c88ed8f
JM
4862015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
487
206853a0 488 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 489
96161e25
SL
4902015-11-19 Sandra Loosemore <sandra@codesourcery.com>
491
492 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
493 as type argument to gdb_compile.
494 * gdb.base/nested-subp2.exp: Likewise.
495 * gdb.base/nested-subp3.exp: Likewise.
496
340c2830
DV
4972015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
498
499 * lib/dwarf.exp (_note): Fix left shift of negative value.
500 * gdb.trace/trace-condition.exp: Likewise.
501
c1862d0f
YQ
5022015-11-13 Yao Qi <yao.qi@linaro.org>
503
504 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
505 comments about d10v.
506 (test_scalar_returns): Likewise.
507 * gdb.base/d10v.ld: Remove.
508 * gdb.base/overlays.exp: Remove the target triplet checking for
509 d10v-*-*.
510 * gdb.base/structs.exp (test_struct_returns): Remove the
511 comments about d10v.
512 (test_struct_calls): Likewise.
513
77ae9c19
YQ
5142015-11-13 Yao Qi <yao.qi@linaro.org>
515
516 * gdb.base/gnu_vector.exp: Check the return value by "p res".
517 * gdb.base/gnu_vector.c: Don't include stdio.h.
518 (main): Don't print res and call add_some_intvecs.
519
430e004e
MK
5202015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
521
522 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
523 macro.
524 (func5): Removed.
525 (func4): Use FAST_TRACEPOINT_LABEL.
526 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
527 macro.
528 (func): Removed.
529 (thread_function): Use FAST_TRACEPOINT_LABEL.
530 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
531 (func): Remove.
532 (marker): Use FAST_TRACEPOINT_LABEL.
533 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
534 (pendfunc1): Remove.
535 (pendfunc): Use FAST_TRACEPOINT_LABEL.
536 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
537 (foo): Remove.
538 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
539 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
540 macro.
541 (func): Remove.
542 (marker): Use FAST_TRACEPOINT_LABEL.
543 * gdb.trace/trace-common.h: New header.
544 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
545 macro.
546 (func): Remove.
547 (marker): Use FAST_TRACEPOINT_LABEL.
548 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
549 (func): Remove.
550 (thread_function): Use FAST_TRACEPOINT_LABEL.
551
6e7675a7
MK
5522015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
553
554 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
555 in front.
556 * gdb.trace/change-loc.exp: Use global pcreg definition.
557 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
558 * gdb.trace/entry-values.exp: Use global spreg definition, add $
559 in front.
560 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
561 * gdb.trace/pending.exp: Likewise.
562 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
563 * gdb.trace/trace-break.exp: Likewise.
564 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
565 in front.
566 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
567 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
568 in front.
569 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
570
dddc0e16
JB
5712015-11-09 Joel Brobecker <brobecker@adacore.com>
572
573 * gdb.ada/fin_fun_out: New testcase.
574
c6f0b406
KB
5752015-11-07 Kevin Buettner <kevinb@redhat.com>
576
577 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
578 value associated with DW_AT_byte_size.
579 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
580 constants for DW_AT_byte_size, DW_AT_lower_bound, and
581 DW_AT_upper_bound.
582
f01dcfd9
KB
5832015-11-07 Kevin Buettner <kevinb@redhat.com>
584
585 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
586 (gdb_target_symbol_prefix_flags): Define in terms of _asm
587 version.
588 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
589 gdb.dwarf2/dw2-canonicalize-type.exp,
590 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
591 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
592 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
593 provided by gdb_target_symbol_prefix_flags_asm.
594 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
595 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
596 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
597 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
598 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
599 macros where needed). Use this macro for symbols which require
600 the prefix provided by SYMBOL_PREFIX.
601
2223449a
KB
6022015-11-05 Kevin Buettner <kevinb@redhat.com>
603
604 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
605 New procs.
606 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
607 representing expressions, of more than one list element.
608 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
609 to prepend linker symbol prefix to f.
610 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
611 table_1 and table_2.
612 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
613 Likewise, for f and g.
614 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
615 for ptr.
616 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
617 for main.
618 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
619 table_1_ptr and table_2_ptr.
620
6f2f1a3a
JK
6212015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
622 Joel Brobecker <brobecker@adacore.com>
623
624 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
625
566c56c9
MK
6262015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
627
628 * gdb.reverse/s390-mvcle.c: New test.
629 * gdb.reverse/s390-mvcle.exp: New file.
630 * lib/gdb.exp: Enable reverse tests on s390*-linux.
631
d5f0636b
MK
6322015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
633
634 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
635
7ad8b86c
MK
6362015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
637
638 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
639 reaching marker2.
640 * gdb.reverse/getresuid-reverse.exp: Likewise.
641 * gdb.reverse/pipe-reverse.exp: Likewise.
642 * gdb.reverse/readv-reverse.exp: Likewise.
643 * gdb.reverse/recvmsg-reverse.exp: Likewise.
644 * gdb.reverse/time-reverse.exp: Likewise.
645 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
646
4081c0f1
YQ
6472015-10-30 Yao Qi <yao.qi@linaro.org>
648
649 * gdb.threads/wp-replication.c (watch_count_done): Remove.
650 (empty_cycle): Remove.
651 (main): Don't call empty_cycle. Don't use watch_count_done.
652 * gdb.threads/wp-replication.exp: Don't set breakpoint on
653 empty_cycle. Rewrite the code counting HW watchpoints.
654
452b4ba5
MK
6552015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
656
657 * gdb.reverse/fstatat-reverse.c: New test.
658 * gdb.reverse/fstatat-reverse.exp: New file.
659 * gdb.reverse/getresuid-reverse.c: New test.
660 * gdb.reverse/getresuid-reverse.exp: New file.
661 * gdb.reverse/pipe-reverse.c: New test.
662 * gdb.reverse/pipe-reverse.exp: New file.
663 * gdb.reverse/readv-reverse.c: New test.
664 * gdb.reverse/readv-reverse.exp: New file.
665 * gdb.reverse/recvmsg-reverse.c: New test.
666 * gdb.reverse/recvmsg-reverse.exp: New file.
667 * gdb.reverse/time-reverse.c: New test.
668 * gdb.reverse/time-reverse.exp: New file.
669 * gdb.reverse/waitpid-reverse.c: New test.
670 * gdb.reverse/waitpid-reverse.exp: New file.
671
5e2e7507
JK
6722015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
673
674 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
675
0fde2c53
DE
6762015-10-26 Doug Evans <dje@google.com>
677
678 PR symtab/17391
679 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
680 * gdb.dwarf2/bad-regnum.c: New file.
681 * gdb.dwarf2/bad-regnum.exp: New file.
682
1a70ae97
DE
6832015-10-26 Doug Evans <dje@google.com>
684
685 PR python/18938
686 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
687 file.
688
27dc26ab
JK
6892015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * gdb.compile/compile.exp (compile code globalvar): Update expectation
692 for a change by "Mention language in compile error message".
693
bed91f4d
SM
6942015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
695
696 PR python/18073
697 * gdb.python/py-type.c (C::a_method): New.
698 (C::a_const_method): New.
699 (C::a_static_method): New.
700 (a_function): New.
701 * gdb.python/py-type.exp (test_fields): Test getting fields
702 from function and method.
703
3f2f83dd
KB
7042015-10-21 Keven Boell <keven.boell@intel.com>
705
706 * gdb.fortran/vla-alloc-assoc.exp: New file.
707 * gdb.fortran/vla-datatypes.exp: New file.
708 * gdb.fortran/vla-datatypes.f90: New file.
709 * gdb.fortran/vla-history.exp: New file.
710 * gdb.fortran/vla-ptype-sub.exp: New file.
711 * gdb.fortran/vla-ptype.exp: New file.
712 * gdb.fortran/vla-sizeof.exp: New file.
713 * gdb.fortran/vla-sub.f90: New file.
714 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
715 * gdb.fortran/vla-value-sub-finish.exp: New file.
716 * gdb.fortran/vla-value-sub.exp: New file.
717 * gdb.fortran/vla-value.exp: New file.
718 * gdb.fortran/vla-ptr-info.exp: New file.
719 * gdb.mi/mi-vla-fortran.exp: New file.
720 * gdb.mi/vla.f90: New file.
721
27145d50
SL
7222015-10-21 Sandra Loosemore <sandra@codesourcery.com>
723
724 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
725 of hardwired timeout value.
726
5f3ff4f8
JK
7272015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
728 Pedro Alves <palves@redhat.com>
729
730 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
731 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
732
bfd09d20
JS
7332015-10-19 Josh Stone <jistone@redhat.com>
734
735 * gdb.base/catch-syscall.c: Include <sched.h>.
736 (unknown_syscall): New variable.
737 (main): Trigger a vfork and an unknown syscall.
738 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
739 (unknown_syscall_number): Likewise.
740 (check_call_to_syscall): Accept an optional syscall pattern.
741 (check_return_from_syscall): Likewise.
742 (check_continue): Likewise.
743 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
744 (test_catch_syscall_skipping_return): New test toggling off 'catch
745 syscall' to step over the syscall return, then toggling back on.
746 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
747 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
748 (do_syscall_tests): Call test_catch_syscall_without_args and
749 test_catch_syscall_mid_vfork.
750 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
751 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
752
b32b93c6
AS
7532015-10-19 Andrew Stubbs <ams@codesourcery.com>
754
755 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
756 print g_vE): Add new pass patterns.
757 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
758 print various symbol names for vptr fields.
759
9d622bda
AB
7602015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
763 results.
764
0fd8ac1c
YQ
7652015-10-12 Yao Qi <yao.qi@linaro.org>
766
767 * gdb.arch/disp-step-insn-reloc.exp: New test case.
768
34240514
YQ
7692015-10-12 Yao Qi <yao.qi@linaro.org>
770
771 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
772 is aarch64*-*-linux*.
773
8240f442
YQ
7742015-10-12 Yao Qi <yao.qi@linaro.org>
775
776 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
777 (can_relocate_bcond_true): ... it.
778 (can_relocate_bcond_false): New function.
779 (foo): Likewise.
780 (can_relocate_bl): Likewise.
781 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
782 can_relocate_bl.
783
2520f728
PMR
7842015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
785
786 * gdb.base/nested-addr.c: New file.
787 * gdb.base/nested-addr.exp: New testcase.
788
abcef95a
MM
7892015-10-09 Markus Metzger <markus.t.metzger@intel.com>
790
791 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
792 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
793 its output. Ignore the output of "record goto begin" and instead
794 check that GDB is replaying.
795
145e3ddb
PA
7962015-10-09 Pedro Alves <palves@redhat.com>
797
798 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
799 (top level): Use it in the run with no args test.
800
d5d8c4e1
IB
8012015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
802
803 * gdb.dlang/properties.exp: New file.
804
06e635ef
SL
8052015-10-02 Sandra Loosemore <sandra@codesourcery.com>
806
807 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
808 whether or not address 0x1000 is mapped on the target.
809
e019fd1d
SM
8102015-09-30 Simon Marchi <simon.marchi@ericsson.com>
811
812 * gdb.python/py-type.exp: Do not run tests if binaries fail to
813 build.
814
77ba2a67
MM
8152015-09-30 Markus Metzger <markus.t.metzger@intel.com>
816
817 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
818 instruction-history test.
819
c60eb31f
DE
8202015-09-28 Doug Evans <dje@google.com>
821
822 * gdb.base/gcore.c (array_func): Add reference to static_array.
823
9a3c8263
SM
8242015-09-25 Simon Marchi <simon.marchi@ericsson.com>
825
826 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
827 source line.
828
9720e656
SL
8292015-09-24 Sandra Loosemore <sandra@codesourcery.com>
830
831 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
832 short or char as base type.
833
938d3bf2
SL
8342015-09-23 Sandra Loosemore <sandra@codesourcery.com>
835
836 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
837 to allow any size enum.
838
e6c2c623
PMR
8392015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
840
841 * gdb.ada/array_ptr_renaming.exp: New testcase.
842 * gdb.ada/array_ptr_renaming/foo.adb: New file.
843 * gdb.ada/array_ptr_renaming/pack.ads: New file.
844
06da0f77
PL
8452015-09-21 Pierre Langlois <pierre.langlois@arm.com>
846
847 * gdb.trace/ftrace-lock.c: New file.
848 * gdb.trace/ftrace-lock.exp: New file.
849
4f51c22a
PL
8502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
851
852 * gdb.arch/insn-reloc.c: New file.
853 * gdb.arch/ftrace-insn-reloc.exp: New file.
854
7041adf4
PL
8552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
856
857 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
858 instruction.
859 * gdb.trace/pendshr1.c (pendfunc): Likewise.
860 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
861 * gdb.trace/range-stepping.c: Likewise.
862 * gdb.trace/trace-break.c: Likewise.
863 * gdb.trace/trace-mt.c (thread_function): Likewise.
864 * gdb.trace/ftrace.c (marker): Likewise.
865 * gdb.trace/trace-condition.c (marker): Likewise.
866 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
867 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
868 is_aarch64_target.
869
015d2e7e
DE
8702015-09-18 Doug Evans <xdje42@gmail.com>
871
872 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
873 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
874
26b188a2
SL
8752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
876
877 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
878 the breakpoint.
879
79dc332b
SL
8802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
881
882 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
883 the pending breakpoint. Remove timeout override for "Run till
884 MI pending breakpoint on pendfunc3 on thread 2" test.
885
f57929f2
SL
8862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
887
888 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
889 filename pattern.
890
3f469b17
SL
8912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
892
893 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
894 in breakpoint filename pattern.
895
515b89b3
SL
8962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
897
7800dbe4
SL
898 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
899
9002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
901
515b89b3
SL
902 * gdb.linespec/explicit.exp: Check for readline support for
903 tab-completion tests. Fix obvious typo.
904
d2939ba2
MM
9052015-09-18 Markus Metzger <markus.t.metzger@intel.com>
906
907 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
908 and replay.
909
cbb55fa7
MM
9102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
911
912 * gdb.btrace/non-stop.c: New.
913 * gdb.btrace/non-stop.exp: New.
914
43691ca1
PL
9152015-09-17 Pierre Langlois <pierre.langlois@arm.com>
916 Yao Qi <yao.qi@linaro.org>
917
918 * gdb.trace/trace-condition.c: New file.
919 * gdb.trace/trace-condition.exp: New file.
920
d78908cf
WW
9212015-09-16 Wei-cheng Wang <cole945@gmail.com>
922
923 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
924 for testing bytecode compilation.
925
1ed415e2
PA
9262015-09-16 Pedro Alves <palves@redhat.com>
927 Sandra Loosemore <sandra@codesourcery.com>
928
929 * gdb.threads/non-stop-fair-events.c (timeout): New global.
930 (SECONDS): Redefine.
931 (main): Call pthread_kill and alarm early.
932 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
933 support.
934 (test): If the target can't hardware step and doesn't support
935 displaced stepping, increase the timeout.
936
d136eff5
PA
9372015-09-16 Pedro Alves <palves@redhat.com>
938
939 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
940 (enable_debug): New procedures.
941 (test): Use them. Bail out if waiting for threads fails.
942 (top level): Bail out if a test fails.
943
991f019c
YQ
9442015-09-16 Yao Qi <yao.qi@linaro.org>
945
946 * gdb.asm/asm-source.exp: Set asm-arch for
947 aarch64*-*-* target.
948 * gdb.asm/aarch64.inc: New file.
949
bfca584f
PMR
9502015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
951
952 * gdb.ada/array_of_variable_length.exp: New testcase.
953 * gdb.ada/array_of_variable_length/foo.adb: New file.
954 * gdb.ada/array_of_variable_length/pck.adb: New file.
955 * gdb.ada/array_of_variable_length/pck.ads: New file.
956
b326e587
DE
9572015-09-15 Doug Evans <dje@google.com>
958
959 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
960 of function static local variable.
961
5382cfab
PW
9622015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
963
964 * gdb.threads/tls-so_extern.exp: New test file.
965 * gdb.threads/tls-so_extern.c: New test file.
966 * gdb.threads/tls-so_extern_main.c: New test file.
967
141c5cc4
JK
9682015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * gdb.opt/solib-intra-step-lib.c: New file.
971 * gdb.opt/solib-intra-step-main.c: New file.
972 * gdb.opt/solib-intra-step.exp: New file.
973
d15dcecd
PA
9742015-09-15 Pedro Alves <palves@redhat.com>
975
976 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
977 gdb_continue_to_breakpoint instead of gdb_test_multiple.
978
4c2f2a79
PA
9792015-09-14 Pedro Alves <palves@redhat.com>
980
981 * gdb.base/hook-stop-continue.c: Delete.
982 * gdb.base/hook-stop-continue.exp: Delete.
983 * gdb.base/hook-stop-frame.c: Delete.
984 * gdb.base/hook-stop-frame.exp: Delete.
985 * gdb.base/hook-stop.c: New file.
986 * gdb.base/hook-stop.exp: New file.
987
919e6dbe
PMR
9882015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
989
990 * gdb.ada/access_to_packed_array.exp: New testcase.
991 * gdb.ada/access_to_packed_array/foo.adb: New file.
992 * gdb.ada/access_to_packed_array/pack.adb: New file.
993 * gdb.ada/access_to_packed_array/pack.ads: New file.
994
157280a4
MM
9952015-09-14 Markus Metzger <markus.t.metzger@intel.com>
996
997 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
998 buffer size test.
999
2fd33e94
DB
10002015-09-11 Don Breazeal <donb@codesourcery.com>
1001
1002 * gdb.base/foll-exec.c: Add copyright header. Fix
1003 formatting issues.
1004 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1005 (do_exec_tests): Use clean_restart in place of zap_session,
1006 and for test initialization. Fix formatting issues. Use
1007 fail in place of perror.
1008 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1009 an expect statement to match an expression with output from
1010 the program under debug.
1011 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1012 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1013 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1014 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1015 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1016
e70b6e8e
DE
10172015-09-09 Doug Evans <dje@google.com>
1018
1019 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1020
7a551a51
DE
10212015-09-09 Doug Evans <dje@google.com>
1022
1023 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1024
4c666f84
DE
10252015-09-09 Doug Evans <dje@google.com>
1026
1027 * gdb.base/savedregs.exp: Fix typo.
1028
243a9253
PA
10292015-09-09 Pedro Alves <palves@redhat.com>
1030
1031 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1032
c0fa8fbd
SL
10332015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1034
1035 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1036 command actually switches threads. Give up on remaining
1037 tests if target fails to stop at breakpoint.
1038
cd7c1778
PMR
10392015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1040
1041 * gdb.ada/funcall_char.exp: New testcase.
1042 * gdb.ada/funcall_char/foo.adb: New file.
1043
dc5c8746
PMR
10442015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1045
1046 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1047 expected outputs. Add two testcases for completing ambiguous
1048 functions.
1049 * gdb.ada/complete/aux_pck.adb: New file.
1050 * gdb.ada/complete/aux_pck.ads: New file.
1051 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1052 Ambiguous_Func functions.
1053 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1054 * gdb.ada/complete/pck.adb: Likewise.
1055
4e83a1e7
UW
10562015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1057
1058 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1059 failures to run the test program under GDB.
1060
8ce74153
LM
10612015-08-26 Luis Machado <lgustavo@codesourcery.com>
1062
1063 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1064 to C.
1065
e9756d52
PP
10662015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1067
1068 * gdb.base/run-after-attach.exp: New test file.
1069 * gdb.base/run-after-attach.c: New test file.
1070
8d37573b
DB
10712015-08-26 Don Breazeal <donb@codesourcery.com>
1072
1073 * gdb.base/foll-exec-2.c: New test program.
1074 * gdb.base/foll-exec-2.exp: New test.
1075
63e43d3a
PMR
10762015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1077
1078 * gdb.base/nested-subp1.exp: New file.
1079 * gdb.base/nested-subp1.c: New file.
1080 * gdb.base/nested-subp2.exp: New file.
1081 * gdb.base/nested-subp2.c: New file.
1082 * gdb.base/nested-subp3.exp: New file.
1083 * gdb.base/nested-subp3.c: New file.
1084
3d40fbb5
PA
10852015-08-24 Pedro Alves <palves@redhat.com>
1086
1087 * gdb.server/connect-without-multi-process.c: New file.
1088 * gdb.server/connect-without-multi-process.exp: New file.
1089
4422ac93
LM
10902015-08-24 Luis Machado <lgustavo@codesourcery.com>
1091
1092 * gdb.opt/inline-markers.c: Make z int.
1093
91dddb86
LM
10942015-08-24 Luis Machado <lgustavo@codesourcery.com>
1095
1096 * gdb.opt/inline-markers.c: Make z volatile.
1097
a48847ee
LM
10982015-08-24 Luis Machado <lgustavo@codesourcery.com>
1099
1100 * gdb.opt/inline-bt.c: New volatile global z.
1101 * gdb.opt/inline-cmds.c: Likewise.
1102 * gdb.opt/inline-locals.c: Likewise.
1103 * gdb.opt/inline-markers.c: New extern global z.
1104 (marker): Use z.
1105 (inline_fn): Likewise.
1106
0ebbc52b
PA
11072015-08-24 Pedro Alves <palves@redhat.com>
1108
1109 * config/m32r-stub.exp: Remove file.
1110 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1111 * gdb.base/call-rt-st.exp: Likewise.
1112 * gdb.base/call-strs.exp: Likewise.
1113 * gdb.base/default.exp: Remove references to h8300-*-hms and
1114 *-*-udi*.
1115 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1116
77c365df
AA
11172015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1118
1119 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1120 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1121 and "return" use KFAIL when GDB can not read/write the vector
1122 return value.
1123
4313b8c0
GB
11242015-08-21 Gary Benson <gbenson@redhat.com>
1125
1126 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1127
0e433b32
PA
11282015-08-20 Pedro Alves <palves@redhat.com>
1129
1130 * gdb.server/solib-list.exp: No longer expect an interior stop in
1131 non-stop mode.
1132
221e1a37
PA
11332015-08-20 Pedro Alves <palves@redhat.com>
1134
1135 * gdb.server/connect-stopped-target.c: New file.
1136 * gdb.server/connect-stopped-target.exp: New file.
1137
40e3ad0e
PA
11382015-08-20 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.dwarf2/comp-unit-lang.exp: New file.
1141 * gdb.dwarf2/comp-unit-lang.c: New file.
1142
af39b327
PMR
11432015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1144
1145 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1146 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1147
7d45c7c3 11482015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1149
7d45c7c3
KB
1150 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1151 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1152
4d6cceb4
DE
11532015-08-18 Doug Evans <dje@google.com>
1154 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1155
1156 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1157 skip_python_tests. New arg prompt_regexp.
1158 (skip_python_tests): New function.
1159 * lib/mi-support.exp (mi_skip_python_tests): New function.
1160 * gdb.python/py-mi-objfile-gdb.py: New file.
1161 * gdb.python/py-mi-objfile.c: New file.
1162 * gdb.python/py-mi-objfile.exp: New file.
1163
ad89c2aa
KS
11642015-08-17 Keith Seitz <keiths@redhat.com>
1165
1166 * gdb.linespec/explicit.exp: Move strace test from here ...
1167 * gdb.trace/strace.exp: ... to here.
1168
e3ae3c43
PP
11692015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1170
1171 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1172 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1173
604b2636
DE
11742015-08-14 Doug Evans <xdje42@gmail.com>
1175
1176 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1177 inferior before selecting a new file.
1178
6ff0ba5f
DE
11792015-08-14 Doug Evans <xdje42@gmail.com>
1180
1181 * gdb.mi/mi-disassemble.exp: Update.
1182 * gdb.base/disasm-optim.S: New file.
1183 * gdb.base/disasm-optim.c: New file.
1184 * gdb.base/disasm-optim.h: New file.
1185 * gdb.base/disasm-optim.exp: New file.
1186
9ca98f92
KS
11872015-08-14 Keith Seitz <keiths@redhat.com>
1188
1189 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1190 "evaluated-by".
1191
52bbc560
JB
11922015-08-13 Joel Brobecker <brobecker@adacore.com>
1193
1194 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1195
5d8c3ed3
PMR
11962015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1197
1198 * gdb.ada/fun_renaming.exp: New testcase.
1199 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1200 * gdb.ada/fun_renaming/pack.adb: New file.
1201 * gdb.ada/fun_renaming/pack.ads: New file.
1202
ea8812bc
KS
12032015-08-12 Keith Seitz <keiths@redhat.com>
1204
1205 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1206 gdb_get_line_number.
1207
4dafcdeb
JB
12082015-08-12 Joel Brobecker <brobecker@adacore.com>
1209
1210 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1211 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1212 gdb.base/dso2dso.exp: New files.
1213
5ba32597
SDJ
12142015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1215 Pedro Alves <palves@redhat.com>
1216 Keith Seitz <keiths@redhat.com>
1217
1218 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1219 GDBFLAGS.
1220
b6dafabf
PP
12212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1222
1223 * gdb.base/gdbhistsize-history.exp
1224 (test_histsize_history_setting): Use save_vars.
1225 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1226 Use save_vars.
1227 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1228 * gdb.base/readline.exp: Use save_vars.
1229
abe8e607
PP
12302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1231
1232 * lib/gdb.exp (save_vars): New proc.
1233
629500fa
KS
12342015-08-11 Keith Seitz <keiths@redhat.com>
1235
1236 * gdb.base/help.exp: Update help_breakpoint_text.
1237
eb8c4e2e
KS
12382015-08-11 Keith Seitz <keiths@redhat.com>
1239
1240 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1241 (at toplevel): Call test_explicit_breakpoints.
1242 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1243 breakpoints.
1244 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1245 breakpoint conditions, "-cond".
1246
87f0e720
KS
12472015-08-11 Keith Seitz <keiths@redhat.com>
1248
1249 * gdb.linespec/3explicit.c: New file.
1250 * gdb.linespec/cpexplicit.cc: New file.
1251 * gdb.linespec/cpexplicit.exp: New file.
1252 * gdb.linespec/explicit.c: New file.
1253 * gdb.linespec/explicit.exp: New file.
1254 * gdb.linespec/explicit2.c: New file.
1255 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1256 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1257 before using in the matching pattern.
1258 Clarify that `prefix' is a regular expression.
1259
f00aae0f
KS
12602015-08-11 Keith Seitz <keiths@redhat.com>
1261
1262 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1263 test.
1264 Add tests for missing ",FMT" and ",".
1265
e27852be
DE
12662015-08-10 Doug Evans <dje@google.com>
1267 Keith Seitz <keiths@redhat.com>
1268
1269 PR gdb/17960
1270 * gdb.base/completion.exp: Add location completer tests.
1271
7f03bd92
PA
12722015-08-07 Pedro Alves <palves@redhat.com>
1273
1274 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1275 tests here.
1276 (top level): Run do_test with and without displaced stepping.
1277
3fc8eb30
PA
12782015-08-07 Pedro Alves <palves@redhat.com>
1279
1280 * gdb.base/valgrind-disp-step.c: New file.
1281 * gdb.base/valgrind-disp-step.exp: New file.
1282
d4569d7b
PA
12832015-08-07 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1286 Delete function.
1287 (main): Add alarm. Run an infinite loop instead of calling
1288 wait_threads.
1289 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1290 comment.
1291 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1292 Delete function.
1293 (main): Add alarm. Run an infinite loop instead of calling
1294 wait_threads.
1295 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1296 comment.
1297
e1316e60
PA
12982015-08-07 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/checkpoint-ns.exp: New file.
1301 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1302 standard_testfile.
1303
da8c46d2
MM
13042015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1305
1306 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1307 * gdb.btrace/instruction_history.exp: Update.
1308 * gdb.btrace/tsx.exp: New.
1309 * gdb.btrace/tsx.c: New.
1310
de1c2c52
PA
13112015-08-06 Pedro Alves <palves@redhat.com>
1312
1313 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1314 increase timeout.
1315 * gdb.reverse/until-precsave.exp: Bump timeouts.
1316
782e0bf4
PA
13172015-08-06 Pedro Alves <palves@redhat.com>
1318
1319 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1320
83e97ed0
PA
13212015-08-06 Pedro Alves <palves@redhat.com>
1322
1323 PR gdb/18749
1324 * gdb.threads/process-dies-while-handling-bp.c: New file.
1325 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1326
863d01bd
PA
13272015-08-06 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1330 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1331
0a39bb32
PA
13322015-08-05 Pedro Alves <palves@redhat.com>
1333
1334 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1335 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1336
ee2d2b10
SL
13372015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1338
1339 * gdb.base/bp-permanent.exp: Report test as unsupported if
1340 the target cannot stop at the permanent breakpoint.
1341
4e1bdb00
DE
13422015-08-03 Doug Evans <dje@google.com>
1343
1344 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1345 10000.
1346
3d338901
DE
13472015-08-03 Doug Evans <dje@google.com>
1348
1349 * Makefile.in (workers/%.worker, build-perf): New rule.
1350 (GDB_PERFTEST_MODE): New variable.
1351 (check-perf): Use it.
1352 (clean): Clean up gdb.perf parallel build subdirs.
1353 * lib/build-piece.exp: New file.
1354 * lib/gdb.exp (make_gdb_parallel_path): New function
1355 (standard_output_file, standard_temp_file): Call it.
1356 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1357 of $GDB_PARALLEL.
1358 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1359
af061d3e
DE
13602015-08-03 Doug Evans <dje@google.com>
1361
8e1afc81 1362 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1363 (LOG_FILE_NAME): New global.
1364 (TextReporter.__init__): Initialize self.txt_sum.
1365 (TextReporter.report): Add support for multiple data-points.
1366 Move report to perftest.sum, put raw data in perftest.log.
1367 (TextReporter.start): Open sum and log files.
1368 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1369 * gdb.perf/lib/perftest/testresult.py
1370 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1371
2c8c5d37
PA
13722015-07-31 Pedro Alves <palves@redhat.com>
1373
1374 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1375 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1376 kill_wait_spawned_process instead of explicit "kill -9".
1377 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1378 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1379 kill_wait_spawned_process.
1380 * gdb.base/attach-twice.exp: Likewise.
1381 * gdb.base/attach.exp: Likewise.
1382 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1383 gdb_test_multiple.
1384 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1385 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1386 kill_wait_spawned_process.
1387 * gdb.base/valgrind-infcall.exp: Likewise.
1388 * gdb.multi/multi-attach.exp: Likewise.
1389 * gdb.python/py-prompt.exp: Likewise.
1390 * gdb.python/py-sync-interp.exp: Likewise.
1391 * gdb.server/ext-attach.exp: Likewise.
1392 * gdb.threads/attach-into-signal.exp (corefunc): Use
1393 spawn_wait_for_attach, spawn_id_get_pid and
1394 kill_wait_spawned_process.
1395 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1396 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1397 spawn_id_get_pid and kill_wait_spawned_process.
1398 * gdb.threads/attach-stopped.exp (corefunc): Use
1399 spawn_wait_for_attach, spawn_id_get_pid and
1400 kill_wait_spawned_process.
1401 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1402 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1403 kill_wait_spawned_process instead of explicit "kill -9".
1404 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1405 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1406 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1407 processes. Don't map cygwin/windows pids here. Now returns a
1408 spawn id list.
1409
032a0fca
SL
14102015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1411
1412 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1413 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1414 correct patch.
1415
61a934ca
SL
14162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1417
1418 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1419
4bc4d428
SL
14202015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1421
1422 Reapply:
1423 2014-05-21 Mark Wielaard <mjw@redhat.com>
1424
1425 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1426
998d452a
PA
14272015-07-30 Pedro Alves <palves@redhat.com>
1428
1429 * linux-low.c (handle_extended_wait): Set the child's last
1430 reported status to TARGET_WAITKIND_STOPPED.
1431
69dde7dc
PA
14322015-07-30 Pedro Alves <palves@redhat.com>
1433
1434 PR threads/18600
1435 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1436 only shows inferior 1.
1437
4dd63d48
PA
14382015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1439 Pedro Alves <palves@redhat.com>
1440
1441 PR threads/18600
1442 * gdb.threads/fork-plus-threads.c: New file.
1443 * gdb.threads/fork-plus-threads.exp: New file.
1444
d618e4c5
PP
14452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1446
1447 * gdb.base/batch-preserve-term-settings.exp
1448 (test_terminal_settings_preserved_after_cli_exit): Use
1449 send_quit_command.
1450
1eef6428
PA
14512015-07-29 Pedro Alves <palves@redhat.com>
1452 Don Breazeal <donb@codesourcery.com>
1453
1454 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1455 output from both inferior_spawn_id and gdb_spawn_id.
1456
7da5b897
SDJ
14572015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1458
1459 * gdb.threads/attach-into-signal.exp (corefunc): Use
1460 with_test_prefix on nested loops, uniquefying the test messages.
1461
dac804df
SDJ
14622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1463
1464 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1465 commit.
1466
06265e53
PP
14672015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1468
1469 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1470 New proc.
1471 (test_terminal_settings_preserved_after_sigterm): New test.
1472
18206ca3
PP
14732015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1474
1475 * gdb.base/batch-preserve-term-settings.exp
1476 (test_terminal_settings_preserved_after_cli_exit): New test.
1477
90074d11
PP
14782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1479
1480 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1481 manipulation of saved_gdbflags.
1482 (test_terminal_settings_preserved): Remove global declaration of
1483 the unused variable pagination_prompt. Remove manipulation of
1484 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1485 GDBFLAGS.
1486
eb1a7902
PA
14872015-07-29 Pedro Alves <palves@redhat.com>
1488
1489 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1490
8b75dd3b
PA
14912015-07-29 Pedro Alves <palves@redhat.com>
1492
1493 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1494 at the top.
1495
dedad4e3
PA
14962015-07-29 Pedro Alves <palves@redhat.com>
1497
1498 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1499 (main): Call gdb_unbuffer_output.
1500 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1501 (main): Call gdb_unbuffer_output.
1502 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1503 (main): Call gdb_unbuffer_output.
1504 * gdb.base/call-strs.exp: Adjust to step over the
1505 gdb_unbuffer_output call.
1506 * gdb.base/catch-gdb-caused-signals.c: Include
1507 "../lib/unbuffer_output.c".
1508 (main): Call gdb_unbuffer_output.
1509 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1510 (main): Call gdb_unbuffer_output.
1511 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1512 (main): Call gdb_unbuffer_output.
1513 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1514 (main): Call gdb_unbuffer_output.
1515 * gdb.base/shlib-call.exp: Adjust to step over the
1516 gdb_unbuffer_output call.
1517 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1518 (main): Call gdb_unbuffer_output.
1519 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1520 (main): Call gdb_unbuffer_output.
1521 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1522 (main): Rename to ...
1523 (test): ... this.
1524 (main): Reimplement.
1525 * gdb.base/varargs.exp: Run to test instead of to main.
1526 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1527 (main): Call gdb_unbuffer_output.
1528
58789a91
PA
15292015-07-29 Pedro Alves <palves@redhat.com>
1530
1531 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1532 factore out from mi_continue_dprintf. For call-style dprintfs,
1533 expect dprintf output out of $inferior_spawn_id.
1534 (mi_continue_dprintf): Use mi_expect_dprintf.
1535 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1536 (main): Call gdb_unbuffer_output.
1537
e8376742
PA
15382015-07-29 Pedro Alves <palves@redhat.com>
1539
1540 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1541 (default_mi_gdb_start): Set inferior_spawn_id instead of
1542 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1543 gdb_spawn_id.
1544 (mi_gdb_test): Always expect inferior output from both
1545 $inferior_spawn_id and $gdb_spawn_id.
1546
08280010
PA
15472015-07-29 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1550 send_inferior and $inferior_spawn_id.
1551
4d30e432
PA
15522015-07-29 Pedro Alves <palves@redhat.com>
1553
1554 * gdb.gdb/complaints.exp (test_initial_complaints)
1555 (test_serial_complaints, test_short_complaints): Use
1556 gdb_test_stdio.
1557 (test_empty_complaint): Handle $inferior_spawn_id !=
1558 $gdb_spawn_id.
1559
0d30a335
PA
15602015-07-29 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.base/varargs.exp: Use gdb_test_stdio.
1563
39413b29
PA
15642015-07-29 Pedro Alves <palves@redhat.com>
1565
1566 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1567
7cb000a9
PA
15682015-07-29 Pedro Alves <palves@redhat.com>
1569
1570 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1571
d7b8ac82
PA
15722015-07-29 Pedro Alves <palves@redhat.com>
1573
1574 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1575 parameter into two new parameters, "inf_result" and "gdb_result".
1576 Expect inferior output and gdb output from $inferior_spawn_id and
1577 $gdb_spawn_id, respectively. Adjust all callers.
1578
789c3a0c
PA
15792015-07-29 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1582 of gdb_test_sequence.
1583
77e760c3
PA
15842015-07-29 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1587 (saw_spurious_output): Expect inferior output from
1588 $inferior_spawn_id. Use gdb_test_stdio.
1589
8396d2cd
PA
15902015-07-29 Pedro Alves <palves@redhat.com>
1591
1592 * gdb.base/dprintf.exp: Use standard_testfile. Change
1593 prepare_for_testing call.
1594 (srcfile): Don't set.
1595 (restart): New procedure.
1596 (test_dprintf): New procecure, use to continue over dprintfs.
1597 (test_call, test_agent): New procedures, tests moved here.
1598 Restart gdb and recreate dprintfs. Adjust expected output.
1599
2051d61f
PA
16002015-07-29 Pedro Alves <palves@redhat.com>
1601
1602 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1603
452397af
PA
16042015-07-29 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1607
8aed9555
PA
16082015-07-29 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1611 gdb_test_stdio.
1612
188a61b4
PA
16132015-07-29 Pedro Alves <palves@redhat.com>
1614
1615 * lib/gdb.exp (gdb_test_stdio): New procedure.
1616
12264a45
PA
16172015-07-29 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1620
23ffc893
PA
16212015-07-29 Pedro Alves <palves@redhat.com>
1622
1623 * gdb.base/call-signal-resume.exp: Remove check for
1624 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1625 * gdb.base/unwindonsignal.exp: Likewise.
1626 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1627 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1628
65566918
PA
16292015-07-29 Pedro Alves <palves@redhat.com>
1630
1631 * gdb.base/siginfo-addr.c (pass): New function.
1632 (handler): Call it iff si_addr is correct.
1633 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1634 Set a breakpoint at "pass" and continue to it.
1635
d60a9221
SDJ
16362015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1637
1638 * gdb.python/py-objfile.exp: Make some tests have unique names.
1639 * gdb.python/py-pp-registration.exp: Likewise.
1640
bde40b8f
PA
16412015-07-28 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1644
13e1dec8
SM
16452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1646
1647 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1648
da33c9a7
SM
16492015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1650
1651 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1652
077836f7
PP
16532015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1654
1655 * gdb.base/gdb-sigterm-2.exp: New test.
1656
b8cc7b2e
DE
16572015-07-25 Doug Evans <xdje42@gmail.com>
1658
1659 Revert:
1660 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1661 (workers/%.worker, build-perf): New rule.
1662 (GDB_PERFTEST_MODE): New variable.
1663 (check-perf): Use it.
1664 (clean): Clean up gdb.perf parallel build subdirs.
1665 * lib/build-piece.exp: New file.
1666 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1667 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1668 name.
1669 (standard_temp_file): Ditto.
1670 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1671 of $GDB_PARALLEL.
1672
c8bd4544
DE
16732015-07-24 Doug Evans <dje@google.com>
1674
1675 * gdb.perf/lib/perftest/utils.py: New file.
1676 * gdb.perf/gm-hello.cc: New file.
1677 * gdb.perf/gm-pervasive-typedef.cc: New file.
1678 * gdb.perf/gm-pervasive-typedef.h: New file.
1679 * gdb.perf/gm-std.cc: New file.
1680 * gdb.perf/gm-std.h: New file.
1681 * gdb.perf/gm-use-cerr.cc: New file.
1682 * gdb.perf/gm-utils.h: New file.
1683 * gdb.perf/gmonster-null-lookup.py: New file.
1684 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1685 * gdb.perf/gmonster-print-cerr.py: New file.
1686 * gdb.perf/gmonster-ptype-string.py: New file.
1687 * gdb.perf/gmonster-runto-main.py: New file.
1688 * gdb.perf/gmonster-select-file.py: New file.
1689 * gdb.perf/gmonster1-null-lookup.exp: New file.
1690 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1691 * gdb.perf/gmonster1-print-cerr.exp: New file.
1692 * gdb.perf/gmonster1-ptype-string.exp: New file.
1693 * gdb.perf/gmonster1-runto-main.exp: New file.
1694 * gdb.perf/gmonster1-select-file.exp: New file.
1695 * gdb.perf/gmonster1.cc: New file.
1696 * gdb.perf/gmonster1.exp: New file.
1697 * gdb.perf/gmonster2-null-lookup.exp: New file.
1698 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1699 * gdb.perf/gmonster2-print-cerr.exp: New file.
1700 * gdb.perf/gmonster2-ptype-string.exp: New file.
1701 * gdb.perf/gmonster2-runto-main.exp: New file.
1702 * gdb.perf/gmonster2-select-file.exp: New file.
1703 * gdb.perf/gmonster2.cc: New file.
1704 * gdb.perf/gmonster2.exp: New file.
1705
6eab34f3
DE
17062015-07-24 Doug Evans <dje@google.com>
1707
1708 * gdb.perf/README: New file.
1709 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1710 * lib/gen-perf-test.exp: New file.
1711
63738bfd
DE
17122015-07-24 Doug Evans <dje@google.com>
1713
1714 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1715 (PerfTest::startup): New function.
1716 (PerfTest::run): Return result of calling body.
1717 (PerfTest::assemble): Rewrite.
1718 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1719 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1720 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1721 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1722 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1723
7b606f95
DE
17242015-07-24 Doug Evans <dje@google.com>
1725
1726 * lib/gdb.exp (clean_restart): Make executable optional.
1727
a97b16b8
DE
17282015-07-24 Doug Evans <dje@google.com>
1729
1730 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1731 compiler_info references.
1732 * gdb.cp/temargs.exp: Ditto.
1733 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1734 (get_compiler_info): Early exit if already computed. Set compiler_info
1735 to "unknown" if there was a problem.
1736 (test_compiler_info): Add function comment. Call get_compiler_info.
1737
35baa57f
DE
17382015-07-24 Doug Evans <dje@google.com>
1739
1740 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1741 (workers/%.worker, build-perf): New rule.
1742 (GDB_PERFTEST_MODE): New variable.
1743 (check-perf): Use it.
1744 (clean): Clean up gdb.perf parallel build subdirs.
1745 * lib/build-piece.exp: New file.
1746 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1747 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1748 name.
1749 (standard_temp_file): Ditto.
1750 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1751 of $GDB_PARALLEL.
1752
6ebea266
DE
17532015-07-24 Doug Evans <dje@google.com>
1754
1755 * lib/future.exp (gdb_default_target_compile): New option
1756 "early_flags".
1757 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1758 --as-needed.
1759
1e76a7e9
SDJ
17602015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1761
1762 * gdb.base/catch-syscall.exp: Call gdb_exit before
1763 gdb_skip_xml_test.
1764
5068630a
PA
17652015-07-24 Pedro Alves <palves@redhat.com>
1766
1767 * gdb.python/py-events.exp: Accept output between the stop event
1768 and the prompt.
1769 * gdb.python/py-evsignal.exp: Likewise.
1770 * gdb.python/py-evthreads.exp: Likewise.
1771
77598427
PA
17722015-07-24 Pedro Alves <palves@redhat.com>
1773
1774 PR gdb/18717
1775 * gdb.threads/non-ldr-exit.c: New file.
1776 * gdb.threads/non-ldr-exit.exp: New file.
1777
11e6c98f
YQ
17782015-07-24 Yao Qi <yao.qi@linaro.org>
1779
1780 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1781 restarting process.
1782
51aee833
YQ
17832015-07-24 Yao Qi <yao.qi@linaro.org>
1784
1785 * gdb.server/ext-restart.exp: New file.
1786
8cfe207c
YQ
17872015-07-24 Yao Qi <yao.qi@linaro.org>
1788
1789 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1790 argument options.
1791 * gdb.server/ext-wrapper.exp: New file.
1792
cc12ce38
DE
17932015-07-23 Doug Evans <dje@google.com>
1794
1795 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1796 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1797
d0d84780
PMR
17982015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1799
1800 * gdb.ada/var_arr_typedef.exp: New testcase.
1801 * gdb.ada/var_arr_typedef/pack.adb: New file.
1802 * gdb.ada/var_arr_typedef/pack.ads: New file.
1803 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1804
8b558f79
JB
18052015-07-20 Joel Brobecker <brobecker@adacore.com>
1806
1807 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1808
775a3298
JK
18092015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1810
1811 * gdb.arch/i386-biarch-core.exp: Replace istarget
1812 by "complete set gnutarget". Remove expectation for the "core-file"
1813 command.
1814
db1ff28b
JK
18152015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 Revert the previous commit:
1818 Tests for validate symbol file using build-id.
1819
0a94970d
JK
18202015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1821
1822 Tests for validate symbol file using build-id.
1823 * gdb.base/solib-mismatch-lib.c: New file.
1824 * gdb.base/solib-mismatch-libmod.c: New file.
1825 * gdb.base/solib-mismatch.c: New file.
1826 * gdb.base/solib-mismatch.exp: New file.
1827
03346981
SL
18282015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1829
1830 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1831 nios2-*-linux*.
1832 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1833 * gdb.base/siginfo.exp: Likewise.
1834 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1835
42422cc7
PL
18362015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1837
1838 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1839 Move it to ...
1840 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1841 ... here.
1842 * gdb.trace/range-stepping.exp: Check that the target supports
1843 range stepping.
1844
cfa68bae
JK
18452015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1846
1847 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1848
8ffdba26
PA
18492015-07-14 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.base/killed-outside.exp: New file.
1852 * gdb.base/killed-outside.c: New file.
1853
218a5a11
JK
18542015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1857 (n at main): New.
1858 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1859
e03ed3c6
AA
18602015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1861
1862 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1863 infcall tests instead of setting up for KFAIL.
1864
485668e5
MM
18652015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1866
1867 * gdb.btrace/record_goto-step.exp: New.
1868
08464196
JK
18692015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1870
1871 PR compile/18484
1872 * gdb.compile/compile.c (struct struct_type): Add volatile to
1873 selffield's type.
1874 * gdb.compile/compile.exp
1875 (compile code struct_object.selffield = &struct_object): Skip further
1876 struct_object tests if this one xfails.
1877
bcf5c1d9
RC
18782015-07-08 Robert O'Callahan <robert@ocallahan.org>
1879
1880 PR exp/18617
1881 * gdb.trace/ax.exp: Add test.
1882
4931af25
YQ
18832015-07-07 Yao Qi <yao.qi@linaro.org>
1884
1885 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1886 instead of istarget "aarch64*-*-*".
1887 * gdb.arch/aarch64-fp.exp: Likewise.
1888 * gdb.base/float.exp: Likewise.
1889 * gdb.reverse/aarch64.exp: Likewise.
1890 * lib/gdb.exp (is_aarch64_target): New proc.
1891
9fcf688e
YQ
18922015-07-07 Yao Qi <yao.qi@linaro.org>
1893
1894 * lib/gdb.exp (is_aarch32_target): New proc.
1895 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1896 instead of "istarget "arm*-*-*"".
1897 * gdb.arch/arm-disp-step.exp: Likewise.
1898 * gdb.arch/thumb-bx-pc.exp: Likewise.
1899 * gdb.arch/thumb-prologue.exp: Likewise.
1900 * gdb.arch/thumb-singlestep.exp: Likewise.
1901 * gdb.base/disp-step-syscall.exp: Likewise.
1902 * gdb.base/float.exp: Likewise.
1903
fbd8d50d
YQ
19042015-07-07 Yao Qi <yao.qi@linaro.org>
1905
1906 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1907 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1908
71be1fdc
YQ
19092015-07-07 Yao Qi <yao.qi@linaro.org>
1910
1911 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1912 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1913 if it exists.
1914 * gdb.multi/multi-arch.exp: Likewise.
1915
3e221d36
SM
19162015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1917
1918 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1919 print.
1920
d441430b
YQ
19212015-07-07 Yao Qi <yao.qi@linaro.org>
1922
1923 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1924
06f810bd
MG
19252015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1926
1927 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1928 '[' and ']' characters.
1929
5e61e7c0
IB
19302015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1931
1932 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1933
28bf096c
PA
19342015-06-29 Pedro Alves <palves@redhat.com>
1935
1936 PR threads/18127
1937 * gdb.threads/hand-call-new-thread.c: New file.
1938 * gdb.threads/hand-call-new-thread.c: New file.
1939
ee93cd5e
KS
19402015-06-26 Keith Seitz <keiths@redhat.com>
1941 Doug Evans <dje@google.com>
1942
1943 PR 16253
1944 * gdb.cp/var-tag-2.cc: New file.
1945 * gdb.cp/var-tag-3.cc: New file.
1946 * gdb.cp/var-tag-4.cc: New file.
1947 * gdb.cp/var-tag.cc: New file.
1948 * gdb.cp/var-tag.exp: New file.
1949
fc637f04
PP
19502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1951
1952 * gdb.base/history-duplicates.exp: New test.
1953
2e52ae68
PP
19542015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1955
1956 * gdb.base/completion.exp: Test the completion of the "focus"
1957 command.
1958
6e22494e
JK
19592015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1960
1961 * gdb.arch/amd64-prologue-skip.S: New file.
1962 * gdb.arch/amd64-prologue-skip.exp: New file.
1963
bf7b9cd9
SM
19642015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1965
1966 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1967 is_address_zero_readable check.
1968
201e8dfd
PB
19692015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1970
1971 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1972 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1973
5cd867b4
YQ
19742015-06-24 Yao Qi <yao.qi@linaro.org>
1975
1976 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1977 linux targets.
1978
4d7be007
YQ
19792015-06-24 Yao Qi <yao.qi@linaro.org>
1980
1981 * lib/gdb.exp (supports_get_siginfo_type): New proc.
1982 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
1983 * gdb.base/siginfo-thread.exp: Likewise.
1984
07fcd301
YQ
19852015-06-22 Yao Qi <yao.qi@linaro.org>
1986
1987 * boards/remote-gdbserver-on-localhost.exp: Add comments.
1988
52042a00
YQ
19892015-06-22 Yao Qi <yao.qi@linaro.org>
1990
1991 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
1992 aarch64*-*-*.
1993 (skip_hw_watchpoint_tests): Likewise.
1994
74bd41ce
PP
19952015-06-18 Patrick Palka <patrick@parcs.ath.cx>
1996
1997 * gdb.base/gdbinit-history.exp: Test the interaction between
1998 setting GDBHISTSIZE and setting the history size via .gdbinit.
1999
bc460514
PP
20002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2001
2002 PR gdb/16999
2003 * gdb.base/gdbhistsize-history.exp: New test.
2004
b58c513b
PP
20052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2006
2007 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2008 with GDBHISTSIZE.
2009 * gdb.base/readline.exp: Likewise.
2010
92046791
YQ
20112015-06-17 Yao Qi <yao.qi@linaro.org>
2012
2013 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2014 line.
2015
2093d2d3
PP
20162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2017
2018 * gdb.base/gdbinit-history.exp: Add test case to check that
2019 an unlimited history file does not get truncated on exit.
2020
e6c693af
AA
20212015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2022
2023 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2024 (VECTOR): New macro. Use it...
2025 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2026 ...for these typedefs.
2027 (int8, char1, int1, double1): New typedefs.
2028 (struct just_int2, struct two_int2): New structures.
2029 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2030 (add_structvecs, add_singlevecs): New functions.
2031 (main): Call add_some_intvecs twice.
2032 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2033 the compile and exit upon failure. Try compiling for the "native"
2034 architecture. Test inferior function calls with vector arguments
2035 and vector return value handling with "finish" and "return".
2036
c74f7d1c
JT
20372015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2038
2039 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2040 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2041 PE file.
2042 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2043
98aa42ee
AT
20442015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2045
2046 PR breakpoints/16465
2047 * gdb.mi/mi-dprintf-pending.c: New file.
2048 * gdb.mi/mi-dprintf-pending.exp: New test.
2049 * gdb.mi/mi-dprintf-pendshr.c: New file.
2050
7d73c23c 20512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2052 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2053
2054 * gdb.arch/i386-mpx-map.c: New file.
2055 * gdb.arch/i386-mpx-map.exp: New File.
2056
20572015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2058
2059 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2060 * gdb.arch/i386-mpx.exp: Indentation fixed.
2061
20622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2063
2064 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2065 function and improved indentation.
2066 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2067 gdb_test_multiple. Added additional tests to skip the test.
2068
20692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2070
2071 * gdb.arch/i386-avx512.c: Change path in include file.
2072 * gdb.arch/i386-avx512.exp: Change include dir path
2073 compilation flag.
2074 * gdb.arch/i386-mpx.c: Change path in include file.
2075 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2076 flag.
2077
d5eba19a
JK
20782015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2079
2080 * gdb.compile/compile-print.exp (compile print *vararray@3)
2081 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2082
7f361056
JK
20832015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2084
2085 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2086 (do not keep jit in memory): ... this.
2087 (expect 5): Change it to ...
2088 (expect no 5): ... this.
2089
3b462ec2
SM
20902015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2091
2092 PR gdb/15564
2093 * gdb.mi/mi-detach.exp: New file.
2094
e0619de6
JK
20952015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 PR symtab/18392
2098 * gdb.arch/amd64-tailcall-self.S: New file.
2099 * gdb.arch/amd64-tailcall-self.c: New file.
2100 * gdb.arch/amd64-tailcall-self.exp: New file.
2101
e970cb34
DB
21022015-05-28 Don Breazeal <donb@codesourcery.com>
2103
2104 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2105 tests for remote targets by checking is_target_gdbserver.
2106
b2e2f908
DE
21072015-05-27 Doug Evans <dje@google.com>
2108
2109 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2110 * gdb.dwarf2/opaque-type-lookup.c: New file.
2111 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2112
82c7be31
DE
21132015-05-26 Doug Evans <dje@google.com>
2114
2115 * gdb.cp/iostream.cc: New file.
2116 * gdb.cp/iostream.exp: New file.
2117
b4f54984
DE
21182015-05-26 Doug Evans <dje@google.com>
2119
2120 * gdb.dwarf2/dw2-op-call.exp: Update.
2121 * gdb.dwarf2/dw4-sig-types.exp: Update.
2122 * gdb.dwarf2/implptr.exp: Update.
2123 * gdb.mi/mi-cmd-param-changed.exp: Update.
2124
4ea6efe9
DE
21252015-05-26 Doug Evans <dje@google.com>
2126
2127 * gdb.python/py-lazy-string.c: New file.
2128 * gdb.python/py-lazy-string.exp: New file.
2129 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2130 (main): Update. Add estring3.
2131 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2132 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2133
f6bb7db3
YQ
21342015-05-26 Omair Javaid <omair.javaid@linaro.org>
2135 Yao Qi <yao.qi@linaro.org>
2136
2137 * gdb.reverse/aarch64.c: New.
2138 * gdb.reverse/aarch64.exp: New.
2139
a81bfbd0
OJ
21402015-05-26 Omair Javaid <omair.javaid@linaro.org>
2141
2142 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2143 (supports_reverse): Likewise.
2144
158bf1b4
PP
21452015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2146
2147 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2148 Use with_test_prefix.
2149
a0145030
AB
21502015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2151
2152 * gdb.base/completion.exp: Add test for completion of layout
2153 names.
2154
ebe3b578
AB
21552015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2156
2157 * lib/gdb.exp (skip_tui_tests): New proc.
2158 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2159
84204ed7
PA
21602015-05-19 Pedro Alves <palves@redhat.com>
2161
2162 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2163 Save the whole env array instead of just HOME. Unset HISTSIZE in
2164 the environment while testing. Restore whole environment
2165 afterwards.
2166
37442ce1
DE
21672015-05-16 Doug Evans <xdje42@gmail.com>
2168
2169 * gdb.guile/scm-ports.c: New file.
2170 * gdb.guile/scm-ports.exp: Add memory port tests.
2171
36de76f9
JK
21722015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2173
2174 * gdb.compile/compile-print.c: New file.
2175 * gdb.compile/compile-print.exp: New file.
2176
3a9558c4
JK
21772015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 * gdb.compile/compile-ops.exp: Cast param to void.
2180 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2181 (compile code struct_object.selffield = &struct_object): Add xfail.
2182
aa715135
JG
21832015-05-15 Joel Brobecker <brobecker@adacore.com>
2184
2185 * gdb.ada/arr_enum_with_gap: New testcase.
2186
931e5bc3
JG
21872015-05-15 Joel Brobecker <brobecker@adacore.com>
2188
2189 * gdb.ada/byte_packed_arr: New testcase.
2190
9cd4d857
JB
21912015-05-15 Joel Brobecker <brobecker@adacore.com>
2192
2193 * gdb.ada/pckd_neg: New testcase.
2194
ebfd00d2
PP
21952015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2196
2197 PR gdb/17820
2198 * gdb.base/gdbinit-history.exp: New test.
2199 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2200 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2201
4c082a81
SC
22022015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2203
2204 * gdb.python/py-xmethods.cc: Enhance test case.
2205 * gdb.python/py-xmethods.exp: New tests.
2206 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2207 function.
2208 (B_indexoper): Likewise.
2209 (global_dm_list) : Add new xmethod worker functions.
2210
f7797074
SDJ
22112015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2212
2213 * gdb.base/coredump-filter.exp: Correctly unset
2214 "coredump_var_addr" array.
2215
a4674e4e
PA
22162015-05-08 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.server/non-existing-program.exp: Unset spawn_id.
2219
df2eb078
SC
22202015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2221
2222 PR python/18291
2223 * gdb.python/py-xmethods.exp: Add tests.
2224
422349a3
YQ
22252015-05-08 Yao Qi <yao.qi@linaro.org>
2226
2227 PR gdb/18208
2228 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2229 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2230 function set_coredump_filter, and remove remote_exec call.
2231 Remove argument ipid. Callers update.
2232 (top level): Don't get inferior's PID.
2233
63fc80ce
AA
22342015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2235
2236 * gdb.base/watch_thread_num.exp: Skip test on targets without
2237 access watchpoints.
2238
80ad801e
PA
22392015-05-06 Pedro Alves <palves@redhat.com>
2240
2241 PR server/18081
2242 * gdb.server/non-existing-program.exp: New file.
2243
0fa7fe50
JB
22442015-05-05 Joel Brobecker <brobecker@adacore.com>
2245
2246 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2247
3ea89b92
PMR
22482015-05-05 Joel Brobecker <brobecker@adacore.com>
2249
2250 * gdb.ada/out_of_line_in_inlined: New testcase.
2251
87b8eff0
JB
22522015-05-05 Joel Brobecker <brobecker@adacore.com>
2253
2254 * gdb.ada/var_rec_arr: New testcase.
2255
5fccc635
YQ
22562015-04-30 Yao Qi <yao.qi@linaro.org>
2257
2258 * gdb.base/break-idempotent.exp: If
2259 skip_hw_watchpoint_multi_tests returns true, skip the tests
2260 on "rwatch" and "awatch".
2261
42d38f42
YQ
22622015-04-30 Yao Qi <yao.qi@linaro.org>
2263
2264 * gdb.base/relativedebug.exp: Invoke gdb command
2265 "info sharedlibrary", and if libc.so doesn't have debug info,
2266 skip the test.
2267
2ce1cdbf
DE
22682015-04-29 Doug Evans <dje@google.com>
2269
2270 * gdb.python/py-xmethods.exp: Add ptype tests.
2271 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2272 get_result_type method.
2273
f24a38c5
LM
22742015-04-29 Luis Machado <lgustavo@codesourcery.com>
2275
2276 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2277 the target does not support hardware watchpoints.
2278
ecbf2b3c
LM
22792015-04-29 Luis Machado <lgustavo@codesourcery.com>
2280
2281 * gdb.base/break-always.exp: Abort testing if writing to memory
2282 causes an error.
2283
34f5f757
DE
22842015-04-28 Doug Evans <dje@google.com>
2285
2286 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2287 * gdb.python/py-pp-registration.exp: ... here. New file.
2288 * gdb.python/py-pp-registration.c: New file.
2289 * gdb.python/py-pp-registration.py: New file.
2290
69b4374a
DE
22912015-04-28 Doug Evans <dje@google.com>
2292
2293 * gdb.python/py-bad-printers.c: New file.
2294 * gdb.python/py-bad-printers.py: New file.
2295 * gdb.python/py-bad-printers.exp: New file.
2296
59fb7612
SS
22972015-04-28 Sasha Smundak <asmundak@google.com>
2298
2299 * gdb.python/py-type.exp: New test.
2300
2631b16a
AW
23012015-04-28 Andy Wingo <wingo@igalia.com>
2302
2303 * gdb.python/py-parameter.exp:
2304 * gdb.guile/scm-parameter.exp: Escape the path that we are
2305 matching against, as it might contain characters that are special
2306 to regular expressions.
2307
460efde1
JB
23082015-04-27 Joel Brobecker <brobecker@adacore.com>
2309
2310 * gdb.ada/rec_comp: New testcase.
2311
2d369d8e
SDJ
23122015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2313
2314 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2315 before using it.
2316
cf75d6c3
AB
23172015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2318
2319 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2320 new tests for verilog output.
2321
8dbe7ca5
YQ
23222015-04-24 Yao Qi <yao.qi@linaro.org>
2323
2324 * boards/remote-gdbserver-on-localhost.exp: New file.
2325
4ef9fb2f
PA
23262015-04-23 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2329 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2330 "end of file", remove $inferior_spawn_id from the indirect list.
2331
0a803169
PA
23322015-04-23 Pedro Alves <palves@redhat.com>
2333
2334 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2335
749ef8f8
PA
23362015-04-23 Pedro Alves <palves@redhat.com>
2337
2338 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2339 on $any_spawn_id instead of only on $gdb_spawn_id.
2340
8aae4344
PM
23412015-04-21 Pierre Muller <muller@sourceware.org>
2342
2343 PR pascal/17815
2344 * lib/pascal.exp (gpc_compile): Add new option "class".
2345 (fpc_compile): Likewise.
2346 * gdb.pascal/case-insensitive-symbols.pas: New file.
2347 * gdb.pascal/case-insensitive-symbols.exp: New file.
2348
1586c8fb
GB
23492015-04-20 Gary Benson <gbenson@redhat.com>
2350
2351 * gdb.base/attach.exp: Fix three extended remote failures.
2352
1b6e6f5c
GB
23532015-04-17 Gary Benson <gbenson@redhat.com>
2354
2355 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2356 the main executable over the remote protocol.
2357
e797481d
PA
23582015-04-16 Pedro Alves <palves@redhat.com>
2359
2360 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2361 a new gdbserver if gdbserver_reconnect_p is set.
2362
1ca99c42
PA
23632015-04-16 Pedro Alves <palves@redhat.com>
2364
2365 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2366 is set, don't exit gdbserver.
2367
af9fd6f8
AA
23682015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2369
2370 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2371 appropriate .insn, such that an older assembler can be used.
2372 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2373 the z/Architecture instruction set on 31-bit targets as well.
2374
04ff1e61
AA
23752015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2376
2377 * gdb.go/handcall.exp: Remove all logic related to the first
2378 breakpoint and rely on go_runto_main instead.
2379 * gdb.go/strings.exp: Likewise.
2380 * gdb.go/unsafe.exp: Likewise.
2381 * gdb.go/hello.exp: Likewise. Also rename the remaining
2382 breakpoint marker to "breakpoint 1".
2383 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2384 * gdb.go/strings.go: Likewise.
2385 * gdb.go/unsafe.go: Likewise.
2386 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2387 "set breakpoint 2 here" and rename the remaining breakpoint marker
2388 to "breakpoint 1".
2389
40d2f8d6
SM
23902015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2391
2392 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2393 if itertools.imap is not present.
2394 * gdb.python/py-objfile.exp: Add parentheses.
2395 * gdb.python/py-type.exp: Same.
2396 * gdb.python/py-unwind-maint.py: Same.
2397
8cbc97c6
YQ
23982015-04-15 Yao Qi <yao.qi@linaro.org>
2399
2400 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2401 of ":$ptr_size" and set its form explicitly.
2402
45fd756c
YQ
24032015-04-15 Pedro Alves <palves@redhat.com>
2404 Yao Qi <yao.qi@linaro.org>
2405
2406 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2407 timeout by factor of 4.
2408 (test_regular_watch): Likewise.
2409 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2410 * gdb.reverse/sigall-reverse.exp: Likewise.
2411 * gdb.reverse/until-precsave.exp: Likewise.
2412 * lib/gdb.exp (with_timeout_factor): New proc.
2413 (gdb_expect): Move some code to ...
2414 (get_largest_timeout): ... here. New procedure.
2415
9e811bc3
LM
24162015-04-14 Luis Machado <lgustavo@codesourcery.com>
2417
2418 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2419
0ff6fcb2
LM
24202015-04-13 Luis Machado <lgustavo@codesourcery.com>
2421
2422 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2423 to write to the .text section.
2424
7578d5f7
LM
24252015-04-13 Luis Machado <lgustavo@codesourcery.com>
2426
2427 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2428 Handle the case of targets that do not provide PID information.
2429
2efe15c4
YQ
24302015-04-13 Yao Qi <yao.qi@linaro.org>
2431
2432 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2433 and use expect instead of gdb_expect.
2434
8cd8f2f8
SDJ
24352015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2436
2437 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2438 "coredump_var_addr" to avoid naming conflict with other testcases.
2439
9ee41772
PA
24402015-04-10 Pedro Alves <palves@redhat.com>
2441
2442 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2443 gdb_test_sequence and gdb_assert.
2444
07473109
PA
24452015-04-10 Pedro Alves <palves@redhat.com>
2446
2447 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2448 test messages that don't include the breakpoint address.
2449
de3db44c
YQ
24502015-04-10 Yao Qi <yao.qi@linaro.org>
2451
2452 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2453 false for some offset and width combinations which aren't
2454 supported by linux kernel.
2455
c79d856c
PA
24562015-04-10 Pedro Alves <palves@redhat.com>
2457
2458 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2459 procedure, factored out from ...
2460 (top level): ... here. Add "set displaced-stepping" testing axis.
2461 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2462 parameter "displaced". Use it.
2463 (top level): Use foreach and add "set displaced-stepping" testing
2464 axis.
2465
ebc90b50
PA
24662015-04-10 Pedro Alves <palves@redhat.com>
2467
2468 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2469 Remove comment.
2470 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2471 both the address of the instruction that triggers the watchpoint
2472 and the address of the instruction immediately after, and use
2473 those addresses for the test. Fix comment.
2474
8f572e5c
PA
24752015-04-10 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.base/sigstep.exp (breakpoint_to_handler)
2478 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2479 Test "backtrace" in handler.
2480 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2481 (top level): Add new "displaced" test axis to
2482 breakpoint_to_handler, breakpoint_to_handler_entry and
2483 breakpoint_over_handler.
2484
8d707a12
PA
24852015-04-10 Pedro Alves <palves@redhat.com>
2486
2487 PR gdb/18216
2488 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2489
ef713951
YQ
24902015-04-10 Yao Qi <yao.qi@linaro.org>
2491
2492 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2493 (test_add_rn_pc): New function.
2494 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2495 (top level): Invoke test_add_rn_pc.
2496
906d60cf
PA
24972015-04-10 Pedro Alves <palves@redhat.com>
2498
2499 PR gdb/13858
2500 * gdb.base/step-over-no-symbols.exp: New file.
2501
f2983cc3
AW
25022015-04-09 Andy Wingo <wingo@igalia.com>
2503
2504 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2505 after the Python tests.
2506
6d62641c
SDJ
25072015-04-08 Keith Seitz <keiths@redhat.com>
2508
2509 PR python/16699
2510 * gdb.python/py-completion.exp: New tests for completion.
2511 * gdb.python/py-completion.py (CompleteLimit1): New class.
2512 (CompleteLimit2): Likewise.
2513 (CompleteLimit3): Likewise.
2514 (CompleteLimit4): Likewise.
2515 (CompleteLimit5): Likewise.
2516 (CompleteLimit6): Likewise.
2517 (CompleteLimit7): Likewise.
2518
f3770638
PA
25192015-04-08 Pedro Alves <palves@redhat.com>
2520
2521 PR gdb/18214
2522 PR gdb/18216
2523 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2524 function.
2525 (main): Install it as SIGUSR1 handler.
2526 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2527 parameter. Always use "setup" as prefix. Toggle "set
2528 displaced-stepping" off/on depending on global. Don't switch to
2529 thread 1 here.
2530 (top level): Add displaced stepping "off/on" test axis. Update
2531 "setup" calls. Wrap each subtest with with_test_prefix. Test
2532 continuing with a queued signal in each thread.
2533
4496bed7
PA
25342015-04-08 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2537 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2538 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2539 Return early if running to main fails.
2540 * gdb.trace/while-stepping.exp: Likewise.
2541
b97fde92
PA
25422015-04-07 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2545 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2546 interact with inferior program.
2547
f71c18e7
PA
25482015-04-07 Pedro Alves <palves@redhat.com>
2549
2550 * lib/gdb.exp (inferior_spawn_id): New global.
2551 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2552 spawn id after processing the user code.
2553 (default_gdb_start): Set inferior_spawn_id.
2554 (send_inferior): New procedure.
2555 * lib/gdbserver-support.exp (gdbserver_start): Set
2556 inferior_spawn_id.
2557 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2558
6423214f
PA
25592015-04-07 Pedro Alves <palves@redhat.com>
2560
2561 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2562 * lib/gdbserver-support.exp (gdbserver_start): Make
2563 $server_spawn_id global.
2564 (gdbserver_start): Don't wait for gdbserver's spawn id with
2565 expect_background.
2566 (close_gdbserver): New procedure.
2567 (gdb_exit): Rename the default version and reimplement.
2568
71c0ee8c
PA
25692015-04-07 Pedro Alves <palves@redhat.com>
2570
72f4393d 2571 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2572 append the substituted item, not the original item.
2573
203bc29b
PA
25742015-04-07 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2577 gdb_expect.
2578
508a3ddf
PA
25792015-04-07 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2582 output appearing once only.
2583
9f6dbe2b
PA
25842015-04-07 Pedro Alves <palves@redhat.com>
2585
2586 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2587 that doesn't expect anything. Return early if running to main
2588 fails.
2589
337532fa
YQ
25902015-04-07 Yao Qi <yao.qi@linaro.org>
2591
2592 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2593 (child_function): Call alarm.
2594 (main): Move call to alarm into the loop.
2595 * gdb.threads/non-stop-fair-events.exp: Build program with
2596 -DTIMEOUT=$timeout.
2597
01b622d4
DE
25982015-04-06 Doug Evans <xdje42@gmail.com>
2599
2600 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2601 Fix dest parameter to board_info.
2602 (fpc_compile): Ditto.
2603 (gdb_compile_pascal): Rename dest arg to destfile.
2604
961f4160
PMR
26052015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2606
2607 * gdb.ada/funcall_ref.exp: New file.
2608 * gdb.ada/funcall_ref/foo.adb: New file.
2609
cafda597
YQ
26102015-04-02 Yao Qi <yao.qi@linaro.org>
2611
2612 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2613 is remote.
2614
fed040c6
GB
26152015-04-02 Gary Benson <gbenson@redhat.com>
2616
2617 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2618
d11916aa
SS
26192015-04-01 Sasha Smundak <asmundak@google.com>
2620
2621 * gdb.python/py-unwind-maint.c: New file.
2622 * gdb.python/py-unwind-maint.exp: New test.
2623 * gdb.python/py-unwind-maint.py: New file.
2624 * gdb.python/py-unwind.c: New file.
2625 * gdb.python/py-unwind.exp: New test.
2626 * gdb.python/py-unwind.py: New test.
2627
a1471180
PA
26282015-04-01 Pedro Alves <palves@redhat.com>
2629
2630 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2631 to fail instead of non-existent $test.
2632
0bbeccb1
PA
26332015-04-01 Pedro Alves <palves@redhat.com>
2634
2635 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2636 GDBFLAGS if not empty.
2637
3c724c8c
PMR
26382015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2639
2640 * gdb.ada/complete.exp: Remove "multi_line".
2641 * gdb.ada/info_exc.exp: Remove "multi_line".
2642 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2643 * gdb.ada/ptype_field.exp: Remove "multi_line".
2644 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2645 * gdb.ada/tagged.exp: Remove "multi_line".
2646 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2647 [multi_line ...]
2648 * gdb.btrace/delta.exp: Likewise.
2649 * gdb.btrace/exception.exp: Likewise.
2650 * gdb.btrace/function_call_history.exp: Likewise.
2651 * gdb.btrace/instruction_history.exp: Likewise.
2652 * gdb.btrace/nohist.exp: Likewise.
2653 * gdb.btrace/record_goto.exp: Likewise.
2654 * gdb.btrace/segv.exp: Likewise.
2655 * gdb.btrace/stepi.exp: Likewise.
2656 * gdb.btrace/tailcall.exp: Likewise.
2657 * gdb.btrace/unknown_functions.exp: Likewise.
2658 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2659 * lib/gdb.exp: Add the "multi_line" helper.
2660
4eec2deb
PA
26612015-04-01 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.threads/tid-reuse.c: New file.
2664 * gdb.threads/tid-reuse.exp: New file.
2665
df8411da
SDJ
26662015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2667
2668 PR corefiles/16092
2669 * gdb.base/coredump-filter.c: New file.
2670 * gdb.base/coredump-filter.exp: Likewise.
2671
6ef37366
PM
26722015-03-27 Petr Machata <pmachata@redhat.com>
2673
2674 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2675 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2676 (Dwarf::assemble): Initialize them.
2677 (Dwarf::lines): New function.
2678
7ec911b0
JT
26792015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2680
2681 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2682 SYMBOL_PREFIX for x86_64-*-cygwin.
2683
ff908ebf
AW
26842015-03-26 Andy Wingo <wingo@igalia.com>
2685
2686 PR symtab/18148
2687 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2688 const_value but not a location.
2689 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2690 location defined in non-main CUs are visible.
2691
6d5f0679
YQ
26922015-03-26 Yao Qi <yao.qi@linaro.org>
2693
2694 PR testsuite/18139
2695 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2696 Add a line number entry for the same line.
2697 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2698 Add a line number entry for the same line.
2699
2898689b
YQ
27002015-03-26 Yao Qi <yao.qi@linaro.org>
2701
2702 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2703 .int 0.
2704 (func): Likewise. Add .Lfunc_1 label.
2705 Use .Lfunc_1 label.
2706 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2707 .int 0.
2708 (func): Likewise.
2709 Use .Lfunc_1 label.
2710
85180498
YQ
27112015-03-26 Yao Qi <yao.qi@linaro.org>
2712
2713 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2714 Call gdb_compile instead to compile each .s files without debug
2715 information.
2716
8aa08a8d
YQ
27172015-03-26 Yao Qi <yao.qi@linaro.org>
2718
2719 * gdb.base/savedregs.exp (process_saved_regs): Make
2720 "Saved registers:" optional in the pattern.
2721
66849923
MM
27222015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2723
2724 * gdb.btrace/next.exp: Merged into step.exp.
2725 * gdb.btrace/finish.exp: Merged into step.exp.
2726 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2727 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2728 "record goto" and checking the exact replay position.
2729 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2730 check for "Recording format" in "info record" output.
2731 * gdb.btrace/record_goto.exp: Choose test file based on target.
2732 * gdb.btrace/x86-record_goto.S: Renamed into ...
2733 * gdb.btrace/x86_64-record_goto.S: ... this.
2734 * gdb.btrace/i686-record_goto.S: New.
2735 * gdb.btrace/x86-tailcall.S: Renamed into ...
2736 * gdb.btrace/x86_64-tailcall.S: ... this.
2737 * gdb.btrace/i686-tailcall.S: New.
2738 * gdb.btrace/x86-tailcall.c: Renamed into ...
2739 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2740 separate statements. Update test.
2741 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2742 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2743 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2744 * gdb.btrace/tailcall.exp: Choose test file based on target.
2745 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2746
11cc1b74
MM
27472015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2748
2749 * gdb.btrace/exception.exp: Increase BTS buffer size.
2750
a25d8bf9
PA
27512015-03-24 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2754
856e7dd6
PA
27552015-03-24 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.threads/schedlock.exp (test_step): No longer expect that
2758 "set scheduler-locking step" with "next" over a function call runs
2759 threads unlocked.
2760
ad235a41
AT
27612015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2762
2763 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2764
15630549
AT
27652015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2766
2767 PR breakpoints/16466
2768 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2769 * gdb.mi/mi-pending.c (thread_func): New function.
2770 (int main): Add threading support required.
2771 * gdb.mi/mi-pending.exp: Add tests for this issue.
2772 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2773 (pendfunc2): Remove stdio dependency.
2774 * gdb.mi/mi-pendshr2.c: New file.
2775
693dca06
KS
27762015-03-23 Keith Seitz <keiths@redhat.com>
2777
2778 * gdb.linespec/keywords.c: New file.
2779 * gdb.linespec/keywords.exp: New file.
2780
7e993ebf
KS
27812015-03-23 Keith Seitz <keiths@redhat.com>
2782
2783 PR gdb/18021
2784 * gdb.dwarf2/staticvirtual.exp: New test.
2785
bc23328c
JK
27862015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2787
2788 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2789 * README: Remove HP-UX and gdb.hp.
2790 (configuration):
2791 * configure: Regenerate.
2792 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2793 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2794 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2795 gdb.hp/gdb.defects/Makefile.
2796 * gdb.hp/Makefile.in: File deleted.
2797 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2798 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2799 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2800 * gdb.hp/gdb.aCC/run.c: File deleted.
2801 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2802 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2803 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2804 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2805 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2806 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2807 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2808 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2809 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2810 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2811 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2812 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2813 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2814 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2815 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2816 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2817 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2818 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2819 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2820 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2821 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2822 * gdb.hp/gdb.compat/average.c: File deleted.
2823 * gdb.hp/gdb.compat/sum.c: File deleted.
2824 * gdb.hp/gdb.compat/xdb.c: File deleted.
2825 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2826 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2827 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2828 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2829 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2830 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2831 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2832 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2833 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2834 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2835 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2836 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2837 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2838 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2839 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2840 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2841 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2842 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2843 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2844 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2845 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2846 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2847 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2848 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2849 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2850 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2851 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2852 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2853 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2854 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2855 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2856 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2857 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2858 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2859 * gdb.hp/tools/odump: File deleted.
2860
8bf3b159
PA
28612015-03-19 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2864 (saw_thread_3): New globals.
2865 (top level): Increment them when an event for the corresponding
2866 thread is seen.
2867 (no thread starvation): New test.
2868
eb54c8bf
PA
28692015-03-19 Pedro Alves <palves@redhat.com>
2870
2871 * gdb.threads/continue-pending-status.c: New file.
2872 * gdb.threads/continue-pending-status.exp: New file.
2873
32d2e5d6
PA
28742015-03-18 Pedro Alves <palves@redhat.com>
2875
2876 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2877 Use gdb_is_target_remote instead of is_remote. Use
2878 gdb_test_multiple instead of gdb_expect. Exit early if
2879 gdb_test_multiple hits its internal matches. Tighten stepi tests
2880 expected output. Fail on exit with any signal, instead of just
2881 SIGILL.
2882
f68f11b7
YQ
28832015-03-18 Yao Qi <yao.qi@linaro.org>
2884
2885 PR tdep/18107
2886 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2887 variable.
2888 * gdb.base/catch-syscall.exp: Don't skip it on
2889 aarch64*-*-linux* target. Remove elements in all_syscalls.
2890 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2891 target.
2892 (setup_all_syscalls): New proc.
2893
ca5fd19b
YQ
28942015-03-16 Yao Qi <yao.qi@linaro.org>
2895
2896 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2897 (top level): Skip tests if valid_addr_p returns false for
2898 $cmd1 or $cmd2.
2899
85642ba0
AW
29002015-03-11 Andy Wingo <wingo@igalia.com>
2901
2902 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2903
e03f9645
YQ
29042015-03-11 Yao Qi <yao.qi@linaro.org>
2905
2906 * gdb.base/catch-syscall.exp: Fix typo in comments.
2907
5d0962b2
YQ
29082015-03-11 Yao Qi <yao.qi@linaro.org>
2909
2910 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2911
b2df3cef
PA
29122015-03-09 Pedro Alves <palves@redhat.com>
2913
2914 * dg-extract-results.py: Delete.
2915
ef878e53
PA
29162015-03-09 Pedro Alves <palves@redhat.com>
2917
2918 Merge dg-extract-results.sh from GCC upstream (r218843).
2919
2920 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2921 * dg-extract-results.sh: Use --text with grep to avoid issues with
2922 binary files. Fall back to cat -v, if that doesn't work.
2923
9494d219
PA
29242015-03-05 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2927
a8d9763a
SM
29282015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2929
2930 * lib/mi-support.exp (mi_expect_interrupt): Accept
2931 alternative event for when in all-stop mode.
2932
be9957b8
PA
29332015-03-04 Pedro Alves <palves@redhat.com>
2934
2935 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2936
d57be0f4 29372015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2938
2939 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2940
c214c7cf
AA
29412015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2942
2943 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2944 regexps for GDB's current line display, accept a hex address
2945 preceding the line number.
2946
6d74a497
AA
29472015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2948
2949 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2950 the 'arch1' variable for "s390*-linux*" targets.
2951
511aee7c
PA
29522015-03-04 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2955 (main): Pass missing retval argument to pthread_join call.
2956
95e50b27
PA
29572015-03-02 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2960 (top level): Call do_test with non-stop as well.
2961
28054d69
PA
29622015-03-02 Pedro Alves <palves@redhat.com>
2963
2964 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2965 -1.
2966
4fa5d7b4
AA
29672015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2968
2969 * gdb.arch/s390-vregs.exp: New test.
2970 * gdb.arch/s390-vregs.S: New file.
2971
97c18565
PA
29722015-02-27 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2975 call to catch_command_errors.
2976 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2977 catch_command_errors.
2978
a37bfa30
PA
29792015-02-27 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
2982 "true" for boolean result.
2983 * gdb.gdb/selftest.exp (test_with_self): Also accept full
2984 prototype of main.
2985
6f98576f
PA
29862015-02-27 Pedro Alves <palves@redhat.com>
2987
2988 * lib/unbuffer_output.c: New file.
2989 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
2990 (main): Call gdb_unbuffer_output.
2991
eba5ab56
YQ
29922015-02-27 Yao Qi <yao.qi@linaro.org>
2993
2994 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
2995 target.
2996
0def5aaa
DE
29972015-02-26 Doug Evans <dje@google.com>
2998
2999 * gdb.cp/class2.cc (Dbase, D): New classes.
3000 (main): New local delta.
3001 * gdb.cp/class2.exp: Test printing delta.
3002 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3003 (dynbar): New global.
3004 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3005
081a1c2c
JK
30062015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3007
3008 * gdb.compile/compile-ifunc.c: New file.
3009 * gdb.compile/compile-ifunc.exp: New file.
3010
2f41223f
AT
30112015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3012
3013 * gdb.base/structs.exp: Check for correct struct on finish.
3014
03eddd80
YQ
30152015-02-26 Yao Qi <yao.qi@linaro.org>
3016
3017 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3018 is zero.
3019
80c57053
JK
30202015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3021
3022 * gdb.arch/cordic.ko.bz2: New file.
3023 * gdb.arch/cordic.ko.debug.bz2: New file.
3024 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3025
21613c12
YQ
30262015-02-25 Yao Qi <yao.qi@linaro.org>
3027
3028 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3029 aarch64*-*-* target.
3030
d8b901ed
PA
30312015-02-23 Pedro Alves <palves@redhat.com>
3032
3033 * lib/gdb.exp (delete_breakpoints): Rewrite using
3034 gdb_test_multiple.
3035
e5b85ead
PA
30362015-02-23 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.base/info-os.c: Include stdlib.h.
3039
85c3a371
DE
30402015-02-22 Doug Evans <xdje42@gmail.com>
3041
3042 PR symtab/17855
3043 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3044 is read after symbols have been re-read.
3045 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3046 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3047
96553a0c
DE
30482015-02-21 Doug Evans <dje@google.com>
3049
3050 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3051
97a0c697
JK
30522015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3053
3054 PR corefiles/17808
3055 * gdb.arch/i386-biarch-core.core.bz2: New file.
3056 * gdb.arch/i386-biarch-core.exp: New file.
3057
a47cd6e9
PA
30582015-02-21 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3061 runto_main fails.
3062
c5facdc4
PA
30632015-02-20 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3066 info probes.
3067
2db9a427
PA
30682015-02-20 Pedro Alves <palves@redhat.com>
3069
3070 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3071
60fb7e9e
PA
30722015-02-20 Pedro Alves <palves@redhat.com>
3073
3074 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3075 clean_restart before gdb_target_supports_trace.
3076
5c5019c2
PA
30772015-02-20 Pedro Alves <palves@redhat.com>
3078
3079 PR threads/18006
3080 * gdb.threads/clone-thread_db.c: New file.
3081 * gdb.threads/clone-thread_db.exp: New file.
3082
c9587f88
AT
30832015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3084
3085 PR breakpoints/16812
3086 * gdb.base/catch-gdb-caused-signals.c: New file.
3087 * gdb.base/catch-gdb-caused-signals.exp: New file.
3088
f6a88844
JM
30892015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3090
3091 * configure: Regenerated.
3092 * configure.ac: Use GDB_AC_TRANSFORM.
3093 * aclocal.m4: sinclude ../transform.m4.
3094
497c491b
JM
30952015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3096
3097 * lib/dtrace.exp: New file.
3098 * gdb.base/dtrace-probe.exp: Likewise.
3099 * gdb.base/dtrace-probe.d: Likewise.
3100 * gdb.base/dtrace-probe.c: Likewise.
3101 * lib/pdtrace.in: Likewise.
3102 * configure.ac: Output variables with the transformed names of
3103 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3104 * configure: Regenerated.
3105
03e98035
JM
31062015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3107
3108 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3109 expected message when trying to access $_probe_* convenience
3110 variables while not on a probe.
3111
63cc30e9
JK
31122015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3113
3114 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3115
0703599a
PA
31162015-02-11 Pedro Alves <pedro@codesourcery.com>
3117
3118 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3119 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3120
7e60a48e
DE
31212015-02-10 Doug Evans <xdje42@gmail.com>
3122
3123 * lib/gdb.exp (gdb_load): Always return a result.
3124
01b088bc
PA
31252015-02-10 Pedro Alves <palves@redhat.com>
3126
3127 * gdb.threads/signal-sigtrap.c: New file.
3128 * gdb.threads/signal-sigtrap.exp: New file.
3129
b05ec7a5
AT
31302015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3131
3132 * gdb.trace/no-attach-trace.c: New file.
3133 * gdb.trace/no-attach-trace.exp: New file.
3134
a2c2acaf
MW
31352015-02-09 Mark Wielaard <mjw@redhat.com>
3136
3137 * gdb.dwarf2/atomic.c: New file.
3138 * gdb.dwarf2/atomic-type.exp: Likewise.
3139
31fd9caa
MM
31402015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3141
3142 * gdb.btrace/buffer-size.exp: Update "info record" output.
3143 * gdb.btrace/delta.exp: Update "info record" output.
3144 * gdb.btrace/enable.exp: Update "info record" output.
3145 * gdb.btrace/finish.exp: Update "info record" output.
3146 * gdb.btrace/instruction_history.exp: Update "info record" output.
3147 * gdb.btrace/next.exp: Update "info record" output.
3148 * gdb.btrace/nexti.exp: Update "info record" output.
3149 * gdb.btrace/step.exp: Update "info record" output.
3150 * gdb.btrace/stepi.exp: Update "info record" output.
3151 * gdb.btrace/nohist.exp: Update "info record" output.
3152
d33501a5
MM
31532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3154
3155 * gdb.btrace/buffer-size: New.
3156
f4abbc16
MM
31572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3158
3159 * gdb.btrace/delta.exp: Update "info record" output.
3160 * gdb.btrace/enable.exp: Update "info record" output.
3161 * gdb.btrace/finish.exp: Update "info record" output.
3162 * gdb.btrace/instruction_history.exp: Update "info record" output.
3163 * gdb.btrace/next.exp: Update "info record" output.
3164 * gdb.btrace/nexti.exp: Update "info record" output.
3165 * gdb.btrace/step.exp: Update "info record" output.
3166 * gdb.btrace/stepi.exp: Update "info record" output.
3167 * gdb.btrace/nohist.exp: Update "info record" output.
3168
b9d61307
SM
31692015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3170
3171 PR gdb/15678
3172 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3173
e584fdbc
PA
31742015-02-06 Pedro Alves <palves@redhat.com>
3175
3176 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3177 macro.
3178 (seconds_left, again): New globals.
3179 (main): Wait seconds_left in a 1-second sleep loop instead of
3180 sleeping 180 seconds. If 'again' is set, reset the seconds
3181 counter.
3182 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3183 'again' in the inferior before detaching. Print the seconds left.
3184 (options): New global.
3185 (top level): Build program with -DTIMEOUT=$timeout.
3186
77f41761
PA
31872015-02-06 Pedro Alves <palves@redhat.com>
3188
3189 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3190 determine how many seconds to pass to 'alarm'.
3191 * gdb.base/gdb-sigterm.exp (top level): Build program with
3192 -DTIMEOUT=$timeout.
3193 (do_test): Return success/failure indication. Add more verbose
3194 logging. Don't fail if 200 single steps are seen. Instead, fail
3195 when the test times out.
3196 (passes): New global.
3197 (top level): Break the testing loop if testing fails on any
3198 iteration. Use gdb_assert.
3199
b9394193
DB
32002015-02-04 Don Breazeal <donb@codesourcery.com>
3201
3202 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3203 and initialize them.
3204 (ipc_cleanup): New function.
3205 (main): Don't declare shmid, semid, and msqid. Add a call to
3206 atexit so that we call ipc_cleanup on exit.
3207
42d9e528
PA
32082015-02-04 Pedro Alves <palves@redhat.com>
3209
3210 * boards/native-extended-gdbserver.exp: Remove any target variant
3211 specifications from the board name before clearing the isremote
3212 flag from board_info.
3213
ae6ae975
DE
32142015-01-31 Doug Evans <xdje42@gmail.com>
3215
3216 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3217
cfb069a8
GB
32182015-01-31 Gary Benson <gbenson@redhat.com>
3219
3220 * gdb.base/completion.exp: Disable completion limiting for
3221 existing tests. Add new tests to check completion limiting.
3222 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3223
5dd31d79
DE
32242015-01-31 Doug Evans <xdje42@gmail.com>
3225
3226 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3227
9f050062
DE
32282015-01-31 Doug Evans <xdje42@gmail.com>
3229
3230 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3231 entries. Duplicate file section script entries.
3232 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3233 inlined entries. Add test for safe-path rejection.
3234 * gdb.python/py-section-script.c: Add duplicate inlined section script
3235 entries. Duplicate file section script entries.
3236 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3237 inlined entries. Add test for safe-path rejection.
3238
df25ebbd
JB
32392015-01-29 Joel Brobecker <brobecker@adacore.com>
3240
3241 * gdb.ada/disc_arr_bound: New testcase.
3242
4a0ca9ec
JB
32432015-01-29 Joel Brobecker <brobecker@adacore.com>
3244
3245 * gdb.ada/mi_var_array: New testcase.
3246
3a8b707a
DE
32472015-01-27 Doug Evans <dje@google.com>
3248
3249 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3250 Add test for objfile.filename, objfile.username after objfile
3251 has been unloaded.
3252
f8313f6e
JB
32532015-01-26 Joel Brobecker <brobecker@adacore.com>
3254
3255 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3256 the second test to print the name attribute of value
3257 returned by the call to gdb.lookup_type, and adjust
3258 the expected output accordingly.
3259
37bc665e
MW
32602015-01-25 Mark Wielaard <mjw@redhat.com>
3261
3262 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3263 * gdb.base/disp-step-fork.c: Include unistd.h.
3264 * gdb.base/siginfo-obj.c: Include stdio.h.
3265 * gdb.base/siginfo-thread.c: Likewise.
3266 * gdb.mi/non-stop.c: Include unistd.h.
3267 * gdb.mi/nsthrexec.c: Include stdio.h.
3268 * gdb.mi/pthreads.c: Include unistd.h.
3269 * gdb.modula2/unbounded1.c (main): Declare returns int.
3270 * gdb.reverse/consecutive-reverse.c: Likewise.
3271 * gdb.threads/create-fail.c: Include unistd.h.
3272 * gdb.threads/killed.c: Likewise.
3273 * gdb.threads/linux-dp.c: Likewise.
3274 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3275 * gdb.threads/non-ldr-exc-2.c: Likewise.
3276 * gdb.threads/non-ldr-exc-3.c: Likewise.
3277 * gdb.threads/non-ldr-exc-4.c: Likewise.
3278 * gdb.threads/pthreads.c: Include unistd.h.
3279 (main): Declare returns int.
3280 * gdb.threads/tls-main.c (foo): New declaration.
3281 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3282
f7e5394d
SM
32832015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3284
3285 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3286 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3287
743649fd
MW
32882015-01-15 Mark Wielaard <mjw@redhat.com>
3289
3290 * gdb.base/noreturn-return.c: New file.
3291 * gdb.base/noreturn-return.exp: New file.
3292 * gdb.base/noreturn-finish.c: New file.
3293 * gdb.base/noreturn-finish.exp: New file.
3294
198297aa
PA
32952015-01-23 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.threads/continue-pending-after-query.c: New file.
3298 * gdb.threads/continue-pending-after-query.exp: New file.
3299
717cf30c
AG
33002015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3301 Simon Marchi <simon.marchi@ericsson.com>
3302
3303 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3304 * gdb.base/valgrind-db-attach.exp: Same.
3305 * gdb.base/valgrind-infcall.exp: Same.
3306 * lib/mi-support.exp (default_mi_gdb_start): Same.
3307 * lib/prompt.exp (default_prompt_gdb_start): Same.
3308 * lib/gdb.exp (default_gdb_spawn): Same.
3309 (gdb_interact): New.
3310
3311
4b62a76e
JK
33122015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.compile/compile.exp (pointer to jit function): New test.
3315
b4cdae6f
WW
33162015-01-17 Wei-cheng Wang <cole945@gmail.com>
3317
3318 * lib/gdb.exp (supports_process_record): Return true for
3319 powerpc*-*-linux*.
3320 (supports_reverse): Likewise.
3321
d221e7ef
DB
33222015-01-15 Don Breazeal <donb@codesourcery.com>
3323
3324 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3325 instead of checking whether the target board is remote and
3326 use spawn_wait_for_attach instead of exec/sleep.
3327 * gdb.base/attach-twice.exp: Likewise.
3328
bafffb51
JB
33292015-01-15 Joel Brobecker <brobecker@adacore.com>
3330
3331 * gdb.ada/var_arr_attrs: New testcase.
3332
5589af0e
PA
33332015-01-14 Pedro Alves <palves@redhat.com>
3334 Joel Brobecker <brobecker@adacore.com>
3335
3336 PR gdb/17525
3337 * gdb.base/bp-cmds-execution-x-script.c: New file.
3338 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3339 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3340
6c400b59
PA
33412015-01-14 Pedro Alves <palves@redhat.com>
3342
3343 PR cli/17828
3344 * gdb.base/batch-preserve-term-settings.c: New file.
3345 * gdb.base/batch-preserve-term-settings.exp: New file.
3346
e02c96a7
DE
33472015-01-13 Doug Evans <dje@google.com>
3348
3349 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3350 binary.
3351
576fd14c
JB
33522015-01-13 Joel Brobecker <brobecker@adacore.com>
3353
3354 * Makefile.in (clean mostlyclean): Do not delete *.py.
3355
04dccad0
JB
33562015-01-13 Joel Brobecker <brobecker@adacore.com>
3357
3358 * gdb.python/py-lookup-type.exp: New file.
3359
3d230f71
PA
33602015-01-12 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3363 restore GDBFLAGS before returning.
3364
7e67715d
JK
33652015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3366
3367 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3368 is_amd64_regs_target and is_x86_like_target.
3369
f2e0d4b4
DE
33702015-01-11 Doug Evans <xdje42@gmail.com>
3371
3372 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3373 is given without an explicit form.
3374 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3375 attributes.
3376 * gdb.dwarf/corrupt.exp: Ditto.
3377 * gdb.dwarf2/enum-type.exp: Ditto.
3378 * gdb.trace/entry-values.exp: Ditto.
3379 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3380
439250fb
DE
33812015-01-11 Doug Evans <xdje42@gmail.com>
3382
3383 PR gdb/15830
3384 * gdb.base/maint.exp: Remove references to "maint demangle".
3385 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3386 Add tests for explicitly specifying language to demangle.
3387 * gdb.dlang/demangle.exp: Ditto.
3388
ede9f622
PA
33892015-01-09 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.threads/non-stop-fair-events.c: New file.
3392 * gdb.threads/non-stop-fair-events.exp: New file.
3393
a7b796db
PA
33942015-01-09 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3397 the global scope. Set a breakpoint after all threads are started
3398 rather than stepping over two source lines. Expect the prompt.
3399 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3400 global.
3401 (NUM): Now 15.
3402 (main): Use threads_started_barrier to wait for all threads to
3403 start. Main thread no longer calls thread_function. Exit after
3404 180 seconds.
3405 (loop): New function.
3406 (thread_function): Wait on threads_started_barrier barrier. Call
3407 'loop' at each iteration.
3408 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3409 threads have started, instead of hardcoding number of "next"
3410 steps. Use an access watchpoint instead of a write watchpoint.
3411
9665ffdd
PA
34122015-01-09 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3415 (thread_func): Wait on barrier.
3416 (main): Wait for all threads to start before stopping GDB.
3417 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3418 global.
3419 (thread1_func, thread2_func): Wait on barrier.
3420 (main): Wait for all threads to start before stopping GDB.
3421 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3422 New global.
3423 (thread1_func, thread2_func): Wait on barrier.
3424 (main): Wait for all threads to start before stopping GDB.
3425
c945a99f
PA
34262015-01-09 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.threads/attach-many-short-lived-threads.c: New file.
3429 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3430
c1a747c1
PA
34312014-01-09 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3434 instead of to thread 2.
3435 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3436 Add barrier around each pthread_create call instead of around all
3437 calls.
3438 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3439 Set a break on thread_function and have the child threads hit it
3440 one at at a time.
3441
60b3033e
PA
34422015-01-09 Pedro Alves <palves@redhat.com>
3443
3444 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3445 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3446 false.
3447 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3448 checking whether the target board is remote.
3449 * gdb.multi/multi-attach.exp: Likewise.
3450 * gdb.python/py-sync-interp.exp: Likewise.
3451 * gdb.server/ext-attach.exp: Likewise.
3452 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3453 tests that need to attach, instead of checking whether the target
3454 board is remote at the top of the file.
3455
acc018ac
YQ
34562015-01-08 Yao Qi <yao@codesourcery.com>
3457
3458 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3459
50a18af8
JK
34602015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3461
3462 Fix testcase compilation.
3463 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3464
8503d6e1
JB
34652015-01-06 Joel Brobecker <brobecker@adacore.com>
3466
3467 * gdb.python/py-type.exp: Add a couple test about empty
3468 array creation, and negative-length array creation.
3469
cc73dbcc
DE
34702015-01-02 Doug Evans <xdje42@gmail.com>
3471
3472 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3473
0300bbc7
DE
34742015-01-02 Doug Evans <dje@google.com>
3475
3476 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3477
9d85a0ec
YQ
34782014-12-29 Yao Qi <yao@codesourcery.com>
3479
3480 * gdb.trace/entry-values.exp: Update comments. Rename variable
3481 bar_call_foo to returned_from_foo.
3482
87186c6a
MMN
34832014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3484
3485 PR gdb/17394
3486 * gdb.linespec/break-asm-file.c: New file.
3487 * gdb.linespec/break-asm-file.exp: New file.
3488 * gdb.linespec/break-asm-file0.s: New file.
3489 * gdb.linespec/break-asm-file1.s: New file.
3490
1bab7383
YQ
34912014-12-18 Nigel Stephens <nigel@mips.com>
3492 Maciej W. Rozycki <macro@codesourcery.com>
3493
3494 * gdb.base/float.exp: Handle the new output from "info float" on
3495 MIPS targets.
3496
1bc1068a
JK
34972014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 Fix MinGW compilation.
3500 * gdb.compile/compile-ops.exp: Update untested message if
3501 !skip_compile_feature_tests.
3502 * gdb.compile/compile-setjmp.exp: Likewise.
3503 * gdb.compile/compile-tls.exp: Likewise.
3504 * gdb.compile/compile.exp: Likewise.
3505 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3506 supported on this host".
3507
b6615d10
DE
35082014-12-16 Doug Evans <xdje42@gmail.com>
3509
3510 * boards/stabs.exp: New file.
3511
25dda427
AA
35122014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3513
3514 * gdb.base/completion.exp: Adjust to format changes of "maint
3515 print user-registers".
3516
bf330350
CU
35172014-12-16 Catalin Udma <catalin.udma@freescale.com>
3518
3519 PR server/17457
3520 * gdb.arch/aarch64-fp.c: New file.
3521 * gdb.arch/aarch64-fp.exp: New file.
3522
395cf596
SDJ
35232014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3524
3525 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3526 r210637, r210913, r211666, r215400, r215817).
3527
3528 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3529 * dg-extract-results.py: New file.
3530 * dg-extract-results.sh: Use it if the environment seems
3531 suitable.
3532
3533 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3534
3535 * dg-extract-results.py (parse_run): Handle warnings that
3536 are printed before a test harness is run.
3537
3538 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3539
3540 * dg-extract-results.py (Named): Remove __cmp__ method.
3541 (output_variation): Use a key to sort variation.harnesses.
3542
3543 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3544
3545 * dg-extract-results.py: For Python 3, force sys.stdout to
3546 handle surrogate escape sequences.
3547 (safe_open): New function.
3548 (output_segment, main): Use it.
3549
3550 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3551
3552 * dg-extract-results.py (Prog.result_re): Include options
3553 in test name.
3554
3555 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3556
3557 * dg-extract-results.py (output_variation): Always sort if
3558 do_sum.
3559
e882ef3c
SM
35602014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3561
3562 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3563 as long as we get pagination notifications.
3564
4992aa20
JM
35652014-12-15 Jason Merrill <jason@redhat.com>
3566
3567 * Makefile.in (check-gdb.%): Restore.
3568 * README: Mention it.
3569
c1b5a1a6
JB
35702014-12-13 Joel Brobecker <brobecker@adacore.com>
3571
3572 * gdb.ada/str_uninit: New testcase.
3573
5537b577
JK
35742014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3575
3576 PR symtab/17642
3577 * gdb.base/vla-stub-define.c: New file.
3578 * gdb.base/vla-stub.c: New file.
3579 * gdb.base/vla-stub.exp: New file.
3580
bb2ec1b3
TT
35812014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3582 Jan Kratochvil <jan.kratochvil@redhat.com>
3583 Tom Tromey <tromey@redhat.com>
3584
3585 * configure.ac: Add gdb.compile/.
3586 * configure: Regenerate.
3587 * gdb.compile/Makefile.in: New file.
3588 * gdb.compile/compile-ops.exp: New file.
3589 * gdb.compile/compile-ops.c: New file.
3590 * gdb.compile/compile-tls.c: New file.
3591 * gdb.compile/compile-tls.exp: New file.
3592 * gdb.compile/compile-constvar.S: New file.
3593 * gdb.compile/compile-constvar.c: New file.
3594 * gdb.compile/compile-mod.c: New file.
3595 * gdb.compile/compile-nodebug.c: New file.
3596 * gdb.compile/compile-setjmp-mod.c: New file.
3597 * gdb.compile/compile-setjmp.c: New file.
3598 * gdb.compile/compile-setjmp.exp: New file.
3599 * gdb.compile/compile-shlib.c: New file.
3600 * gdb.compile/compile.c: New file.
3601 * gdb.compile/compile.exp: New file.
3602 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3603
4ff709eb
TT
36042014-12-12 Tom Tromey <tromey@redhat.com>
3605
3606 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3607 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3608
6dddd6a5
DE
36092014-12-12 Doug Evans <dje@google.com>
3610
3611 * lib/gdb-python.exp (get_python_valueof): New function.
3612 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3613
71c24708
AA
36142014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3615
3616 * gdb.base/completion.exp: Add test for completion of "info
3617 registers ".
3618
3e29f34a
MR
36192014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3620
3621 * gdb.base/func-ptrs.c: New file.
3622 * gdb.base/func-ptrs.exp: New file.
3623
fc126975
SM
36242014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3625
3626 PR breakpoints/17012
3627 * gdb.base/dprintf-detach.c: New file.
3628 * gdb.base/dprintf-detach.exp: New file.
3629
0a46d518
SM
36302014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3631
3632 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3633 * lib/gdb.exp (target_is_gdbserver): New procedure.
3634
a0be3e44
DE
36352014-12-08 Doug Evans <dje@google.com>
3636
3637 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3638
df1b803a
YQ
36392014-12-05 Yao Qi <yao@codesourcery.com>
3640
3641 * gdb.guile/scm-error.exp: Remove the third argument to
3642 gdb_remote_download.
3643 * gdb.guile/scm-frame-args.exp: Likewise.
3644 * gdb.guile/scm-section-script.exp: Likewise.
3645
ddb9f679
YQ
36462014-12-05 Yao Qi <yao@codesourcery.com>
3647
3648 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3649
86e4ed39
DE
36502014-12-04 Doug Evans <dje@google.com>
3651
3652 * gdb.python/py-objfile.exp: Add tests for
3653 objfile.add_separate_debug_file.
3654
7c50a931
DE
36552014-12-04 Doug Evans <dje@google.com>
3656
3657 * lib/gdb.exp (get_build_id): New function.
3658 (build_id_debug_filename_get): Rewrite to use it.
3659 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3660
621661e3
MR
36612014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3662
3663 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3664 `method(long)', not just 0x0.
3665 * gdb.cp/nsalias.exp: Align code labels to 4.
3666 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3667 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3668 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3669 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3670 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3671 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3672
29f0c3b7
DE
36732014-12-02 Doug Evans <dje@google.com>
3674
e1e061e7 3675 PR symtab/17602
29f0c3b7 3676 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3677 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3678 * gdb.cp/anon-ns.exp: Update.
3679
162078c8
NB
36802014-12-02 Nick Bull <nicholaspbull@gmail.com>
3681
3682 * gdb.python/py-events.py (inferior_call_handler): New.
3683 (register_changed_handler, memory_changed_handler): New.
3684 (test_events.invoke): Register new handlers.
3685 * gdb.python/py-events.exp: Add tests for inferior call,
3686 memory_changed and register_changed events.
3687
fdb09caf
AA
36882014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3689
3690 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3691 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3692 if the linker doesn't understand this.
3693
55cfb2c4
SM
36942014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3695
3696 * gdb.python/python.exp: Change expected reply to help().
3697
9e8cd6df
YQ
36982014-12-01 Yao Qi <yao@codesourcery.com>
3699
3700 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3701 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3702 * configure: Re-generated.
3703
6c659fc2
SC
37042014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3705
3706 * gdb.cp/chained-calls.cc: New file.
3707 * gdb.cp/chained-calls.exp: New file.
3708 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3709
d7fc3181
SM
37102014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3711
3712 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3713 * gdb.dwarf2/symtab-producer.exp: Same.
3714 * gdb.gdb/python-interrupts.exp: Same.
3715 * gdb.gdb/python-selftest.exp: Same.
3716 * gdb.python/py-linetable.exp: Same.
3717 * gdb.python/py-type.exp: Same.
3718 * gdb.python/py-value-cc.exp: Same.
3719 * gdb.python/py-value.exp: Same.
3720
10e79639
YQ
37212014-11-28 Yao Qi <yao@codesourcery.com>
3722
3723 * gdb.base/break-probes.exp: Match library name prefixed with
3724 sysroot.
3725
f28a0564
SM
37262014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3727
3728 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3729 test expected output. Add parentheses for the call to print.
3730 Remove L suffix from integers.
3731
3fe1ce1d
DE
37322014-11-26 Doug Evans <dje@google.com>
3733
3734 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3735
84429e27
YQ
37362014-11-22 Yao Qi <yao@codesourcery.com>
3737
3738 * gdb.trace/entry-values.c: Remove asms.
3739 (foo): Add foo_label.
3740 (bar): Add bar_label.
3741 * gdb.trace/entry-values.exp: Remove code computing foo's
3742 length and bar's length.
3743 (Dwarf::assemble): Invoke function_range for bar and use
3744 MACRO_AT_func for foo.
3745
26741859
YQ
37462014-11-22 Yao Qi <yao@codesourcery.com>
3747
3748 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3749 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3750 Use .Lgcc43_procstart instead of gcc43.
3751
45e44d27
JB
37522014-11-21 Joel Brobecker <brobecker@adacore.com>
3753
3754 * gdb.ada/n_arr_bound: New testcase.
3755
458c8db8
SDJ
37562014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3757
3758 PR breakpoints/10737
3759 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3760 test_catch_syscall_multi_arch.
3761 (test_catch_syscall_multi_arch): New function.
3762
43f3e411
DE
37632014-11-20 Doug Evans <xdje42@gmail.com>
3764
3765 * gdb.base/maint.exp: Update expected output.
3766
0d7b2549
AA
37672014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3768
3769 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3770 4-byte instruction on S390.
3771
8908fca5
JB
37722014-11-19 Joel Brobecker <brobecker@adacore.com>
3773
3774 * gdb.ada/arr_arr: New testcase.
3775
4a46959e
JB
37762014-11-19 Joel Brobecker <brobecker@adacore.com>
3777
3778 * gdb.ada/pkd_arr_elem: New Testcase.
3779
470e2f4e
LM
37802014-11-18 Luis Machado <lgustavo@codesourcery.com>
3781
3782 * gdb.reverse/break-precsave: Expect completion message for
3783 core file reads.
3784 * gdb.reverse/consecutive-precsave.exp: Likewise.
3785 * gdb.reverse/finish-precsave.exp: Likewise.
3786 * gdb.reverse/i386-precsave.exp: Likewise.
3787 * gdb.reverse/machinestate-precsave.exp: Likewise.
3788 * gdb.reverse/sigall-precsave.exp: Likewise.
3789 * gdb.reverse/solib-precsave.exp: Likewise.
3790 * gdb.reverse/step-precsave.exp: Likewise.
3791 * gdb.reverse/until-precsave.exp: Likewise.
3792 * gdb.reverse/watch-precsave.exp: Likewise.
3793
a267f3ad
AA
37942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3795
3796 * gdb.base/bp-permanent.c: Include unistd.h.
3797 * gdb.python/py-framefilter-mi.c (main): Add return type.
3798 * gdb.python/py-framefilter.c (main): Likewise.
3799 * gdb.trace/actions-changed.c (main): Likewise.
3800
12084a9a
AA
38012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3802
3803 * gdb.mi/until.c: Add eye-catchers.
3804 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3805 line numbers.
3806
dc7e1a77
AA
38072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3808
3809 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3810 function header variants in break1.c.
3811 * gdb.base/ena-dis-br.exp: Likewise.
3812 * gdb.base/hbreak2.exp: Likewise.
3813 * gdb.reverse/until-precsave.exp: Drop references to removed
3814 non-prototype function header variants in ur1.c.
3815 * gdb.reverse/until-reverse.exp: Likewise.
3816
41c77605
PM
38172014-11-17 Petr Machata <pmachata@redhat.com>
3818
3819 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3820 ${_cu_offset_size} bytes abbrev offset.
3821
34248c3a
DE
38222014-11-15 Doug Evans <xdje42@gmail.com>
3823
3824 PR symtab/17559
3825 * gdb.base/line-symtabs.exp: New file.
3826 * gdb.base/line-symtabs.c: New file.
3827 * gdb.base/line-symtabs.h: New file.
3828
646da059
YQ
38292014-11-14 Yao Qi <yao@codesourcery.com>
3830
3831 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3832 (func): Add label func_label.
3833 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3834 Replace low_pc and high_pc with MACRO_AT_range.
3835 Replace name, low_pc and high_pc with MACRO_AT_func.
3836
9301ebe6
YQ
38372014-11-14 Yao Qi <yao@codesourcery.com>
3838
3839 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3840 Replace name, low_pc and high_pc with MACRO_AT_func.
3841
f166b542
YQ
38422014-11-14 Yao Qi <yao@codesourcery.com>
3843
3844 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3845 produce debug information.
3846 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3847
0f6e71e3
YQ
38482014-11-14 Yao Qi <yao@codesourcery.com>
3849
3850 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3851 object and get function length.
3852 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3853 with MACRO_AT_func.
3854 (top-level): Replace gdb_compile and clean_restart with
3855 prepare_for_testing.
3856 * gdb.dwarf2/main.c (main): Add label main_label.
3857
876c4df9
YQ
38582014-11-14 Yao Qi <yao@codesourcery.com>
3859
3860 * lib/dwarf.exp (function_range): New procedure.
3861 (Dwarf::_handle_macro_at_func): New procedure.
3862 (Dwarf::_handle_macro_at_range): New procedure.
3863 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3864
02ad9cf1
YQ
38652014-11-14 Yao Qi <yao@codesourcery.com>
3866
3867 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3868 (_handle_attribute): New procedure.
3869
a59add0c
AA
38702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3871
3872 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3873 * gdb.base/call-sc.c (zed): Likewise.
3874 * gdb.base/checkpoint.c (main): Likewise.
3875 * gdb.base/dump.c (main): Likewise.
3876 * gdb.base/gcore.c (main): Likewise.
3877 * gdb.base/huge.c (main): Likewise.
3878 * gdb.base/multi-forks.c (main): Likewise.
3879 * gdb.base/pr10179-a.c (main): Likewise.
3880 * gdb.base/savedregs.c (main): Likewise.
3881 * gdb.base/sigaltstack.c (main): Likewise.
3882 * gdb.base/siginfo.c (main): Likewise.
3883 * gdb.base/structs.c (zed): Likewise.
3884 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3885 * gdb.mi/mi-syn-frame.c (main): Likewise.
3886 * gdb.mi/until.c (foo, main): Likewise.
3887 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3888 * gdb.base/solib-weak.c (foo): Declare.
3889 * gdb.base/attach-twice.c: Include stdio.h.
3890 * gdb.base/weaklib1.c: Likewise.
3891 * gdb.base/weaklib2.c: Likewise.
3892 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3893 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3894 unistd.h.
3895 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3896 * gdb.mi/mi-exit-code.c: Likewise.
3897 * gdb.base/break-interp-lib.c: Include string.h.
3898 * gdb.base/coremaker.c: Likewise.
3899 * gdb.base/testenv.c: Likewise.
3900 * gdb.python/py-finish-breakpoint.c: Likewise.
3901 * gdb.base/inferior-died.c: Include sys/wait.h.
3902 * gdb.base/fileio.c: Include time.h.
3903 * gdb.base/async-shell.c: Include unistd.h.
3904 * gdb.base/dprintf-non-stop.c: Likewise.
3905 * gdb.base/info-os.c: Likewise.
3906 * gdb.mi/mi-console.c: Likewise.
3907 * gdb.mi/watch-nonstop.c: Likewise.
3908 * gdb.python/py-events.c: Likewise.
3909 * gdb.base/async.c (baz): Move up before its invocation.
3910 * gdb.base/code_elim2.c (my_global_func): Likewise.
3911 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3912 * gdb.base/advance.c (func2): Likewise.
3913
3b5d5997
AA
39142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3915
3916 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3917 variant.
3918 * gdb.base/annota3.c: Likewise.
3919 * gdb.base/async.c: Likewise.
3920 * gdb.base/average.c: Likewise.
3921 * gdb.base/call-ar-st.c: Likewise.
3922 * gdb.base/call-rt-st.c: Likewise.
3923 * gdb.base/call-sc.c: Likewise.
3924 * gdb.base/call-strs.c: Likewise.
3925 * gdb.base/ending-run.c: Likewise.
3926 * gdb.base/execd-prog.c: Likewise.
3927 * gdb.base/exprs.c: Likewise.
3928 * gdb.base/foll-exec.c: Likewise.
3929 * gdb.base/foll-fork.c: Likewise.
3930 * gdb.base/foll-vfork.c: Likewise.
3931 * gdb.base/funcargs.c: Likewise.
3932 * gdb.base/gcore.c: Likewise.
3933 * gdb.base/jump.c: Likewise.
3934 * gdb.base/langs0.c: Likewise.
3935 * gdb.base/langs1.c: Likewise.
3936 * gdb.base/langs2.c: Likewise.
3937 * gdb.base/mips_pro.c: Likewise.
3938 * gdb.base/nodebug.c: Likewise.
3939 * gdb.base/opaque0.c: Likewise.
3940 * gdb.base/opaque1.c: Likewise.
3941 * gdb.base/recurse.c: Likewise.
3942 * gdb.base/run.c: Likewise.
3943 * gdb.base/scope0.c: Likewise.
3944 * gdb.base/scope1.c: Likewise.
3945 * gdb.base/setshow.c: Likewise.
3946 * gdb.base/setvar.c: Likewise.
3947 * gdb.base/shmain.c: Likewise.
3948 * gdb.base/shr1.c: Likewise.
3949 * gdb.base/shr2.c: Likewise.
3950 * gdb.base/sigall.c: Likewise.
3951 * gdb.base/signals.c: Likewise.
3952 * gdb.base/so-indr-cl.c: Likewise.
3953 * gdb.base/solib2.c: Likewise.
3954 * gdb.base/structs.c: Likewise.
3955 * gdb.base/sum.c: Likewise.
3956 * gdb.base/vforked-prog.c: Likewise.
3957 * gdb.base/watchpoint.c: Likewise.
3958 * gdb.reverse/shr2.c: Likewise.
3959 * gdb.reverse/until-reverse.c: Likewise.
3960 * gdb.reverse/ur1.c: Likewise.
3961 * gdb.reverse/watch-reverse.c: Likewise.
3962
066a77c5
AA
39632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3964
3965 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3966 variant.
3967 * gdb.base/sepdebug.exp: Drop references to removed code.
3968
4f204ea5
AA
39692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3970
3971 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3972 variant. Preserve original line numbering.
3973 * gdb.base/list1.c: Likewise.
3974
3b377a3a
AA
39752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3976
3977 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3978 variant.
3979 * gdb.base/break1.c: Likewise.
3980 * gdb.base/break.exp: Drop references to removed code.
3981
e444df73
AA
39822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3983
3984 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
3985 variant.
3986
8008f2a7
AA
39872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3988
3989 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
3990
a5a06887
AA
39912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3992
3993 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
3994 logic into perform_all_tests() and invoke it with and without
3995 function header prototypes.
3996 (do_function_calls): Remove conditional XFAIL for PR 5318.
3997 (rerun_and_prepare): Remove duplicate code.
3998 (perform_all_tests): New. Main logic moved here.
3999
44dba9b9
AA
40002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4001
4002 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4003 code guarded by #ifdef NO_PROTOTYPES.
4004 (t_double_many_args): Likewise.
4005 (DEF_FUNC_MANY_ARGS_1): Likewise.
4006 (DEF_FUNC_VALUES_1): Likewise.
4007 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4008 guarded by #ifdef PROTOTYPES.
4009
d1fbcd56
AA
40102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4011
4012 * gdb.mi/mi-console.c: Add eye-catcher.
4013 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4014 instead of literal line number.
4015
b0e59b8f
AA
40162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4017
4018 * gdb.base/shr2.c: Add eye-catcher.
4019 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4020 line number.
4021
78f98cca
AA
40222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4023
4024 * gdb.base/jump.c: Add eye-catchers.
4025 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4026 numbers.
4027
58fa2af0
AA
40282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4029
4030 * gdb.base/execd-prog.c: Add eye-catchers.
4031 * gdb.base/foll-exec.c: Likewise.
4032 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4033 line numbers.
4034
04e5059b
AA
40352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4036
4037 * gdb.base/ending-run.c: Add eye-catchers.
4038 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4039 literal line numbers.
4040
dbfdb174
AA
40412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4042
4043 * gdb.base/call-rt-st.c: Add eye-catchers.
4044 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4045 literal line numbers.
4046
888a2ade
AA
40472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4048
4049 * gdb.base/call-ar-st.c: Add eye-catchers.
4050 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4051 literal line numbers.
4052
6acc2dde
AA
40532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4054
4055 * gdb.base/average.c: Add eye-catchers.
4056 * gdb.base/sum.c: Likewise.
4057 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4058 regexps dynamically.
4059
9ecfcd1d
AA
40602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4061
4062 * gdb.base/solib1.c: Add eye-catchers.
4063 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4064 literal line numbers.
4065
78708b7c
PA
40662014-11-12 Pedro Alves <palves@redhat.com>
4067
4068 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4069 leader has exited.
4070
af48d08f
PA
40712014-11-12 Pedro Alves <palves@redhat.com>
4072
4073 * gdb.arch/i386-bp_permanent.c: New file.
4074 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4075 (srcfile): Set to i386-bp_permanent.c.
4076 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4077 that stepi does not execute the 'leave' instruction, instead of
4078 testing it does execute.
4079 * gdb.base/bp-permanent.c: New file.
4080 * gdb.base/bp-permanent.exp: New file.
4081
af3768e9
DE
40822014-11-10 Doug Evans <xdje42@gmail.com>
4083
4084 PR symtab/17564
4085 * gdb.base/symtab-search-order.exp: New file.
4086 * gdb.base/symtab-search-order.c: New file.
4087 * gdb.base/symtab-search-order-1.c: New file.
4088 * gdb.base/symtab-search-order-shlib-1.c: New file.
4089
9de00a4a
PA
40902014-11-07 Pedro Alves <palves@redhat.com>
4091
4092 PR gdb/17511
4093 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4094 i?86-*-linux*.
4095
e0f52461
SC
40962014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4097
4098 PR c++/17494
4099 * gdb.cp/pr17494.cc: New file.
4100 * gdb.cp/pr17494.exp: New file.
4101
6ce8c980
YQ
41022014-11-02 Yao Qi <yao@codesourcery.com>
4103
4104 * gdb.python/python.exp: Get working directory and match the
4105 output of "set extended-prompt \\w " with it.
4106
02be9a71
DE
41072014-10-30 Doug Evans <dje@google.com>
4108
4109 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4110 in objfiles.
4111 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4112 in progspaces.
4113
3bdff46b
LM
41142014-10-30 Janis Johnson <janisjo@codesourcery.com>
4115
4116 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4117 * gdb.base/realname-expand.exp: Likewise.
4118 * gdb.linespec/macro-relative.exp: Likewise.
4119
ab917dfb
PA
41202014-10-29 Pedro Alves <palves@redhat.com>
4121
4122 PR gdb/17408
4123 * gdb.threads/schedlock.c (some_function): New function.
4124 (call_function): New global.
4125 (MAYBE_CALL_SOME_FUNCTION): New macro.
4126 (thread_function): Call it.
4127 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4128 and use it instead of a global counter. Adjust all callers.
4129 (get_current_thread): Use "find current thread" for test message
4130 here rather than having all callers pass down the same string.
4131 (goto_loop): New procedure, factored out from ...
4132 (my_continue): ... this.
4133 (step_ten_loops): Change parameter from test message to command to
4134 use. Adjust.
4135 (list_count): Delete global.
4136 (check_result): New procedure, factored out from duplicate top
4137 level code.
4138 (continue tests): Wrap in with_test_prefix.
4139 (test_step): New procedure, factored out from duplicate top level
4140 code.
4141 (top level): Test "step" in combination with all scheduler-locking
4142 modes. Test "next" in combination with all scheduler-locking
4143 modes, and in combination with stepping over a function call or
4144 not.
4145 * gdb.threads/next-bp-other-thread.c: New file.
4146 * gdb.threads/next-bp-other-thread.exp: New file.
4147
d3d4baed
PA
41482014-10-29 Pedro Alves <palves@redhat.com>
4149
4150 PR python/17372
4151 * gdb.python/python.exp: Test a multi-line command that spawns
4152 interactive Python.
4153 * gdb.base/multi-line-starts-subshell.exp: New file.
4154
563e8d85
YQ
41552014-10-29 Yao Qi <yao@codesourcery.com>
4156
4157 * gdb.base/fileio.exp: Make directories on host.
4158
0ea4d52e
YQ
41592014-10-29 Yao Qi <yao@codesourcery.com>
4160
4161 * gdb.base/fileio.c (test_write): Close the file.
4162
7f5ef605
PA
41632014-10-28 Pedro Alves <palves@redhat.com>
4164
4165 PR gdb/12623
4166 * gdb.base/sigstep.c (no_handler): New global.
4167 (main): If 'no_handler is true, set the signal handlers to
4168 SIG_IGN.
4169 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4170 with_sw_watch and no_handler parameters. Handle them.
4171 (top level) <stepping over handler when stopped at a breakpoint
4172 test>: Add a test axis for testing with a software watchpoint, and
4173 another for testing with the signal handler set to SIG_IGN.
4174 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4175 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4176
abbdbd03
PA
41772014-10-28 Pedro Alves <palves@redhat.com>
4178
4179 PR gdb/17511
4180 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4181 * gdb.base/sigstep.exp (other_handler_location): New global.
4182 (advance): Support stepping into the signal handler, and running
4183 commands while in the handler.
4184 (in_handler_map): New global.
4185 (top level): In the advance test, add combinations for getting
4186 into the handler with stepping commands, and for running commands
4187 in the handler. Add comment descripting the advancei tests.
4188
1df4399f
PA
41892014-10-28 Pedro Alves <palves@redhat.com>
4190
4191 * gdb.base/sigstep.exp: Use build_executable instead of
4192 prepare_for_testing.
4193 (top level): Move code that starts GDB, runs to main and creates a
4194 display to ...
4195 (restart): ... this new procedure.
4196 (top level): Move backtrace from signal handler test to ...
4197 (validate_backtrace): ... this new procedure.
4198 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4199 with_test_prefix. Always restart GDB.
4200 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4201 with_test_prefix. Always restart GDB. No need to delete
4202 breakpoints after the test.
4203 (test_skip_handler): Remove prefix parameter.
4204 (skip_over_handler, breakpoint_to_handler)
4205 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4206 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4207 restart GDB. No need to delete breakpoints after the test.
4208 (top level): Use foreach to call the test procedures with
4209 different commands.
4210
a5b6e449
PA
42112014-10-28 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4214 instead of GNATS numbers.
4215 * gdb.base/sigbpt.exp: Likewise.
4216 * gdb.base/siginfo.exp: Likewise.
4217 * gdb.base/sigstep.exp: Likewise.
4218
e5f8a7cc
PA
42192014-10-27 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.base/sigstep.c (dummy): New global.
4222 (main): Issue a couple writes to the new global.
4223 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4224 procedures.
4225 (skip_over_handler): Use test_skip_handler.
4226 (top level): Call skip_over_handler for stepi and nexti too.
4227 (breakpoint_over_handler): Use test_skip_handler.
4228 (top level): Call breakpoint_over_handler for stepi and nexti too.
4229
763905a3
YQ
42302014-10-27 Yao Qi <yao@codesourcery.com>
4231
4232 * gdb.trace/tfile.c (adjust_function_address)
4233 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4234 function descriptor.
4235
6f259a23
DB
42362014-10-24 Don Breazeal <donb@codesourcery.com>
4237
4238 * gdb.base/foll-fork.exp (test_follow_fork,
4239 catch_fork_child_follow): Check for updated fork messages emitted
4240 from infrun.c.
4241 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4242 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4243 vfork_and_exec_child_follow_through_step): Check for updated vfork
4244 messages emitted from infrun.c.
4245
09dd9a69
PA
42462014-10-24 Pedro Alves <palves@redhat.com>
4247
4248 * gdb.base/corefile.exp: Remove references to ultrix.
4249 * gdb.base/interrupt.exp: Likewise.
4250 * gdb.base/whatis.exp: Likewise.
4251 * gdb.gdb/selftest.exp: Likewise.
4252 * gdb.threads/manythreads.exp: Likewise.
4253 * gdb.threads/print-threads.exp: Likewise.
4254 * gdb.threads/pthreads.exp:: Likewise.
4255 * gdb.threads/schedlock.exp: Likewise.
4256
3433cfa5
SC
42572014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4258
4259 * gdb.cp/non-trivial-retval.cc: Add a test case.
4260 * gdb.cp/non-trivial-retval.exp: Add a test.
4261
092f880b
YQ
42622014-10-20 Yao Qi <yao@codesourcery.com>
4263
4264 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4265 * gdb.python/py-objfile-script-gdb.py: New file.
4266 * gdb.python/py-objfile-script.exp: Update reference to
4267 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4268 of remote_download. Remove the dest file.
4269
acbdb7f3
YQ
42702014-10-20 Yao Qi <yao@codesourcery.com>
4271
4272 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4273 * gdb.base/step-line.exp: Likewise.
4274 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4275 * gdb.dwarf2/dw2-basic.exp: Likewise.
4276 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4277 * gdb.dwarf2/dw2-filename.exp: Likewise.
4278 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4279 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4280 * gdb.dwarf2/dw2-producer.exp: Likewise.
4281 * gdb.dwarf2/mac-fileno.exp: Likewise.
4282 * gdb.python/py-frame-args.exp: Likewise.
4283 * gdb.python/py-framefilter.exp: Likewise.
4284 * gdb.python/py-mi.exp: Likewise.
4285 * gdb.python/py-objfile-script.exp: Likewise
4286 * gdb.python/py-pp-integral.exp: Likewise.
4287 * gdb.python/py-pp-re-notag.exp: Likewise.
4288 * gdb.python/py-prettyprint.exp: Likewise.
4289 * gdb.python/py-section-script.exp: Likewise.
4290 * gdb.python/py-typeprint.exp: Likewise.
4291 * gdb.python/py-xmethods.exp: Likewise.
4292 * gdb.stabs/weird.exp: Likewise.
4293 * gdb.xml/tdesc-regs.exp: Likewise.
4294
bd286a29
KCY
42952014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4296
4297 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4298 (out_cu): Use addr_len for the size of addresses.
4299 (out_line): Likewise. Size DW_LNE_set_address instruction
4300 according to addr_len.
4301 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4302 (FUNC): Add START_INSNS to definition.
4303
673dc4a0
YQ
43042014-10-18 Yao Qi <yao@codesourcery.com>
4305
4306 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4307 gdb_has_argv0 return true.
4308 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4309 check [target_info exists noargs], check [gdb_has_argv0]
4310 instead.
4311 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4312 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4313 procedures.
4314
4ffbba72
DE
43152014-10-17 Doug Evans <dje@google.com>
4316
4317 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4318 event.
4319 * gdb.python/py-events.py: Add clear_objfiles event.
4320
d096d8c1
DE
43212014-10-17 Doug Evans <dje@google.com>
4322
4323 * gdb.python/py-objfile.exp: Test progspace attribute.
4324
a80db015
LM
43252014-10-17 Luis Machado <lgustavo@codesourcery.com>
4326
4327 * gdb.guile/scm-breakpoint.exp: Do not assume any
4328 directory separators when matching source file paths.
4329 * gdb.python/py-breakpoint.exp: Likewise.
4330 * gdb.reverse/break-precsave.exp: Likewise.
4331 * gdb.reverse/break-reverse.exp: Likewise.
4332 * gdb.reverse/consecutive-precsave.exp: Likewise.
4333 * gdb.reverse/finish-precsave.exp: Likewise.
4334 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4335 * gdb.reverse/finish-reverse.exp: Likewise.
4336 * gdb.reverse/i386-precsave.exp: Likewise.
4337 * gdb.reverse/i387-env-reverse.exp: Likewise.
4338 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4339 * gdb.reverse/machinestate-precsave.exp: Likewise.
4340 * gdb.reverse/machinestate.exp: Likewise.
4341 * gdb.reverse/sigall-precsave.exp: Likewise.
4342 * gdb.reverse/solib-precsave.exp: Likewise.
4343 * gdb.reverse/step-precsave.exp: Likewise.
4344 * gdb.reverse/until-precsave.exp: Likewise.
4345 * gdb.reverse/watch-precsave.exp: Likewise.
4346 * gdb.reverse/watch-reverse.exp: Likewise.
4347
b22089ab
YQ
43482014-10-17 Yao Qi <yao@codesourcery.com>
4349
4350 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4351 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4352
6c4486e6
PA
43532014-10-17 Pedro Alves <palves@redhat.com>
4354
4355 PR gdb/17471
4356 * gdb.base/bg-execution-repeat.c: New file.
4357 * gdb.base/bg-execution-repeat.exp: New file.
4358
0ff33695
PA
43592014-10-17 Pedro Alves <palves@redhat.com>
4360
4361 PR gdb/17300
4362 * gdb.base/continue-all-already-running.c: New file.
4363 * gdb.base/continue-all-already-running.exp: New file.
4364
6fdebc3d
PA
43652014-10-17 Pedro Alves <palves@redhat.com>
4366
4367 PR gdb/17472
4368 * gdb.base/annota-input-while-running.c: New file.
4369 * gdb.base/annota-input-while-running.exp: New file.
4370
32a8097b
PA
43712014-10-17 Pedro Alves <palves@redhat.com>
4372
4373 * gdb.base/callfuncs.exp: emove references to osf.
4374 * gdb.base/sigall.exp: Likewise.
4375 * gdb.gdb/selftest.exp: Likewise.
4376 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4377 * gdb.mi/non-stop.c: Likewise.
4378 * gdb.mi/pthreads.c: Likewise.
4379 * gdb.reverse/sigall-precsave.exp: Likewise.
4380 * gdb.reverse/sigall-reverse.exp: Likewise.
4381 * gdb.threads/pthreads.c: Likewise.
4382 * gdb.threads/pthreads.exp: Likewise.
4383
7a3517ff
YQ
43842014-10-17 Yao Qi <yao@codesourcery.com>
4385
4386 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4387 check 'target_info exists noargs'.
4388 (test_command_prompt_position): Likewise.
4389 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4390 Remove "set args".
4391 (progvar_simple_while_test): Likewise.
4392 (progvar_complex_if_while_test): Likewise.
4393 (if_while_breakpoint_command_test): Likewise.
4394 (infrun_breakpoint_command_test): Likewise.
4395 (breakpoint_command_test): Likewise.
4396 (watchpoint_command_test): Likewise.
4397 (bp_deleted_in_command_test): Likewise.
4398 (temporary_breakpoint_commands): Likewise.
4399
bb99c472
YQ
44002014-10-16 Yao Qi <yao@codesourcery.com>
4401
4402 * gdb.base/remotetimeout.exp: Remove noargs checking.
4403
7c16b83e
PA
44042014-10-15 Pedro Alves <palves@redhat.com>
4405
4406 PR breakpoints/9649
4407 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4408 * gdb.base/breakpoint-in-ro-region.exp
4409 (probe_target_hardware_step): New procedure.
4410 (top level): Probe hardware stepping and hardware breakpoint
4411 support. Test stepping through a read-only region, with both
4412 "breakpoint auto-hw" on and off and both "always-inserted" on and
4413 off.
4414
35a49624
IB
44152014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4416
4417 * gdb.dlang/demangle.exp: Update for demangling changes.
4418
2d1c107c
SC
44192014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4420
4421 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4422 * gdb.cp/non-trivial-retval.exp: Add new tests.
4423
778811d5
SC
44242014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4425
4426 PR c++/13403
4427 PR c++/15154
4428 * gdb.cp/non-trivial-retval.cc: New file.
4429 * gdb.cp/non-trivial-retval.exp: New file.
4430
10c5f0a8
YQ
44312014-10-15 Yao Qi <yao@codesourcery.com>
4432
4433 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4434 remote host.
4435
65d7b369
YQ
44362014-10-15 Yao Qi <yao@codesourcery.com>
4437
4438 * gdb.python/py-symbol.exp: Match file base name if host is
4439 remote, otherwise match file name with dir name.
4440 * gdb.python/py-symtab.exp: Likewise.
4441 * gdb.python/python.exp: Likewise.
4442
46dc1394
YQ
44432014-10-15 Yao Qi <yao@codesourcery.com>
4444
4445 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4446 pattern.
4447 * gdb.python/py-symtab.exp: Likewise.
4448 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4449 locationn.
4450
c40cc657
JB
44512014-10-14 Joel Brobecker <brobecker@adacore.com>
4452
4453 * gdb.ada/addr_arith: New testcase.
4454
2abf49e1
MR
44552014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4456
4457 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4458 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4459 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4460 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4461
f7088df3
SDJ
44622014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4463
4464 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4465 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4466 * gdb.arch/stap-eval-lang-ada.exp: New file.
4467
4dc06805
YQ
44682014-10-14 Yao Qi <yao@codesourcery.com>
4469
4470 * gdb.mi/mi-var-child.c (nothing1): New function.
4471 (nothing2): New function.
4472 (do_children_tests): Set function pointers by nothing1 and
4473 nothing2.
4474 * gdb.mi/mi-var-child.exp: Step over new added statements.
4475 Update test to match the new output.
4476 * gdb.mi/var-cmd.c (nothing1): New function.
4477 (nothing2): New function.
4478 (do_children_tests): Set function pointers by nothing1 and
4479 nothing2.
4480 * gdb.mi/mi-var-display.exp: Update test to match output.
4481 Step to the line specified by $line_dct_nothing.
4482 Increase the number of lines to step.
4483
46a93de2
YQ
44842014-10-14 Yao Qi <yao@codesourcery.com>
4485
4486 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4487 tests.
4488 * gdb.mi/mi2-var-child.exp: Likewise.
4489
14ea52ee
DE
44902014-10-13 Doug Evans <dje@google.com>
4491
4492 * gdb.python/py-objfile.exp: Change name of file name test.
4493
e5c6e92b
DE
44942014-10-13 Doug Evans <dje@google.com>
4495
4496 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4497 from the start of the CU.
4498
c780cc2f
JK
44992014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4500 Yao Qi <yao@codesourcery.com>
4501
4502 Fix "save breakpoints" for "catch" command.
4503 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4504 Remove -nonewline. Match also the added "main" line.
4505
99894e11
JK
45062014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4507
4508 Fix "save breakpoints" for "disable $bpnum" command.
4509 * gdb.base/save-bp.c (main): Add label.
4510 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4511
6e1ac5a3
JK
45122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4513
4514 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4515
754dd2b0
YQ
45162014-10-11 Yao Qi <yao@codesourcery.com>
4517
4518 * gdb.server/server-kill.exp: Execute command
4519 "set remote trace-status-packet on" before "tstatus".
4520
f90183d7
YQ
45212014-10-11 Yao Qi <yao@codesourcery.com>
4522
4523 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4524 (main): Call getppid.
4525 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4526 and continue to it. Read variable "server_pid".
4527
bf40a607
YQ
45282014-10-11 Yao Qi <yao@codesourcery.com>
4529
4530 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4531
052ca370
YQ
45322014-10-11 Yao Qi <yao@codesourcery.com>
4533
4534 * gdb.threads/thread-find.exp: Don't execute command
4535 "info threads".
4536 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4537 * gdb.threads/linux-dp.exp: Don't check the condition
4538 $threads_created equals to zero.
4539
3831839c
PA
45402014-10-10 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.base/bigcore.exp: Remove references to IRIX.
4543 * gdb.base/funcargs.exp: Likewise.
4544 * gdb.base/interrupt.exp: Likewise.
4545 * gdb.base/mips_pro.exp: Likewise.
4546 * gdb.base/nodebug.exp: Likewise.
4547 * gdb.base/setvar.exp: Likewise.
4548 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4549
8b9a549d
PA
45502014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4551 Pedro Alves <palves@redhat.com>
4552
4553 PR symtab/14466
4554 * gdb.base/vdso-warning.c: New file.
4555 * gdb.base/vdso-warning.exp: New file.
4556
d48ba5e8
DE
45572014-10-02 Doug Evans <dje@google.com>
4558
4559 * gdb.base/structs.c (main): Don't run forever.
4560
2278c276
PA
45612014-10-02 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4564 (top level) <stop threads 1, stop threads 2>: Use it.
4565
b57bacec
PA
45662014-10-02 Pedro Alves <palves@redhat.com>
4567
4568 * gdb.threads/break-while-running.exp (test): Add new
4569 'update_thread_list' argument. Skip "info threads" if false.
4570 (top level): Add new 'update_thread_list' axis.
4571
13fd3ff3
PA
45722014-10-02 Pedro Alves <palves@redhat.com>
4573
4574 PR breakpoints/17431
4575 * gdb.base/execl-update-breakpoints.c: New file.
4576 * gdb.base/execl-update-breakpoints.exp: New file.
4577
0fec99e8
PA
45782014-10-01 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.base/breakpoint-in-ro-region.c: New file.
4581 * gdb.base/breakpoint-in-ro-region.exp: New file.
4582
2ddf4301
SM
45832014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4584
4585 * gdb.mi/mi-exit-code.exp: New file.
4586 * gdb.mi/mi-exit-code.c: New file.
4587
6a5f3f43
YQ
45882014-09-30 Yao Qi <yao@codesourcery.com>
4589
4590 * lib/prelink-support.exp (build_executable_own_libs): Error if
4591 the target isn't native.
4592
345bcc73
YQ
45932014-09-30 Yao Qi <yao@codesourcery.com>
4594
4595 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4596 false.
4597
a25a5a45
PA
45982014-09-22 Pedro Alves <palves@redhat.com>
4599
4600 * gdb.threads/break-while-running.exp: New file.
4601 * gdb.threads/break-while-running.c: New file.
4602
00ba3162
YQ
46032014-09-19 Yao Qi <yao@codesourcery.com>
4604
4605 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4606 Invoke test. Restart GDB with --readnow and invoke test again.
4607
c3b7b696
YQ
46082014-09-19 Yao Qi <yao@codesourcery.com>
4609
4610 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4611 proc set_breakpoint_on_gcd_function. Invoke
4612 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4613 invoke set_breakpoint_on_gcd_function again.
4614
2b4fd423
DE
46152014-09-18 Doug Evans <dje@google.com>
4616
4617 * gdb.dwarf2/symtab-producer.exp: New file.
4618
a5947601
SDJ
46192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4620
4621 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4622 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4623 * gdb.base/global-var-nested-by-dso.c: Likewise.
4624 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4625
91c19059
SDJ
46262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4627 Pedro Alves <palves@redhat.com>
4628
4629 * gdb.base/watch-bitfields.exp: Pass string other than test file
4630 name to prepare_for_testing.
4631 (watch): New procedure.
4632 (expect_watchpoint): Use with_test_prefix.
4633 (top level): Factor out tests to ...
4634 (test_watch_location, test_regular_watch): ... these new
4635 procedures, and use with_test_prefix and gdb_continue_to_end.
4636
bb9d5f81
PP
46372014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4638
4639 PR breakpoints/12526
4640 * gdb.base/watch-bitfields.exp: New file.
4641 * gdb.base/watch-bitfields.c: New file.
4642
635856f5
PA
46432014-09-16 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4646 software and hardware addresses, not software address against
4647 itself.
4648
7280ceea
PA
46492014-09-16 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4652 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4653
428b16bd
PA
46542014-09-16 Pedro Alves <palves@redhat.com>
4655
4656 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4657 files.
4658 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4659 "*-*-vxworks*" throughout.
4660 * gdb.base/break.exp: Likewise.
4661 * gdb.base/default.exp: Likewise.
4662 * gdb.base/scope.exp: Likewise.
4663 * gdb.base/sepdebug.exp: Likewise.
4664 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4665 throughout.
4666 * gdb.base/run.c: Likewise.
4667 * gdb.base/sepdebug.c: Likewise.
4668 * gdb.hp/gdb.aCC/run.c: Likewise.
4669 * gdb.reverse/until-reverse.c: Likewise.
4670 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4671
666d413c
YQ
46722014-09-16 Yao Qi <yao@codesourcery.com>
4673
4674 * boards/local-remote-host-native.exp: New file.
4675
57cbd724
DE
46762014-09-14 Doug Evans <xdje42@gmail.com>
4677
4678 * gdb.threads/queue-signal.c (thread_count): New variable.
4679 (thread_count_mutex, thread_count_condvar): New variables.
4680 (incr_thread_count, wait_all_threads_running): New functions.
4681 (main): Wait for all threads to be in their thread functions.
4682
81219e53
DE
46832014-09-13 Doug Evans <xdje42@gmail.com>
4684
4685 * gdb.threads/queue-signal.c: New file.
4686 * gdb.threads/queue-signal.exp: New file.
4687
3714cea7
DE
46882014-09-13 Doug Evans <xdje42@gmail.com>
4689
4690 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4691 be consistent with what default_gdb_init uses.
4692 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4693 the plain text of the prompt. Add some logging printfs.
4694 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4695
fa43b1d7
PA
46962014-09-12 Pedro Alves <palves@redhat.com>
4697
4698 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4699 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4700 * gdb.arch/i386-size-overlap.exp: Likewise.
4701 * gdb.arch/i386-size.exp: Likewise.
4702 * gdb.arch/i386-unwind.exp: Likewise.
4703 * gdb.base/a2-run.exp: Likewise.
4704 * gdb.base/break.exp: Likewise.
4705 * gdb.base/charset.exp: Likewise.
4706 * gdb.base/chng-syms.exp: Likewise.
4707 * gdb.base/commands.exp: Likewise.
4708 * gdb.base/dbx.exp: Likewise.
4709 * gdb.base/find.exp: Likewise.
4710 * gdb.base/funcargs.exp: Likewise.
4711 * gdb.base/jit-simple.exp: Likewise.
4712 * gdb.base/reread.exp: Likewise.
4713 * gdb.base/sepdebug.exp: Likewise.
4714 * gdb.base/step-bt.exp: Likewise.
4715 * gdb.cp/mb-inline.exp: Likewise.
4716 * gdb.cp/mb-templates.exp: Likewise.
4717 * gdb.objc/basicclass.exp: Likewise.
4718 * gdb.threads/killed.exp: Likewise.
4719
9d9bf2df
EBM
47202014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4721
4722 PR tdep/17379
4723 * gdb.arch/powerpc-stackless.S: New file.
4724 * gdb.arch/powerpc-stackless.exp: New file.
4725
1cf2f1b0
JK
47262014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4727
4728 * gdb.base/attach.c: Include unistd.h.
4729 (main): Call alarm. Add label postloop.
4730 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4731 gdb_breakpoint, gdb_continue_to_breakpoint.
4732 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4733
98880d46
PA
47342014-09-11 Pedro Alves <palves@redhat.com>
4735
4736 PR gdb/17347
4737 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4738 * gdb.base/attach.exp (test_command_line_attach_run): New
4739 procedure.
4740 (top level): Call it.
4741
4c92ff2c
PA
47422014-09-11 Pedro Alves <palves@redhat.com>
4743
4744 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4745 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4746 (do_command_attach_tests): Use spawn_wait_for_attach.
4747 * gdb.base/solib-overlap.exp: Likewise.
4748 * gdb.multi/multi-attach.exp: Likewise.
4749 * gdb.python/py-prompt.exp: Likewise.
4750 * gdb.python/py-sync-interp.exp: Likewise.
4751 * gdb.server/ext-attach.exp: Likewise.
4752
3adc1a7d
GKB
47532014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4754
4755 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4756 command in testcase. Simplify testcase.
4757
96334934
JB
47582014-09-10 Joel Brobecker <brobecker@adacore.com>
4759
4760 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4761
eb479039
JB
47622014-09-10 Joel Brobecker <brobecker@adacore.com>
4763
4764 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4765
deede10c
JB
47662014-09-10 Joel Brobecker <brobecker@adacore.com>
4767
4768 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4769
7828a5f5
JB
47702014-09-10 Joel Brobecker <brobecker@adacore.com>
4771
4772 * gdb.dwarf2/dynarr-ptr.c: New file.
4773 * gdb.dwarf2/dynarr-ptr.exp: New file.
4774
33aeebcf
MR
47752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4776
4777 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4778 of 30 rather than hardcoding 120 for a slow test case. Take the
4779 `gdb,timeout' target setting into account for this calculation.
4780 Don't extend the timeout for the test cases that don't need it.
4781
7b415901
MR
47822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4783
4784 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4785 a factor of 2 for a slow test case. Take the `gdb,timeout'
4786 target setting into account for this calculation.
4787 * gdb.reverse/until-precsave.exp: Increase the timeout by
4788 a factor of 15 and 3 respectively rather than adding 120
4789 for a pair of slow test cases. Take the `gdb,timeout'
4790 target setting into account for this calculation.
4791
4a40f85a
MR
47922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4793
4794 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4795 timeout, don't pass one down to gdb_expect.
4796 (gdb_expect): Rework timeout selection.
4797
09635af7
MR
47982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4799
4800 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4801 exception on timeout.
4802 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4803 (gdbserver_start_extended): Catch any `gdbserver_start' error
4804 exceptions.
4805 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4806 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4807 `gdbserver_gdb_load' error exceptions.
4808
2bdd10b7
MR
48092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4810
4811 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4812 120 on waiting for the TCP socket to open.
4813
316935f0
DE
48142014-09-09 Doug Evans <xdje42@gmail.com>
4815
4816 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4817 _caller_matches, _any_caller_is, _any_caller_matches.
4818
83740597
DE
48192014-09-09 Doug Evans <xdje42@gmail.com>
4820
4821 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4822
4c122fc3
YQ
48232014-09-09 Yao Qi <yao@codesourcery.com>
4824
4825 * gdb.mi/mi-var-display.exp: Set print symbol off.
4826
a9f116cb
GKB
48272014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4828
4829 PR gdb/17035
4830 * gdb.base/commands.exp: Add tests to verify user-defined
4831 commands with empty bodies.
4832 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4833 python commands in `show user command`.
4834 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4835 scheme commands in `show user command`.
4836
c75bd3a2
JK
48372014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4838
4839 PR python/17355
4840 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4841 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4842 * gdb.python/py-framefilter-invalidarg.exp: New file.
4843 * gdb.python/py-framefilter-invalidarg.py: New file.
4844
faa42425
DE
48452014-09-06 Doug Evans <xdje42@gmail.com>
4846
4847 PR 15276
4848 * gdb.python/py-caller-is.c: New file.
4849 * gdb.python/py-caller-is.exp: New file.
4850
474ca4f6
SDJ
48512014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4852
4853 PR gdb/17235
4854 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4855 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4856
eb0b0463
SDJ
48572014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4858
4859 PR fortran/17237
4860 * gdb.fortran/print-formatted.exp: New file.
4861 * gdb.fortran/print-formatted.f90: Likewise.
4862
5f3b99cf
SS
48632014-09-03 Sasha Smundak <asmundak@google.com>
4864
4865 * gdb.python/py-frame.exp: Test Frame.read_register.
4866
7d793aa9
SDJ
48672014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4868
4869 PR python/16699
4870 * gdb.python/py-completion.exp: New file.
4871 * gdb.python/py-completion.py: Likewise.
4872
fb0576e9
DE
48732014-08-28 Doug Evans <dje@google.com>
4874
4875 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4876 eax,etc. are live with values set by gdb and thus the compiler can't
4877 use them.
4878 * gdb.arch/i386-pseudo.c (main): Ditto.
4879
ee92b0dd
DE
48802014-08-27 Doug Evans <dje@google.com>
4881
4882 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4883
6649db35
DE
48842014-08-25 Doug Evans <dje@google.com>
4885
4886 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4887 (main): Ditto.
4888
564b7600
DE
48892014-08-25 Doug Evans <dje@google.com>
4890
4891 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4892
3881fb67
YQ
48932014-08-24 Yao Qi <yao@codesourcery.com>
4894
4895 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4896 symbol off.
4897 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4898
a05a36a5
DE
48992014-08-22 Doug Evans <dje@google.com>
4900
4901 PR 17276
4902 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4903 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4904 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4905
7c343b48
YQ
49062014-08-22 Yao Qi <yao@codesourcery.com>
4907
4908 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4909 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4910 * gdb.python/python.exp: Likewise. Use .py file on the host
4911 instead of the build.
4912
22fd09ae
JK
49132014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 * gdb.threads/gcore-stale-thread.c: New file.
4916 * gdb.threads/gcore-stale-thread.exp: New file.
4917
a8454a7c
PA
49182014-08-21 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4921 * gdb.base/gcore-relro-pie.exp: Likewise.
4922 * gdb.base/gcore-relro.exp: Likewise.
4923 * gdb.base/gcore.exp: Likewise.
4924 * gdb.base/print-symbol-loading.exp: Likewise.
4925 * gdb.threads/gcore-thread.exp: Likewise.
4926 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4927
2a31c623
PA
49282014-08-20 Pedro Alves <palves@redhat.com>
4929 Jan Kratochvil <jan.kratochvil@redhat.com>
4930
4931 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4932 configure.
4933 (EXPECT): Handle READ1 being set.
4934 (all): Depend on EXTRA_RULES.
4935 (check-read1, expect-read1, read1.so, read1): New rules.
4936 * README (Testsuite Parameters): Document the READ1 make variable.
4937 (Race detection): New section.
4938 * configure: Regenerate.
4939 * configure.ac: If build==host==target, and running under a
4940 GNU/glibc system, add read1 to the extra Makefile rules.
4941 (EXTRA_RULES): AC_SUBST it.
4942 * lib/read1.c: New file.
4943
d36430db
JB
49442014-08-20 Joel Brobecker <brobecker@adacore.com>
4945
4946 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4947 the handling of variables declared as a typedef to an array
4948 which a DW_AT_data_location attribute.
4949
9a0dc9e3
PA
49502014-08-19 Andrew Burgess <aburgess@broadcom.com>
4951 Pedro Alves <palves@redhat.com>
4952
4953 PR symtab/14604
4954 PR symtab/14605
4955 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4956 gdb_test.
4957
0718a8da
PA
49582014-08-19 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4961
13b448cd
YQ
49622014-08-19 Yao Qi <yao@codesourcery.com>
4963
4964 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4965 right line.
4966
1cbf5077
DB
49672014-08-18 David Blaikie <dblaikie@gmail.com>
4968
4969 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4970
bf0fae19
JB
49712014-08-18 Joel Brobecker <brobecker@adacore.com>
4972
4973 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4974 attribute in array range.
4975
3c8c5dcc
JB
49762014-08-18 Joel Brobecker <brobecker@adacore.com>
4977
4978 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4979
e66d4446
SC
49802014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4981
4982 PR c++/17132
4983 * gdb.cp/pr17132.cc: New file.
4984 * gdb.cp/pr17132.exp: New file.
4985
940df408
SC
49862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
4987
4988 * gdb.python/py-xmethods.py (A_getarrayind)
4989 (E_method_char_worker.__call__, E_method_int_worker.__call__):
4990 Use 'print' with function call syntax.
4991 (E_method_matcher.match): Fix tab vs space indentation mixup.
4992
ebcc6c3a
YQ
49932014-08-15 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
4996 false.
4997
775e0f04
YQ
49982014-08-15 Yao Qi <yao@codesourcery.com>
4999
5000 * gdb.cp/casts.exp: Set print symbol off.
5001 * gdb.cp/class2.exp: Likewise.
5002 * gdb.cp/overload.exp: Likewise.
5003 * gdb.cp/templates.exp: Likewise.
5004
d769e349
DE
50052014-08-11 Doug Evans <dje@google.com>
5006
5007 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5008 (test_load_shlib): Update.
5009
20c6f1e1
YQ
50102014-08-09 Yao Qi <yao@codesourcery.com>
5011
5012 * gdb.base/display.exp: Invoke is_address_zero_readable.
5013 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5014 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5015 * gdb.base/hbreak-unmapped.exp: Return if
5016 is_address_zero_readable returns true.
5017 * gdb.base/signest.exp: Likewise.
5018 * gdb.base/signull.exp: Likewise.
5019 * gdb.base/sigbpt.exp: Likewise.
5020 * gdb.guile/scm-disasm.exp: Do the test if
5021 is_address_zero_readable returns false.
5022 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5023 * gdb.python/py-arch.exp: Likewise.
5024 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5025 * lib/gdb.exp (is_address_zero_readable): New proc.
5026
5792e8e3
YQ
50272014-08-09 Yao Qi <yao@codesourcery.com>
5028
5029 PR testsuite/13443
5030 * gdb.mi/mi-var-display.exp: Make test messages unique.
5031
3cecbbbe
TT
50322014-08-04 Tom Tromey <tromey@redhat.com>
5033
5034 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5035 target 0".
5036
00b51ff5
TT
50372014-08-04 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5040 "target_resume".
5041
6908c509
JB
50422014-08-01 Joel Brobecker <brobecker@adacore.com>
5043
5044 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5045 inner_vla_struct_object_size.
5046 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5047 as xfail.
5048
cc6563d2
PA
50492014-07-30 Pedro Alves <palves@redhat.com>
5050
5051 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5052 comment.
5053
7e09a223
YQ
50542014-07-29 Yao Qi <yao@codesourcery.com>
5055
5056 PR gdb/17206
5057 * gdb.base/until-nodebug.exp: New.
5058
7ebdbe92
DE
50592014-07-28 Doug Evans <xdje42@gmail.com>
5060
5061 PR guile/17203
5062 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5063 previously existing parameter, and previously ambiguously spelled
5064 parameter.
5065
fdb1adc6
WN
50662014-07-28 Will Newton <will.newton@linaro.org>
5067
5068 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5069
186fcde0
DE
50702014-07-26 Ludovic Courtès <ludo@gnu.org>
5071 Doug Evans <xdje42@gmail.com>
5072
5073 PR guile/17146
5074 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5075
70509625
PA
50762014-07-25 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.threads/signal-command-handle-nopass.c: New file.
5079 * gdb.threads/signal-command-handle-nopass.exp: New file.
5080 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5081 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5082 * gdb.threads/signal-delivered-right-thread.c: New file.
5083 * gdb.threads/signal-delivered-right-thread.exp: New file.
5084
c3f814a1
PA
50852014-07-25 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/double-prompt-target-event-error.exp
5088 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5089 match.
5090 (cancel_pagination_in_target_event): Rework double prompt
5091 detection.
5092 * gdb.base/paginate-after-ctrl-c-running.exp
5093 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5094 <return>' match.
5095 * gdb.base/paginate-bg-execution.exp
5096 (test_bg_execution_pagination_return)
5097 (test_bg_execution_pagination_cancel): Remove '-notransfer
5098 <return>' matches.
5099 * gdb.base/paginate-execution-startup.exp
5100 (test_fg_execution_pagination_return)
5101 (test_fg_execution_pagination_cancel): Remove '-notransfer
5102 <return>' matches.
5103 * gdb.base/paginate-inferior-exit.exp
5104 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5105 match.
5106 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5107 * lib/gdb.exp (pagination_prompt): Run text through
5108 string_to_regexp.
5109 (gdb_test_multiple): Match $pagination_prompt instead of
5110 "<return>".
5111 (string_to_regexp): Move to lib/gdb-utils.exp.
5112
e214cf6c
JK
51132014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 * gdb.arch/amd64-entry-value-paramref.S: New file.
5116 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5117 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5118 * gdb.arch/amd64-optimout-repeat.S: New file.
5119 * gdb.arch/amd64-optimout-repeat.c: New file.
5120 * gdb.arch/amd64-optimout-repeat.exp: New file.
5121
17d0c5c8
JK
51222014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 PR gdb/17170
5125 * gdb.base/statistics.exp: New file.
5126
b8b8facf
DE
51272014-07-17 Doug Evans <dje@google.com>
5128
74b49205 5129 PR gdb/17170
b8b8facf
DE
5130 * gdb.base/maint.exp: Update testing of per-command stats.
5131
1b5d0ab3
PA
51322014-07-16 Pedro Alves <palves@redhat.com>
5133
5134 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5135 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5136 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5137 (tfile_write_buf): New functions.
5138 (add_memory_block): Rewrite using the above.
5139 (adjust_function_address): New function.
5140 (FUNCTION_ADDRESS): New macro.
5141 (write_basic_trace_file): Remove short_x local, and use
5142 tfile_write_16. Change type of func_addr local to unsigned long
5143 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5144 here. Cast argument of add_memory_block to char pointer.
5145 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5146 (main): Remove parameters.
5147 * gdb.trace/tfile.exp: Remove nowarnings.
5148
4d974e88
SM
51492014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5150
5151 * gdb.base/debug-expr.exp: Test string evaluation with
5152 "debug expression" on.
5153
41e99568
PA
51542014-07-15 Pedro Alves <palves@redhat.com>
5155
5156 * gdb.base/reread.exp: Use clean_restart.
5157
487d9753
PL
51582014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5159
5160 * gdb.arch/avr-flash-qualifer.c: New.
5161 * gdb.arch/avr-flash-qualifer.exp: New.
5162
cc1c52ad
PA
51632014-07-14 Pedro Alves <palves@redhat.com>
5164
5165 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5166 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5167
1e973570
PA
51682014-07-14 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.base/double-prompt-target-event-error.c: New file.
5171 * gdb.base/double-prompt-target-event-error.exp: New file.
5172
93d6eb10
PA
51732014-07-14 Pedro Alves <palves@redhat.com>
5174
5175 PR gdb/17072
5176 * gdb.base/paginate-inferior-exit.c: New file.
5177 * gdb.base/paginate-inferior-exit.exp: New file.
5178
0017922d
PA
51792014-07-14 Pedro Alves <palves@redhat.com>
5180
5181 PR gdb/17072
5182 * gdb.base/paginate-bg-execution.c: New file.
5183 * gdb.base/paginate-bg-execution.exp: New file.
5184
94696ad3
PA
51852014-07-14 Pedro Alves <palves@redhat.com>
5186
5187 PR gdb/17072
5188 * gdb.base/paginate-execution-startup.c: New file.
5189 * gdb.base/paginate-execution-startup.exp: New file.
5190 * lib/gdb.exp (pagination_prompt): New global.
5191 (default_gdb_spawn): New procedure, factored out from
5192 default_gdb_spawn.
5193 (default_gdb_start): Adjust to call default_gdb_spawn.
5194 (gdb_spawn): New procedure.
5195
bd293940
PA
51962014-07-14 Pedro Alves <palves@redhat.com>
5197
5198 * lib/gdb.exp (gdb_assert): New procedure.
5199 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5200
c933f875
PA
52012014-07-14 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.base/execution-termios.c: New file.
5204 * gdb.base/execution-termios.exp: New file.
5205
d98b7a16
TT
52062014-07-14 Tom Tromey <tromey@redhat.com>
5207
5208 * gdb.cp/vla-cxx.cc: New file.
5209 * gdb.cp/vla-cxx.exp: New file.
5210
548740d6
TT
52112014-07-14 Tom Tromey <tromey@redhat.com>
5212
5213 * gdb.reverse/rerun-prec.c: New file.
5214 * gdb.reverse/rerun-prec.exp: New file.
5215
a25eb028
MR
52162014-07-12 Maciej W. Rozycki <macro@mips.com>
5217 Maciej W. Rozycki <macro@codesourcery.com>
5218
5219 * lib/gdb-utils.exp: New file.
5220 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5221 inline `gdb_init_command' processing.
5222 (gdb_start_cmd): Likewise.
5223 * lib/mi-support.exp (mi_run_cmd): Likewise.
5224 * README: Document `gdb_init_command' and `gdb_init_commands'.
5225
218c2655
JK
52262014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 Fix false FAIL running under a very long directory name.
5229 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5230 and "set print elements 10000". Twice.
5231
5401fde3
YQ
52322014-07-11 Yao Qi <yao@codesourcery.com>
5233
5234 * gdb.base/exprs.exp: "set print symbol off".
5235
e76126e8
PA
52362014-07-11 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.threads/kill.c: New file.
5239 * gdb.threads/kill.exp: New file.
5240
2d6f0de6
YQ
52412014-07-10 Yao Qi <yao@codesourcery.com>
5242
5243 * gdb.trace/tfile.c (write_basic_trace_file)
5244 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5245 address written to trace file.
5246
7180e04a
PA
52472014-07-09 Pedro Alves <palves@redhat.com>
5248
5249 * gdb.base/attach-wait-input.exp: New file.
5250 * gdb.base/attach-wait-input.c: New file.
5251
9a9a7608
AB
52522014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5253
5254 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5255 setting up test structures.
5256 (main): Call new test function.
5257 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5258 test function, continue into test function and walk test
5259 structures.
5260
161ac41e
YQ
52612014-07-02 Yao Qi <yao@codesourcery.com>
5262
5263 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5264 'bar_start' at the beginning of functions 'foo' and 'bar'
5265 respectively.
5266 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5267 instead of 'foo' and 'bar'.
5268
1f267ae3
MM
52692014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5270
5271 * gdb.btrace/segv.exp: New.
5272 * gdb.btrace/segv.c: New.
5273
2b239efb
LM
52742014-07-02 Luis Machado <lgustavo@codesourcery.com>
5275
5276 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5277 instruction.
5278
cf363f18
MW
52792014-06-30 Mark Wielaard <mjw@redhat.com>
5280
5281 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5282 vulture, vilify, villar): New volatile array constants.
5283 (vindictive, vegetation): New const volatile array constants.
5284 * gdb.base/volatile.exp: Test volatile and const volatile array
5285 types.
5286
aebf9d24
AA
52872014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5288
5289 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5290 target lacks support for awatch, rwatch, or hbreak.
5291
b67a2c6f
YQ
52922014-06-27 Yao Qi <yao@codesourcery.com>
5293
5294 * gdb.multi/dummy-frame-restore.exp: New.
5295 * gdb.multi/dummy-frame-restore.c: New.
5296
aef92902
MM
52972014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5298
5299 * gdb.btrace/gcore.exp: New.
5300
8e9db26e
PA
53012014-06-23 Pedro Alves <palves@redhat.com>
5302
5303 * gdb.base/watchpoint-reuse-slot.c: New file.
5304 * gdb.base/watchpoint-reuse-slot.exp: New file.
5305
70afc5b7
SC
53062014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5307
5308 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5309 progspace's filename in 'info', 'enable' and 'disable' command
5310 tests.
5311
b972bd9c
JK
53122014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5313
5314 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5315 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5316 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5317
125f8a3d
GB
53182014-06-20 Gary Benson <gbenson@redhat.com>
5319
5320 * gdb.arch/i386-avx.exp: Fix include file location.
5321 * gdb.arch/i386-sse.exp: Likewise.
5322
3ed9baed
IB
53232014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5324
5325 * gdb.dlang/expression.exp: New file.
5326
034f788c
PA
53272014-06-19 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5330 out from ...
5331 (top level): ... here. Iterate running tests under different
5332 scheduler-locking settings.
5333
45371d0c
LM
53342014-06-18 Luis Machado <lgustavo@codesourcery.com>
5335
5336 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5337 to DW_FORM_addr and use non-zero addresses.
5338
5d376983
SC
53392014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5340
5341 PR gdb/17017
5342 * gdb.python/py-xmethods.cc: Add global function call counters and
5343 increment them in their respective functions. Remove "cout"
5344 statements.
5345 * gdb.python/py-xmethods.exp: Make tests check the global function
5346 call counters instead of depending on inferior IO.
5347
a1aa2221
LM
53482014-06-18 Don Breazeal <donb@codesourcery.com>
5349
5350 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5351 Deleted procedure.
5352 (explicit_fork_parent_follow): Deleted procedure.
5353 (explicit_fork_child_follow): Deleted procedure.
5354 (test_follow_fork): New procedure.
5355 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5356 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5357 procedure calls.
5358
0fc05997
YQ
53592014-06-17 Yao Qi <yao@codesourcery.com>
5360
5361 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5362 CP1252.
5363
70795c52
LM
53642014-06-17 Luis Machado <lgustavo@codesourcery.com>
5365
5366 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5367 Initialize ptr and S explicitly.
5368 (skip_type_update_when_not_use_rtti_test): Likewise.
5369
6be47f0c
KS
53702014-06-16 Keith Seitz <keiths@redhat.com>
5371
5372 PR mi/15863
5373 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5374 the inferior is started.
5375
d03de421
PA
53762014-06-16 Pedro Alves <palves@redhat.com>
5377
5378 * gdb.base/break-main-file-remove-fail.c: New file.
5379 * gdb.base/break-main-file-remove-fail.exp: New file.
5380 * gdb.base/break-unload-file.exp: Use build_executable instead of
5381 prepare_for_testing.
5382 (test_break): New parameter "initial_load". Handle it.
5383 (top level): Add initial_load cmdline/file axis.
5384
f9579b99
TT
53852014-06-12 Tom Tromey <tromey@redhat.com>
5386
5387 * gdb.base/completion.exp: Don't use directory name in test.
5388
3657956b
GB
53892014-06-09 Gary Benson <gbenson@redhat.com>
5390
5391 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5392 separate the always-available ANSI-standard signals from the
5393 signals that require checking.
5394 (main): Likewise.
5395 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5396 Likewise.
5397 (main): Likewise.
5398
4186eb54
KS
53992014-06-07 Keith Seitz <keiths@redhat.com>
5400
5401 Revert:
5402 PR c++/16253
5403 * gdb.cp/var-tag.cc: New file.
5404 * gdb.cp/var-tag.exp: New file.
5405 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5406 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5407 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5408 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5409
25326a28 54102014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5411
5412 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5413
829155c9
PA
54142014-06-06 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5417 in target debug output instead of looking at RSP packets,
5418 disabling the test on any target that uses hardware stepping.
5419 Update comments.
5420
61c8d22e
PA
54212014-06-06 Pedro Alves <palves@redhat.com>
5422
5423 * gdb.base/break-unload-file.exp: Fix typo.
5424
d9a47287
YQ
54252014-06-06 Yao Qi <yao@codesourcery.com>
5426
5427 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5428 from "jit_function" to "^jit_function".
5429
e5e01dbf
YQ
54302014-06-06 Yao Qi <yao@codesourcery.com>
5431
5432 * gdb.base/async.c (foo): Add one statement.
5433 * gdb.base/async.exp: Get the next instruction address and
5434 match the output of "nexti" by instruction address. Match
5435 the hex address in the output of "finish".
5436
73ba372c
GB
54372014-06-06 Gary Benson <gbenson@redhat.com>
5438
5439 * gdb.base/call-signals.c: Remove preprocessor conditionals
5440 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5441 SIGSEGV and SIGTERM.
5442 * gdb.base/sigall.c: Likewise.
5443 * gdb.base/unwindonsignal.c: Likewise.
5444 * gdb.reverse/sigall-reverse.c: Likewise.
5445
831517df
YQ
54462014-06-06 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5449 readable, skip the test.
5450
b8b91e98
YQ
54512014-06-06 Yao Qi <yao@codesourcery.com>
5452
5453 * gdb.threads/staticthreads.c (thread_function): Move the line
5454 setting breakpoint on forward.
5455 * gdb.threads/staticthreads.exp: Update comments.
5456
fb934770
LC
54572014-06-05 Ludovic Courtès <ludo@gnu.org>
5458
5459 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5460 "history-append! type error".
5461
6ef284bd
SM
54622014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5463
5464 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5465 erroneous dprintf expected input.
5466
a872e241
DE
54672014-06-04 Doug Evans <xdje42@gmail.com>
5468
5469 * gdb.guile/scm-generics.exp: Delete.
5470
16f691fb
DE
54712014-06-04 Doug Evans <xdje42@gmail.com>
5472
5473 * gdb.guile/scm-breakpoint.exp: Update.
5474 Add tests for breakpoint registration.
5475
012370f6
TT
54762014-06-04 Tom Tromey <tromey@redhat.com>
5477
5478 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5479 VLA-in-union.
5480 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5481 inner_vla_struct, vla_union types. Initialize objects of those
5482 types and compute their sizes.
5483
9f5a4cef
HZ
54842014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5485 Hui Zhu <hui@codesourcery.com>
5486
5487 * gdb.base/fileio.exp: Add test for shell not available as well as
5488 available.
5489 * gdb.base/fileio.c (test_system): Check for shell twice.
5490
90a45c4d
YQ
54912014-06-04 Yao Qi <yao@codesourcery.com>
5492
5493 * gdb.base/auto-connect-native-target.exp: Remove redundant
5494 space from the regexp pattern.
5495
70017e41
YQ
54962014-06-04 Yao Qi <yao@codesourcery.com>
5497
5498 * gdb.base/default.exp: Replace "child" with "native" in
5499 regexp pattern.
5500
883964a7
SC
55012014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5502
5503 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5504 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5505 * gdb.python/py-xmethods.py: Python script supporting the
5506 new testcase and tests.
5507
ef370185
JB
55082014-06-03 Joel Brobecker <brobecker@adacore.com>
5509 Pedro Alves <palves@redhat.com>
5510
5511 PR breakpoints/17000
5512 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5513 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5514
1e2ccb61
BM
55152014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5516
5517 * gdb.base/subst.exp: Add tests to verify partial path matching
5518 output.
5519
c6ec5ab2
PA
55202014-06-03 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5523 target that doesn't use software single-stepping.
5524
835c559f
PA
55252014-06-03 Pedro Alves <palves@redhat.com>
5526
5527 PR breakpoints/17000
5528 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5529 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5530
06eb1586
DE
55312014-06-02 Doug Evans <xdje42@gmail.com>
5532
5533 * gdb.guile/scm-parameter.exp: New file.
5534
e698b8c4
DE
55352014-06-02 Doug Evans <xdje42@gmail.com>
5536
5537 * gdb.guile/scm-cmd.c: New file.
5538 * gdb.guile/scm-cmd.exp: New file.
5539
ded03782
DE
55402014-06-02 Doug Evans <xdje42@gmail.com>
5541
5542 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5543 pretty-printer lookup.
5544 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5545 (make-pp_s-printer): Call it.
5546 (make-pretty-printer-from-dict): New function.
5547 (lookup-pretty-printer-maker-from-dict): New function.
5548 (*pretty-printer*): Simplify.
5549 (make-objfile-pp_s-printer): New function.
5550 (install-objfile-pretty-printers!): New function.
5551 (make-progspace-pp_s-printer): New function.
5552 (install-progspace-pretty-printers!): New function.
5553 * gdb.guile/scm-progspace.c: New file.
5554 * gdb.guile/scm-progspace.exp: New file.
5555
41fac0cf
PA
55562014-06-02 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.base/dprintf-bp-same-addr.c: New file.
5559 * gdb.base/dprintf-bp-same-addr.exp: New file.
5560
96ae5695
EBM
55612014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5562
5563 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5564 * gdb.arch/powerpc-power.s: Likewise.
5565
da02b3a8
JB
55662014-06-02 Joel Brobecker <brobecker@adacore.com>
5567
5568 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5569
c72b2e7b
YQ
55702014-06-01 Yao Qi <yao@codesourcery.com>
5571
5572 * gdb.base/watchpoint.exp (test_watch_location): Check null
5573 pointer can be dereferenced. If not, do the test, otherwise
5574 skip it.
5575
53e8a631
AB
55762014-05-30 Andrew Burgess <aburgess@broadcom.com>
5577
5578 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5579 results.
5580 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5581
938f0e2f
AB
55822014-05-30 Andrew Burgess <aburgess@broadcom.com>
5583
5584 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5585 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5586 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5587 * gdb.arch/amd64-invalid-stack-top.c: New file.
5588 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5589
9ba6657a
PA
55902014-05-30 Pedro Alves <palves@redhat.com>
5591
5592 PR breakpoints/17000
5593 * gdb.base/sss-bp-on-user-bp.c: New file.
5594 * gdb.base/sss-bp-on-user-bp.exp: New file.
5595
522c09bf
DB
55962014-05-30 David Blaikie <dblaikie@gmail.com>
5597
5598 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5599 gnu_inline semantics via attribute.
5600 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5601 source explicitly specifies the required semantics.
5602
bf4ef81e
MR
56032014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5604
5605 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5606
329ea579
PA
56072014-05-29 Pedro Alves <palves@redhat.com>
5608 Tom Tromey <tromey@redhat.com>
5609
5610 * gdb.base/async-shell.exp: Don't enable target-async.
5611 * gdb.base/async.exp
5612 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5613 parameter. Adjust.
5614 (top level): Don't test with "target-async".
5615 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5616 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5617 * gdb.base/inferior-died.exp: Don't enable target-async.
5618 * gdb.base/interrupt-noterm.exp: Likewise.
5619 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5620 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5621 * gdb.mi/mi-nonstop.exp: Likewise.
5622 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5623 * gdb.mi/mi-nsintrall.exp: Likewise.
5624 * gdb.mi/mi-nsmoribund.exp: Likewise.
5625 * gdb.mi/mi-nsthrexec.exp: Likewise.
5626 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5627 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5628 * gdb.python/py-evsignal.exp: Don't enable target-async.
5629 * gdb.python/py-evthreads.exp: Likewise.
5630 * gdb.python/py-prompt.exp: Likewise.
5631 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5632 * gdb.server/solib-list.exp: Don't enable target-async.
5633 * gdb.threads/thread-specific-bp.exp: Likewise.
5634 * lib/mi-support.exp: Adjust to use mi-async.
5635
fd664c91
PA
56362014-05-29 Pedro Alves <palves@redhat.com>
5637
5638 PR gdb/13860
5639 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5640 reason, even in sync mode.
5641
251bde03
PA
56422014-05-29 Pedro Alves <palves@redhat.com>
5643 Hui Zhu <hui@codesourcery.com>
5644
5645 PR PR15693
5646 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5647 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5648 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5649 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5650
7f3c0343
JB
56512014-05-28 Joel Brobecker <brobecker@adacore.com>
5652
5653 * config/monitor.exp (gdb_target_monitor): Replace use of
5654 "set remotebaud" by "set serial baud".
5655
b2715b27
AW
56562014-05-26 Andy Wingo <wingo@igalia.com>
5657
5658 * gdb.guile/scm-breakpoint.exp:
5659 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5660 properties instead of gdb-object-properties.
5661
498a4489
YQ
56622014-05-26 Yao Qi <yao@codesourcery.com>
5663
5664 * gdb.server/no-thread-db.exp: Specify source file name
5665 explicitly when setting a breakpoint.
5666
589fdceb
MM
56672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5668
5669 * gdb.btrace/vdso.c: New.
5670 * gdb.btrace/vdso.exp: New.
5671
e9089e05
MM
56722014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5673
5674 * gdb.base/gcore.exp (capture_command_output): Move ...
5675 * lib/gdb.exp (capture_command_output): ... here.
5676
67b5c0c1
MM
56772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5678
5679 * gdb.btrace/data.exp: Test memory access during btrace replay.
5680
a2199296
SM
56812014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5682
5683 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5684
17b2616c
PA
56852014-05-21 Pedro Alves <palves@redhat.com>
5686
5687 PR gdb/13860
5688 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5689 (top level): Test that output related to execution commands is
5690 sent to the console with CLI commands, but not with MI commands.
5691 Test that breakpoint events are always mirrored to the console.
5692 Also expect the new source line to be output after a "next" in
5693 async mode too. Make it a pass/fail test.
5694 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5695 output.
5696 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5697
5166082f
PA
56982014-05-21 Pedro Alves <palves@redhat.com>
5699
5700 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5701 Use them to test variations of "list" after reaching a breakpoint.
5702 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5703 Test "list" with listsize 10 after reaching a breakpoint.
5704 * gdb.python/python.exp (decode_line current location line
5705 number): Adjust expected line number.
5706
2f25d70f
SM
57072014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5708
5709 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5710 behavior for $args, pass it directly to "run".
5711
ff604a67
MR
57122014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5713
5714 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5715 30000 to 65536.
5716
6a3cb8e8
PA
57172014-05-21 Pedro Alves <palves@redhat.com>
5718
5719 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5720 auto-connect-native-target off".
5721 * gdb.base/auto-connect-native-target.c: New file.
5722 * gdb.base/auto-connect-native-target.exp: New file.
5723
4ebfc96e
PA
57242014-05-21 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.base/default.exp: Test "target native" instead of "target
5727 child".
5728
36d46afb
MW
57292014-05-21 Mark Wielaard <mjw@redhat.com>
5730
5731 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5732
5876f503
JK
57332014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 Fix TLS access for -static -pthread.
5736 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5737 <HAVE_TLS> (thread_function, main): Initialize it.
5738 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5739 Add clean_restart.
5740 <$have_tls != "">: Check TLSVAR.
5741
0256a6ac
PA
57422014-05-21 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.base/dcache-line-read-error.c: New.
5745 * gdb.base/dcache-line-read-error.exp: New.
5746
936d2992
PA
57472014-05-20 Pedro Alves <palves@redhat.com>
5748
5749 * gdb.base/compare-sections.c: New file.
5750 * gdb.base/compare-sections.exp: New file.
5751
802e8e6d
PA
57522014-05-20 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.base/break-idempotent.c: New file.
5755 * gdb.base/break-idempotent.exp: New file.
5756
e59fa00f
MM
57572014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5758
5759 * gdb.btrace/nohist.exp: New.
5760
8b696e31
YQ
57612014-05-20 Yao Qi <yao@codesourcery.com>
5762
5763 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5764 gdb.reverse directory and gdb_reverse_timeout exists in board
5765 setting.
5766 * README: Document gdb_reverse_timeout.
5767
73c9764f
YQ
57682014-05-20 Yao Qi <yao@codesourcery.com>
5769
5770 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5771 'test_file_name'. Treat args as a string instead of a list.
5772 (gdb_init): Rename argument 'args' by 'test_file_name'.
5773
f1f4348a
JK
57742014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5775
5776 * gdb.arch/powerpc-power.exp: New file.
5777 * gdb.arch/powerpc-power.s: New file.
5778
0dbe70ce
DE
57792014-05-16 Doug Evans <dje@google.com>
5780
5781 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5782 * gdb.base/completion.exp: Check that all expected files exist
5783 before doing file completion.
0dbe70ce 5784
8d551b02
DE
57852014-05-16 Doug Evans <dje@google.com>
5786
5787 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5788 Update.
5789 (do_syscall_tests_without_xml): Update.
5790
73eb7709
PA
57912014-05-16 Pedro Alves <palves@redhat.com>
5792
5793 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5794 instead of "unknown output after running".
5795
3fae92fc
YQ
57962014-05-16 Yao Qi <yao@codesourcery.com>
5797
5798 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5799 file1.txt from host at the end.
5800 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5801
c2b2ccc5
DE
58022014-05-15 Doug Evans <dje@google.com>
5803
5804 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5805 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5806 loading file. Add test for TU lookup.
5807
8c217a4b
SM
58082014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5809
5810 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5811 calling "-exec-arguments" or "set args" before running the
5812 inferior.
5813
3deb39c6
SM
58142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5815
5816 * lib/mi-support.exp (mi_expect_stop): Expect message for
5817 inferiors that exit with non-zero exit code.
5818
71a79f8c
YQ
58192014-05-14 Yao Qi <yao@codesourcery.com>
5820
5821 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5822 match absolute path on remote host.
5823 (test_file_list_exec_source_files): Remove "/" from the
5824 pattern.
5825
f23fcd46
YQ
58262014-05-14 Yao Qi <yao@codesourcery.com>
5827
5828 * boards/local-remote-host-notty.exp (${board}_file): New
5829 proc.
5830
9404b58f
KM
58312014-05-07 Kyle McMartin <kyle@redhat.com>
5832
5833 Pushed by Joel Brobecker <brobecker@adacore.com>.
5834 * gdb.arch/aarch64-atomic-inst.c: New file.
5835 * gdb.arch/aarch64-atomic-inst.exp: New file.
5836
5e45f04c
YQ
58372014-05-07 Yao Qi <yao@codesourcery.com>
5838
5839 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5840 in current context" too.
5841
c888a17d
KS
58422014-05-05 Keith Seitz <keiths@redhat.com>
5843
5844 * gdb.linespec/ls-dollar.exp: Add test for linespec
5845 file:convenience_variable.
5846
290a839c
YQ
58472014-05-05 Yao Qi <yao@codesourcery.com>
5848
5849 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5850 traceframes into tfile and ctf trace files. Read data from
5851 trace file and test collected data.
5852 (gdb_collect_locals_test): Likewise.
5853 (gdb_unavailable_registers_test): Likewise.
5854 (gdb_unavailable_floats): Likewise.
5855 (gdb_collect_globals_test): Likewise.
5856 (top-level): Append "ctf" to trace_file_targets if GDB
5857 supports.
5858
b5262cd0
YQ
58592014-05-05 Yao Qi <yao@codesourcery.com>
5860
5861 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5862 code to ...
5863 (gdb_collect_args_test_1): ... it. New proc.
5864 (gdb_collect_locals_test): Move some code to ...
5865 (gdb_collect_locals_test_1): ... it. New proc.
5866 (gdb_unavailable_registers_test): Move some code to ...
5867 (gdb_unavailable_registers_test_1): ... it. New proc.
5868 (gdb_unavailable_floats): Move some code to ...
5869 (gdb_unavailable_floats_1): ... it. New proc.
5870
30a1e6cc
SDJ
58712014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5872
5873 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5874 probes to test for bitness recognition.
5875 * gdb.arch/amd64-stap-optional-prefix.exp
5876 (test_probe_value_without_reg): New procedure.
5877 Add code to test for different kinds of bitness.
5878
f33da99a
SDJ
58792014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5880
5881 PR breakpoints/16889
5882 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5883 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5884
5b80f00d
PA
58852014-05-01 Pedro Alves <palves@redhat.com>
5886
5887 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5888 gdb_file_cmd if no file is specified.
5889 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5890 last_loaded_file to set the remote exec-file.
5891
f8c2a73c
PA
58922014-05-01 Pedro Alves <palves@redhat.com>
5893
5894 * boards/local-remote-host.exp: New file.
5895
be6e8ac7
PA
58962014-05-01 Pedro Alves <palves@redhat.com>
5897
5898 * boards/local-remote-host.exp: Rename to ...
5899 * boards/local-remote-host-notty.exp: ... this.
5900
cac0dc8f
JB
59012014-04-28 Joel Brobecker <brobecker@adacore.com>
5902
5903 * gdb.ada/dyn_arrayidx: New testcase.
5904
9730e6cc
YQ
59052014-04-26 Yao Qi <yao@codesourcery.com>
5906
5907 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5908 and compute the length of function main. Save it in
5909 $main_length.
5910 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5911 (top-level): Use gdb_compile to compile objects into
5912 executable and restart GDB. Remove invocation to
5913 prepare_for_testing.
5914
7ae1a6a6
PA
59152014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5916 Pedro Alves <palves@redhat.com>
5917
5918 PR server/16255
5919 * gdb.multi/multi-attach.c: New file.
5920 * gdb.multi/multi-attach.exp: New file.
5921
4082afcc
PA
59222014-04-25 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5925 user.
5926 (top level): Test that "set remote conditional-breakpoints-packet
5927 off" works as intended.
5928 * gdb.base/dprintf.exp: Test that "set remote
5929 breakpoint-commands-packet off" works as intended.
5930 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5931 New function.
5932 (top level): Call it.
5933 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5934 remote fast-tracepoints-packet off" works as intended.
5935 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5936 * lib/gdb.exp (gdb_is_target_remote): ... here.
5937
2abc3f8d
DB
59382014-04-24 David Blaikie <dblaikie@gmail.com>
5939
5940 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5941 ensure clang would not discard them.
5942 * gdb.base/gdbvars.c: Ditto.
5943 * gdb.base/memattr.c: Ditto.
5944 * gdb.base/whatis.c: Ditto.
5945 * gdb.python/py-prettyprint.c: Ditto.
5946 * gdb.trace/actions.c: Ditto.
5947 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5948 ensure clang would not discard it.
5949
bfd39632
DB
59502014-04-24 David Blaikie <dblaikie@gmail.com>
5951
5952 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5953 clang to emit the full definition of type required by the test
5954 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5955
22842ff6
DB
59562014-04-24 David Blaikie <dblaikie@gmail.com>
5957
5958 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5959 coax Clang into emitting the definition of the type.
5960 * gdb.cp/pr10728-x.h (y): Ditto.
5961 * gdb.cp/pr10728-y.cc (y): Ditto.
5962
c2e827ad
DB
59632014-04-24 David Blaikie <dblaikie@gmail.com>
5964
5965 * gdb.base/label.exp: XFAIL label related tests under Clang.
5966 * gdb.cp/cplabel.exp: Ditto.
5967 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5968 under Clang those using labels.
5969
4c2d33e7
YQ
59702014-04-25 Yao Qi <yao@codesourcery.com>
5971
5972 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5973 double_label.
5974 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5975 partial_label and double_label.
5976
56083b99
DB
59772014-04-24 David Blaikie <dblaikie@gmail.com>
5978
5979 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5980
25d4e99d
DB
59812014-04-24 David Blaikie <dblaikie@gmail.com>
5982
5983 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
5984 of the function to work across GCC and Clang.
5985 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
5986 pointer types (const void ** const V void **).
5987
01f9f808
MS
59882014-04-24 Michael Sturm <michael.sturm@mintel.com>
5989 Walfred Tedeschi <walfred.tedeschi@intel.com>
5990
5991 * Makefile.in (EXECUTABLES): Added i386-avx512.
5992 * gdb.arch/i386-avx512.c: New file.
5993 * gdb.arch/i386-avx512.exp: Likewise.
5994
4b48d439
KS
59952014-04-23 Keith Seitz <keiths@redhat.com>
5996
5997 * lib/mi-support.exp (mi_list_breakpoints): Delete.
5998 (mi_make_breakpoint_table): New procedure.
5999 (mi_create_breakpoint): Use mi_make_breakpoint
6000 and return the result.
6001 (mi_make_breakpoint): New procedure.
6002 (mi_build_kv_pairs): New procedure.
6003
6004 * gdb.mi/mi-break.exp: Remove unused globals,
6005 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6006 All callers updated.
6007 * gdb.mi/mi-dprintf.exp: Use variable to track command
6008 number.
6009 Update all callers of mi_create_breakpoint and use
6010 mi_make_breakpoint_table.
6011 Remove any unused global variables.
6012 * gdb.mi/mi-nonstop.exp: Likewise.
6013 * gdb.mi/mi-nsintrall.exp: Likewise.
6014 * gdb.mi/mi-nsmoribund.exp: Likewise.
6015 * gdb.mi/mi-nsthrexec.exp: Likewise.
6016 * gdb.mi/mi-reverse.exp: Likewise.
6017 * gdb.mi/mi-simplerun.exp: Likewise.
6018 * gdb.mi/mi-stepn.exp: Likewise.
6019 * gdb.mi/mi-syn-frame.exp: Likewise.
6020 * gdb.mi/mi-until.exp: Likewise.
6021 * gdb.mi/mi-var-cp.exp: Likewise.
6022 * gdb.mi/mi-var-display.exp: Likewise.
6023 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6024 * gdb.mi/mi2-var-child.exp: Likewise.
6025 * gdb.mi/mi-vla-c99.exp: Likewise.
6026 * lib/mi-support.exp: Likewise.
6027
6028 From Ian Lance Taylor <iant@cygnus.com>:
6029 * lib/gdb.exp (parse_args): New procedure.
6030
08351840
PA
60312014-04-23 Pedro Alves <palves@redhat.com>
6032
6033 * gdb.base/break-unload-file.c: New file.
6034 * gdb.base/break-unload-file.exp: New file.
6035 * gdb.base/sym-file-lib.c (baz): New function.
6036 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6037 field.
6038 (load): Store the segment's mapped size.
6039 (unload): New function.
6040 (unload_shlib): New function.
6041 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6042 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6043 set a breakpoint at baz, and call it.
6044 * gdb.base/sym-file.exp: New tests for stale breakpoint
6045 instructions.
6046
076855f9
PA
60472014-04-23 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6050 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6051 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6052 * gdb.base/hbreak-unmapped.c: New file.
6053 * gdb.base/hbreak-unmapped.exp: New file.
6054 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6055 * lib/gdb.exp (gdb_is_target_remote): ... here.
6056
483805cf
PA
60572014-04-22 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/consecutive-step-over.c: New file.
6060 * gdb.base/consecutive-step-over.exp: New file.
6061
06d97543
PA
60622014-04-22 Pedro Alves <palves@redhat.com>
6063
6064 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6065 instead of send_gdb/gdb_expect.
6066
b4429ea2
YQ
60672014-04-22 Yao Qi <yao@codesourcery.com>
6068
6069 * lib/trace-support.exp (generate_tracefile): New procedure.
6070 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6071 return 0.
6072 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6073 if generate_tracefile returns 1.
6074
51d48146
PA
60752014-04-18 Tom Tromey <palves@redhat.com>
6076 Pedro alves <tromey@redhat.com>
6077
6078 PR backtrace/15558
6079 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6080 with a backtrace limit.
6081 * gdb.python/py-frame-inline.exp: Test running to an inline
6082 function with a backtrace limit, and printing the newest frame.
6083 * gdb.python/py-frame-inline.c (main): Call f.
6084
bd1dce5f
MS
60852014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6086
6087 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6088
40d1a503
MS
60892014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6090
6091 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6092 Drop prefix from unsupported source file path.
6093
389b98f7
YQ
60942014-04-17 Yao Qi <yao@codesourcery.com>
6095
6096 * lib/gdb.exp (with_target_charset): New proc.
6097 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6098 with_target_charset.
6099 (test_print_strings): Likewise.
6100 (test_repeat_bytes): Likewise.
6101 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6102 for some tests.
6103
22869d73
KS
61042014-04-16 Keith Seitz <keiths@redhat.com>
6105
6106 PR gdb/15827
6107 * gdb.dwarf2/corrupt.c: New file.
6108 * gdb.dwarf2/corrupt.exp: New file.
6109
c4f87ca6
KS
61102014-04-16 Keith Seitz <keiths@redhat.com>
6111
6112 PR c++/16597
6113 * gdb.cp/namelessclass.cc: New file.
6114 * gdb.cp/namelessclass.exp: New file.
6115 * gdb.cp/namelessclass.S: New file.
6116
ab19de87
DE
61172014-04-16 Doug Evans <dje@google.com>
6118
6119 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6120 Add comment.
6121 (gdbserver_default_get_comm_port): New function.
6122 (gdbserver_start): Check if board file provided
6123 "gdbserver,get_comm_port" and use it if so.
6124 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6125 (gdb,socketport): Set to "stdio".
6126 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6127 (stdio_gdbserver_template): Delete.
6128 (${board}_get_remote_address): Update.
6129 (${board}_build_remote_cmd): Delete.
6130 (${board}_get_comm_port): New function.
6131 (${board}_spawn): Update.
6132 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6133 Delete.
6134 (${board}_get_remote_address): Update.
6135 (${board}_get_comm_port): New function.
6136
fc98a809
AB
61372014-04-16 Andrew Burgess <aburgess@broadcom.com>
6138
6139 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6140 appearing in any order.
6141
87fd9e6e
DE
61422014-04-15 Doug Evans <dje@google.com>
6143
6144 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6145 uninitialized value of "description".
6146
099fc3ea
KS
61472014-04-15 Keith Seitz <keiths@redhat.com>
6148
6149 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6150 Remove unused globals.
6151 (test_running_the_program): Likewise.
6152 (test_controlled_execution): Likewise.
6153 (test_controlling_breakpoints): Likewise.
6154 (test_program_termination): Likewise.
6155
5da151d4
KS
61562014-04-15 Keith Seitz <keiths@redhat.com>
6157
6158 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6159 unused globals.
6160 (test_rbreak_creation_and_listing): Likewise.
6161 (test_ignore_count): Likewise.
6162 (test_error): Likewise.
6163
35e5d2f0
PA
61642014-04-15 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6167 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6168 sym-file-loader.c.
6169 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6170 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6171 to sym-file-loader.c.
6172 (struct library): Forward declare.
6173 (load_shlib, lookup_function): Change prototypes.
6174 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6175 (translate_offset): Remove declarations.
6176 (get_text_addr): New declaration.
6177 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6178 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6179 sym-file-loader.h.
6180 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6181 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6182 here from sym-file-loader.h.
6183 (struct library): New structure.
6184 (load_shlib, lookup_function): Change prototypes and adjust to
6185 work with a struct library.
6186 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6187 (translate_offset): Make static.
6188 (get_text_addr): New function.
6189 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6190
eb4c1710
PA
61912014-04-15 Pedro Alves <palves@redhat.com>
6192
6193 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6194
2d1baf52
PA
61952014-04-15 Pedro Alves <palves@redhat.com>
6196
6197 * gdb.base/sym-file-loader.c: Include <limits.h>.
6198 (SELF_LINK): New define.
6199 (get_origin): New function.
6200 (load_shlib): Use it.
6201 * gdb.base/sym-file.exp: Don't early return if the target is
6202 remote. Use runto_main, and issue fail is that fails. Use
6203 gdb_load_shlibs.
6204 (shlib_name): Delete.
6205 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6206
7dd6df01
PA
62072014-04-15 Pedro Alves <palves@redhat.com>
6208
6209 * gdb.base/sym-file.exp: Remove regex characters from test
6210 message. Don't refer to breakpoint numbers in test messages.
6211
b50c8614
KS
62122014-04-14 Keith Seitz <keiths@redhat.com>
6213
6214 PR c++/16253
6215 * gdb.cp/var-tag.cc: New file.
6216 * gdb.cp/var-tag.exp: New file.
6217 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6218 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6219 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6221
3d567982
TT
62222014-04-14 Tom Tromey <tromey@redhat.com>
6223
6224 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6225 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6226 type.
6227 * gdb.cp/enum-class.exp: New file.
6228 * gdb.cp/enum-class.cc: New file.
6229
0626fc76
TT
62302014-04-14 Tom Tromey <tromey@redhat.com>
6231
6232 * gdb.dwarf2/enum-type.exp: New file.
6233
dca325b3
SA
62342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6235
6236 * gdb.mi/mi-vla-c99.exp: New file.
6237 * gdb.mi/vla.c: New file.
6238
5854b38a
SA
62392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6240
6241 * gdb.base/vla-datatypes.c: New file.
6242 * gdb.base/vla-datatypes.exp: New file.
6243
463bb957
SA
62442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6245
6246 * gdb.base/vla-ptr.c: New file.
6247 * gdb.base/vla-ptr.exp: New file.
6248
3dd170be
SA
62492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6250
6251 * gdb.dwarf2/count.exp: New file.
6252
5ecaaa66
SA
62532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6254
6255 * gdb.base/vla-sideeffect.c: New file.
6256 * gdb.base/vla-sideeffect.exp: New file.
6257
41f1ada5
DB
62582014-04-14 David Blaikie <dblaikie@gmail.com>
6259
6260 * gdb.mi/non-stop.c: Add return value for non-void function return
6261 statement.
6262 * gdb.threads/staticthreads.c: Ditto.
6263
0be03e84
DE
62642014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6265 Doug Evans <xdje42@gmail.com>
6266
6267 * gdb.guile/scm-value.c: Improve test case.
6268 * gdb.guile/scm-value.exp: Add new test.
6269
f180a1fb
DB
62702014-04-11 David Blaikie <dblaikie@gmail.com>
6271
6272 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6273 override Clang's default.
6274
6b662e19
JB
62752014-04-11 Joel Brobecker <brobecker@adacore.com>
6276
6277 Revert the following changes (regressions):
6278
6279 * gdb.base/vla-sideeffect.c: New file.
6280 * gdb.base/vla-sideeffect.exp: New file.
6281
6282 * gdb.dwarf2/count.exp: New file.
6283
6284 * gdb.base/vla-multi.c: New file.
6285 * gdb.base/vla-multi.exp: New file.
6286
6287 * gdb.base/vla-ptr.c: New file.
6288 * gdb.base/vla-ptr.exp: New file.
6289
6290 * gdb.base/vla-datatypes.c: New file.
6291 * gdb.base/vla-datatypes.exp: New file.
6292
6293 * gdb.mi/mi-vla-c99.exp: New file.
6294 * gdb.mi/vla.c: New file.
6295
245a5f0b
KS
62962014-04-11 Keith Seitz <keiths@redhat.com>
6297
6298 PR c++/16675
6299 * gdb.cp/cpsizeof.exp: New file.
6300 * gdb.cp/cpsizeof.cc: New file.
6301
58a84dcf
SA
63022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6303
191a8a90
JB
6304 * gdb.mi/mi-vla-c99.exp: New file.
6305 * gdb.mi/vla.c: New file.
58a84dcf 6306
c8655f75
SA
63072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6308
6309 * gdb.base/vla-datatypes.c: New file.
6310 * gdb.base/vla-datatypes.exp: New file.
6311
024e13b4
SA
63122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6313
6314 * gdb.base/vla-ptr.c: New file.
6315 * gdb.base/vla-ptr.exp: New file.
6316
1a237e0e
SA
63172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6318
6319 * gdb.base/vla-multi.c: New file.
6320 * gdb.base/vla-multi.exp: New file.
6321
504f3432
SA
63222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6323
6324 * gdb.dwarf2/count.exp: New file.
6325
3bce8237
SA
63262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6327
191a8a90
JB
6328 * gdb.base/vla-sideeffect.c: New file.
6329 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6330
322f9c21
YQ
63312014-04-11 Yao Qi <yao@codesourcery.com>
6332
6333 * gdb.base/completion.exp: Check file exists before running tests
6334 on file completion.
6335
d708bcd1
PA
63362014-04-10 Pedro Alves <palves@redhat.com>
6337
6338 * gdb.base/cond-eval-mode.c: New file.
6339 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6340 prepare_for_testing to build the new file. Check result of
6341 runto_main.
6342 (test_break, test_watch): New procedures.
6343 (top level): Use them.
6344
ae1d2761
PM
63452014-04-08 Pierre Muller <muller@sourceware.org>
6346
6347 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6348 Ctrl-V use for mingw hosts.
6349
7af389b8
SC
63502014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6351
6352 * gdb.python/py-value.c: Improve test case.
6353 * gdb.python/py-value.exp: Add new test.
6354
5e703181
DE
63552014-04-07 David Blaikie <dblaikie@gmail.com>
6356
6357 * lib/compiler.c: Identify the clang compiler.
6358 * lib/compiler.cc: Ditto.
6359
9810b410
YQ
63602014-04-03 Yao Qi <yao@codesourcery.com>
6361
6362 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6363
98d1b8dc
AB
63642014-04-01 Anton Blanchard <anton@samba.org>
6365
6366 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6367 messages unique.
6368
3114cea1
AB
63692014-04-01 Anton Blanchard <anton@samba.org>
6370
6371 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6372 prepare_for_testing.
6373
62f7182c
AB
63742014-04-01 Anton Blanchard <anton@samba.org>
6375
6376 * gdb.arch/ppc64-atomic-inst.c: Remove.
6377 * gdb.arch/ppc64-atomic-inst.S: New file.
6378 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6379
770e7fc7
DE
63802014-03-31 Doug Evans <dje@google.com>
6381
6382 * gdb.base/print-symbol-loading-lib.c: New file.
6383 * gdb.base/print-symbol-loading-main.c: New file.
6384 * gdb.base/print-symbol-loading.exp: New file.
6385
46e2bafa
YQ
63862014-03-31 Yao Qi <yao@codesourcery.com>
6387
6388 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6389
8776cfe9
JB
63902014-03-28 Joel Brobecker <brobecker@adacore.com>
6391
6392 * gdb.ada/mi_dyn_arr: New testcase.
6393
5d1ef361
DE
63942014-03-27 Doug Evans <dje@google.com>
6395
6396 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6397
b5bee914
YQ
63982014-03-27 Yao Qi <yao@codesourcery.com>
6399
6400 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6401 if target is nios2-*-*.
6402
0d4d0e77
YQ
64032014-03-26 Yao Qi <yao@codesourcery.com>
6404
6405 * lib/gdb.exp (readline_is_used): New proc.
6406 * gdb.base/completion.exp: Move tests on command complete up.
6407 Skip the rest of tests if readline is not used.
6408 * gdb.ada/complete.exp: Skp the test if readline is not
6409 used.
6410 * gdb.base/filesym.exp: Likewise.
6411 * gdb.base/macscp.exp: Likewise.
6412 * gdb.base/readline-ask.exp: Likewise.
6413 * gdb.base/readline.exp: Likewise.
6414 * gdb.python/py-cmd.exp: Likewise.
6415 * gdb.trace/tfile.exp: Likewise.
6416
29361eee
YQ
64172014-03-26 Yao Qi <yao@codesourcery.com>
6418
6419 * gdb.base/macscp.exp: Fix code format issues.
6420
bc9a5525
UW
64212014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6422
6423 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6424 * gdb.asm/powerpc64le.inc: New file.
6425
d3839ede
PA
64262014-03-25 Pedro Alves <palves@redhat.com>
6427 Doug Evans <dje@google.com>
6428
6429 * gdb.base/source-execution.c: New file.
6430 * gdb.base/source-execution.exp: New file.
6431 * gdb.base/source-execution.gdb: New file.
6432
01672a57
DE
64332014-03-24 Doug Evans <dje@google.com>
6434
6435 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6436 using fission.
6437
88bbeca9
HZ
64382014-03-24 Hui Zhu <hui@codesourcery.com>
6439 Pedro Alves <palves@redhat.com>
6440
6441 PR breakpoints/16101
6442 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6443 test pass/fail messages. Detect missing support for dprintf when
6444 breakpoints are actually inserted.
6445 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6446 breakpoints are actually inserted.
6447 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6448 fails.
6449
d2348791
JK
64502014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6451
6452 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6453
feef67ab
DE
64542014-03-22 Doug Evans <xdje42@gmail.com>
6455
6456 * gdb.python/python.exp (python not supported): Verify multi-line
6457 python command issues an error.
25d743f9 6458 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6459 guile command issues an error.
feef67ab 6460
ecebef6a
MR
64612014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6462
6463 * gdb.threads/thread-specific.exp: Handle the lack of usable
6464 $this_breakpoint and $this_thread.
6465
ccdd1909
HZ
64662014-03-21 Hui Zhu <hui@codesourcery.com>
6467
6468 * gdb.base/attach.exp (do_command_attach_tests): New.
6469
beb460e8
PA
64702014-03-20 Tom Tromey <tromey@redhat.com>
6471 Pedro Alves <palves@redhat.com>
6472
6473 PR cli/15718
6474 * gdb.base/condbreak-call-false.c: New file.
6475 * gdb.base/condbreak-call-false.exp: New file.
6476
40acf43a
PA
64772014-03-20 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6480 Delete.
6481 (block_signals, unblock_signals): Delete.
6482 (child_function_2, main): Remove references to deleted variable
6483 and functions.
6484
9f5e1e02
PA
64852014-03-20 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6488 Use pthread_kill to signal thread 2.
6489 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6490 Adjust to make the test send itself a signal rather than using the
6491 host's "kill" command.
6492
99619bea
PA
64932014-03-20 Pedro Alves <palves@redhat.com>
6494
6495 * gdb.threads/multiple-step-overs.c: New file.
6496 * gdb.threads/multiple-step-overs.exp: New file.
6497 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6498 Adjust expected infrun debug output.
6499
2adfaa28
PA
65002014-03-20 Pedro Alves <palves@redhat.com>
6501
6502 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6503 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6504
31e77af2
PA
65052014-03-20 Pedro Alves <palves@redhat.com>
6506
6507 PR breakpoints/7143
6508 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6509 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6510 of gdb_test_multiple.
6511 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6512 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6513
b9f437de
PA
65142014-03-20 Pedro Alves <palves@redhat.com>
6515
6516 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6517 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6518
05adc73e
PA
65192014-03-19 Pedro Alves <palves@redhat.com>
6520
6521 * gdb.base/async.exp: Remove early return.
6522
6048b950
PA
65232014-03-19 Pedro Alves <palves@redhat.com>
6524
6525 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6526
8bcfb00a
PA
65272014-03-19 Pedro Alves <palves@redhat.com>
6528
6529 * gdb.base/async.exp (test_background): Expect \r\n after
6530 "completed." in the fail pattern.
6531
884e37dc
PA
65322014-03-19 Pedro Alves <palves@redhat.com>
6533
6534 * gdb.base/async.exp (test_background): New procedure.
6535 Use it for all background execution command tests.
6536
148e57e2
PA
65372014-03-19 Pedro Alves <palves@redhat.com>
6538
6539 * gdb.base/async.exp: Use prepare_for_testing.
6540
f48088c7
PA
65412014-03-19 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6544 the same line.
6545
e2f6c966
PA
65462014-03-19 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.base/async.c (main): Add "jump here" and "until here" line
6549 marker comments.
6550 * gdb.base/async.exp (jump_here): New global.
6551 (jump& test): Use it.
6552 (until_here): New global.
6553 (until& test): Use it.
6554
c30568d4
PA
65552014-03-19 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.base/async.exp: Don't frob gdb_protocol.
6558
0172b6a7
DE
65592014-03-18 Doug Evans <xdje42@gmail.com>
6560
6561 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6562 Fix spelling of exec-done-display.
6563
06c868a8
JK
65642014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6565
6566 PR gdb/15358
6567 * gdb.base/gdb-sigterm.c: New file.
6568 * gdb.base/gdb-sigterm.exp: New file.
6569
0c7e1a46
PA
65702014-03-18 Pedro Alves <palves@redhat.com>
6571
6572 PR gdb/13860
6573 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6574 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6575 solib-event.
6576
f7c77d93
JB
65772014-03-17 Joel Brobecker <brobecker@adacore.com>
6578
6579 * gdb.ada/pckd_arr_ren: New testcase.
6580
5a1e8c7a
DE
65812014-03-13 Doug Evans <xdje42@gmail.com>
6582
6583 PR guile/16612
6584 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6585 collect after discarding symbols.
6586
350e1a76
DE
65872014-03-13 Ludovic Courtès <ludo@gnu.org>
6588 Doug Evans <xdje42@gmail.com>
6589
6590 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6591 to history survives a gc.
6592
a69900ae
PA
65932014-03-13 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.base/default.exp: Don't test "target procfs".
6596
5db9f0bd
PA
65972014-03-13 Pedro Alves <palves@redhat.com>
6598
6599 * gdb.base/default.exp: Update "target child" and "target procfs"
6600 tests to not expect "Unix".
6601
b3ccfe11
TT
66022014-03-12 Tom Tromey <tromey@redhat.com>
6603
6604 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6605 New procs. Add target-async tests.
6606 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6607 Add target-async tests.
6608
646f4417
AA
66092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6610
6611 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6612 'func_start' and 'func_end' for the beginning and end of the
6613 function code, respectively.
6614 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6615 'func_end' instead of 'func' and 'main'.
6616
288c211f
AA
66172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6618
6619 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6620 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6621 generate the debug info assembler source.
6622
e0c0f156
AA
66232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6624
6625 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6626 * gdb.dwarf2/arr-subrange.exp: Likewise.
6627 * gdb.dwarf2/dwz.exp: Likewise.
6628 * gdb.dwarf2/method-ptr.exp: Likewise.
6629 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6630 * gdb.dwarf2/subrange.exp: Likewise.
6631 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6632 * gdb.dwarf2/implptrpiece.exp: Likewise.
6633 * gdb.dwarf2/nostaticblock.exp: Likewise.
6634
0e5c4555
AA
66352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6636
6637 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6638 directory to absolute path name arguments.
6639
5ec18f2b
JG
66402014-03-10 Joel Brobecker <brobecker@adacore.com>
6641
6642 * gdb.ada/tagged_access: New testcase.
6643
847fc4f2
MM
66442014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6645
6646 * gdb.btrace/data.exp: Update expected output.
6647
cc3da688
YQ
66482014-03-06 Yao Qi <yao@codesourcery.com>
6649
6650 * gdb.trace/pr16508.exp: New file.
6651
0f26cec1
PA
66522014-03-05 Pedro Alves <palves@redhat.com>
6653
6654 PR gdb/16575
6655 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6656 procedure.
6657 (top level): Adjust to use it. Add tests that exercise breakpoint
6658 interaction with the code-cache.
6659
7a5a839f
LC
66602014-02-26 Ludovic Courtès <ludo@gnu.org>
6661
6662 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6663 test for 'history-append!'.
6664
31aa7e4e
JB
66652014-02-26 Joel Brobecker <brobecker@adacore.com>
6666
6667 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6668 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6669 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6670 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6671 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6672 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6673
1b588015
JB
66742014-02-26 Joel Brobecker <brobecker@adacore.com>
6675
6676 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6677 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6678 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6679
55426c9d
JB
66802014-02-26 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6683
dc53a7ad
JB
66842014-02-26 Joel Brobecker <brobecker@adacore.com>
6685
6686 * gdb.dwarf2/arr-stride.c: New file.
6687 * gdb.dwarf2/arr-stride.exp: New file.
6688
12ab52e9
PA
66892014-02-26 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6692 that won't ever trigger. Make sure that GDB reports the correct
6693 breakpoint that caused the stop.
6694
849c862e
JK
66952014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6696
6697 PR gdb/16626
6698 * gdb.base/auto-load-script: New file.
6699 * gdb.base/auto-load.c: New file.
6700 * gdb.base/auto-load.exp: New file.
6701
71b7d793
JK
6702 PR gdb/16626
6703 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6704
e2f0d509
JK
67052014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6706
6707 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6708 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6709
50cc37c8
DE
67102014-02-24 Doug Evans <dje@google.com>
6711
6712 * lib/gdb.exp (run_on_host): Log error output if program fails.
6713
ea4758f2
PA
67142014-02-21 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.threads/step-after-sr-lock.c: Rename to ...
6717 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6718 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6719 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6720 ... this.
6721
d7b30f67
SDJ
67222014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6723
6724 PR tdep/16397
6725 * gdb.arch/amd64-stap-special-operands.exp: New file.
6726 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6727 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6728 * gdb.arch/amd64-stap-triplet.S: Likewise.
6729 * gdb.arch/amd64-stap-triplet.c: Likewise.
6730
83deb43f
JB
67312014-02-20 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6734 in .section pseudo-op.
6735
adde2bff
DE
67362014-02-20 lin zuojian <manjian2006@gmail.com>
6737 Joel Brobecker <brobecker@adacore.com>
6738 Doug Evans <xdje42@gmail.com>
6739
6740 PR symtab/16581
6741 * gdb.dwarf2/dw2-icycle.S: New file.
6742 * gdb.dwarf2/dw2-icycle.c: New file.
6743 * gdb.dwarf2/dw2-icycle.exp: New file.
6744
f7bd0f78
SC
67452014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6746
6747 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6748 operations on gdb.Value objects.
6749 * gdb.python/py-value-cc.exp: Add new test to test operations on
6750 gdb.Value objects.
6751
c17ef0d5
DE
67522014-02-18 Doug Evans <dje@google.com>
6753
6754 * Makefile.in (TESTS): New variable.
6755 (expanded_tests, expanded_tests_or_none): New variables
6756 (check-single): Pass $(expanded_tests_or_none) to runtest.
6757 (check-parallel): Only run tests in $(TESTS) if non-empty.
6758 (check/no-matching-tests-found): New rule.
6759 * README: Document TESTS makefile variable.
6760
5dd3176f
DE
67612014-02-18 Doug Evans <dje@google.com>
6762
6763 * Makefile.in (check-parallel): rm -rf outputs temp.
6764
0b10be4f
JK
67652014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 Fix "ERROR: no fileid for" in the testsuite.
6768 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6769
85f224e7
DE
67702014-02-12 Doug Evans <dje@google.com>
6771
6772 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6773 (MISCELLANEOUS): New variable.
6774 (clean): rm -rf $(MISCELLANEOUS).
6775 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6776 dwp live in the same directory as symlinks, with each symlink pointed
6777 to a differently named file in a different directory.
6778
149b30ff
DE
67792014-02-11 Doug Evans <dje@google.com>
6780
6781 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6782 of Tcl file commands.
6783
1dfdac32
MK
67842014-02-10 Mark Kettenis <kettenis@gnu.org>
6785
6786 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6787 "kill -SIGUSR1 -1".
6788
aa4fb036
JB
67892014-02-10 Joel Brobecker <brobecker@adacore.com>
6790
6791 * gdb.ada/tick_length_array_enum_idx: New testcase.
6792
ed3ef339
DE
67932014-02-10 Doug Evans <xdje42@gmail.com>
6794
6795 * configure.ac (AC_OUTPUT): Add gdb.guile.
6796 * configure: Regenerate.
6797 * lib/gdb-guile.exp: New file.
6798 * lib/gdb.exp (get_target_charset): New function.
6799 * gdb.base/help.exp: Update expected output from "apropos apropos".
6800 * gdb.guile/Makefile.in: New file.
6801 * gdb.guile/guile.exp: New file.
6802 * gdb.guile/scm-arch.c: New file.
6803 * gdb.guile/scm-arch.exp: New file.
6804 * gdb.guile/scm-block.c: New file.
6805 * gdb.guile/scm-block.exp: New file.
6806 * gdb.guile/scm-breakpoint.c: New file.
6807 * gdb.guile/scm-breakpoint.exp: New file.
6808 * gdb.guile/scm-disasm.c: New file.
6809 * gdb.guile/scm-disasm.exp: New file.
6810 * gdb.guile/scm-equal.c: New file.
6811 * gdb.guile/scm-equal.exp: New file.
6812 * gdb.guile/scm-error.exp: New file.
6813 * gdb.guile/scm-error.scm: New file.
6814 * gdb.guile/scm-frame-args.c: New file.
6815 * gdb.guile/scm-frame-args.exp: New file.
6816 * gdb.guile/scm-frame-args.scm: New file.
6817 * gdb.guile/scm-frame-inline.c: New file.
6818 * gdb.guile/scm-frame-inline.exp: New file.
6819 * gdb.guile/scm-frame.c: New file.
6820 * gdb.guile/scm-frame.exp: New file.
6821 * gdb.guile/scm-generics.exp: New file.
6822 * gdb.guile/scm-gsmob.exp: New file.
6823 * gdb.guile/scm-iterator.c: New file.
6824 * gdb.guile/scm-iterator.exp: New file.
6825 * gdb.guile/scm-math.c: New file.
6826 * gdb.guile/scm-math.exp: New file.
6827 * gdb.guile/scm-objfile-script-gdb.in: New file.
6828 * gdb.guile/scm-objfile-script.c: New file.
6829 * gdb.guile/scm-objfile-script.exp: New file.
6830 * gdb.guile/scm-objfile.c: New file.
6831 * gdb.guile/scm-objfile.exp: New file.
6832 * gdb.guile/scm-ports.exp: New file.
6833 * gdb.guile/scm-pretty-print.c: New file.
6834 * gdb.guile/scm-pretty-print.exp: New file.
6835 * gdb.guile/scm-pretty-print.scm: New file.
6836 * gdb.guile/scm-section-script.c: New file.
6837 * gdb.guile/scm-section-script.exp: New file.
6838 * gdb.guile/scm-section-script.scm: New file.
6839 * gdb.guile/scm-symbol.c: New file.
6840 * gdb.guile/scm-symbol.exp: New file.
6841 * gdb.guile/scm-symtab-2.c: New file.
6842 * gdb.guile/scm-symtab.c: New file.
6843 * gdb.guile/scm-symtab.exp: New file.
6844 * gdb.guile/scm-type.c: New file.
6845 * gdb.guile/scm-type.exp: New file.
6846 * gdb.guile/scm-value-cc.cc: New file.
6847 * gdb.guile/scm-value-cc.exp: New file.
6848 * gdb.guile/scm-value.c: New file.
6849 * gdb.guile/scm-value.exp: New file.
6850 * gdb.guile/source2.scm: New file.
6851 * gdb.guile/types-module.cc: New file.
6852 * gdb.guile/types-module.exp: New file.
6853
7026a7c1
YQ
68542014-02-10 Yao Qi <yao@codesourcery.com>
6855
6856 PR testsuite/16543
6857 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6858 * configure: Regenerated.
6859 * Makefile.in: New file.
6860
6c466447
AS
68612014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6862
6863 * gdb.python/py-framefilter.exp: Fix typo.
6864
6e854735
YQ
68652014-02-08 Yao Qi <yao@codesourcery.com>
6866
6867 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6868 that no =breakpoint-modified is emitted when breakpoints are
6869 modified through MI commands.
6870
d137e6dc
PA
68712014-02-07 Pedro Alves <pedro@codesourcery.com>
6872 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.threads/step-after-sr-lock.c: New file.
6875 * gdb.threads/step-after-sr-lock.exp: New file.
6876
b5ee5a50
PA
68772014-02-07 Pedro Alves <palves@redhat.com>
6878
6879 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6880
3c77faf3
JK
68812014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6882
6883 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6884 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6885
6dddc817
DE
68862014-02-06 Doug Evans <xdje42@gmail.com>
6887
6888 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6889 output.
6890
6891 * gdb.gdb/python-interrupts.exp: New file.
6892
de7b2893
YQ
68932014-02-05 Yao Qi <yao@codesourcery.com>
6894
6895 * gdb.trace/report.exp (use_collected_data): Test the output
6896 of "info threads" and "info inferiors".
6897
66d032ac
YQ
68982014-02-05 Yao Qi <yao@codesourcery.com>
6899
6900 Revert this patch:
6901
6902 2013-05-24 Yao Qi <yao@codesourcery.com>
6903
6904 * gdb.trace/tfile.exp: Test inferior and thread.
6905
591a12a1
UW
69062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6907
6908 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6909 on a function.
6910 * gdb.base/step-bt.c: Call hello via function pointer to make
6911 sure its first instruction is executed on powerpc64le-linux.
6912
0ff3e01f
UW
69132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6914
6915 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6916
084ee545
UW
69172014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6918
6919 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6920 of the test patterns for use on little-endian systems.
6921
6ed14ff3
UW
69222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6923
6924 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6925 (decimal_vector): Fix for little-endian.
6926
401e27fd
JM
69272014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6928
6929 * gdb.arch/sparc-sysstep.exp: New file.
6930 * gdb.arch/sparc-sysstep.c: Likewise.
6931
6932 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6933
8b924729
EBM
69342014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6935
6936 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6937
fb151210
JB
69382014-01-23 Tom Tromey <tromey@redhat.com>
6939
6940 * gdb.ada/array_char_idx: New testcase.
6941
0740f8d8
TT
69422014-01-23 Tom Tromey <tromey@redhat.com>
6943
6944 PR python/16487:
6945 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6946 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6947 classes.
6948
21909fa1
TT
69492014-01-23 Tom Tromey <tromey@redhat.com>
6950
6951 PR python/16491:
6952 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6953 string from an inferior frame.
6954 * gdb.python/py-framefilter-mi.exp: Update.
6955
87ce2a04
DE
69562014-01-22 Doug Evans <dje@google.com>
6957
6958 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6959
237b092b
AA
69602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6961
6962 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6963
d674a709
AA
69642014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6965
6966 * gdb.trace/entry-values.exp: Remove excess space character from
6967 regex patterns. Handle s390 call instruction.
6968
20fa3390
AA
69692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6970
6971 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6972 define "*_start" label. Make "name" static.
6973 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6974 ${name} by references to ${name}_start.
6975
78466714
AA
69762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6977
6978 * gdb.base/info-macros.exp: Remove "debug" from the compile
6979 options.
6980
ec9f644a
IB
69812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6982
6983 * gdb.dlang/demangle.exp: New file.
6984
94b1b47e
IB
69852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6986
6987 * gdb.dlang/primitive-types.exp: New file.
6988
7f420862
IB
69892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
6990
6991 * configure.ac: Create gdb.dlang/Makefile.
6992 * configure: Regenerate.
6993 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
6994 * gdb.dlang/Makefile.in: New file.
6995 * lib/d-support.exp: New file.
6996 * lib/gdb.exp (skip_d_tests): New proc.
6997
52834460
MM
69982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6999
7000 * gdb.btrace/delta.exp: Check reverse stepi.
7001 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7002 * gdb.btrace/finish.exp: New.
7003 * gdb.btrace/next.exp: New.
7004 * gdb.btrace/nexti.exp: New.
7005 * gdb.btrace/record_goto.c: Add comments.
7006 * gdb.btrace/step.exp: New.
7007 * gdb.btrace/stepi.exp: New.
7008 * gdb.btrace/multi-thread-step.c: New.
7009 * gdb.btrace/multi-thread-step.exp: New.
7010 * gdb.btrace/rn-dl-bind.c: New.
7011 * gdb.btrace/rn-dl-bind.exp: New.
7012 * gdb.btrace/data.c: New.
7013 * gdb.btrace/data.exp: New.
7014 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7015
6e07b1d2
MM
70162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7017
7018 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7019 * gdb.btrace/exception.exp: Update.
7020 * gdb.btrace/instruction_history.exp: Update.
7021 * gdb.btrace/record_goto.exp: Update.
7022 * gdb.btrace/tailcall.exp: Update.
7023 * gdb.btrace/unknown_functions.exp: Update.
7024 * gdb.btrace/delta.exp: New.
7025
0b722aec
MM
70262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7027
7028 * gdb.btrace/record_goto.exp: Add backtrace test.
7029 * gdb.btrace/tailcall.exp: Add backtrace test.
7030
066ce621
MM
70312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7032
7033 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7034 * gdb.btrace/record_goto.c: New.
7035 * gdb.btrace/record_goto.exp: New.
7036 * gdb.btrace/x86-record_goto.S: New.
7037
0688d04e
MM
70382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7039
7040 * gdb.btrace/function_call_history.exp: Update tests.
7041 * gdb.btrace/instruction_history.exp: Update tests.
7042
8710b709
MM
70432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7044
7045 * gdb.btrace/function_call_history.exp: Fix expected field
7046 order for "record function-call-history".
7047 Add new tests for "record function-call-history /c".
7048 * gdb.btrace/exception.cc: New.
7049 * gdb.btrace/exception.exp: New.
7050 * gdb.btrace/tailcall.exp: New.
7051 * gdb.btrace/x86-tailcall.S: New.
7052 * gdb.btrace/x86-tailcall.c: New.
7053 * gdb.btrace/unknown_functions.c: New.
7054 * gdb.btrace/unknown_functions.exp: New.
7055 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7056
5de9129b
MM
70572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7058
7059 * gdb.btrace/instruction_history.exp: Update.
7060 * gdb.btrace/function_call_history.exp: Update.
7061
23a7fe75
MM
70622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7063
7064 * gdb.btrace/function_call_history.exp: Fix expected function
7065 trace.
7066 * gdb.btrace/instruction_history.exp: Initialize traced.
7067 Remove traced_functions.
7068
724c7dd8
MM
70692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7070
7071 * gdb.btrace/function_call_history.exp: Update
7072 * gdb.btrace/instruction_history.exp: Update.
7073
6d78d93b
MM
70742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7075
7076 * gdb.btrace/enable.exp: Update expected text.
7077
93a360cc
OJ
70782014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7079
7080 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7081 bytes.
7082
3772b53f
MR
70832014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7084
7085 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7086
596662fa
OJ
70872014-01-15 Omair Javaid <omair.javaid@linaro.org>
7088
7089 * lib/gdb.exp (supports_process_record): Return true for
7090 arm*-linux*. (supports_reverse): Likewise.
7091
b5b08fb4
SC
70922014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7093
7094 PR python/15464
7095 PR python/16113
7096 * gdb.python/py-type.c: Enhance test case.
7097 * gdb.python/py-value-cc.cc: Likewise
7098 * gdb.python/py-type.exp: Add new tests.
7099 * gdb.python/py-value-cc.exp: Likewise
7100
52d7fb13
AA
71012014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7102 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7105 Make "name" extern.
7106 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7107 references to ${name}_start by references to ${name}.
7108
a2cd8cfe
JB
71092014-01-10 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7112
4e23fced
JB
71132014-01-10 Joel Brobecker <brobecker@adacore.com>
7114
7115 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7116
c6a9e42c
PA
71172014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7118 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7121 mi_gdb_target_load.
c6a9e42c 7122
b7ea362b
PA
71232014-01-08 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.threads/reconnect-signal.c: New file.
7126 * gdb.threads/reconnect-signal.exp: New file.
7127
5e3f4fab
EBM
71282014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7129
7130 * gdb.base/source-dir.exp: New file.
7131
79301218
JB
71322014-01-07 Joel Brobecker <brobecker@adacore.com>
7133
7134 * gdb.ada/mi_interface: New testcase.
7135
8e355c5d
JB
71362014-01-07 Joel Brobecker <brobecker@adacore.com>
7137
7138 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7139 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7140 gdb.ada/pp-rec-component/pck.ads: New files.
7141
c0d48811
JB
71422014-01-07 Joel Brobecker <brobecker@adacore.com>
7143
7144 * gdb.python/py-pp-integral.c: New file.
7145 * gdb.python/py-pp-integral.py: New file.
7146 * gdb.python/py-pp-integral.exp: New file.
7147
17b609c3 7148For older changes see ChangeLog-1993-2013.
c906108c 7149\f
8d8cb839
EZ
7150;; Local Variables:
7151;; mode: change-log
7152;; left-margin: 8
7153;; fill-column: 74
7154;; version-control: never
7155;; End:
902f2ccb 7156
618f726f 7157 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7158 Copying and distribution of this file, with or without modification,
7159 are permitted provided the copyright notice and this notice are preserved.