]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix "thread apply $conv_var" and misc other related problems
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3f5b7598
PA
12016-01-15 Pedro Alves <palves@redhat.com>
2
3 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4 command from "thread apply" invocation.
5 (thr_apply_info_thr_invalid): Default the expected output to the
6 input tid list.
7 (top level): Add tests that use convenience variables. Add tests
8 for "thread apply" with a valid TID list, but missing the command.
9
663f6d42
PA
102016-01-13 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/default.exp: Expect $_gthread as well.
13 * gdb.multi/tids.exp: Test $_gthread.
14 * gdb.threads/thread-specific.exp: Test $_gthread.
15
c84f6bbf
PA
162016-01-13 Pedro Alves <palves@redhat.com>
17
18 * gdb.multi/tids.exp: Test "info threads -gid".
19
22a02324
PA
202016-01-13 Pedro Alves <palves@redhat.com>
21
22 * gdb.multi/tids.exp: Test InferiorThread.global_num and
23 Breakpoint.thread.
24 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
25
5d5658a1
PA
262016-01-07 Pedro Alves <palves@redhat.com>
27
28 * gdb.base/break.exp: Adjust to output changes.
29 * gdb.base/hbreak2.exp: Likewise.
30 * gdb.base/sepdebug.exp: Likewise.
31 * gdb.base/watch_thread_num.exp: Likewise.
32 * gdb.linespec/keywords.exp: Likewise.
33 * gdb.multi/info-threads.exp: Likewise.
34 * gdb.threads/thread-find.exp: Likewise.
35 * gdb.multi/tids.c: New file.
36 * gdb.multi/tids.exp: New file.
37
84654457
PA
382016-01-13 Pedro Alves <palves@redhat.com>
39
40 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
41
e3940304
PA
422016-01-13 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/default.exp: Expect $_inferior as well.
45 * gdb.multi/base.exp: Test $_inferior.
46
a911d87a
PA
472016-01-13 Pedro Alves <palves@redhat.com>
48
49 PR breakpoints/19388
50 * gdb.base/catch-signal-siginfo-cond.c: New file.
51 * gdb.base/catch-signal-siginfo-cond.exp: New file.
52
82075af2
JS
532016-01-12 Josh Stone <jistone@redhat.com>
54 Philippe Waroquiers <philippe.waroquiers@skynet.be>
55
56 * gdb.base/catch-syscall.c (do_execve): New variable.
57 (main): Conditionally trigger an execve.
58 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
59 (test_catch_syscall_execve): New, check entry/return across execve.
60 (do_syscall_tests): Call test_catch_syscall_execve.
61
e46eeedd
PA
622016-01-12 Pedro Alves <palves@redhat.com>
63
64 * gdb.base/random-signal.exp (do_test): New procedure, with body
65 of testcase moved in.
66
01d8c27e
JK
672016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
68 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/funcargs.exp (finish from indirectly called function):
71 Reintroduce the case for 'First'.
72
9a706302
JK
732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
74 Pedro Alves <palves@redhat.com>
75
76 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
77 (tcatch_vfork_then_child_follow_exec)
78 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
79 identification.
80
c0ecb95f
JK
812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
84 and repeats to unlimited.
85 * gdb.python/py-value.exp: Likewise.
86 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
87 and repeats to unlimited.
88
6cfc1fcb
JK
892016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
92 and reordering the functions.
93 * gdb.multi/hangout.c: Likewise.
94 * gdb.multi/hello.c: Likewise.
95
582a1b00
SM
962016-01-08 Simon Marchi <simon.marchi@ericsson.com>
97
98 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
99 absolute.
100 (SingleStatisticTestResult.report): Use dict.keys instead of
101 dict.iterkeys.
102
79bc59cb
PA
1032016-01-06 Pedro Alves <palves@redhat.com>
104
105 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
106
43368e1d
MM
1072016-01-04 Markus Metzger <markus.t.metzger@intel.com>
108
109 * gdb.btrace/dlopen.exp: New.
110 * gdb.btrace/dlopen.c: New.
111 * gdb.btrace/dlopen-dso.c: New.
112
79fad5b8
SL
1132015-12-25 Sandra Loosemore <sandra@codesourcery.com>
114
115 * lib/gdb.exp (gdb_test): Update comments to clarify that the
116 PATTERN argument is optional.
117
ab8314b3
JB
1182015-12-24 Joel Brobecker <brobecker@adacore.com>
119
120 * lib/ada.exp (target_compile_ada_from_dir): New function.
121 (gdb_compile_ada): Reimplement avoiding the use of project files.
122 * gdb.ada/gnat_ada.gpr: Delete.
123 * gdb.ada/cond_lang.exp: Adjust test to make path before
124 filename optional.
125 * gdb.ada/small_reg_param.exp: Likewise.
126
fe33faff
SM
1272015-12-22 Simon Marchi <simon.marchi@ericsson.com>
128
129 * gdb.base/foll-vork.exp: Remove HP-UX special case.
130
6d265cb4
TP
1312015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
132
133 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
134 case.
135
10125099
SM
1362015-12-21 Simon Marchi <simon.marchi@ericsson.com>
137
138 * gdb.base/break.exp: Remove dead code.
139 * gdb.base/sepdebug.exp: Likewise.
140
3ca22649
SM
1412015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
142
143 * gdb.asm/asm-source.exp: Remove HP-UX references.
144 * gdb.base/annota1.exp: Likewise.
145 * gdb.base/annota3.exp: Likewise.
146 * gdb.base/attach.exp: Likewise.
147 * gdb.base/bigcore.exp: Likewise.
148 * gdb.base/break.exp: Likewise.
149 * gdb.base/call-ar-st.exp: Likewise.
150 * gdb.base/callfuncs.exp: Likewise.
151 * gdb.base/catch-fork-static.exp: Likewise.
152 * gdb.base/display.exp: Likewise.
153 * gdb.base/foll-exec-mode.exp: Likewise.
154 * gdb.base/foll-exec.exp: Likewise.
155 * gdb.base/foll-fork.exp: Likewise.
156 * gdb.base/foll-vfork.exp: Likewise.
157 * gdb.base/funcargs.exp: Likewise.
158 * gdb.base/hbreak2.exp: Likewise.
159 * gdb.base/inferior-died.exp: Likewise.
160 * gdb.base/interrupt.exp: Likewise.
161 * gdb.base/multi-forks.exp: Likewise.
162 * gdb.base/nodebug.exp: Likewise.
163 * gdb.base/sepdebug.exp: Likewise.
164 * gdb.base/solib1.c: Likewise.
165 * gdb.base/step-test.exp: Likewise.
166 * gdb.mi/non-stop.c: Likewise.
167 * gdb.mi/pthreads.c: Likewise.
168 * gdb.multi/bkpt-multi-exec.ex: Likewise.
169 * gdb.threads/pthreads.c: Likewise.
170 * gdb.threads/staticthreads.exp: Likewise.
171 * lib/future.exp: Likewise.
172 * lib/gdb.exp: Likewise.
173 * gdb.base/so-indr-cl.c: Remove.
174 * gdb.base/so-indr-cl.exp: Likewise.
175 * gdb.base/solib.c: Likewise.
176 * gdb.base/solib.exp: Likewise.
177 * gdb.base/solib2.c: Likewise.
178
b6304613
SM
1792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
180
181 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
182 * gdb.base/call-ar-st.exp: Likewise.
183 * gdb.base/callfuncs.exp: Likewise.
184 * gdb.base/condbreak.exp: Likewise.
185 * gdb.base/constvars.exp: Likewise.
186 * gdb.base/hbreak2.exp: Likewise.
187 * gdb.base/langs.exp: Likewise.
188 * gdb.base/list.exp: Likewise.
189 * gdb.base/long_long.exp: Likewise.
190 * gdb.base/ptype.exp: Likewise.
191 * gdb.base/scope.exp: Likewise.
192 * gdb.base/signals.exp: Likewise.
193 * gdb.base/so-impl-ld.exp: Likewise.
194 * gdb.base/varargs.exp: Likewise.
195 * gdb.base/volatile.exp: Likewise.
196 * gdb.base/whatis.exp: Likewise.
197 * gdb.cp/cplusfuncs.exp: Likewise.
198 * gdb.cp/inherit.exp: Likewise.
199 * gdb.cp/local.exp: Likewise.
200 * gdb.cp/member-ptr.exp: Likewise.
201 * gdb.cp/method.exp: Likewise.
202 * gdb.cp/overload.exp: Likewise.
203 * gdb.cp/templates.exp: Likewise.
204 * gdb.stabs/weird.exp: Likewise.
205 * lib/compiler.c: Likewise.
206 * lib/compiler.cc: Likewise.
207 * lib/cp-support.exp: Likewise.
208 * lib/gdb.exp: Likewise.
209
bf401b07
SM
2102015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
211
212 * configure.ac: Remove HP-UX case.
213 * configure: Regenerate.
214
aff9c0f8
SM
2152015-12-18 Simon Marchi <simon.marchi@ericsson.com>
216
217 * lib/gdb.exp (gdb_compile): Add function doc.
218
a6904d5a
PA
2192015-12-17 Pedro Alves <palves@redhat.com>
220
221 PR threads/19354
222 * gdb.multi/info-threads.exp: New file.
223
a22279dd
YQ
2242015-12-15 Yao Qi <yao.qi@linaro.org>
225
226 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
227 is aarch64*-*-*.
228
0588c796
SL
2292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
230
231 * gdb.base/history-duplicates.exp: Skip if no readline support.
232
5d978e17
SL
2332015-12-14 Sandra Loosemore <sandra@codesourcery.com>
234
235 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
236
7e763b86
SL
2372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
238
239 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
240
87a3a92c
SL
2412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
242
243 * gdb.base/completion.exp: Skip tests that interrupt GDB with
244 ctrl-C if nointerrupts target property is set.
245 * gdb.base/double-prompt-target-event-error.exp: Likewise.
246 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
247 * gdb.base/paginate-bg-execution.exp: Likewise.
248 * gdb.base/paginate-execution-startup.exp: Likewise.
249 * gdb.base/random-signal.exp: Likewise.
250 * gdb.base/range-stepping.exp: Likewise.
251 * gdb.cp/annota2.exp: Likewise.
252 * gdb.cp/annota3.exp: Likewise.
253 * gdb.gdb/selftest.exp: Likewise.
254 * gdb.threads/continue-pending-status.exp: Likewise.
255 * gdb.threads/leader-exit.exp: Likewise.
256 * gdb.threads/manythreads.exp: Likewise.
257 * gdb.threads/pthreads.exp: Likewise.
258 * gdb.threads/schedlock.exp: Likewise.
259 * gdb.threads/sigthread.exp: Likewise.
260
a8f077dc
DB
2612015-12-11 Don Breazeal <donb@codesourcery.com>
262
263 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
264 remote.
265 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
266 * gdb.base/foll-exec.exp (main): Enable for target remote.
267 * gdb.base/foll-fork.exp (main): Likewise.
268 * gdb.base/foll-vfork.exp (main): Likewise.
269 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
270 (proc continue_to_exit_bp_loc): Use clean_restart.
271 * gdb.base/pie-execl.exp (main): Disable for target remote.
272 * gdb.base/watch-vfork.exp (main): Enable for target remote.
273 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
274 * gdb.threads/execl.exp (main): Likewise.
275 * gdb.threads/fork-child-threads.exp (main): Likewise.
276 * gdb.threads/fork-plus-threads.exp (main): Disable for target
277 remote.
278 * gdb.threads/fork-thread-pending.exp (main): Enable for target
279 remote.
280 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
281 pid.tid style ptids, instead of just tid.
282 * gdb.threads/thread-execl.exp (main): Enable for target remote.
283 * gdb.threads/watchpoint-fork.exp (main): Likewise.
284 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
285 ptids, instead of just tid.
286
3b2464a8
AB
2872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * gdb.base/list.exp (test_list_forward): Add end of file error
290 test.
291 (test_repeat_list_command): Add end of file error test.
292 (test_list_backwards): Add beginning of file error test.
293
a0def019
AB
2942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
295
296 * gdb.base/list.exp (test_list_invalid_args): New function,
297 defined, and called.
298
5c000dff
AB
2992015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.base/list.exp (test_list): Make test names unique.
302
f1637ebe
YQ
3032015-12-11 Yao Qi <yao.qi@linaro.org>
304
305 * gdb.base/coremaker2.c: Remove.
306
36d6fc0a
PA
3072015-12-10 Pedro Alves <palves@redhat.com>
308
309 * gdb.multi/base.exp: Remove stale "spaces" references.
310
762f7747
PA
3112015-12-10 Pedro Alves <palves@redhat.com>
312
313 * gdb.multi/base.exp: Don't use nowarnings.
314 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
315 * gdb.multi/hangout.c: Include stdio.h.
316 * gdb.multi/hello.c: Include stdlib.h.
317 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
318 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
319 * gdb.multi/multi-arch.exp: Don't use nowarnings.
320
28d2bfb9
AB
3212015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * gdb.dwarf2/dw2-ranges-base.c: New file.
324 * gdb.dwarf2/dw2-ranges-base.exp: New file.
325 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
326 support additional line table, and debug ranges generation.
327 (Dwarf::ranges): New function, generate .debug_ranges.
328 (Dwarf::lines): Support generating simple line table programs.
329 (Dwarf::assemble): Initialise new namespace variables.
330
5fc2beac
KB
3312015-12-09 Kevin Buettner <kevinb@redhat.com>
332
333 * gdb.base/async.exp (proc test_background): Add case for
334 asynchronous execution not supported.
335
1c35a88f
LM
3362015-12-09 Luis Machado <lgustavo@codesourcery.com>
337
338 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
339 format and change test names to make them unique.
340
b593e3d9
RK
3412015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
342 Pedro Alves <pedro@redhat.com>
343
344 PR gdb/18702
345 Add checking of floatformats setup on x86_64 hosts.
346 * gdb.arch/i386-float.S (main): Load bigval and smallval.
347 (smallval, bigval): New labels/constants.
348 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
349 float" after loading bigval and smallval.
350
d72413e6
PMR
3512015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
352
353 * gdb.ada/fun_overload_menu.exp: New testcase.
354 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
355
ece66d65
JS
3562015-12-04 Josh Stone <jistone@redhat.com>
357
358 * gdb.base/catch-fork-static.exp: New.
359
41d0efca
YQ
3602015-12-03 Yao Qi <yao.qi@linaro.org>
361
362 * gdb.base/sizeof.c: Don't include stdio.h and
363 ../lib/unbuffer_output.c.
364 (main): New variable 'size' and 'value'. Remove printf and
365 gdb_unbuffer_output. Assign return value to size and value.
366 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
367 at the beginning.
368 (check_sizeof): Check the result by printing variable 'size'.
369 (check_valueof): Check the result by printing variable 'value'.
370
99fd02d9
YQ
3712015-12-01 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.base/disp-step-syscall.exp: Define syscall instruction
374 for aarch64*-*-linux* target.
375
f2faf941
PA
3762015-11-30 Pedro Alves <palves@redhat.com>
377
378 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
379
04bf20c5
PA
3802015-11-30 Pedro Alves <palves@redhat.com>
381
382 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
383 Handle non-stop mode vCont replies.
384
09df4675
PA
3852015-11-30 Pedro Alves <palves@redhat.com>
386
387 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
388 prepare_for_testing. Start gdb with "set non-stop on" appended to
389 GDBFLAGS. Lax expected stop output.
390
58b584af
YQ
3912015-11-27 Yao Qi <yao.qi@linaro.org>
392
393 * gdb.arch/arm-neon.exp: New.
394 * gdb.arch/arm-neon.c: New.
395
dfcb77a8
YQ
3962015-11-27 Yao Qi <yao.qi@linaro.org>
397
398 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
399
88e8ec1b
YQ
4002015-11-27 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.cp/annota2.exp: Allow multiple occurrences of the
403 frames-invalid annotation.
404
bfde72c2
YQ
4052015-11-27 Yao Qi <yao.qi@linaro.org>
406
407 * gdb.cp/annota2.exp: Use ${frames_invalid}.
408
f6512a69
SM
4092015-11-26 Simon Marchi <simon.marchi@ericsson.com>
410
411 * gdb.threads/names.exp: New file.
412 * gdb.threads/names.c: New file.
413 * README: Mention gdb,no_thread_names.
414
46a3515b
MM
4152015-11-26 Markus Metzger <markus.t.metzger@intel.com>
416
417 PR 19297
418 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
419 support" error.
420
62147a22
PA
4212015-11-24 Pedro Alves <palves@redhat.com>
422
423 PR 17539
424 * gdb.base/display.exp: Expect displays to be sorted in ascending
425 order. Use multi_line.
426 * gdb.base/solib-display.exp: Likewise.
427
2f341b6e
PA
4282015-11-24 Pedro Alves <palves@redhat.com>
429
430 PR 17539
431 * gdb.base/display.exp: Expect displays to be sorted in ascending
432 order. Use multi_line.
433 * gdb.base/solib-display.exp: Likewise.
434
7e0aa6aa
PA
4352015-11-24 Pedro Alves <palves@redhat.com>
436
437 PR 17539
438 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
439 threads in ascending order.
440 * gdb.base/foll-fork.exp: Likewise.
441 * gdb.base/foll-vfork.exp: Likewise.
442 * gdb.base/multi-forks.exp: Likewise.
443 * gdb.mi/mi-nonstop.exp: Likewise.
444 * gdb.mi/mi-nsintrall.exp: Likewise.
445 * gdb.multi/base.exp: Likewise.
446 * gdb.multi/multi-arch.exp: Likewise.
447 * gdb.python/py-inferior.exp: Likewise.
448 * gdb.threads/break-while-running.exp: Likewise.
449 * gdb.threads/execl.exp: Likewise.
450 * gdb.threads/gcore-thread.exp: Likewise.
451 * gdb.threads/info-threads-cur-sal.exp: Likewise.
452 * gdb.threads/kill.exp: Likewise.
453 * gdb.threads/linux-dp.exp: Likewise.
454 * gdb.threads/multiple-step-overs.exp: Likewise.
455 * gdb.threads/next-bp-other-thread.exp: Likewise.
456 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
457 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
458 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
459 * gdb.threads/thread-find.exp: Likewise.
460 * gdb.threads/tls.exp: Likewise.
461 * lib/mi-support.exp (mi_reverse_list): Delete.
462 (mi_check_thread_states): No longer reverse list.
463
2cc57ad8
PA
4642015-11-24 Pedro Alves <palves@redhat.com>
465
466 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
467 use lowercase.
468
c93e8391
SM
4692015-11-23 Simon Marchi <simon.marchi@ericsson.com>
470
471 * gdb.trace/actions.c: Include trace-common.h.
472 (main): Add a location for a fast tracepoint.
473 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
474 the normal tracepoints.
475 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
476
045ccf91
SM
4772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
478
479 * save-trace.exp: Factor out code to these...
480 (gdb_save_tracepoints): New.
481 (gdb_load_tracepoints): New.
482 (do_save_load_test): New.
483
5506f9f6
KB
4842015-11-23 Kevin Buettner <kevinb@redhat.com>
485
486 * gdb.base/asmlabel.exp: New test.
487 * gdb.base/asmlabel.c: New test case.
488
16c3b12f
JB
4892015-11-23 Joel Brobecker <brobecker@adacore.com>
490
491 * gdb.base/wrong_frame_bt_full-main.c: New file.
492 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
493 * gdb.base/wrong_frame_bt_full.exp: New file.
494
155bfbd3
JB
4952015-11-23 Joel Brobecker <brobecker@adacore.com>
496
497 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
498
bb097445
JM
4992015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
500
206853a0 501 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
502 pstate register when comparing registers values in
503 sparc64-*-linux-gnu targets to avoid spurious differences.
504
9c88ed8f
JM
5052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
506
206853a0 507 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 508
96161e25
SL
5092015-11-19 Sandra Loosemore <sandra@codesourcery.com>
510
511 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
512 as type argument to gdb_compile.
513 * gdb.base/nested-subp2.exp: Likewise.
514 * gdb.base/nested-subp3.exp: Likewise.
515
340c2830
DV
5162015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
517
518 * lib/dwarf.exp (_note): Fix left shift of negative value.
519 * gdb.trace/trace-condition.exp: Likewise.
520
c1862d0f
YQ
5212015-11-13 Yao Qi <yao.qi@linaro.org>
522
523 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
524 comments about d10v.
525 (test_scalar_returns): Likewise.
526 * gdb.base/d10v.ld: Remove.
527 * gdb.base/overlays.exp: Remove the target triplet checking for
528 d10v-*-*.
529 * gdb.base/structs.exp (test_struct_returns): Remove the
530 comments about d10v.
531 (test_struct_calls): Likewise.
532
77ae9c19
YQ
5332015-11-13 Yao Qi <yao.qi@linaro.org>
534
535 * gdb.base/gnu_vector.exp: Check the return value by "p res".
536 * gdb.base/gnu_vector.c: Don't include stdio.h.
537 (main): Don't print res and call add_some_intvecs.
538
430e004e
MK
5392015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
540
541 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
542 macro.
543 (func5): Removed.
544 (func4): Use FAST_TRACEPOINT_LABEL.
545 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
546 macro.
547 (func): Removed.
548 (thread_function): Use FAST_TRACEPOINT_LABEL.
549 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
550 (func): Remove.
551 (marker): Use FAST_TRACEPOINT_LABEL.
552 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
553 (pendfunc1): Remove.
554 (pendfunc): Use FAST_TRACEPOINT_LABEL.
555 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
556 (foo): Remove.
557 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
558 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
559 macro.
560 (func): Remove.
561 (marker): Use FAST_TRACEPOINT_LABEL.
562 * gdb.trace/trace-common.h: New header.
563 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
564 macro.
565 (func): Remove.
566 (marker): Use FAST_TRACEPOINT_LABEL.
567 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
568 (func): Remove.
569 (thread_function): Use FAST_TRACEPOINT_LABEL.
570
6e7675a7
MK
5712015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
572
573 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
574 in front.
575 * gdb.trace/change-loc.exp: Use global pcreg definition.
576 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
577 * gdb.trace/entry-values.exp: Use global spreg definition, add $
578 in front.
579 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
580 * gdb.trace/pending.exp: Likewise.
581 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
582 * gdb.trace/trace-break.exp: Likewise.
583 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
584 in front.
585 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
586 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
587 in front.
588 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
589
dddc0e16
JB
5902015-11-09 Joel Brobecker <brobecker@adacore.com>
591
592 * gdb.ada/fin_fun_out: New testcase.
593
c6f0b406
KB
5942015-11-07 Kevin Buettner <kevinb@redhat.com>
595
596 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
597 value associated with DW_AT_byte_size.
598 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
599 constants for DW_AT_byte_size, DW_AT_lower_bound, and
600 DW_AT_upper_bound.
601
f01dcfd9
KB
6022015-11-07 Kevin Buettner <kevinb@redhat.com>
603
604 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
605 (gdb_target_symbol_prefix_flags): Define in terms of _asm
606 version.
607 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
608 gdb.dwarf2/dw2-canonicalize-type.exp,
609 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
610 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
611 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
612 provided by gdb_target_symbol_prefix_flags_asm.
613 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
614 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
615 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
616 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
617 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
618 macros where needed). Use this macro for symbols which require
619 the prefix provided by SYMBOL_PREFIX.
620
2223449a
KB
6212015-11-05 Kevin Buettner <kevinb@redhat.com>
622
623 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
624 New procs.
625 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
626 representing expressions, of more than one list element.
627 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
628 to prepend linker symbol prefix to f.
629 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
630 table_1 and table_2.
631 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
632 Likewise, for f and g.
633 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
634 for ptr.
635 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
636 for main.
637 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
638 table_1_ptr and table_2_ptr.
639
6f2f1a3a
JK
6402015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
641 Joel Brobecker <brobecker@adacore.com>
642
643 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
644
566c56c9
MK
6452015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
646
647 * gdb.reverse/s390-mvcle.c: New test.
648 * gdb.reverse/s390-mvcle.exp: New file.
649 * lib/gdb.exp: Enable reverse tests on s390*-linux.
650
d5f0636b
MK
6512015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
652
653 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
654
7ad8b86c
MK
6552015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
656
657 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
658 reaching marker2.
659 * gdb.reverse/getresuid-reverse.exp: Likewise.
660 * gdb.reverse/pipe-reverse.exp: Likewise.
661 * gdb.reverse/readv-reverse.exp: Likewise.
662 * gdb.reverse/recvmsg-reverse.exp: Likewise.
663 * gdb.reverse/time-reverse.exp: Likewise.
664 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
665
4081c0f1
YQ
6662015-10-30 Yao Qi <yao.qi@linaro.org>
667
668 * gdb.threads/wp-replication.c (watch_count_done): Remove.
669 (empty_cycle): Remove.
670 (main): Don't call empty_cycle. Don't use watch_count_done.
671 * gdb.threads/wp-replication.exp: Don't set breakpoint on
672 empty_cycle. Rewrite the code counting HW watchpoints.
673
452b4ba5
MK
6742015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
675
676 * gdb.reverse/fstatat-reverse.c: New test.
677 * gdb.reverse/fstatat-reverse.exp: New file.
678 * gdb.reverse/getresuid-reverse.c: New test.
679 * gdb.reverse/getresuid-reverse.exp: New file.
680 * gdb.reverse/pipe-reverse.c: New test.
681 * gdb.reverse/pipe-reverse.exp: New file.
682 * gdb.reverse/readv-reverse.c: New test.
683 * gdb.reverse/readv-reverse.exp: New file.
684 * gdb.reverse/recvmsg-reverse.c: New test.
685 * gdb.reverse/recvmsg-reverse.exp: New file.
686 * gdb.reverse/time-reverse.c: New test.
687 * gdb.reverse/time-reverse.exp: New file.
688 * gdb.reverse/waitpid-reverse.c: New test.
689 * gdb.reverse/waitpid-reverse.exp: New file.
690
5e2e7507
JK
6912015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
692
693 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
694
0fde2c53
DE
6952015-10-26 Doug Evans <dje@google.com>
696
697 PR symtab/17391
698 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
699 * gdb.dwarf2/bad-regnum.c: New file.
700 * gdb.dwarf2/bad-regnum.exp: New file.
701
1a70ae97
DE
7022015-10-26 Doug Evans <dje@google.com>
703
704 PR python/18938
705 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
706 file.
707
27dc26ab
JK
7082015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
709
710 * gdb.compile/compile.exp (compile code globalvar): Update expectation
711 for a change by "Mention language in compile error message".
712
bed91f4d
SM
7132015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
714
715 PR python/18073
716 * gdb.python/py-type.c (C::a_method): New.
717 (C::a_const_method): New.
718 (C::a_static_method): New.
719 (a_function): New.
720 * gdb.python/py-type.exp (test_fields): Test getting fields
721 from function and method.
722
3f2f83dd
KB
7232015-10-21 Keven Boell <keven.boell@intel.com>
724
725 * gdb.fortran/vla-alloc-assoc.exp: New file.
726 * gdb.fortran/vla-datatypes.exp: New file.
727 * gdb.fortran/vla-datatypes.f90: New file.
728 * gdb.fortran/vla-history.exp: New file.
729 * gdb.fortran/vla-ptype-sub.exp: New file.
730 * gdb.fortran/vla-ptype.exp: New file.
731 * gdb.fortran/vla-sizeof.exp: New file.
732 * gdb.fortran/vla-sub.f90: New file.
733 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
734 * gdb.fortran/vla-value-sub-finish.exp: New file.
735 * gdb.fortran/vla-value-sub.exp: New file.
736 * gdb.fortran/vla-value.exp: New file.
737 * gdb.fortran/vla-ptr-info.exp: New file.
738 * gdb.mi/mi-vla-fortran.exp: New file.
739 * gdb.mi/vla.f90: New file.
740
27145d50
SL
7412015-10-21 Sandra Loosemore <sandra@codesourcery.com>
742
743 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
744 of hardwired timeout value.
745
5f3ff4f8
JK
7462015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
747 Pedro Alves <palves@redhat.com>
748
749 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
750 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
751
bfd09d20
JS
7522015-10-19 Josh Stone <jistone@redhat.com>
753
754 * gdb.base/catch-syscall.c: Include <sched.h>.
755 (unknown_syscall): New variable.
756 (main): Trigger a vfork and an unknown syscall.
757 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
758 (unknown_syscall_number): Likewise.
759 (check_call_to_syscall): Accept an optional syscall pattern.
760 (check_return_from_syscall): Likewise.
761 (check_continue): Likewise.
762 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
763 (test_catch_syscall_skipping_return): New test toggling off 'catch
764 syscall' to step over the syscall return, then toggling back on.
765 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
766 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
767 (do_syscall_tests): Call test_catch_syscall_without_args and
768 test_catch_syscall_mid_vfork.
769 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
770 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
771
b32b93c6
AS
7722015-10-19 Andrew Stubbs <ams@codesourcery.com>
773
774 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
775 print g_vE): Add new pass patterns.
776 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
777 print various symbol names for vptr fields.
778
9d622bda
AB
7792015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
782 results.
783
0fd8ac1c
YQ
7842015-10-12 Yao Qi <yao.qi@linaro.org>
785
786 * gdb.arch/disp-step-insn-reloc.exp: New test case.
787
34240514
YQ
7882015-10-12 Yao Qi <yao.qi@linaro.org>
789
790 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
791 is aarch64*-*-linux*.
792
8240f442
YQ
7932015-10-12 Yao Qi <yao.qi@linaro.org>
794
795 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
796 (can_relocate_bcond_true): ... it.
797 (can_relocate_bcond_false): New function.
798 (foo): Likewise.
799 (can_relocate_bl): Likewise.
800 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
801 can_relocate_bl.
802
2520f728
PMR
8032015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
804
805 * gdb.base/nested-addr.c: New file.
806 * gdb.base/nested-addr.exp: New testcase.
807
abcef95a
MM
8082015-10-09 Markus Metzger <markus.t.metzger@intel.com>
809
810 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
811 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
812 its output. Ignore the output of "record goto begin" and instead
813 check that GDB is replaying.
814
145e3ddb
PA
8152015-10-09 Pedro Alves <palves@redhat.com>
816
817 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
818 (top level): Use it in the run with no args test.
819
d5d8c4e1
IB
8202015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
821
822 * gdb.dlang/properties.exp: New file.
823
06e635ef
SL
8242015-10-02 Sandra Loosemore <sandra@codesourcery.com>
825
826 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
827 whether or not address 0x1000 is mapped on the target.
828
e019fd1d
SM
8292015-09-30 Simon Marchi <simon.marchi@ericsson.com>
830
831 * gdb.python/py-type.exp: Do not run tests if binaries fail to
832 build.
833
77ba2a67
MM
8342015-09-30 Markus Metzger <markus.t.metzger@intel.com>
835
836 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
837 instruction-history test.
838
c60eb31f
DE
8392015-09-28 Doug Evans <dje@google.com>
840
841 * gdb.base/gcore.c (array_func): Add reference to static_array.
842
9a3c8263
SM
8432015-09-25 Simon Marchi <simon.marchi@ericsson.com>
844
845 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
846 source line.
847
9720e656
SL
8482015-09-24 Sandra Loosemore <sandra@codesourcery.com>
849
850 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
851 short or char as base type.
852
938d3bf2
SL
8532015-09-23 Sandra Loosemore <sandra@codesourcery.com>
854
855 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
856 to allow any size enum.
857
e6c2c623
PMR
8582015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
859
860 * gdb.ada/array_ptr_renaming.exp: New testcase.
861 * gdb.ada/array_ptr_renaming/foo.adb: New file.
862 * gdb.ada/array_ptr_renaming/pack.ads: New file.
863
06da0f77
PL
8642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
865
866 * gdb.trace/ftrace-lock.c: New file.
867 * gdb.trace/ftrace-lock.exp: New file.
868
4f51c22a
PL
8692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
870
871 * gdb.arch/insn-reloc.c: New file.
872 * gdb.arch/ftrace-insn-reloc.exp: New file.
873
7041adf4
PL
8742015-09-21 Pierre Langlois <pierre.langlois@arm.com>
875
876 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
877 instruction.
878 * gdb.trace/pendshr1.c (pendfunc): Likewise.
879 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
880 * gdb.trace/range-stepping.c: Likewise.
881 * gdb.trace/trace-break.c: Likewise.
882 * gdb.trace/trace-mt.c (thread_function): Likewise.
883 * gdb.trace/ftrace.c (marker): Likewise.
884 * gdb.trace/trace-condition.c (marker): Likewise.
885 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
886 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
887 is_aarch64_target.
888
015d2e7e
DE
8892015-09-18 Doug Evans <xdje42@gmail.com>
890
891 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
892 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
893
26b188a2
SL
8942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
895
896 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
897 the breakpoint.
898
79dc332b
SL
8992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
900
901 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
902 the pending breakpoint. Remove timeout override for "Run till
903 MI pending breakpoint on pendfunc3 on thread 2" test.
904
f57929f2
SL
9052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
906
907 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
908 filename pattern.
909
3f469b17
SL
9102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
911
912 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
913 in breakpoint filename pattern.
914
515b89b3
SL
9152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
916
7800dbe4
SL
917 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
918
9192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
920
515b89b3
SL
921 * gdb.linespec/explicit.exp: Check for readline support for
922 tab-completion tests. Fix obvious typo.
923
d2939ba2
MM
9242015-09-18 Markus Metzger <markus.t.metzger@intel.com>
925
926 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
927 and replay.
928
cbb55fa7
MM
9292015-09-18 Markus Metzger <markus.t.metzger@intel.com>
930
931 * gdb.btrace/non-stop.c: New.
932 * gdb.btrace/non-stop.exp: New.
933
43691ca1
PL
9342015-09-17 Pierre Langlois <pierre.langlois@arm.com>
935 Yao Qi <yao.qi@linaro.org>
936
937 * gdb.trace/trace-condition.c: New file.
938 * gdb.trace/trace-condition.exp: New file.
939
d78908cf
WW
9402015-09-16 Wei-cheng Wang <cole945@gmail.com>
941
942 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
943 for testing bytecode compilation.
944
1ed415e2
PA
9452015-09-16 Pedro Alves <palves@redhat.com>
946 Sandra Loosemore <sandra@codesourcery.com>
947
948 * gdb.threads/non-stop-fair-events.c (timeout): New global.
949 (SECONDS): Redefine.
950 (main): Call pthread_kill and alarm early.
951 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
952 support.
953 (test): If the target can't hardware step and doesn't support
954 displaced stepping, increase the timeout.
955
d136eff5
PA
9562015-09-16 Pedro Alves <palves@redhat.com>
957
958 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
959 (enable_debug): New procedures.
960 (test): Use them. Bail out if waiting for threads fails.
961 (top level): Bail out if a test fails.
962
991f019c
YQ
9632015-09-16 Yao Qi <yao.qi@linaro.org>
964
965 * gdb.asm/asm-source.exp: Set asm-arch for
966 aarch64*-*-* target.
967 * gdb.asm/aarch64.inc: New file.
968
bfca584f
PMR
9692015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
970
971 * gdb.ada/array_of_variable_length.exp: New testcase.
972 * gdb.ada/array_of_variable_length/foo.adb: New file.
973 * gdb.ada/array_of_variable_length/pck.adb: New file.
974 * gdb.ada/array_of_variable_length/pck.ads: New file.
975
b326e587
DE
9762015-09-15 Doug Evans <dje@google.com>
977
978 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
979 of function static local variable.
980
5382cfab
PW
9812015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
982
983 * gdb.threads/tls-so_extern.exp: New test file.
984 * gdb.threads/tls-so_extern.c: New test file.
985 * gdb.threads/tls-so_extern_main.c: New test file.
986
141c5cc4
JK
9872015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * gdb.opt/solib-intra-step-lib.c: New file.
990 * gdb.opt/solib-intra-step-main.c: New file.
991 * gdb.opt/solib-intra-step.exp: New file.
992
d15dcecd
PA
9932015-09-15 Pedro Alves <palves@redhat.com>
994
995 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
996 gdb_continue_to_breakpoint instead of gdb_test_multiple.
997
4c2f2a79
PA
9982015-09-14 Pedro Alves <palves@redhat.com>
999
1000 * gdb.base/hook-stop-continue.c: Delete.
1001 * gdb.base/hook-stop-continue.exp: Delete.
1002 * gdb.base/hook-stop-frame.c: Delete.
1003 * gdb.base/hook-stop-frame.exp: Delete.
1004 * gdb.base/hook-stop.c: New file.
1005 * gdb.base/hook-stop.exp: New file.
1006
919e6dbe
PMR
10072015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1008
1009 * gdb.ada/access_to_packed_array.exp: New testcase.
1010 * gdb.ada/access_to_packed_array/foo.adb: New file.
1011 * gdb.ada/access_to_packed_array/pack.adb: New file.
1012 * gdb.ada/access_to_packed_array/pack.ads: New file.
1013
157280a4
MM
10142015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1015
1016 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1017 buffer size test.
1018
2fd33e94
DB
10192015-09-11 Don Breazeal <donb@codesourcery.com>
1020
1021 * gdb.base/foll-exec.c: Add copyright header. Fix
1022 formatting issues.
1023 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1024 (do_exec_tests): Use clean_restart in place of zap_session,
1025 and for test initialization. Fix formatting issues. Use
1026 fail in place of perror.
1027 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1028 an expect statement to match an expression with output from
1029 the program under debug.
1030 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1031 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1032 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1033 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1034 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1035
e70b6e8e
DE
10362015-09-09 Doug Evans <dje@google.com>
1037
1038 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1039
7a551a51
DE
10402015-09-09 Doug Evans <dje@google.com>
1041
1042 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1043
4c666f84
DE
10442015-09-09 Doug Evans <dje@google.com>
1045
1046 * gdb.base/savedregs.exp: Fix typo.
1047
243a9253
PA
10482015-09-09 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1051
c0fa8fbd
SL
10522015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1053
1054 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1055 command actually switches threads. Give up on remaining
1056 tests if target fails to stop at breakpoint.
1057
cd7c1778
PMR
10582015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1059
1060 * gdb.ada/funcall_char.exp: New testcase.
1061 * gdb.ada/funcall_char/foo.adb: New file.
1062
dc5c8746
PMR
10632015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1064
1065 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1066 expected outputs. Add two testcases for completing ambiguous
1067 functions.
1068 * gdb.ada/complete/aux_pck.adb: New file.
1069 * gdb.ada/complete/aux_pck.ads: New file.
1070 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1071 Ambiguous_Func functions.
1072 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1073 * gdb.ada/complete/pck.adb: Likewise.
1074
4e83a1e7
UW
10752015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1076
1077 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1078 failures to run the test program under GDB.
1079
8ce74153
LM
10802015-08-26 Luis Machado <lgustavo@codesourcery.com>
1081
1082 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1083 to C.
1084
e9756d52
PP
10852015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1086
1087 * gdb.base/run-after-attach.exp: New test file.
1088 * gdb.base/run-after-attach.c: New test file.
1089
8d37573b
DB
10902015-08-26 Don Breazeal <donb@codesourcery.com>
1091
1092 * gdb.base/foll-exec-2.c: New test program.
1093 * gdb.base/foll-exec-2.exp: New test.
1094
63e43d3a
PMR
10952015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1096
1097 * gdb.base/nested-subp1.exp: New file.
1098 * gdb.base/nested-subp1.c: New file.
1099 * gdb.base/nested-subp2.exp: New file.
1100 * gdb.base/nested-subp2.c: New file.
1101 * gdb.base/nested-subp3.exp: New file.
1102 * gdb.base/nested-subp3.c: New file.
1103
3d40fbb5
PA
11042015-08-24 Pedro Alves <palves@redhat.com>
1105
1106 * gdb.server/connect-without-multi-process.c: New file.
1107 * gdb.server/connect-without-multi-process.exp: New file.
1108
4422ac93
LM
11092015-08-24 Luis Machado <lgustavo@codesourcery.com>
1110
1111 * gdb.opt/inline-markers.c: Make z int.
1112
91dddb86
LM
11132015-08-24 Luis Machado <lgustavo@codesourcery.com>
1114
1115 * gdb.opt/inline-markers.c: Make z volatile.
1116
a48847ee
LM
11172015-08-24 Luis Machado <lgustavo@codesourcery.com>
1118
1119 * gdb.opt/inline-bt.c: New volatile global z.
1120 * gdb.opt/inline-cmds.c: Likewise.
1121 * gdb.opt/inline-locals.c: Likewise.
1122 * gdb.opt/inline-markers.c: New extern global z.
1123 (marker): Use z.
1124 (inline_fn): Likewise.
1125
0ebbc52b
PA
11262015-08-24 Pedro Alves <palves@redhat.com>
1127
1128 * config/m32r-stub.exp: Remove file.
1129 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1130 * gdb.base/call-rt-st.exp: Likewise.
1131 * gdb.base/call-strs.exp: Likewise.
1132 * gdb.base/default.exp: Remove references to h8300-*-hms and
1133 *-*-udi*.
1134 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1135
77c365df
AA
11362015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1137
1138 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1139 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1140 and "return" use KFAIL when GDB can not read/write the vector
1141 return value.
1142
4313b8c0
GB
11432015-08-21 Gary Benson <gbenson@redhat.com>
1144
1145 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1146
0e433b32
PA
11472015-08-20 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.server/solib-list.exp: No longer expect an interior stop in
1150 non-stop mode.
1151
221e1a37
PA
11522015-08-20 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.server/connect-stopped-target.c: New file.
1155 * gdb.server/connect-stopped-target.exp: New file.
1156
40e3ad0e
PA
11572015-08-20 Pedro Alves <palves@redhat.com>
1158
1159 * gdb.dwarf2/comp-unit-lang.exp: New file.
1160 * gdb.dwarf2/comp-unit-lang.c: New file.
1161
af39b327
PMR
11622015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1163
1164 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1165 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1166
7d45c7c3 11672015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1168
7d45c7c3
KB
1169 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1170 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1171
4d6cceb4
DE
11722015-08-18 Doug Evans <dje@google.com>
1173 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1174
1175 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1176 skip_python_tests. New arg prompt_regexp.
1177 (skip_python_tests): New function.
1178 * lib/mi-support.exp (mi_skip_python_tests): New function.
1179 * gdb.python/py-mi-objfile-gdb.py: New file.
1180 * gdb.python/py-mi-objfile.c: New file.
1181 * gdb.python/py-mi-objfile.exp: New file.
1182
ad89c2aa
KS
11832015-08-17 Keith Seitz <keiths@redhat.com>
1184
1185 * gdb.linespec/explicit.exp: Move strace test from here ...
1186 * gdb.trace/strace.exp: ... to here.
1187
e3ae3c43
PP
11882015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1189
1190 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1191 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1192
604b2636
DE
11932015-08-14 Doug Evans <xdje42@gmail.com>
1194
1195 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1196 inferior before selecting a new file.
1197
6ff0ba5f
DE
11982015-08-14 Doug Evans <xdje42@gmail.com>
1199
1200 * gdb.mi/mi-disassemble.exp: Update.
1201 * gdb.base/disasm-optim.S: New file.
1202 * gdb.base/disasm-optim.c: New file.
1203 * gdb.base/disasm-optim.h: New file.
1204 * gdb.base/disasm-optim.exp: New file.
1205
9ca98f92
KS
12062015-08-14 Keith Seitz <keiths@redhat.com>
1207
1208 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1209 "evaluated-by".
1210
52bbc560
JB
12112015-08-13 Joel Brobecker <brobecker@adacore.com>
1212
1213 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1214
5d8c3ed3
PMR
12152015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1216
1217 * gdb.ada/fun_renaming.exp: New testcase.
1218 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1219 * gdb.ada/fun_renaming/pack.adb: New file.
1220 * gdb.ada/fun_renaming/pack.ads: New file.
1221
ea8812bc
KS
12222015-08-12 Keith Seitz <keiths@redhat.com>
1223
1224 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1225 gdb_get_line_number.
1226
4dafcdeb
JB
12272015-08-12 Joel Brobecker <brobecker@adacore.com>
1228
1229 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1230 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1231 gdb.base/dso2dso.exp: New files.
1232
5ba32597
SDJ
12332015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1234 Pedro Alves <palves@redhat.com>
1235 Keith Seitz <keiths@redhat.com>
1236
1237 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1238 GDBFLAGS.
1239
b6dafabf
PP
12402015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1241
1242 * gdb.base/gdbhistsize-history.exp
1243 (test_histsize_history_setting): Use save_vars.
1244 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1245 Use save_vars.
1246 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1247 * gdb.base/readline.exp: Use save_vars.
1248
abe8e607
PP
12492015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1250
1251 * lib/gdb.exp (save_vars): New proc.
1252
629500fa
KS
12532015-08-11 Keith Seitz <keiths@redhat.com>
1254
1255 * gdb.base/help.exp: Update help_breakpoint_text.
1256
eb8c4e2e
KS
12572015-08-11 Keith Seitz <keiths@redhat.com>
1258
1259 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1260 (at toplevel): Call test_explicit_breakpoints.
1261 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1262 breakpoints.
1263 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1264 breakpoint conditions, "-cond".
1265
87f0e720
KS
12662015-08-11 Keith Seitz <keiths@redhat.com>
1267
1268 * gdb.linespec/3explicit.c: New file.
1269 * gdb.linespec/cpexplicit.cc: New file.
1270 * gdb.linespec/cpexplicit.exp: New file.
1271 * gdb.linespec/explicit.c: New file.
1272 * gdb.linespec/explicit.exp: New file.
1273 * gdb.linespec/explicit2.c: New file.
1274 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1275 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1276 before using in the matching pattern.
1277 Clarify that `prefix' is a regular expression.
1278
f00aae0f
KS
12792015-08-11 Keith Seitz <keiths@redhat.com>
1280
1281 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1282 test.
1283 Add tests for missing ",FMT" and ",".
1284
e27852be
DE
12852015-08-10 Doug Evans <dje@google.com>
1286 Keith Seitz <keiths@redhat.com>
1287
1288 PR gdb/17960
1289 * gdb.base/completion.exp: Add location completer tests.
1290
7f03bd92
PA
12912015-08-07 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1294 tests here.
1295 (top level): Run do_test with and without displaced stepping.
1296
3fc8eb30
PA
12972015-08-07 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.base/valgrind-disp-step.c: New file.
1300 * gdb.base/valgrind-disp-step.exp: New file.
1301
d4569d7b
PA
13022015-08-07 Pedro Alves <palves@redhat.com>
1303
1304 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1305 Delete function.
1306 (main): Add alarm. Run an infinite loop instead of calling
1307 wait_threads.
1308 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1309 comment.
1310 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1311 Delete function.
1312 (main): Add alarm. Run an infinite loop instead of calling
1313 wait_threads.
1314 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1315 comment.
1316
e1316e60
PA
13172015-08-07 Pedro Alves <palves@redhat.com>
1318
1319 * gdb.base/checkpoint-ns.exp: New file.
1320 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1321 standard_testfile.
1322
da8c46d2
MM
13232015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1324
1325 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1326 * gdb.btrace/instruction_history.exp: Update.
1327 * gdb.btrace/tsx.exp: New.
1328 * gdb.btrace/tsx.c: New.
1329
de1c2c52
PA
13302015-08-06 Pedro Alves <palves@redhat.com>
1331
1332 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1333 increase timeout.
1334 * gdb.reverse/until-precsave.exp: Bump timeouts.
1335
782e0bf4
PA
13362015-08-06 Pedro Alves <palves@redhat.com>
1337
1338 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1339
83e97ed0
PA
13402015-08-06 Pedro Alves <palves@redhat.com>
1341
1342 PR gdb/18749
1343 * gdb.threads/process-dies-while-handling-bp.c: New file.
1344 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1345
863d01bd
PA
13462015-08-06 Pedro Alves <palves@redhat.com>
1347
1348 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1349 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1350
0a39bb32
PA
13512015-08-05 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1354 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1355
ee2d2b10
SL
13562015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1357
1358 * gdb.base/bp-permanent.exp: Report test as unsupported if
1359 the target cannot stop at the permanent breakpoint.
1360
4e1bdb00
DE
13612015-08-03 Doug Evans <dje@google.com>
1362
1363 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1364 10000.
1365
3d338901
DE
13662015-08-03 Doug Evans <dje@google.com>
1367
1368 * Makefile.in (workers/%.worker, build-perf): New rule.
1369 (GDB_PERFTEST_MODE): New variable.
1370 (check-perf): Use it.
1371 (clean): Clean up gdb.perf parallel build subdirs.
1372 * lib/build-piece.exp: New file.
1373 * lib/gdb.exp (make_gdb_parallel_path): New function
1374 (standard_output_file, standard_temp_file): Call it.
1375 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1376 of $GDB_PARALLEL.
1377 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1378
af061d3e
DE
13792015-08-03 Doug Evans <dje@google.com>
1380
8e1afc81 1381 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1382 (LOG_FILE_NAME): New global.
1383 (TextReporter.__init__): Initialize self.txt_sum.
1384 (TextReporter.report): Add support for multiple data-points.
1385 Move report to perftest.sum, put raw data in perftest.log.
1386 (TextReporter.start): Open sum and log files.
1387 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1388 * gdb.perf/lib/perftest/testresult.py
1389 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1390
2c8c5d37
PA
13912015-07-31 Pedro Alves <palves@redhat.com>
1392
1393 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1394 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1395 kill_wait_spawned_process instead of explicit "kill -9".
1396 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1397 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1398 kill_wait_spawned_process.
1399 * gdb.base/attach-twice.exp: Likewise.
1400 * gdb.base/attach.exp: Likewise.
1401 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1402 gdb_test_multiple.
1403 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1404 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1405 kill_wait_spawned_process.
1406 * gdb.base/valgrind-infcall.exp: Likewise.
1407 * gdb.multi/multi-attach.exp: Likewise.
1408 * gdb.python/py-prompt.exp: Likewise.
1409 * gdb.python/py-sync-interp.exp: Likewise.
1410 * gdb.server/ext-attach.exp: Likewise.
1411 * gdb.threads/attach-into-signal.exp (corefunc): Use
1412 spawn_wait_for_attach, spawn_id_get_pid and
1413 kill_wait_spawned_process.
1414 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1415 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1416 spawn_id_get_pid and kill_wait_spawned_process.
1417 * gdb.threads/attach-stopped.exp (corefunc): Use
1418 spawn_wait_for_attach, spawn_id_get_pid and
1419 kill_wait_spawned_process.
1420 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1421 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1422 kill_wait_spawned_process instead of explicit "kill -9".
1423 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1424 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1425 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1426 processes. Don't map cygwin/windows pids here. Now returns a
1427 spawn id list.
1428
032a0fca
SL
14292015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1430
1431 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1432 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1433 correct patch.
1434
61a934ca
SL
14352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1436
1437 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1438
4bc4d428
SL
14392015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1440
1441 Reapply:
1442 2014-05-21 Mark Wielaard <mjw@redhat.com>
1443
1444 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1445
998d452a
PA
14462015-07-30 Pedro Alves <palves@redhat.com>
1447
1448 * linux-low.c (handle_extended_wait): Set the child's last
1449 reported status to TARGET_WAITKIND_STOPPED.
1450
69dde7dc
PA
14512015-07-30 Pedro Alves <palves@redhat.com>
1452
1453 PR threads/18600
1454 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1455 only shows inferior 1.
1456
4dd63d48
PA
14572015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1458 Pedro Alves <palves@redhat.com>
1459
1460 PR threads/18600
1461 * gdb.threads/fork-plus-threads.c: New file.
1462 * gdb.threads/fork-plus-threads.exp: New file.
1463
d618e4c5
PP
14642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1465
1466 * gdb.base/batch-preserve-term-settings.exp
1467 (test_terminal_settings_preserved_after_cli_exit): Use
1468 send_quit_command.
1469
1eef6428
PA
14702015-07-29 Pedro Alves <palves@redhat.com>
1471 Don Breazeal <donb@codesourcery.com>
1472
1473 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1474 output from both inferior_spawn_id and gdb_spawn_id.
1475
7da5b897
SDJ
14762015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1477
1478 * gdb.threads/attach-into-signal.exp (corefunc): Use
1479 with_test_prefix on nested loops, uniquefying the test messages.
1480
dac804df
SDJ
14812015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1482
1483 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1484 commit.
1485
06265e53
PP
14862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1487
1488 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1489 New proc.
1490 (test_terminal_settings_preserved_after_sigterm): New test.
1491
18206ca3
PP
14922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1493
1494 * gdb.base/batch-preserve-term-settings.exp
1495 (test_terminal_settings_preserved_after_cli_exit): New test.
1496
90074d11
PP
14972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1498
1499 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1500 manipulation of saved_gdbflags.
1501 (test_terminal_settings_preserved): Remove global declaration of
1502 the unused variable pagination_prompt. Remove manipulation of
1503 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1504 GDBFLAGS.
1505
eb1a7902
PA
15062015-07-29 Pedro Alves <palves@redhat.com>
1507
1508 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1509
8b75dd3b
PA
15102015-07-29 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1513 at the top.
1514
dedad4e3
PA
15152015-07-29 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1518 (main): Call gdb_unbuffer_output.
1519 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1520 (main): Call gdb_unbuffer_output.
1521 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1522 (main): Call gdb_unbuffer_output.
1523 * gdb.base/call-strs.exp: Adjust to step over the
1524 gdb_unbuffer_output call.
1525 * gdb.base/catch-gdb-caused-signals.c: Include
1526 "../lib/unbuffer_output.c".
1527 (main): Call gdb_unbuffer_output.
1528 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1529 (main): Call gdb_unbuffer_output.
1530 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1531 (main): Call gdb_unbuffer_output.
1532 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1533 (main): Call gdb_unbuffer_output.
1534 * gdb.base/shlib-call.exp: Adjust to step over the
1535 gdb_unbuffer_output call.
1536 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1537 (main): Call gdb_unbuffer_output.
1538 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1539 (main): Call gdb_unbuffer_output.
1540 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1541 (main): Rename to ...
1542 (test): ... this.
1543 (main): Reimplement.
1544 * gdb.base/varargs.exp: Run to test instead of to main.
1545 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1546 (main): Call gdb_unbuffer_output.
1547
58789a91
PA
15482015-07-29 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1551 factore out from mi_continue_dprintf. For call-style dprintfs,
1552 expect dprintf output out of $inferior_spawn_id.
1553 (mi_continue_dprintf): Use mi_expect_dprintf.
1554 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1555 (main): Call gdb_unbuffer_output.
1556
e8376742
PA
15572015-07-29 Pedro Alves <palves@redhat.com>
1558
1559 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1560 (default_mi_gdb_start): Set inferior_spawn_id instead of
1561 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1562 gdb_spawn_id.
1563 (mi_gdb_test): Always expect inferior output from both
1564 $inferior_spawn_id and $gdb_spawn_id.
1565
08280010
PA
15662015-07-29 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1569 send_inferior and $inferior_spawn_id.
1570
4d30e432
PA
15712015-07-29 Pedro Alves <palves@redhat.com>
1572
1573 * gdb.gdb/complaints.exp (test_initial_complaints)
1574 (test_serial_complaints, test_short_complaints): Use
1575 gdb_test_stdio.
1576 (test_empty_complaint): Handle $inferior_spawn_id !=
1577 $gdb_spawn_id.
1578
0d30a335
PA
15792015-07-29 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.base/varargs.exp: Use gdb_test_stdio.
1582
39413b29
PA
15832015-07-29 Pedro Alves <palves@redhat.com>
1584
1585 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1586
7cb000a9
PA
15872015-07-29 Pedro Alves <palves@redhat.com>
1588
1589 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1590
d7b8ac82
PA
15912015-07-29 Pedro Alves <palves@redhat.com>
1592
1593 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1594 parameter into two new parameters, "inf_result" and "gdb_result".
1595 Expect inferior output and gdb output from $inferior_spawn_id and
1596 $gdb_spawn_id, respectively. Adjust all callers.
1597
789c3a0c
PA
15982015-07-29 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1601 of gdb_test_sequence.
1602
77e760c3
PA
16032015-07-29 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1606 (saw_spurious_output): Expect inferior output from
1607 $inferior_spawn_id. Use gdb_test_stdio.
1608
8396d2cd
PA
16092015-07-29 Pedro Alves <palves@redhat.com>
1610
1611 * gdb.base/dprintf.exp: Use standard_testfile. Change
1612 prepare_for_testing call.
1613 (srcfile): Don't set.
1614 (restart): New procedure.
1615 (test_dprintf): New procecure, use to continue over dprintfs.
1616 (test_call, test_agent): New procedures, tests moved here.
1617 Restart gdb and recreate dprintfs. Adjust expected output.
1618
2051d61f
PA
16192015-07-29 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1622
452397af
PA
16232015-07-29 Pedro Alves <palves@redhat.com>
1624
1625 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1626
8aed9555
PA
16272015-07-29 Pedro Alves <palves@redhat.com>
1628
1629 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1630 gdb_test_stdio.
1631
188a61b4
PA
16322015-07-29 Pedro Alves <palves@redhat.com>
1633
1634 * lib/gdb.exp (gdb_test_stdio): New procedure.
1635
12264a45
PA
16362015-07-29 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1639
23ffc893
PA
16402015-07-29 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.base/call-signal-resume.exp: Remove check for
1643 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1644 * gdb.base/unwindonsignal.exp: Likewise.
1645 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1646 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1647
65566918
PA
16482015-07-29 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.base/siginfo-addr.c (pass): New function.
1651 (handler): Call it iff si_addr is correct.
1652 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1653 Set a breakpoint at "pass" and continue to it.
1654
d60a9221
SDJ
16552015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1656
1657 * gdb.python/py-objfile.exp: Make some tests have unique names.
1658 * gdb.python/py-pp-registration.exp: Likewise.
1659
bde40b8f
PA
16602015-07-28 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1663
13e1dec8
SM
16642015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1665
1666 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1667
da33c9a7
SM
16682015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1669
1670 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1671
077836f7
PP
16722015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1673
1674 * gdb.base/gdb-sigterm-2.exp: New test.
1675
b8cc7b2e
DE
16762015-07-25 Doug Evans <xdje42@gmail.com>
1677
1678 Revert:
1679 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1680 (workers/%.worker, build-perf): New rule.
1681 (GDB_PERFTEST_MODE): New variable.
1682 (check-perf): Use it.
1683 (clean): Clean up gdb.perf parallel build subdirs.
1684 * lib/build-piece.exp: New file.
1685 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1686 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1687 name.
1688 (standard_temp_file): Ditto.
1689 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1690 of $GDB_PARALLEL.
1691
c8bd4544
DE
16922015-07-24 Doug Evans <dje@google.com>
1693
1694 * gdb.perf/lib/perftest/utils.py: New file.
1695 * gdb.perf/gm-hello.cc: New file.
1696 * gdb.perf/gm-pervasive-typedef.cc: New file.
1697 * gdb.perf/gm-pervasive-typedef.h: New file.
1698 * gdb.perf/gm-std.cc: New file.
1699 * gdb.perf/gm-std.h: New file.
1700 * gdb.perf/gm-use-cerr.cc: New file.
1701 * gdb.perf/gm-utils.h: New file.
1702 * gdb.perf/gmonster-null-lookup.py: New file.
1703 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1704 * gdb.perf/gmonster-print-cerr.py: New file.
1705 * gdb.perf/gmonster-ptype-string.py: New file.
1706 * gdb.perf/gmonster-runto-main.py: New file.
1707 * gdb.perf/gmonster-select-file.py: New file.
1708 * gdb.perf/gmonster1-null-lookup.exp: New file.
1709 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1710 * gdb.perf/gmonster1-print-cerr.exp: New file.
1711 * gdb.perf/gmonster1-ptype-string.exp: New file.
1712 * gdb.perf/gmonster1-runto-main.exp: New file.
1713 * gdb.perf/gmonster1-select-file.exp: New file.
1714 * gdb.perf/gmonster1.cc: New file.
1715 * gdb.perf/gmonster1.exp: New file.
1716 * gdb.perf/gmonster2-null-lookup.exp: New file.
1717 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1718 * gdb.perf/gmonster2-print-cerr.exp: New file.
1719 * gdb.perf/gmonster2-ptype-string.exp: New file.
1720 * gdb.perf/gmonster2-runto-main.exp: New file.
1721 * gdb.perf/gmonster2-select-file.exp: New file.
1722 * gdb.perf/gmonster2.cc: New file.
1723 * gdb.perf/gmonster2.exp: New file.
1724
6eab34f3
DE
17252015-07-24 Doug Evans <dje@google.com>
1726
1727 * gdb.perf/README: New file.
1728 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1729 * lib/gen-perf-test.exp: New file.
1730
63738bfd
DE
17312015-07-24 Doug Evans <dje@google.com>
1732
1733 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1734 (PerfTest::startup): New function.
1735 (PerfTest::run): Return result of calling body.
1736 (PerfTest::assemble): Rewrite.
1737 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1738 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1739 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1740 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1741 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1742
7b606f95
DE
17432015-07-24 Doug Evans <dje@google.com>
1744
1745 * lib/gdb.exp (clean_restart): Make executable optional.
1746
a97b16b8
DE
17472015-07-24 Doug Evans <dje@google.com>
1748
1749 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1750 compiler_info references.
1751 * gdb.cp/temargs.exp: Ditto.
1752 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1753 (get_compiler_info): Early exit if already computed. Set compiler_info
1754 to "unknown" if there was a problem.
1755 (test_compiler_info): Add function comment. Call get_compiler_info.
1756
35baa57f
DE
17572015-07-24 Doug Evans <dje@google.com>
1758
1759 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1760 (workers/%.worker, build-perf): New rule.
1761 (GDB_PERFTEST_MODE): New variable.
1762 (check-perf): Use it.
1763 (clean): Clean up gdb.perf parallel build subdirs.
1764 * lib/build-piece.exp: New file.
1765 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1766 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1767 name.
1768 (standard_temp_file): Ditto.
1769 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1770 of $GDB_PARALLEL.
1771
6ebea266
DE
17722015-07-24 Doug Evans <dje@google.com>
1773
1774 * lib/future.exp (gdb_default_target_compile): New option
1775 "early_flags".
1776 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1777 --as-needed.
1778
1e76a7e9
SDJ
17792015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1780
1781 * gdb.base/catch-syscall.exp: Call gdb_exit before
1782 gdb_skip_xml_test.
1783
5068630a
PA
17842015-07-24 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.python/py-events.exp: Accept output between the stop event
1787 and the prompt.
1788 * gdb.python/py-evsignal.exp: Likewise.
1789 * gdb.python/py-evthreads.exp: Likewise.
1790
77598427
PA
17912015-07-24 Pedro Alves <palves@redhat.com>
1792
1793 PR gdb/18717
1794 * gdb.threads/non-ldr-exit.c: New file.
1795 * gdb.threads/non-ldr-exit.exp: New file.
1796
11e6c98f
YQ
17972015-07-24 Yao Qi <yao.qi@linaro.org>
1798
1799 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1800 restarting process.
1801
51aee833
YQ
18022015-07-24 Yao Qi <yao.qi@linaro.org>
1803
1804 * gdb.server/ext-restart.exp: New file.
1805
8cfe207c
YQ
18062015-07-24 Yao Qi <yao.qi@linaro.org>
1807
1808 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1809 argument options.
1810 * gdb.server/ext-wrapper.exp: New file.
1811
cc12ce38
DE
18122015-07-23 Doug Evans <dje@google.com>
1813
1814 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1815 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1816
d0d84780
PMR
18172015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1818
1819 * gdb.ada/var_arr_typedef.exp: New testcase.
1820 * gdb.ada/var_arr_typedef/pack.adb: New file.
1821 * gdb.ada/var_arr_typedef/pack.ads: New file.
1822 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1823
8b558f79
JB
18242015-07-20 Joel Brobecker <brobecker@adacore.com>
1825
1826 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1827
775a3298
JK
18282015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1829
1830 * gdb.arch/i386-biarch-core.exp: Replace istarget
1831 by "complete set gnutarget". Remove expectation for the "core-file"
1832 command.
1833
db1ff28b
JK
18342015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1835
1836 Revert the previous commit:
1837 Tests for validate symbol file using build-id.
1838
0a94970d
JK
18392015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1840
1841 Tests for validate symbol file using build-id.
1842 * gdb.base/solib-mismatch-lib.c: New file.
1843 * gdb.base/solib-mismatch-libmod.c: New file.
1844 * gdb.base/solib-mismatch.c: New file.
1845 * gdb.base/solib-mismatch.exp: New file.
1846
03346981
SL
18472015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1848
1849 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1850 nios2-*-linux*.
1851 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1852 * gdb.base/siginfo.exp: Likewise.
1853 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1854
42422cc7
PL
18552015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1856
1857 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1858 Move it to ...
1859 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1860 ... here.
1861 * gdb.trace/range-stepping.exp: Check that the target supports
1862 range stepping.
1863
cfa68bae
JK
18642015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
1867
8ffdba26
PA
18682015-07-14 Pedro Alves <palves@redhat.com>
1869
1870 * gdb.base/killed-outside.exp: New file.
1871 * gdb.base/killed-outside.c: New file.
1872
218a5a11
JK
18732015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1874
1875 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
1876 (n at main): New.
1877 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
1878
e03ed3c6
AA
18792015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1880
1881 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
1882 infcall tests instead of setting up for KFAIL.
1883
485668e5
MM
18842015-07-10 Markus Metzger <markus.t.metzger@intel.com>
1885
1886 * gdb.btrace/record_goto-step.exp: New.
1887
08464196
JK
18882015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1889
1890 PR compile/18484
1891 * gdb.compile/compile.c (struct struct_type): Add volatile to
1892 selffield's type.
1893 * gdb.compile/compile.exp
1894 (compile code struct_object.selffield = &struct_object): Skip further
1895 struct_object tests if this one xfails.
1896
bcf5c1d9
RC
18972015-07-08 Robert O'Callahan <robert@ocallahan.org>
1898
1899 PR exp/18617
1900 * gdb.trace/ax.exp: Add test.
1901
4931af25
YQ
19022015-07-07 Yao Qi <yao.qi@linaro.org>
1903
1904 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
1905 instead of istarget "aarch64*-*-*".
1906 * gdb.arch/aarch64-fp.exp: Likewise.
1907 * gdb.base/float.exp: Likewise.
1908 * gdb.reverse/aarch64.exp: Likewise.
1909 * lib/gdb.exp (is_aarch64_target): New proc.
1910
9fcf688e
YQ
19112015-07-07 Yao Qi <yao.qi@linaro.org>
1912
1913 * lib/gdb.exp (is_aarch32_target): New proc.
1914 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
1915 instead of "istarget "arm*-*-*"".
1916 * gdb.arch/arm-disp-step.exp: Likewise.
1917 * gdb.arch/thumb-bx-pc.exp: Likewise.
1918 * gdb.arch/thumb-prologue.exp: Likewise.
1919 * gdb.arch/thumb-singlestep.exp: Likewise.
1920 * gdb.base/disp-step-syscall.exp: Likewise.
1921 * gdb.base/float.exp: Likewise.
1922
fbd8d50d
YQ
19232015-07-07 Yao Qi <yao.qi@linaro.org>
1924
1925 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
1926 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
1927
71be1fdc
YQ
19282015-07-07 Yao Qi <yao.qi@linaro.org>
1929
1930 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
1931 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
1932 if it exists.
1933 * gdb.multi/multi-arch.exp: Likewise.
1934
3e221d36
SM
19352015-07-07 Simon Marchi <simon.marchi@ericsson.com>
1936
1937 * gdb.python/py-lazy-string.exp: Add missing parentheses to
1938 print.
1939
d441430b
YQ
19402015-07-07 Yao Qi <yao.qi@linaro.org>
1941
1942 * gdb.arch/thumb-singlestep.exp: Do one more single step.
1943
06f810bd
MG
19442015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
1945
1946 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
1947 '[' and ']' characters.
1948
5e61e7c0
IB
19492015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
1950
1951 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1952
28bf096c
PA
19532015-06-29 Pedro Alves <palves@redhat.com>
1954
1955 PR threads/18127
1956 * gdb.threads/hand-call-new-thread.c: New file.
1957 * gdb.threads/hand-call-new-thread.c: New file.
1958
ee93cd5e
KS
19592015-06-26 Keith Seitz <keiths@redhat.com>
1960 Doug Evans <dje@google.com>
1961
1962 PR 16253
1963 * gdb.cp/var-tag-2.cc: New file.
1964 * gdb.cp/var-tag-3.cc: New file.
1965 * gdb.cp/var-tag-4.cc: New file.
1966 * gdb.cp/var-tag.cc: New file.
1967 * gdb.cp/var-tag.exp: New file.
1968
fc637f04
PP
19692015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1970
1971 * gdb.base/history-duplicates.exp: New test.
1972
2e52ae68
PP
19732015-06-26 Patrick Palka <patrick@parcs.ath.cx>
1974
1975 * gdb.base/completion.exp: Test the completion of the "focus"
1976 command.
1977
6e22494e
JK
19782015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1979
1980 * gdb.arch/amd64-prologue-skip.S: New file.
1981 * gdb.arch/amd64-prologue-skip.exp: New file.
1982
bf7b9cd9
SM
19832015-06-25 Simon Marchi <simon.marchi@ericsson.com>
1984
1985 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
1986 is_address_zero_readable check.
1987
201e8dfd
PB
19882015-06-24 Peter Bergner <bergner@vnet.ibm.com>
1989
1990 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
1991 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
1992
5cd867b4
YQ
19932015-06-24 Yao Qi <yao.qi@linaro.org>
1994
1995 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
1996 linux targets.
1997
4d7be007
YQ
19982015-06-24 Yao Qi <yao.qi@linaro.org>
1999
2000 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2001 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2002 * gdb.base/siginfo-thread.exp: Likewise.
2003
07fcd301
YQ
20042015-06-22 Yao Qi <yao.qi@linaro.org>
2005
2006 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2007
52042a00
YQ
20082015-06-22 Yao Qi <yao.qi@linaro.org>
2009
2010 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2011 aarch64*-*-*.
2012 (skip_hw_watchpoint_tests): Likewise.
2013
74bd41ce
PP
20142015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2015
2016 * gdb.base/gdbinit-history.exp: Test the interaction between
2017 setting GDBHISTSIZE and setting the history size via .gdbinit.
2018
bc460514
PP
20192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2020
2021 PR gdb/16999
2022 * gdb.base/gdbhistsize-history.exp: New test.
2023
b58c513b
PP
20242015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2025
2026 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2027 with GDBHISTSIZE.
2028 * gdb.base/readline.exp: Likewise.
2029
92046791
YQ
20302015-06-17 Yao Qi <yao.qi@linaro.org>
2031
2032 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2033 line.
2034
2093d2d3
PP
20352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2036
2037 * gdb.base/gdbinit-history.exp: Add test case to check that
2038 an unlimited history file does not get truncated on exit.
2039
e6c693af
AA
20402015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2041
2042 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2043 (VECTOR): New macro. Use it...
2044 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2045 ...for these typedefs.
2046 (int8, char1, int1, double1): New typedefs.
2047 (struct just_int2, struct two_int2): New structures.
2048 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2049 (add_structvecs, add_singlevecs): New functions.
2050 (main): Call add_some_intvecs twice.
2051 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2052 the compile and exit upon failure. Try compiling for the "native"
2053 architecture. Test inferior function calls with vector arguments
2054 and vector return value handling with "finish" and "return".
2055
c74f7d1c
JT
20562015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2057
2058 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2059 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2060 PE file.
2061 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2062
98aa42ee
AT
20632015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2064
2065 PR breakpoints/16465
2066 * gdb.mi/mi-dprintf-pending.c: New file.
2067 * gdb.mi/mi-dprintf-pending.exp: New test.
2068 * gdb.mi/mi-dprintf-pendshr.c: New file.
2069
7d73c23c 20702015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2071 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2072
2073 * gdb.arch/i386-mpx-map.c: New file.
2074 * gdb.arch/i386-mpx-map.exp: New File.
2075
20762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2077
2078 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2079 * gdb.arch/i386-mpx.exp: Indentation fixed.
2080
20812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2082
2083 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2084 function and improved indentation.
2085 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2086 gdb_test_multiple. Added additional tests to skip the test.
2087
20882015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2089
2090 * gdb.arch/i386-avx512.c: Change path in include file.
2091 * gdb.arch/i386-avx512.exp: Change include dir path
2092 compilation flag.
2093 * gdb.arch/i386-mpx.c: Change path in include file.
2094 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2095 flag.
2096
d5eba19a
JK
20972015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2098
2099 * gdb.compile/compile-print.exp (compile print *vararray@3)
2100 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2101
7f361056
JK
21022015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2105 (do not keep jit in memory): ... this.
2106 (expect 5): Change it to ...
2107 (expect no 5): ... this.
2108
3b462ec2
SM
21092015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2110
2111 PR gdb/15564
2112 * gdb.mi/mi-detach.exp: New file.
2113
e0619de6
JK
21142015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 PR symtab/18392
2117 * gdb.arch/amd64-tailcall-self.S: New file.
2118 * gdb.arch/amd64-tailcall-self.c: New file.
2119 * gdb.arch/amd64-tailcall-self.exp: New file.
2120
e970cb34
DB
21212015-05-28 Don Breazeal <donb@codesourcery.com>
2122
2123 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2124 tests for remote targets by checking is_target_gdbserver.
2125
b2e2f908
DE
21262015-05-27 Doug Evans <dje@google.com>
2127
2128 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2129 * gdb.dwarf2/opaque-type-lookup.c: New file.
2130 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2131
82c7be31
DE
21322015-05-26 Doug Evans <dje@google.com>
2133
2134 * gdb.cp/iostream.cc: New file.
2135 * gdb.cp/iostream.exp: New file.
2136
b4f54984
DE
21372015-05-26 Doug Evans <dje@google.com>
2138
2139 * gdb.dwarf2/dw2-op-call.exp: Update.
2140 * gdb.dwarf2/dw4-sig-types.exp: Update.
2141 * gdb.dwarf2/implptr.exp: Update.
2142 * gdb.mi/mi-cmd-param-changed.exp: Update.
2143
4ea6efe9
DE
21442015-05-26 Doug Evans <dje@google.com>
2145
2146 * gdb.python/py-lazy-string.c: New file.
2147 * gdb.python/py-lazy-string.exp: New file.
2148 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2149 (main): Update. Add estring3.
2150 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2151 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2152
f6bb7db3
YQ
21532015-05-26 Omair Javaid <omair.javaid@linaro.org>
2154 Yao Qi <yao.qi@linaro.org>
2155
2156 * gdb.reverse/aarch64.c: New.
2157 * gdb.reverse/aarch64.exp: New.
2158
a81bfbd0
OJ
21592015-05-26 Omair Javaid <omair.javaid@linaro.org>
2160
2161 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2162 (supports_reverse): Likewise.
2163
158bf1b4
PP
21642015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2165
2166 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2167 Use with_test_prefix.
2168
a0145030
AB
21692015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2170
2171 * gdb.base/completion.exp: Add test for completion of layout
2172 names.
2173
ebe3b578
AB
21742015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2175
2176 * lib/gdb.exp (skip_tui_tests): New proc.
2177 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2178
84204ed7
PA
21792015-05-19 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2182 Save the whole env array instead of just HOME. Unset HISTSIZE in
2183 the environment while testing. Restore whole environment
2184 afterwards.
2185
37442ce1
DE
21862015-05-16 Doug Evans <xdje42@gmail.com>
2187
2188 * gdb.guile/scm-ports.c: New file.
2189 * gdb.guile/scm-ports.exp: Add memory port tests.
2190
36de76f9
JK
21912015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2192
2193 * gdb.compile/compile-print.c: New file.
2194 * gdb.compile/compile-print.exp: New file.
2195
3a9558c4
JK
21962015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 * gdb.compile/compile-ops.exp: Cast param to void.
2199 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2200 (compile code struct_object.selffield = &struct_object): Add xfail.
2201
aa715135
JG
22022015-05-15 Joel Brobecker <brobecker@adacore.com>
2203
2204 * gdb.ada/arr_enum_with_gap: New testcase.
2205
931e5bc3
JG
22062015-05-15 Joel Brobecker <brobecker@adacore.com>
2207
2208 * gdb.ada/byte_packed_arr: New testcase.
2209
9cd4d857
JB
22102015-05-15 Joel Brobecker <brobecker@adacore.com>
2211
2212 * gdb.ada/pckd_neg: New testcase.
2213
ebfd00d2
PP
22142015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2215
2216 PR gdb/17820
2217 * gdb.base/gdbinit-history.exp: New test.
2218 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2219 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2220
4c082a81
SC
22212015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2222
2223 * gdb.python/py-xmethods.cc: Enhance test case.
2224 * gdb.python/py-xmethods.exp: New tests.
2225 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2226 function.
2227 (B_indexoper): Likewise.
2228 (global_dm_list) : Add new xmethod worker functions.
2229
f7797074
SDJ
22302015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2231
2232 * gdb.base/coredump-filter.exp: Correctly unset
2233 "coredump_var_addr" array.
2234
a4674e4e
PA
22352015-05-08 Pedro Alves <palves@redhat.com>
2236
2237 * gdb.server/non-existing-program.exp: Unset spawn_id.
2238
df2eb078
SC
22392015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2240
2241 PR python/18291
2242 * gdb.python/py-xmethods.exp: Add tests.
2243
422349a3
YQ
22442015-05-08 Yao Qi <yao.qi@linaro.org>
2245
2246 PR gdb/18208
2247 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2248 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2249 function set_coredump_filter, and remove remote_exec call.
2250 Remove argument ipid. Callers update.
2251 (top level): Don't get inferior's PID.
2252
63fc80ce
AA
22532015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2254
2255 * gdb.base/watch_thread_num.exp: Skip test on targets without
2256 access watchpoints.
2257
80ad801e
PA
22582015-05-06 Pedro Alves <palves@redhat.com>
2259
2260 PR server/18081
2261 * gdb.server/non-existing-program.exp: New file.
2262
0fa7fe50
JB
22632015-05-05 Joel Brobecker <brobecker@adacore.com>
2264
2265 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2266
3ea89b92
PMR
22672015-05-05 Joel Brobecker <brobecker@adacore.com>
2268
2269 * gdb.ada/out_of_line_in_inlined: New testcase.
2270
87b8eff0
JB
22712015-05-05 Joel Brobecker <brobecker@adacore.com>
2272
2273 * gdb.ada/var_rec_arr: New testcase.
2274
5fccc635
YQ
22752015-04-30 Yao Qi <yao.qi@linaro.org>
2276
2277 * gdb.base/break-idempotent.exp: If
2278 skip_hw_watchpoint_multi_tests returns true, skip the tests
2279 on "rwatch" and "awatch".
2280
42d38f42
YQ
22812015-04-30 Yao Qi <yao.qi@linaro.org>
2282
2283 * gdb.base/relativedebug.exp: Invoke gdb command
2284 "info sharedlibrary", and if libc.so doesn't have debug info,
2285 skip the test.
2286
2ce1cdbf
DE
22872015-04-29 Doug Evans <dje@google.com>
2288
2289 * gdb.python/py-xmethods.exp: Add ptype tests.
2290 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2291 get_result_type method.
2292
f24a38c5
LM
22932015-04-29 Luis Machado <lgustavo@codesourcery.com>
2294
2295 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2296 the target does not support hardware watchpoints.
2297
ecbf2b3c
LM
22982015-04-29 Luis Machado <lgustavo@codesourcery.com>
2299
2300 * gdb.base/break-always.exp: Abort testing if writing to memory
2301 causes an error.
2302
34f5f757
DE
23032015-04-28 Doug Evans <dje@google.com>
2304
2305 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2306 * gdb.python/py-pp-registration.exp: ... here. New file.
2307 * gdb.python/py-pp-registration.c: New file.
2308 * gdb.python/py-pp-registration.py: New file.
2309
69b4374a
DE
23102015-04-28 Doug Evans <dje@google.com>
2311
2312 * gdb.python/py-bad-printers.c: New file.
2313 * gdb.python/py-bad-printers.py: New file.
2314 * gdb.python/py-bad-printers.exp: New file.
2315
59fb7612
SS
23162015-04-28 Sasha Smundak <asmundak@google.com>
2317
2318 * gdb.python/py-type.exp: New test.
2319
2631b16a
AW
23202015-04-28 Andy Wingo <wingo@igalia.com>
2321
2322 * gdb.python/py-parameter.exp:
2323 * gdb.guile/scm-parameter.exp: Escape the path that we are
2324 matching against, as it might contain characters that are special
2325 to regular expressions.
2326
460efde1
JB
23272015-04-27 Joel Brobecker <brobecker@adacore.com>
2328
2329 * gdb.ada/rec_comp: New testcase.
2330
2d369d8e
SDJ
23312015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2332
2333 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2334 before using it.
2335
cf75d6c3
AB
23362015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2337
2338 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2339 new tests for verilog output.
2340
8dbe7ca5
YQ
23412015-04-24 Yao Qi <yao.qi@linaro.org>
2342
2343 * boards/remote-gdbserver-on-localhost.exp: New file.
2344
4ef9fb2f
PA
23452015-04-23 Pedro Alves <palves@redhat.com>
2346
2347 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2348 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2349 "end of file", remove $inferior_spawn_id from the indirect list.
2350
0a803169
PA
23512015-04-23 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2354
749ef8f8
PA
23552015-04-23 Pedro Alves <palves@redhat.com>
2356
2357 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2358 on $any_spawn_id instead of only on $gdb_spawn_id.
2359
8aae4344
PM
23602015-04-21 Pierre Muller <muller@sourceware.org>
2361
2362 PR pascal/17815
2363 * lib/pascal.exp (gpc_compile): Add new option "class".
2364 (fpc_compile): Likewise.
2365 * gdb.pascal/case-insensitive-symbols.pas: New file.
2366 * gdb.pascal/case-insensitive-symbols.exp: New file.
2367
1586c8fb
GB
23682015-04-20 Gary Benson <gbenson@redhat.com>
2369
2370 * gdb.base/attach.exp: Fix three extended remote failures.
2371
1b6e6f5c
GB
23722015-04-17 Gary Benson <gbenson@redhat.com>
2373
2374 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2375 the main executable over the remote protocol.
2376
e797481d
PA
23772015-04-16 Pedro Alves <palves@redhat.com>
2378
2379 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2380 a new gdbserver if gdbserver_reconnect_p is set.
2381
1ca99c42
PA
23822015-04-16 Pedro Alves <palves@redhat.com>
2383
2384 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2385 is set, don't exit gdbserver.
2386
af9fd6f8
AA
23872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2388
2389 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2390 appropriate .insn, such that an older assembler can be used.
2391 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2392 the z/Architecture instruction set on 31-bit targets as well.
2393
04ff1e61
AA
23942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2395
2396 * gdb.go/handcall.exp: Remove all logic related to the first
2397 breakpoint and rely on go_runto_main instead.
2398 * gdb.go/strings.exp: Likewise.
2399 * gdb.go/unsafe.exp: Likewise.
2400 * gdb.go/hello.exp: Likewise. Also rename the remaining
2401 breakpoint marker to "breakpoint 1".
2402 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2403 * gdb.go/strings.go: Likewise.
2404 * gdb.go/unsafe.go: Likewise.
2405 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2406 "set breakpoint 2 here" and rename the remaining breakpoint marker
2407 to "breakpoint 1".
2408
40d2f8d6
SM
24092015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2410
2411 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2412 if itertools.imap is not present.
2413 * gdb.python/py-objfile.exp: Add parentheses.
2414 * gdb.python/py-type.exp: Same.
2415 * gdb.python/py-unwind-maint.py: Same.
2416
8cbc97c6
YQ
24172015-04-15 Yao Qi <yao.qi@linaro.org>
2418
2419 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2420 of ":$ptr_size" and set its form explicitly.
2421
45fd756c
YQ
24222015-04-15 Pedro Alves <palves@redhat.com>
2423 Yao Qi <yao.qi@linaro.org>
2424
2425 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2426 timeout by factor of 4.
2427 (test_regular_watch): Likewise.
2428 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2429 * gdb.reverse/sigall-reverse.exp: Likewise.
2430 * gdb.reverse/until-precsave.exp: Likewise.
2431 * lib/gdb.exp (with_timeout_factor): New proc.
2432 (gdb_expect): Move some code to ...
2433 (get_largest_timeout): ... here. New procedure.
2434
9e811bc3
LM
24352015-04-14 Luis Machado <lgustavo@codesourcery.com>
2436
2437 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2438
0ff6fcb2
LM
24392015-04-13 Luis Machado <lgustavo@codesourcery.com>
2440
2441 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2442 to write to the .text section.
2443
7578d5f7
LM
24442015-04-13 Luis Machado <lgustavo@codesourcery.com>
2445
2446 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2447 Handle the case of targets that do not provide PID information.
2448
2efe15c4
YQ
24492015-04-13 Yao Qi <yao.qi@linaro.org>
2450
2451 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2452 and use expect instead of gdb_expect.
2453
8cd8f2f8
SDJ
24542015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2455
2456 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2457 "coredump_var_addr" to avoid naming conflict with other testcases.
2458
9ee41772
PA
24592015-04-10 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2462 gdb_test_sequence and gdb_assert.
2463
07473109
PA
24642015-04-10 Pedro Alves <palves@redhat.com>
2465
2466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2467 test messages that don't include the breakpoint address.
2468
de3db44c
YQ
24692015-04-10 Yao Qi <yao.qi@linaro.org>
2470
2471 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2472 false for some offset and width combinations which aren't
2473 supported by linux kernel.
2474
c79d856c
PA
24752015-04-10 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2478 procedure, factored out from ...
2479 (top level): ... here. Add "set displaced-stepping" testing axis.
2480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2481 parameter "displaced". Use it.
2482 (top level): Use foreach and add "set displaced-stepping" testing
2483 axis.
2484
ebc90b50
PA
24852015-04-10 Pedro Alves <palves@redhat.com>
2486
2487 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2488 Remove comment.
2489 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2490 both the address of the instruction that triggers the watchpoint
2491 and the address of the instruction immediately after, and use
2492 those addresses for the test. Fix comment.
2493
8f572e5c
PA
24942015-04-10 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.base/sigstep.exp (breakpoint_to_handler)
2497 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2498 Test "backtrace" in handler.
2499 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2500 (top level): Add new "displaced" test axis to
2501 breakpoint_to_handler, breakpoint_to_handler_entry and
2502 breakpoint_over_handler.
2503
8d707a12
PA
25042015-04-10 Pedro Alves <palves@redhat.com>
2505
2506 PR gdb/18216
2507 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2508
ef713951
YQ
25092015-04-10 Yao Qi <yao.qi@linaro.org>
2510
2511 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2512 (test_add_rn_pc): New function.
2513 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2514 (top level): Invoke test_add_rn_pc.
2515
906d60cf
PA
25162015-04-10 Pedro Alves <palves@redhat.com>
2517
2518 PR gdb/13858
2519 * gdb.base/step-over-no-symbols.exp: New file.
2520
f2983cc3
AW
25212015-04-09 Andy Wingo <wingo@igalia.com>
2522
2523 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2524 after the Python tests.
2525
6d62641c
SDJ
25262015-04-08 Keith Seitz <keiths@redhat.com>
2527
2528 PR python/16699
2529 * gdb.python/py-completion.exp: New tests for completion.
2530 * gdb.python/py-completion.py (CompleteLimit1): New class.
2531 (CompleteLimit2): Likewise.
2532 (CompleteLimit3): Likewise.
2533 (CompleteLimit4): Likewise.
2534 (CompleteLimit5): Likewise.
2535 (CompleteLimit6): Likewise.
2536 (CompleteLimit7): Likewise.
2537
f3770638
PA
25382015-04-08 Pedro Alves <palves@redhat.com>
2539
2540 PR gdb/18214
2541 PR gdb/18216
2542 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2543 function.
2544 (main): Install it as SIGUSR1 handler.
2545 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2546 parameter. Always use "setup" as prefix. Toggle "set
2547 displaced-stepping" off/on depending on global. Don't switch to
2548 thread 1 here.
2549 (top level): Add displaced stepping "off/on" test axis. Update
2550 "setup" calls. Wrap each subtest with with_test_prefix. Test
2551 continuing with a queued signal in each thread.
2552
4496bed7
PA
25532015-04-08 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2556 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2557 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2558 Return early if running to main fails.
2559 * gdb.trace/while-stepping.exp: Likewise.
2560
b97fde92
PA
25612015-04-07 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2564 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2565 interact with inferior program.
2566
f71c18e7
PA
25672015-04-07 Pedro Alves <palves@redhat.com>
2568
2569 * lib/gdb.exp (inferior_spawn_id): New global.
2570 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2571 spawn id after processing the user code.
2572 (default_gdb_start): Set inferior_spawn_id.
2573 (send_inferior): New procedure.
2574 * lib/gdbserver-support.exp (gdbserver_start): Set
2575 inferior_spawn_id.
2576 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2577
6423214f
PA
25782015-04-07 Pedro Alves <palves@redhat.com>
2579
2580 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2581 * lib/gdbserver-support.exp (gdbserver_start): Make
2582 $server_spawn_id global.
2583 (gdbserver_start): Don't wait for gdbserver's spawn id with
2584 expect_background.
2585 (close_gdbserver): New procedure.
2586 (gdb_exit): Rename the default version and reimplement.
2587
71c0ee8c
PA
25882015-04-07 Pedro Alves <palves@redhat.com>
2589
72f4393d 2590 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2591 append the substituted item, not the original item.
2592
203bc29b
PA
25932015-04-07 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2596 gdb_expect.
2597
508a3ddf
PA
25982015-04-07 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2601 output appearing once only.
2602
9f6dbe2b
PA
26032015-04-07 Pedro Alves <palves@redhat.com>
2604
2605 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2606 that doesn't expect anything. Return early if running to main
2607 fails.
2608
337532fa
YQ
26092015-04-07 Yao Qi <yao.qi@linaro.org>
2610
2611 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2612 (child_function): Call alarm.
2613 (main): Move call to alarm into the loop.
2614 * gdb.threads/non-stop-fair-events.exp: Build program with
2615 -DTIMEOUT=$timeout.
2616
01b622d4
DE
26172015-04-06 Doug Evans <xdje42@gmail.com>
2618
2619 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2620 Fix dest parameter to board_info.
2621 (fpc_compile): Ditto.
2622 (gdb_compile_pascal): Rename dest arg to destfile.
2623
961f4160
PMR
26242015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2625
2626 * gdb.ada/funcall_ref.exp: New file.
2627 * gdb.ada/funcall_ref/foo.adb: New file.
2628
cafda597
YQ
26292015-04-02 Yao Qi <yao.qi@linaro.org>
2630
2631 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2632 is remote.
2633
fed040c6
GB
26342015-04-02 Gary Benson <gbenson@redhat.com>
2635
2636 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2637
d11916aa
SS
26382015-04-01 Sasha Smundak <asmundak@google.com>
2639
2640 * gdb.python/py-unwind-maint.c: New file.
2641 * gdb.python/py-unwind-maint.exp: New test.
2642 * gdb.python/py-unwind-maint.py: New file.
2643 * gdb.python/py-unwind.c: New file.
2644 * gdb.python/py-unwind.exp: New test.
2645 * gdb.python/py-unwind.py: New test.
2646
a1471180
PA
26472015-04-01 Pedro Alves <palves@redhat.com>
2648
2649 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2650 to fail instead of non-existent $test.
2651
0bbeccb1
PA
26522015-04-01 Pedro Alves <palves@redhat.com>
2653
2654 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2655 GDBFLAGS if not empty.
2656
3c724c8c
PMR
26572015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2658
2659 * gdb.ada/complete.exp: Remove "multi_line".
2660 * gdb.ada/info_exc.exp: Remove "multi_line".
2661 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2662 * gdb.ada/ptype_field.exp: Remove "multi_line".
2663 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2664 * gdb.ada/tagged.exp: Remove "multi_line".
2665 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2666 [multi_line ...]
2667 * gdb.btrace/delta.exp: Likewise.
2668 * gdb.btrace/exception.exp: Likewise.
2669 * gdb.btrace/function_call_history.exp: Likewise.
2670 * gdb.btrace/instruction_history.exp: Likewise.
2671 * gdb.btrace/nohist.exp: Likewise.
2672 * gdb.btrace/record_goto.exp: Likewise.
2673 * gdb.btrace/segv.exp: Likewise.
2674 * gdb.btrace/stepi.exp: Likewise.
2675 * gdb.btrace/tailcall.exp: Likewise.
2676 * gdb.btrace/unknown_functions.exp: Likewise.
2677 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2678 * lib/gdb.exp: Add the "multi_line" helper.
2679
4eec2deb
PA
26802015-04-01 Pedro Alves <palves@redhat.com>
2681
2682 * gdb.threads/tid-reuse.c: New file.
2683 * gdb.threads/tid-reuse.exp: New file.
2684
df8411da
SDJ
26852015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2686
2687 PR corefiles/16092
2688 * gdb.base/coredump-filter.c: New file.
2689 * gdb.base/coredump-filter.exp: Likewise.
2690
6ef37366
PM
26912015-03-27 Petr Machata <pmachata@redhat.com>
2692
2693 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2694 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2695 (Dwarf::assemble): Initialize them.
2696 (Dwarf::lines): New function.
2697
7ec911b0
JT
26982015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2699
2700 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2701 SYMBOL_PREFIX for x86_64-*-cygwin.
2702
ff908ebf
AW
27032015-03-26 Andy Wingo <wingo@igalia.com>
2704
2705 PR symtab/18148
2706 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2707 const_value but not a location.
2708 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2709 location defined in non-main CUs are visible.
2710
6d5f0679
YQ
27112015-03-26 Yao Qi <yao.qi@linaro.org>
2712
2713 PR testsuite/18139
2714 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2715 Add a line number entry for the same line.
2716 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2717 Add a line number entry for the same line.
2718
2898689b
YQ
27192015-03-26 Yao Qi <yao.qi@linaro.org>
2720
2721 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2722 .int 0.
2723 (func): Likewise. Add .Lfunc_1 label.
2724 Use .Lfunc_1 label.
2725 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2726 .int 0.
2727 (func): Likewise.
2728 Use .Lfunc_1 label.
2729
85180498
YQ
27302015-03-26 Yao Qi <yao.qi@linaro.org>
2731
2732 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2733 Call gdb_compile instead to compile each .s files without debug
2734 information.
2735
8aa08a8d
YQ
27362015-03-26 Yao Qi <yao.qi@linaro.org>
2737
2738 * gdb.base/savedregs.exp (process_saved_regs): Make
2739 "Saved registers:" optional in the pattern.
2740
66849923
MM
27412015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2742
2743 * gdb.btrace/next.exp: Merged into step.exp.
2744 * gdb.btrace/finish.exp: Merged into step.exp.
2745 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2746 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2747 "record goto" and checking the exact replay position.
2748 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2749 check for "Recording format" in "info record" output.
2750 * gdb.btrace/record_goto.exp: Choose test file based on target.
2751 * gdb.btrace/x86-record_goto.S: Renamed into ...
2752 * gdb.btrace/x86_64-record_goto.S: ... this.
2753 * gdb.btrace/i686-record_goto.S: New.
2754 * gdb.btrace/x86-tailcall.S: Renamed into ...
2755 * gdb.btrace/x86_64-tailcall.S: ... this.
2756 * gdb.btrace/i686-tailcall.S: New.
2757 * gdb.btrace/x86-tailcall.c: Renamed into ...
2758 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2759 separate statements. Update test.
2760 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2761 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2762 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2763 * gdb.btrace/tailcall.exp: Choose test file based on target.
2764 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2765
11cc1b74
MM
27662015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2767
2768 * gdb.btrace/exception.exp: Increase BTS buffer size.
2769
a25d8bf9
PA
27702015-03-24 Pedro Alves <palves@redhat.com>
2771
2772 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2773
856e7dd6
PA
27742015-03-24 Pedro Alves <palves@redhat.com>
2775
2776 * gdb.threads/schedlock.exp (test_step): No longer expect that
2777 "set scheduler-locking step" with "next" over a function call runs
2778 threads unlocked.
2779
ad235a41
AT
27802015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2781
2782 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2783
15630549
AT
27842015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2785
2786 PR breakpoints/16466
2787 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2788 * gdb.mi/mi-pending.c (thread_func): New function.
2789 (int main): Add threading support required.
2790 * gdb.mi/mi-pending.exp: Add tests for this issue.
2791 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2792 (pendfunc2): Remove stdio dependency.
2793 * gdb.mi/mi-pendshr2.c: New file.
2794
693dca06
KS
27952015-03-23 Keith Seitz <keiths@redhat.com>
2796
2797 * gdb.linespec/keywords.c: New file.
2798 * gdb.linespec/keywords.exp: New file.
2799
7e993ebf
KS
28002015-03-23 Keith Seitz <keiths@redhat.com>
2801
2802 PR gdb/18021
2803 * gdb.dwarf2/staticvirtual.exp: New test.
2804
bc23328c
JK
28052015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2808 * README: Remove HP-UX and gdb.hp.
2809 (configuration):
2810 * configure: Regenerate.
2811 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2812 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2813 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2814 gdb.hp/gdb.defects/Makefile.
2815 * gdb.hp/Makefile.in: File deleted.
2816 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2817 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2818 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2819 * gdb.hp/gdb.aCC/run.c: File deleted.
2820 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2821 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2822 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2823 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2824 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2825 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2826 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2827 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2828 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2829 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2830 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2831 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2832 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2833 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2834 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2835 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2836 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2837 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2838 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2839 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2840 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2841 * gdb.hp/gdb.compat/average.c: File deleted.
2842 * gdb.hp/gdb.compat/sum.c: File deleted.
2843 * gdb.hp/gdb.compat/xdb.c: File deleted.
2844 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2845 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2846 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2847 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2848 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2849 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2850 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2851 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2852 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2853 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2854 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2855 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2856 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2857 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2858 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2859 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2860 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2861 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2862 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2863 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2864 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
2865 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
2866 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
2867 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
2868 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
2869 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
2870 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
2871 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
2872 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
2873 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
2874 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
2875 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
2876 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
2877 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
2878 * gdb.hp/tools/odump: File deleted.
2879
8bf3b159
PA
28802015-03-19 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.threads/continue-pending-status.exp (saw_thread_2)
2883 (saw_thread_3): New globals.
2884 (top level): Increment them when an event for the corresponding
2885 thread is seen.
2886 (no thread starvation): New test.
2887
eb54c8bf
PA
28882015-03-19 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.threads/continue-pending-status.c: New file.
2891 * gdb.threads/continue-pending-status.exp: New file.
2892
32d2e5d6
PA
28932015-03-18 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2896 Use gdb_is_target_remote instead of is_remote. Use
2897 gdb_test_multiple instead of gdb_expect. Exit early if
2898 gdb_test_multiple hits its internal matches. Tighten stepi tests
2899 expected output. Fail on exit with any signal, instead of just
2900 SIGILL.
2901
f68f11b7
YQ
29022015-03-18 Yao Qi <yao.qi@linaro.org>
2903
2904 PR tdep/18107
2905 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
2906 variable.
2907 * gdb.base/catch-syscall.exp: Don't skip it on
2908 aarch64*-*-linux* target. Remove elements in all_syscalls.
2909 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
2910 target.
2911 (setup_all_syscalls): New proc.
2912
ca5fd19b
YQ
29132015-03-16 Yao Qi <yao.qi@linaro.org>
2914
2915 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
2916 (top level): Skip tests if valid_addr_p returns false for
2917 $cmd1 or $cmd2.
2918
85642ba0
AW
29192015-03-11 Andy Wingo <wingo@igalia.com>
2920
2921 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
2922
e03f9645
YQ
29232015-03-11 Yao Qi <yao.qi@linaro.org>
2924
2925 * gdb.base/catch-syscall.exp: Fix typo in comments.
2926
5d0962b2
YQ
29272015-03-11 Yao Qi <yao.qi@linaro.org>
2928
2929 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
2930
b2df3cef
PA
29312015-03-09 Pedro Alves <palves@redhat.com>
2932
2933 * dg-extract-results.py: Delete.
2934
ef878e53
PA
29352015-03-09 Pedro Alves <palves@redhat.com>
2936
2937 Merge dg-extract-results.sh from GCC upstream (r218843).
2938
2939 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
2940 * dg-extract-results.sh: Use --text with grep to avoid issues with
2941 binary files. Fall back to cat -v, if that doesn't work.
2942
9494d219
PA
29432015-03-05 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
2946
a8d9763a
SM
29472015-03-04 Simon Marchi <simon.marchi@ericsson.com>
2948
2949 * lib/mi-support.exp (mi_expect_interrupt): Accept
2950 alternative event for when in all-stop mode.
2951
be9957b8
PA
29522015-03-04 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
2955
d57be0f4 29562015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
2957
2958 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
2959
c214c7cf
AA
29602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2961
2962 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
2963 regexps for GDB's current line display, accept a hex address
2964 preceding the line number.
2965
6d74a497
AA
29662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
2967
2968 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
2969 the 'arch1' variable for "s390*-linux*" targets.
2970
511aee7c
PA
29712015-03-04 Pedro Alves <palves@redhat.com>
2972
2973 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
2974 (main): Pass missing retval argument to pthread_join call.
2975
95e50b27
PA
29762015-03-02 Pedro Alves <palves@redhat.com>
2977
2978 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
2979 (top level): Call do_test with non-stop as well.
2980
28054d69
PA
29812015-03-02 Pedro Alves <palves@redhat.com>
2982
2983 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
2984 -1.
2985
4fa5d7b4
AA
29862015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
2987
2988 * gdb.arch/s390-vregs.exp: New test.
2989 * gdb.arch/s390-vregs.S: New file.
2990
97c18565
PA
29912015-02-27 Pedro Alves <palves@redhat.com>
2992
2993 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
2994 call to catch_command_errors.
2995 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
2996 catch_command_errors.
2997
a37bfa30
PA
29982015-02-27 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3001 "true" for boolean result.
3002 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3003 prototype of main.
3004
6f98576f
PA
30052015-02-27 Pedro Alves <palves@redhat.com>
3006
3007 * lib/unbuffer_output.c: New file.
3008 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3009 (main): Call gdb_unbuffer_output.
3010
eba5ab56
YQ
30112015-02-27 Yao Qi <yao.qi@linaro.org>
3012
3013 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3014 target.
3015
0def5aaa
DE
30162015-02-26 Doug Evans <dje@google.com>
3017
3018 * gdb.cp/class2.cc (Dbase, D): New classes.
3019 (main): New local delta.
3020 * gdb.cp/class2.exp: Test printing delta.
3021 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3022 (dynbar): New global.
3023 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3024
081a1c2c
JK
30252015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3026
3027 * gdb.compile/compile-ifunc.c: New file.
3028 * gdb.compile/compile-ifunc.exp: New file.
3029
2f41223f
AT
30302015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3031
3032 * gdb.base/structs.exp: Check for correct struct on finish.
3033
03eddd80
YQ
30342015-02-26 Yao Qi <yao.qi@linaro.org>
3035
3036 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3037 is zero.
3038
80c57053
JK
30392015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3040
3041 * gdb.arch/cordic.ko.bz2: New file.
3042 * gdb.arch/cordic.ko.debug.bz2: New file.
3043 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3044
21613c12
YQ
30452015-02-25 Yao Qi <yao.qi@linaro.org>
3046
3047 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3048 aarch64*-*-* target.
3049
d8b901ed
PA
30502015-02-23 Pedro Alves <palves@redhat.com>
3051
3052 * lib/gdb.exp (delete_breakpoints): Rewrite using
3053 gdb_test_multiple.
3054
e5b85ead
PA
30552015-02-23 Pedro Alves <palves@redhat.com>
3056
3057 * gdb.base/info-os.c: Include stdlib.h.
3058
85c3a371
DE
30592015-02-22 Doug Evans <xdje42@gmail.com>
3060
3061 PR symtab/17855
3062 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3063 is read after symbols have been re-read.
3064 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3065 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3066
96553a0c
DE
30672015-02-21 Doug Evans <dje@google.com>
3068
3069 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3070
97a0c697
JK
30712015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 PR corefiles/17808
3074 * gdb.arch/i386-biarch-core.core.bz2: New file.
3075 * gdb.arch/i386-biarch-core.exp: New file.
3076
a47cd6e9
PA
30772015-02-21 Pedro Alves <palves@redhat.com>
3078
3079 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3080 runto_main fails.
3081
c5facdc4
PA
30822015-02-20 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3085 info probes.
3086
2db9a427
PA
30872015-02-20 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3090
60fb7e9e
PA
30912015-02-20 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3094 clean_restart before gdb_target_supports_trace.
3095
5c5019c2
PA
30962015-02-20 Pedro Alves <palves@redhat.com>
3097
3098 PR threads/18006
3099 * gdb.threads/clone-thread_db.c: New file.
3100 * gdb.threads/clone-thread_db.exp: New file.
3101
c9587f88
AT
31022015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3103
3104 PR breakpoints/16812
3105 * gdb.base/catch-gdb-caused-signals.c: New file.
3106 * gdb.base/catch-gdb-caused-signals.exp: New file.
3107
f6a88844
JM
31082015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3109
3110 * configure: Regenerated.
3111 * configure.ac: Use GDB_AC_TRANSFORM.
3112 * aclocal.m4: sinclude ../transform.m4.
3113
497c491b
JM
31142015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3115
3116 * lib/dtrace.exp: New file.
3117 * gdb.base/dtrace-probe.exp: Likewise.
3118 * gdb.base/dtrace-probe.d: Likewise.
3119 * gdb.base/dtrace-probe.c: Likewise.
3120 * lib/pdtrace.in: Likewise.
3121 * configure.ac: Output variables with the transformed names of
3122 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3123 * configure: Regenerated.
3124
03e98035
JM
31252015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3126
3127 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3128 expected message when trying to access $_probe_* convenience
3129 variables while not on a probe.
3130
63cc30e9
JK
31312015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3132
3133 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3134
0703599a
PA
31352015-02-11 Pedro Alves <pedro@codesourcery.com>
3136
3137 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3138 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3139
7e60a48e
DE
31402015-02-10 Doug Evans <xdje42@gmail.com>
3141
3142 * lib/gdb.exp (gdb_load): Always return a result.
3143
01b088bc
PA
31442015-02-10 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.threads/signal-sigtrap.c: New file.
3147 * gdb.threads/signal-sigtrap.exp: New file.
3148
b05ec7a5
AT
31492015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3150
3151 * gdb.trace/no-attach-trace.c: New file.
3152 * gdb.trace/no-attach-trace.exp: New file.
3153
a2c2acaf
MW
31542015-02-09 Mark Wielaard <mjw@redhat.com>
3155
3156 * gdb.dwarf2/atomic.c: New file.
3157 * gdb.dwarf2/atomic-type.exp: Likewise.
3158
31fd9caa
MM
31592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3160
3161 * gdb.btrace/buffer-size.exp: Update "info record" output.
3162 * gdb.btrace/delta.exp: Update "info record" output.
3163 * gdb.btrace/enable.exp: Update "info record" output.
3164 * gdb.btrace/finish.exp: Update "info record" output.
3165 * gdb.btrace/instruction_history.exp: Update "info record" output.
3166 * gdb.btrace/next.exp: Update "info record" output.
3167 * gdb.btrace/nexti.exp: Update "info record" output.
3168 * gdb.btrace/step.exp: Update "info record" output.
3169 * gdb.btrace/stepi.exp: Update "info record" output.
3170 * gdb.btrace/nohist.exp: Update "info record" output.
3171
d33501a5
MM
31722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3173
3174 * gdb.btrace/buffer-size: New.
3175
f4abbc16
MM
31762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3177
3178 * gdb.btrace/delta.exp: Update "info record" output.
3179 * gdb.btrace/enable.exp: Update "info record" output.
3180 * gdb.btrace/finish.exp: Update "info record" output.
3181 * gdb.btrace/instruction_history.exp: Update "info record" output.
3182 * gdb.btrace/next.exp: Update "info record" output.
3183 * gdb.btrace/nexti.exp: Update "info record" output.
3184 * gdb.btrace/step.exp: Update "info record" output.
3185 * gdb.btrace/stepi.exp: Update "info record" output.
3186 * gdb.btrace/nohist.exp: Update "info record" output.
3187
b9d61307
SM
31882015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3189
3190 PR gdb/15678
3191 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3192
e584fdbc
PA
31932015-02-06 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3196 macro.
3197 (seconds_left, again): New globals.
3198 (main): Wait seconds_left in a 1-second sleep loop instead of
3199 sleeping 180 seconds. If 'again' is set, reset the seconds
3200 counter.
3201 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3202 'again' in the inferior before detaching. Print the seconds left.
3203 (options): New global.
3204 (top level): Build program with -DTIMEOUT=$timeout.
3205
77f41761
PA
32062015-02-06 Pedro Alves <palves@redhat.com>
3207
3208 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3209 determine how many seconds to pass to 'alarm'.
3210 * gdb.base/gdb-sigterm.exp (top level): Build program with
3211 -DTIMEOUT=$timeout.
3212 (do_test): Return success/failure indication. Add more verbose
3213 logging. Don't fail if 200 single steps are seen. Instead, fail
3214 when the test times out.
3215 (passes): New global.
3216 (top level): Break the testing loop if testing fails on any
3217 iteration. Use gdb_assert.
3218
b9394193
DB
32192015-02-04 Don Breazeal <donb@codesourcery.com>
3220
3221 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3222 and initialize them.
3223 (ipc_cleanup): New function.
3224 (main): Don't declare shmid, semid, and msqid. Add a call to
3225 atexit so that we call ipc_cleanup on exit.
3226
42d9e528
PA
32272015-02-04 Pedro Alves <palves@redhat.com>
3228
3229 * boards/native-extended-gdbserver.exp: Remove any target variant
3230 specifications from the board name before clearing the isremote
3231 flag from board_info.
3232
ae6ae975
DE
32332015-01-31 Doug Evans <xdje42@gmail.com>
3234
3235 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3236
cfb069a8
GB
32372015-01-31 Gary Benson <gbenson@redhat.com>
3238
3239 * gdb.base/completion.exp: Disable completion limiting for
3240 existing tests. Add new tests to check completion limiting.
3241 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3242
5dd31d79
DE
32432015-01-31 Doug Evans <xdje42@gmail.com>
3244
3245 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3246
9f050062
DE
32472015-01-31 Doug Evans <xdje42@gmail.com>
3248
3249 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3250 entries. Duplicate file section script entries.
3251 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3252 inlined entries. Add test for safe-path rejection.
3253 * gdb.python/py-section-script.c: Add duplicate inlined section script
3254 entries. Duplicate file section script entries.
3255 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3256 inlined entries. Add test for safe-path rejection.
3257
df25ebbd
JB
32582015-01-29 Joel Brobecker <brobecker@adacore.com>
3259
3260 * gdb.ada/disc_arr_bound: New testcase.
3261
4a0ca9ec
JB
32622015-01-29 Joel Brobecker <brobecker@adacore.com>
3263
3264 * gdb.ada/mi_var_array: New testcase.
3265
3a8b707a
DE
32662015-01-27 Doug Evans <dje@google.com>
3267
3268 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3269 Add test for objfile.filename, objfile.username after objfile
3270 has been unloaded.
3271
f8313f6e
JB
32722015-01-26 Joel Brobecker <brobecker@adacore.com>
3273
3274 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3275 the second test to print the name attribute of value
3276 returned by the call to gdb.lookup_type, and adjust
3277 the expected output accordingly.
3278
37bc665e
MW
32792015-01-25 Mark Wielaard <mjw@redhat.com>
3280
3281 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3282 * gdb.base/disp-step-fork.c: Include unistd.h.
3283 * gdb.base/siginfo-obj.c: Include stdio.h.
3284 * gdb.base/siginfo-thread.c: Likewise.
3285 * gdb.mi/non-stop.c: Include unistd.h.
3286 * gdb.mi/nsthrexec.c: Include stdio.h.
3287 * gdb.mi/pthreads.c: Include unistd.h.
3288 * gdb.modula2/unbounded1.c (main): Declare returns int.
3289 * gdb.reverse/consecutive-reverse.c: Likewise.
3290 * gdb.threads/create-fail.c: Include unistd.h.
3291 * gdb.threads/killed.c: Likewise.
3292 * gdb.threads/linux-dp.c: Likewise.
3293 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3294 * gdb.threads/non-ldr-exc-2.c: Likewise.
3295 * gdb.threads/non-ldr-exc-3.c: Likewise.
3296 * gdb.threads/non-ldr-exc-4.c: Likewise.
3297 * gdb.threads/pthreads.c: Include unistd.h.
3298 (main): Declare returns int.
3299 * gdb.threads/tls-main.c (foo): New declaration.
3300 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3301
f7e5394d
SM
33022015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3303
3304 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3305 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3306
743649fd
MW
33072015-01-15 Mark Wielaard <mjw@redhat.com>
3308
3309 * gdb.base/noreturn-return.c: New file.
3310 * gdb.base/noreturn-return.exp: New file.
3311 * gdb.base/noreturn-finish.c: New file.
3312 * gdb.base/noreturn-finish.exp: New file.
3313
198297aa
PA
33142015-01-23 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.threads/continue-pending-after-query.c: New file.
3317 * gdb.threads/continue-pending-after-query.exp: New file.
3318
717cf30c
AG
33192015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3320 Simon Marchi <simon.marchi@ericsson.com>
3321
3322 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3323 * gdb.base/valgrind-db-attach.exp: Same.
3324 * gdb.base/valgrind-infcall.exp: Same.
3325 * lib/mi-support.exp (default_mi_gdb_start): Same.
3326 * lib/prompt.exp (default_prompt_gdb_start): Same.
3327 * lib/gdb.exp (default_gdb_spawn): Same.
3328 (gdb_interact): New.
3329
3330
4b62a76e
JK
33312015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3332
3333 * gdb.compile/compile.exp (pointer to jit function): New test.
3334
b4cdae6f
WW
33352015-01-17 Wei-cheng Wang <cole945@gmail.com>
3336
3337 * lib/gdb.exp (supports_process_record): Return true for
3338 powerpc*-*-linux*.
3339 (supports_reverse): Likewise.
3340
d221e7ef
DB
33412015-01-15 Don Breazeal <donb@codesourcery.com>
3342
3343 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3344 instead of checking whether the target board is remote and
3345 use spawn_wait_for_attach instead of exec/sleep.
3346 * gdb.base/attach-twice.exp: Likewise.
3347
bafffb51
JB
33482015-01-15 Joel Brobecker <brobecker@adacore.com>
3349
3350 * gdb.ada/var_arr_attrs: New testcase.
3351
5589af0e
PA
33522015-01-14 Pedro Alves <palves@redhat.com>
3353 Joel Brobecker <brobecker@adacore.com>
3354
3355 PR gdb/17525
3356 * gdb.base/bp-cmds-execution-x-script.c: New file.
3357 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3358 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3359
6c400b59
PA
33602015-01-14 Pedro Alves <palves@redhat.com>
3361
3362 PR cli/17828
3363 * gdb.base/batch-preserve-term-settings.c: New file.
3364 * gdb.base/batch-preserve-term-settings.exp: New file.
3365
e02c96a7
DE
33662015-01-13 Doug Evans <dje@google.com>
3367
3368 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3369 binary.
3370
576fd14c
JB
33712015-01-13 Joel Brobecker <brobecker@adacore.com>
3372
3373 * Makefile.in (clean mostlyclean): Do not delete *.py.
3374
04dccad0
JB
33752015-01-13 Joel Brobecker <brobecker@adacore.com>
3376
3377 * gdb.python/py-lookup-type.exp: New file.
3378
3d230f71
PA
33792015-01-12 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3382 restore GDBFLAGS before returning.
3383
7e67715d
JK
33842015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3385
3386 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3387 is_amd64_regs_target and is_x86_like_target.
3388
f2e0d4b4
DE
33892015-01-11 Doug Evans <xdje42@gmail.com>
3390
3391 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3392 is given without an explicit form.
3393 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3394 attributes.
3395 * gdb.dwarf/corrupt.exp: Ditto.
3396 * gdb.dwarf2/enum-type.exp: Ditto.
3397 * gdb.trace/entry-values.exp: Ditto.
3398 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3399
439250fb
DE
34002015-01-11 Doug Evans <xdje42@gmail.com>
3401
3402 PR gdb/15830
3403 * gdb.base/maint.exp: Remove references to "maint demangle".
3404 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3405 Add tests for explicitly specifying language to demangle.
3406 * gdb.dlang/demangle.exp: Ditto.
3407
ede9f622
PA
34082015-01-09 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.threads/non-stop-fair-events.c: New file.
3411 * gdb.threads/non-stop-fair-events.exp: New file.
3412
a7b796db
PA
34132015-01-09 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3416 the global scope. Set a breakpoint after all threads are started
3417 rather than stepping over two source lines. Expect the prompt.
3418 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3419 global.
3420 (NUM): Now 15.
3421 (main): Use threads_started_barrier to wait for all threads to
3422 start. Main thread no longer calls thread_function. Exit after
3423 180 seconds.
3424 (loop): New function.
3425 (thread_function): Wait on threads_started_barrier barrier. Call
3426 'loop' at each iteration.
3427 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3428 threads have started, instead of hardcoding number of "next"
3429 steps. Use an access watchpoint instead of a write watchpoint.
3430
9665ffdd
PA
34312015-01-09 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3434 (thread_func): Wait on barrier.
3435 (main): Wait for all threads to start before stopping GDB.
3436 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3437 global.
3438 (thread1_func, thread2_func): Wait on barrier.
3439 (main): Wait for all threads to start before stopping GDB.
3440 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3441 New global.
3442 (thread1_func, thread2_func): Wait on barrier.
3443 (main): Wait for all threads to start before stopping GDB.
3444
c945a99f
PA
34452015-01-09 Pedro Alves <palves@redhat.com>
3446
3447 * gdb.threads/attach-many-short-lived-threads.c: New file.
3448 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3449
c1a747c1
PA
34502014-01-09 Pedro Alves <palves@redhat.com>
3451
3452 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3453 instead of to thread 2.
3454 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3455 Add barrier around each pthread_create call instead of around all
3456 calls.
3457 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3458 Set a break on thread_function and have the child threads hit it
3459 one at at a time.
3460
60b3033e
PA
34612015-01-09 Pedro Alves <palves@redhat.com>
3462
3463 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3464 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3465 false.
3466 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3467 checking whether the target board is remote.
3468 * gdb.multi/multi-attach.exp: Likewise.
3469 * gdb.python/py-sync-interp.exp: Likewise.
3470 * gdb.server/ext-attach.exp: Likewise.
3471 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3472 tests that need to attach, instead of checking whether the target
3473 board is remote at the top of the file.
3474
acc018ac
YQ
34752015-01-08 Yao Qi <yao@codesourcery.com>
3476
3477 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3478
50a18af8
JK
34792015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3480
3481 Fix testcase compilation.
3482 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3483
8503d6e1
JB
34842015-01-06 Joel Brobecker <brobecker@adacore.com>
3485
3486 * gdb.python/py-type.exp: Add a couple test about empty
3487 array creation, and negative-length array creation.
3488
cc73dbcc
DE
34892015-01-02 Doug Evans <xdje42@gmail.com>
3490
3491 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3492
0300bbc7
DE
34932015-01-02 Doug Evans <dje@google.com>
3494
3495 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3496
9d85a0ec
YQ
34972014-12-29 Yao Qi <yao@codesourcery.com>
3498
3499 * gdb.trace/entry-values.exp: Update comments. Rename variable
3500 bar_call_foo to returned_from_foo.
3501
87186c6a
MMN
35022014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3503
3504 PR gdb/17394
3505 * gdb.linespec/break-asm-file.c: New file.
3506 * gdb.linespec/break-asm-file.exp: New file.
3507 * gdb.linespec/break-asm-file0.s: New file.
3508 * gdb.linespec/break-asm-file1.s: New file.
3509
1bab7383
YQ
35102014-12-18 Nigel Stephens <nigel@mips.com>
3511 Maciej W. Rozycki <macro@codesourcery.com>
3512
3513 * gdb.base/float.exp: Handle the new output from "info float" on
3514 MIPS targets.
3515
1bc1068a
JK
35162014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3517
3518 Fix MinGW compilation.
3519 * gdb.compile/compile-ops.exp: Update untested message if
3520 !skip_compile_feature_tests.
3521 * gdb.compile/compile-setjmp.exp: Likewise.
3522 * gdb.compile/compile-tls.exp: Likewise.
3523 * gdb.compile/compile.exp: Likewise.
3524 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3525 supported on this host".
3526
b6615d10
DE
35272014-12-16 Doug Evans <xdje42@gmail.com>
3528
3529 * boards/stabs.exp: New file.
3530
25dda427
AA
35312014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3532
3533 * gdb.base/completion.exp: Adjust to format changes of "maint
3534 print user-registers".
3535
bf330350
CU
35362014-12-16 Catalin Udma <catalin.udma@freescale.com>
3537
3538 PR server/17457
3539 * gdb.arch/aarch64-fp.c: New file.
3540 * gdb.arch/aarch64-fp.exp: New file.
3541
395cf596
SDJ
35422014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3543
3544 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3545 r210637, r210913, r211666, r215400, r215817).
3546
3547 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3548 * dg-extract-results.py: New file.
3549 * dg-extract-results.sh: Use it if the environment seems
3550 suitable.
3551
3552 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3553
3554 * dg-extract-results.py (parse_run): Handle warnings that
3555 are printed before a test harness is run.
3556
3557 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3558
3559 * dg-extract-results.py (Named): Remove __cmp__ method.
3560 (output_variation): Use a key to sort variation.harnesses.
3561
3562 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3563
3564 * dg-extract-results.py: For Python 3, force sys.stdout to
3565 handle surrogate escape sequences.
3566 (safe_open): New function.
3567 (output_segment, main): Use it.
3568
3569 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3570
3571 * dg-extract-results.py (Prog.result_re): Include options
3572 in test name.
3573
3574 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3575
3576 * dg-extract-results.py (output_variation): Always sort if
3577 do_sum.
3578
e882ef3c
SM
35792014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3580
3581 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3582 as long as we get pagination notifications.
3583
4992aa20
JM
35842014-12-15 Jason Merrill <jason@redhat.com>
3585
3586 * Makefile.in (check-gdb.%): Restore.
3587 * README: Mention it.
3588
c1b5a1a6
JB
35892014-12-13 Joel Brobecker <brobecker@adacore.com>
3590
3591 * gdb.ada/str_uninit: New testcase.
3592
5537b577
JK
35932014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3594
3595 PR symtab/17642
3596 * gdb.base/vla-stub-define.c: New file.
3597 * gdb.base/vla-stub.c: New file.
3598 * gdb.base/vla-stub.exp: New file.
3599
bb2ec1b3
TT
36002014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3601 Jan Kratochvil <jan.kratochvil@redhat.com>
3602 Tom Tromey <tromey@redhat.com>
3603
3604 * configure.ac: Add gdb.compile/.
3605 * configure: Regenerate.
3606 * gdb.compile/Makefile.in: New file.
3607 * gdb.compile/compile-ops.exp: New file.
3608 * gdb.compile/compile-ops.c: New file.
3609 * gdb.compile/compile-tls.c: New file.
3610 * gdb.compile/compile-tls.exp: New file.
3611 * gdb.compile/compile-constvar.S: New file.
3612 * gdb.compile/compile-constvar.c: New file.
3613 * gdb.compile/compile-mod.c: New file.
3614 * gdb.compile/compile-nodebug.c: New file.
3615 * gdb.compile/compile-setjmp-mod.c: New file.
3616 * gdb.compile/compile-setjmp.c: New file.
3617 * gdb.compile/compile-setjmp.exp: New file.
3618 * gdb.compile/compile-shlib.c: New file.
3619 * gdb.compile/compile.c: New file.
3620 * gdb.compile/compile.exp: New file.
3621 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3622
4ff709eb
TT
36232014-12-12 Tom Tromey <tromey@redhat.com>
3624
3625 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3626 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3627
6dddd6a5
DE
36282014-12-12 Doug Evans <dje@google.com>
3629
3630 * lib/gdb-python.exp (get_python_valueof): New function.
3631 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3632
71c24708
AA
36332014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3634
3635 * gdb.base/completion.exp: Add test for completion of "info
3636 registers ".
3637
3e29f34a
MR
36382014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3639
3640 * gdb.base/func-ptrs.c: New file.
3641 * gdb.base/func-ptrs.exp: New file.
3642
fc126975
SM
36432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3644
3645 PR breakpoints/17012
3646 * gdb.base/dprintf-detach.c: New file.
3647 * gdb.base/dprintf-detach.exp: New file.
3648
0a46d518
SM
36492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3650
3651 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3652 * lib/gdb.exp (target_is_gdbserver): New procedure.
3653
a0be3e44
DE
36542014-12-08 Doug Evans <dje@google.com>
3655
3656 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3657
df1b803a
YQ
36582014-12-05 Yao Qi <yao@codesourcery.com>
3659
3660 * gdb.guile/scm-error.exp: Remove the third argument to
3661 gdb_remote_download.
3662 * gdb.guile/scm-frame-args.exp: Likewise.
3663 * gdb.guile/scm-section-script.exp: Likewise.
3664
ddb9f679
YQ
36652014-12-05 Yao Qi <yao@codesourcery.com>
3666
3667 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3668
86e4ed39
DE
36692014-12-04 Doug Evans <dje@google.com>
3670
3671 * gdb.python/py-objfile.exp: Add tests for
3672 objfile.add_separate_debug_file.
3673
7c50a931
DE
36742014-12-04 Doug Evans <dje@google.com>
3675
3676 * lib/gdb.exp (get_build_id): New function.
3677 (build_id_debug_filename_get): Rewrite to use it.
3678 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3679
621661e3
MR
36802014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3681
3682 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3683 `method(long)', not just 0x0.
3684 * gdb.cp/nsalias.exp: Align code labels to 4.
3685 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3686 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3687 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3688 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3689 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3690 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3691
29f0c3b7
DE
36922014-12-02 Doug Evans <dje@google.com>
3693
e1e061e7 3694 PR symtab/17602
29f0c3b7 3695 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3696 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3697 * gdb.cp/anon-ns.exp: Update.
3698
162078c8
NB
36992014-12-02 Nick Bull <nicholaspbull@gmail.com>
3700
3701 * gdb.python/py-events.py (inferior_call_handler): New.
3702 (register_changed_handler, memory_changed_handler): New.
3703 (test_events.invoke): Register new handlers.
3704 * gdb.python/py-events.exp: Add tests for inferior call,
3705 memory_changed and register_changed events.
3706
fdb09caf
AA
37072014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3708
3709 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3710 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3711 if the linker doesn't understand this.
3712
55cfb2c4
SM
37132014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3714
3715 * gdb.python/python.exp: Change expected reply to help().
3716
9e8cd6df
YQ
37172014-12-01 Yao Qi <yao@codesourcery.com>
3718
3719 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3720 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3721 * configure: Re-generated.
3722
6c659fc2
SC
37232014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3724
3725 * gdb.cp/chained-calls.cc: New file.
3726 * gdb.cp/chained-calls.exp: New file.
3727 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3728
d7fc3181
SM
37292014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3730
3731 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3732 * gdb.dwarf2/symtab-producer.exp: Same.
3733 * gdb.gdb/python-interrupts.exp: Same.
3734 * gdb.gdb/python-selftest.exp: Same.
3735 * gdb.python/py-linetable.exp: Same.
3736 * gdb.python/py-type.exp: Same.
3737 * gdb.python/py-value-cc.exp: Same.
3738 * gdb.python/py-value.exp: Same.
3739
10e79639
YQ
37402014-11-28 Yao Qi <yao@codesourcery.com>
3741
3742 * gdb.base/break-probes.exp: Match library name prefixed with
3743 sysroot.
3744
f28a0564
SM
37452014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3746
3747 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3748 test expected output. Add parentheses for the call to print.
3749 Remove L suffix from integers.
3750
3fe1ce1d
DE
37512014-11-26 Doug Evans <dje@google.com>
3752
3753 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3754
84429e27
YQ
37552014-11-22 Yao Qi <yao@codesourcery.com>
3756
3757 * gdb.trace/entry-values.c: Remove asms.
3758 (foo): Add foo_label.
3759 (bar): Add bar_label.
3760 * gdb.trace/entry-values.exp: Remove code computing foo's
3761 length and bar's length.
3762 (Dwarf::assemble): Invoke function_range for bar and use
3763 MACRO_AT_func for foo.
3764
26741859
YQ
37652014-11-22 Yao Qi <yao@codesourcery.com>
3766
3767 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3768 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3769 Use .Lgcc43_procstart instead of gcc43.
3770
45e44d27
JB
37712014-11-21 Joel Brobecker <brobecker@adacore.com>
3772
3773 * gdb.ada/n_arr_bound: New testcase.
3774
458c8db8
SDJ
37752014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3776
3777 PR breakpoints/10737
3778 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3779 test_catch_syscall_multi_arch.
3780 (test_catch_syscall_multi_arch): New function.
3781
43f3e411
DE
37822014-11-20 Doug Evans <xdje42@gmail.com>
3783
3784 * gdb.base/maint.exp: Update expected output.
3785
0d7b2549
AA
37862014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3787
3788 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3789 4-byte instruction on S390.
3790
8908fca5
JB
37912014-11-19 Joel Brobecker <brobecker@adacore.com>
3792
3793 * gdb.ada/arr_arr: New testcase.
3794
4a46959e
JB
37952014-11-19 Joel Brobecker <brobecker@adacore.com>
3796
3797 * gdb.ada/pkd_arr_elem: New Testcase.
3798
470e2f4e
LM
37992014-11-18 Luis Machado <lgustavo@codesourcery.com>
3800
3801 * gdb.reverse/break-precsave: Expect completion message for
3802 core file reads.
3803 * gdb.reverse/consecutive-precsave.exp: Likewise.
3804 * gdb.reverse/finish-precsave.exp: Likewise.
3805 * gdb.reverse/i386-precsave.exp: Likewise.
3806 * gdb.reverse/machinestate-precsave.exp: Likewise.
3807 * gdb.reverse/sigall-precsave.exp: Likewise.
3808 * gdb.reverse/solib-precsave.exp: Likewise.
3809 * gdb.reverse/step-precsave.exp: Likewise.
3810 * gdb.reverse/until-precsave.exp: Likewise.
3811 * gdb.reverse/watch-precsave.exp: Likewise.
3812
a267f3ad
AA
38132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3814
3815 * gdb.base/bp-permanent.c: Include unistd.h.
3816 * gdb.python/py-framefilter-mi.c (main): Add return type.
3817 * gdb.python/py-framefilter.c (main): Likewise.
3818 * gdb.trace/actions-changed.c (main): Likewise.
3819
12084a9a
AA
38202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3821
3822 * gdb.mi/until.c: Add eye-catchers.
3823 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3824 line numbers.
3825
dc7e1a77
AA
38262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3827
3828 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3829 function header variants in break1.c.
3830 * gdb.base/ena-dis-br.exp: Likewise.
3831 * gdb.base/hbreak2.exp: Likewise.
3832 * gdb.reverse/until-precsave.exp: Drop references to removed
3833 non-prototype function header variants in ur1.c.
3834 * gdb.reverse/until-reverse.exp: Likewise.
3835
41c77605
PM
38362014-11-17 Petr Machata <pmachata@redhat.com>
3837
3838 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3839 ${_cu_offset_size} bytes abbrev offset.
3840
34248c3a
DE
38412014-11-15 Doug Evans <xdje42@gmail.com>
3842
3843 PR symtab/17559
3844 * gdb.base/line-symtabs.exp: New file.
3845 * gdb.base/line-symtabs.c: New file.
3846 * gdb.base/line-symtabs.h: New file.
3847
646da059
YQ
38482014-11-14 Yao Qi <yao@codesourcery.com>
3849
3850 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3851 (func): Add label func_label.
3852 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3853 Replace low_pc and high_pc with MACRO_AT_range.
3854 Replace name, low_pc and high_pc with MACRO_AT_func.
3855
9301ebe6
YQ
38562014-11-14 Yao Qi <yao@codesourcery.com>
3857
3858 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3859 Replace name, low_pc and high_pc with MACRO_AT_func.
3860
f166b542
YQ
38612014-11-14 Yao Qi <yao@codesourcery.com>
3862
3863 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3864 produce debug information.
3865 * gdb.dwarf2/implptr-optimized-out.S: Removed.
3866
0f6e71e3
YQ
38672014-11-14 Yao Qi <yao@codesourcery.com>
3868
3869 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
3870 object and get function length.
3871 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
3872 with MACRO_AT_func.
3873 (top-level): Replace gdb_compile and clean_restart with
3874 prepare_for_testing.
3875 * gdb.dwarf2/main.c (main): Add label main_label.
3876
876c4df9
YQ
38772014-11-14 Yao Qi <yao@codesourcery.com>
3878
3879 * lib/dwarf.exp (function_range): New procedure.
3880 (Dwarf::_handle_macro_at_func): New procedure.
3881 (Dwarf::_handle_macro_at_range): New procedure.
3882 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
3883
02ad9cf1
YQ
38842014-11-14 Yao Qi <yao@codesourcery.com>
3885
3886 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
3887 (_handle_attribute): New procedure.
3888
a59add0c
AA
38892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3890
3891 * gdb.ada/cond_lang/foo.c (callme): Add return type.
3892 * gdb.base/call-sc.c (zed): Likewise.
3893 * gdb.base/checkpoint.c (main): Likewise.
3894 * gdb.base/dump.c (main): Likewise.
3895 * gdb.base/gcore.c (main): Likewise.
3896 * gdb.base/huge.c (main): Likewise.
3897 * gdb.base/multi-forks.c (main): Likewise.
3898 * gdb.base/pr10179-a.c (main): Likewise.
3899 * gdb.base/savedregs.c (main): Likewise.
3900 * gdb.base/sigaltstack.c (main): Likewise.
3901 * gdb.base/siginfo.c (main): Likewise.
3902 * gdb.base/structs.c (zed): Likewise.
3903 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
3904 * gdb.mi/mi-syn-frame.c (main): Likewise.
3905 * gdb.mi/until.c (foo, main): Likewise.
3906 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
3907 * gdb.base/solib-weak.c (foo): Declare.
3908 * gdb.base/attach-twice.c: Include stdio.h.
3909 * gdb.base/weaklib1.c: Likewise.
3910 * gdb.base/weaklib2.c: Likewise.
3911 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
3912 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
3913 unistd.h.
3914 * gdb.base/attach-pie-misread.c: Include stdlib.h.
3915 * gdb.mi/mi-exit-code.c: Likewise.
3916 * gdb.base/break-interp-lib.c: Include string.h.
3917 * gdb.base/coremaker.c: Likewise.
3918 * gdb.base/testenv.c: Likewise.
3919 * gdb.python/py-finish-breakpoint.c: Likewise.
3920 * gdb.base/inferior-died.c: Include sys/wait.h.
3921 * gdb.base/fileio.c: Include time.h.
3922 * gdb.base/async-shell.c: Include unistd.h.
3923 * gdb.base/dprintf-non-stop.c: Likewise.
3924 * gdb.base/info-os.c: Likewise.
3925 * gdb.mi/mi-console.c: Likewise.
3926 * gdb.mi/watch-nonstop.c: Likewise.
3927 * gdb.python/py-events.c: Likewise.
3928 * gdb.base/async.c (baz): Move up before its invocation.
3929 * gdb.base/code_elim2.c (my_global_func): Likewise.
3930 * gdb.base/skip-solib-lib.c (multiply): Likewise.
3931 * gdb.base/advance.c (func2): Likewise.
3932
3b5d5997
AA
39332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3934
3935 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
3936 variant.
3937 * gdb.base/annota3.c: Likewise.
3938 * gdb.base/async.c: Likewise.
3939 * gdb.base/average.c: Likewise.
3940 * gdb.base/call-ar-st.c: Likewise.
3941 * gdb.base/call-rt-st.c: Likewise.
3942 * gdb.base/call-sc.c: Likewise.
3943 * gdb.base/call-strs.c: Likewise.
3944 * gdb.base/ending-run.c: Likewise.
3945 * gdb.base/execd-prog.c: Likewise.
3946 * gdb.base/exprs.c: Likewise.
3947 * gdb.base/foll-exec.c: Likewise.
3948 * gdb.base/foll-fork.c: Likewise.
3949 * gdb.base/foll-vfork.c: Likewise.
3950 * gdb.base/funcargs.c: Likewise.
3951 * gdb.base/gcore.c: Likewise.
3952 * gdb.base/jump.c: Likewise.
3953 * gdb.base/langs0.c: Likewise.
3954 * gdb.base/langs1.c: Likewise.
3955 * gdb.base/langs2.c: Likewise.
3956 * gdb.base/mips_pro.c: Likewise.
3957 * gdb.base/nodebug.c: Likewise.
3958 * gdb.base/opaque0.c: Likewise.
3959 * gdb.base/opaque1.c: Likewise.
3960 * gdb.base/recurse.c: Likewise.
3961 * gdb.base/run.c: Likewise.
3962 * gdb.base/scope0.c: Likewise.
3963 * gdb.base/scope1.c: Likewise.
3964 * gdb.base/setshow.c: Likewise.
3965 * gdb.base/setvar.c: Likewise.
3966 * gdb.base/shmain.c: Likewise.
3967 * gdb.base/shr1.c: Likewise.
3968 * gdb.base/shr2.c: Likewise.
3969 * gdb.base/sigall.c: Likewise.
3970 * gdb.base/signals.c: Likewise.
3971 * gdb.base/so-indr-cl.c: Likewise.
3972 * gdb.base/solib2.c: Likewise.
3973 * gdb.base/structs.c: Likewise.
3974 * gdb.base/sum.c: Likewise.
3975 * gdb.base/vforked-prog.c: Likewise.
3976 * gdb.base/watchpoint.c: Likewise.
3977 * gdb.reverse/shr2.c: Likewise.
3978 * gdb.reverse/until-reverse.c: Likewise.
3979 * gdb.reverse/ur1.c: Likewise.
3980 * gdb.reverse/watch-reverse.c: Likewise.
3981
066a77c5
AA
39822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3983
3984 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
3985 variant.
3986 * gdb.base/sepdebug.exp: Drop references to removed code.
3987
4f204ea5
AA
39882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3989
3990 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
3991 variant. Preserve original line numbering.
3992 * gdb.base/list1.c: Likewise.
3993
3b377a3a
AA
39942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3995
3996 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
3997 variant.
3998 * gdb.base/break1.c: Likewise.
3999 * gdb.base/break.exp: Drop references to removed code.
4000
e444df73
AA
40012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4002
4003 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4004 variant.
4005
8008f2a7
AA
40062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4007
4008 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4009
a5a06887
AA
40102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4011
4012 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4013 logic into perform_all_tests() and invoke it with and without
4014 function header prototypes.
4015 (do_function_calls): Remove conditional XFAIL for PR 5318.
4016 (rerun_and_prepare): Remove duplicate code.
4017 (perform_all_tests): New. Main logic moved here.
4018
44dba9b9
AA
40192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4020
4021 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4022 code guarded by #ifdef NO_PROTOTYPES.
4023 (t_double_many_args): Likewise.
4024 (DEF_FUNC_MANY_ARGS_1): Likewise.
4025 (DEF_FUNC_VALUES_1): Likewise.
4026 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4027 guarded by #ifdef PROTOTYPES.
4028
d1fbcd56
AA
40292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4030
4031 * gdb.mi/mi-console.c: Add eye-catcher.
4032 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4033 instead of literal line number.
4034
b0e59b8f
AA
40352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4036
4037 * gdb.base/shr2.c: Add eye-catcher.
4038 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4039 line number.
4040
78f98cca
AA
40412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4042
4043 * gdb.base/jump.c: Add eye-catchers.
4044 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4045 numbers.
4046
58fa2af0
AA
40472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4048
4049 * gdb.base/execd-prog.c: Add eye-catchers.
4050 * gdb.base/foll-exec.c: Likewise.
4051 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4052 line numbers.
4053
04e5059b
AA
40542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4055
4056 * gdb.base/ending-run.c: Add eye-catchers.
4057 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4058 literal line numbers.
4059
dbfdb174
AA
40602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4061
4062 * gdb.base/call-rt-st.c: Add eye-catchers.
4063 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4064 literal line numbers.
4065
888a2ade
AA
40662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4067
4068 * gdb.base/call-ar-st.c: Add eye-catchers.
4069 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4070 literal line numbers.
4071
6acc2dde
AA
40722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4073
4074 * gdb.base/average.c: Add eye-catchers.
4075 * gdb.base/sum.c: Likewise.
4076 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4077 regexps dynamically.
4078
9ecfcd1d
AA
40792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4080
4081 * gdb.base/solib1.c: Add eye-catchers.
4082 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4083 literal line numbers.
4084
78708b7c
PA
40852014-11-12 Pedro Alves <palves@redhat.com>
4086
4087 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4088 leader has exited.
4089
af48d08f
PA
40902014-11-12 Pedro Alves <palves@redhat.com>
4091
4092 * gdb.arch/i386-bp_permanent.c: New file.
4093 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4094 (srcfile): Set to i386-bp_permanent.c.
4095 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4096 that stepi does not execute the 'leave' instruction, instead of
4097 testing it does execute.
4098 * gdb.base/bp-permanent.c: New file.
4099 * gdb.base/bp-permanent.exp: New file.
4100
af3768e9
DE
41012014-11-10 Doug Evans <xdje42@gmail.com>
4102
4103 PR symtab/17564
4104 * gdb.base/symtab-search-order.exp: New file.
4105 * gdb.base/symtab-search-order.c: New file.
4106 * gdb.base/symtab-search-order-1.c: New file.
4107 * gdb.base/symtab-search-order-shlib-1.c: New file.
4108
9de00a4a
PA
41092014-11-07 Pedro Alves <palves@redhat.com>
4110
4111 PR gdb/17511
4112 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4113 i?86-*-linux*.
4114
e0f52461
SC
41152014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4116
4117 PR c++/17494
4118 * gdb.cp/pr17494.cc: New file.
4119 * gdb.cp/pr17494.exp: New file.
4120
6ce8c980
YQ
41212014-11-02 Yao Qi <yao@codesourcery.com>
4122
4123 * gdb.python/python.exp: Get working directory and match the
4124 output of "set extended-prompt \\w " with it.
4125
02be9a71
DE
41262014-10-30 Doug Evans <dje@google.com>
4127
4128 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4129 in objfiles.
4130 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4131 in progspaces.
4132
3bdff46b
LM
41332014-10-30 Janis Johnson <janisjo@codesourcery.com>
4134
4135 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4136 * gdb.base/realname-expand.exp: Likewise.
4137 * gdb.linespec/macro-relative.exp: Likewise.
4138
ab917dfb
PA
41392014-10-29 Pedro Alves <palves@redhat.com>
4140
4141 PR gdb/17408
4142 * gdb.threads/schedlock.c (some_function): New function.
4143 (call_function): New global.
4144 (MAYBE_CALL_SOME_FUNCTION): New macro.
4145 (thread_function): Call it.
4146 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4147 and use it instead of a global counter. Adjust all callers.
4148 (get_current_thread): Use "find current thread" for test message
4149 here rather than having all callers pass down the same string.
4150 (goto_loop): New procedure, factored out from ...
4151 (my_continue): ... this.
4152 (step_ten_loops): Change parameter from test message to command to
4153 use. Adjust.
4154 (list_count): Delete global.
4155 (check_result): New procedure, factored out from duplicate top
4156 level code.
4157 (continue tests): Wrap in with_test_prefix.
4158 (test_step): New procedure, factored out from duplicate top level
4159 code.
4160 (top level): Test "step" in combination with all scheduler-locking
4161 modes. Test "next" in combination with all scheduler-locking
4162 modes, and in combination with stepping over a function call or
4163 not.
4164 * gdb.threads/next-bp-other-thread.c: New file.
4165 * gdb.threads/next-bp-other-thread.exp: New file.
4166
d3d4baed
PA
41672014-10-29 Pedro Alves <palves@redhat.com>
4168
4169 PR python/17372
4170 * gdb.python/python.exp: Test a multi-line command that spawns
4171 interactive Python.
4172 * gdb.base/multi-line-starts-subshell.exp: New file.
4173
563e8d85
YQ
41742014-10-29 Yao Qi <yao@codesourcery.com>
4175
4176 * gdb.base/fileio.exp: Make directories on host.
4177
0ea4d52e
YQ
41782014-10-29 Yao Qi <yao@codesourcery.com>
4179
4180 * gdb.base/fileio.c (test_write): Close the file.
4181
7f5ef605
PA
41822014-10-28 Pedro Alves <palves@redhat.com>
4183
4184 PR gdb/12623
4185 * gdb.base/sigstep.c (no_handler): New global.
4186 (main): If 'no_handler is true, set the signal handlers to
4187 SIG_IGN.
4188 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4189 with_sw_watch and no_handler parameters. Handle them.
4190 (top level) <stepping over handler when stopped at a breakpoint
4191 test>: Add a test axis for testing with a software watchpoint, and
4192 another for testing with the signal handler set to SIG_IGN.
4193 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4194 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4195
abbdbd03
PA
41962014-10-28 Pedro Alves <palves@redhat.com>
4197
4198 PR gdb/17511
4199 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4200 * gdb.base/sigstep.exp (other_handler_location): New global.
4201 (advance): Support stepping into the signal handler, and running
4202 commands while in the handler.
4203 (in_handler_map): New global.
4204 (top level): In the advance test, add combinations for getting
4205 into the handler with stepping commands, and for running commands
4206 in the handler. Add comment descripting the advancei tests.
4207
1df4399f
PA
42082014-10-28 Pedro Alves <palves@redhat.com>
4209
4210 * gdb.base/sigstep.exp: Use build_executable instead of
4211 prepare_for_testing.
4212 (top level): Move code that starts GDB, runs to main and creates a
4213 display to ...
4214 (restart): ... this new procedure.
4215 (top level): Move backtrace from signal handler test to ...
4216 (validate_backtrace): ... this new procedure.
4217 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4218 with_test_prefix. Always restart GDB.
4219 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4220 with_test_prefix. Always restart GDB. No need to delete
4221 breakpoints after the test.
4222 (test_skip_handler): Remove prefix parameter.
4223 (skip_over_handler, breakpoint_to_handler)
4224 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4225 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4226 restart GDB. No need to delete breakpoints after the test.
4227 (top level): Use foreach to call the test procedures with
4228 different commands.
4229
a5b6e449
PA
42302014-10-28 Pedro Alves <palves@redhat.com>
4231
4232 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4233 instead of GNATS numbers.
4234 * gdb.base/sigbpt.exp: Likewise.
4235 * gdb.base/siginfo.exp: Likewise.
4236 * gdb.base/sigstep.exp: Likewise.
4237
e5f8a7cc
PA
42382014-10-27 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.base/sigstep.c (dummy): New global.
4241 (main): Issue a couple writes to the new global.
4242 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4243 procedures.
4244 (skip_over_handler): Use test_skip_handler.
4245 (top level): Call skip_over_handler for stepi and nexti too.
4246 (breakpoint_over_handler): Use test_skip_handler.
4247 (top level): Call breakpoint_over_handler for stepi and nexti too.
4248
763905a3
YQ
42492014-10-27 Yao Qi <yao@codesourcery.com>
4250
4251 * gdb.trace/tfile.c (adjust_function_address)
4252 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4253 function descriptor.
4254
6f259a23
DB
42552014-10-24 Don Breazeal <donb@codesourcery.com>
4256
4257 * gdb.base/foll-fork.exp (test_follow_fork,
4258 catch_fork_child_follow): Check for updated fork messages emitted
4259 from infrun.c.
4260 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4261 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4262 vfork_and_exec_child_follow_through_step): Check for updated vfork
4263 messages emitted from infrun.c.
4264
09dd9a69
PA
42652014-10-24 Pedro Alves <palves@redhat.com>
4266
4267 * gdb.base/corefile.exp: Remove references to ultrix.
4268 * gdb.base/interrupt.exp: Likewise.
4269 * gdb.base/whatis.exp: Likewise.
4270 * gdb.gdb/selftest.exp: Likewise.
4271 * gdb.threads/manythreads.exp: Likewise.
4272 * gdb.threads/print-threads.exp: Likewise.
4273 * gdb.threads/pthreads.exp:: Likewise.
4274 * gdb.threads/schedlock.exp: Likewise.
4275
3433cfa5
SC
42762014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4277
4278 * gdb.cp/non-trivial-retval.cc: Add a test case.
4279 * gdb.cp/non-trivial-retval.exp: Add a test.
4280
092f880b
YQ
42812014-10-20 Yao Qi <yao@codesourcery.com>
4282
4283 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4284 * gdb.python/py-objfile-script-gdb.py: New file.
4285 * gdb.python/py-objfile-script.exp: Update reference to
4286 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4287 of remote_download. Remove the dest file.
4288
acbdb7f3
YQ
42892014-10-20 Yao Qi <yao@codesourcery.com>
4290
4291 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4292 * gdb.base/step-line.exp: Likewise.
4293 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4294 * gdb.dwarf2/dw2-basic.exp: Likewise.
4295 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4296 * gdb.dwarf2/dw2-filename.exp: Likewise.
4297 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4298 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4299 * gdb.dwarf2/dw2-producer.exp: Likewise.
4300 * gdb.dwarf2/mac-fileno.exp: Likewise.
4301 * gdb.python/py-frame-args.exp: Likewise.
4302 * gdb.python/py-framefilter.exp: Likewise.
4303 * gdb.python/py-mi.exp: Likewise.
4304 * gdb.python/py-objfile-script.exp: Likewise
4305 * gdb.python/py-pp-integral.exp: Likewise.
4306 * gdb.python/py-pp-re-notag.exp: Likewise.
4307 * gdb.python/py-prettyprint.exp: Likewise.
4308 * gdb.python/py-section-script.exp: Likewise.
4309 * gdb.python/py-typeprint.exp: Likewise.
4310 * gdb.python/py-xmethods.exp: Likewise.
4311 * gdb.stabs/weird.exp: Likewise.
4312 * gdb.xml/tdesc-regs.exp: Likewise.
4313
bd286a29
KCY
43142014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4315
4316 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4317 (out_cu): Use addr_len for the size of addresses.
4318 (out_line): Likewise. Size DW_LNE_set_address instruction
4319 according to addr_len.
4320 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4321 (FUNC): Add START_INSNS to definition.
4322
673dc4a0
YQ
43232014-10-18 Yao Qi <yao@codesourcery.com>
4324
4325 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4326 gdb_has_argv0 return true.
4327 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4328 check [target_info exists noargs], check [gdb_has_argv0]
4329 instead.
4330 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4331 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4332 procedures.
4333
4ffbba72
DE
43342014-10-17 Doug Evans <dje@google.com>
4335
4336 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4337 event.
4338 * gdb.python/py-events.py: Add clear_objfiles event.
4339
d096d8c1
DE
43402014-10-17 Doug Evans <dje@google.com>
4341
4342 * gdb.python/py-objfile.exp: Test progspace attribute.
4343
a80db015
LM
43442014-10-17 Luis Machado <lgustavo@codesourcery.com>
4345
4346 * gdb.guile/scm-breakpoint.exp: Do not assume any
4347 directory separators when matching source file paths.
4348 * gdb.python/py-breakpoint.exp: Likewise.
4349 * gdb.reverse/break-precsave.exp: Likewise.
4350 * gdb.reverse/break-reverse.exp: Likewise.
4351 * gdb.reverse/consecutive-precsave.exp: Likewise.
4352 * gdb.reverse/finish-precsave.exp: Likewise.
4353 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4354 * gdb.reverse/finish-reverse.exp: Likewise.
4355 * gdb.reverse/i386-precsave.exp: Likewise.
4356 * gdb.reverse/i387-env-reverse.exp: Likewise.
4357 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4358 * gdb.reverse/machinestate-precsave.exp: Likewise.
4359 * gdb.reverse/machinestate.exp: Likewise.
4360 * gdb.reverse/sigall-precsave.exp: Likewise.
4361 * gdb.reverse/solib-precsave.exp: Likewise.
4362 * gdb.reverse/step-precsave.exp: Likewise.
4363 * gdb.reverse/until-precsave.exp: Likewise.
4364 * gdb.reverse/watch-precsave.exp: Likewise.
4365 * gdb.reverse/watch-reverse.exp: Likewise.
4366
b22089ab
YQ
43672014-10-17 Yao Qi <yao@codesourcery.com>
4368
4369 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4370 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4371
6c4486e6
PA
43722014-10-17 Pedro Alves <palves@redhat.com>
4373
4374 PR gdb/17471
4375 * gdb.base/bg-execution-repeat.c: New file.
4376 * gdb.base/bg-execution-repeat.exp: New file.
4377
0ff33695
PA
43782014-10-17 Pedro Alves <palves@redhat.com>
4379
4380 PR gdb/17300
4381 * gdb.base/continue-all-already-running.c: New file.
4382 * gdb.base/continue-all-already-running.exp: New file.
4383
6fdebc3d
PA
43842014-10-17 Pedro Alves <palves@redhat.com>
4385
4386 PR gdb/17472
4387 * gdb.base/annota-input-while-running.c: New file.
4388 * gdb.base/annota-input-while-running.exp: New file.
4389
32a8097b
PA
43902014-10-17 Pedro Alves <palves@redhat.com>
4391
4392 * gdb.base/callfuncs.exp: emove references to osf.
4393 * gdb.base/sigall.exp: Likewise.
4394 * gdb.gdb/selftest.exp: Likewise.
4395 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4396 * gdb.mi/non-stop.c: Likewise.
4397 * gdb.mi/pthreads.c: Likewise.
4398 * gdb.reverse/sigall-precsave.exp: Likewise.
4399 * gdb.reverse/sigall-reverse.exp: Likewise.
4400 * gdb.threads/pthreads.c: Likewise.
4401 * gdb.threads/pthreads.exp: Likewise.
4402
7a3517ff
YQ
44032014-10-17 Yao Qi <yao@codesourcery.com>
4404
4405 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4406 check 'target_info exists noargs'.
4407 (test_command_prompt_position): Likewise.
4408 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4409 Remove "set args".
4410 (progvar_simple_while_test): Likewise.
4411 (progvar_complex_if_while_test): Likewise.
4412 (if_while_breakpoint_command_test): Likewise.
4413 (infrun_breakpoint_command_test): Likewise.
4414 (breakpoint_command_test): Likewise.
4415 (watchpoint_command_test): Likewise.
4416 (bp_deleted_in_command_test): Likewise.
4417 (temporary_breakpoint_commands): Likewise.
4418
bb99c472
YQ
44192014-10-16 Yao Qi <yao@codesourcery.com>
4420
4421 * gdb.base/remotetimeout.exp: Remove noargs checking.
4422
7c16b83e
PA
44232014-10-15 Pedro Alves <palves@redhat.com>
4424
4425 PR breakpoints/9649
4426 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4427 * gdb.base/breakpoint-in-ro-region.exp
4428 (probe_target_hardware_step): New procedure.
4429 (top level): Probe hardware stepping and hardware breakpoint
4430 support. Test stepping through a read-only region, with both
4431 "breakpoint auto-hw" on and off and both "always-inserted" on and
4432 off.
4433
35a49624
IB
44342014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4435
4436 * gdb.dlang/demangle.exp: Update for demangling changes.
4437
2d1c107c
SC
44382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4439
4440 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4441 * gdb.cp/non-trivial-retval.exp: Add new tests.
4442
778811d5
SC
44432014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4444
4445 PR c++/13403
4446 PR c++/15154
4447 * gdb.cp/non-trivial-retval.cc: New file.
4448 * gdb.cp/non-trivial-retval.exp: New file.
4449
10c5f0a8
YQ
44502014-10-15 Yao Qi <yao@codesourcery.com>
4451
4452 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4453 remote host.
4454
65d7b369
YQ
44552014-10-15 Yao Qi <yao@codesourcery.com>
4456
4457 * gdb.python/py-symbol.exp: Match file base name if host is
4458 remote, otherwise match file name with dir name.
4459 * gdb.python/py-symtab.exp: Likewise.
4460 * gdb.python/python.exp: Likewise.
4461
46dc1394
YQ
44622014-10-15 Yao Qi <yao@codesourcery.com>
4463
4464 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4465 pattern.
4466 * gdb.python/py-symtab.exp: Likewise.
4467 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4468 locationn.
4469
c40cc657
JB
44702014-10-14 Joel Brobecker <brobecker@adacore.com>
4471
4472 * gdb.ada/addr_arith: New testcase.
4473
2abf49e1
MR
44742014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4475
4476 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4477 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4478 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4479 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4480
f7088df3
SDJ
44812014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4482
4483 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4484 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4485 * gdb.arch/stap-eval-lang-ada.exp: New file.
4486
4dc06805
YQ
44872014-10-14 Yao Qi <yao@codesourcery.com>
4488
4489 * gdb.mi/mi-var-child.c (nothing1): New function.
4490 (nothing2): New function.
4491 (do_children_tests): Set function pointers by nothing1 and
4492 nothing2.
4493 * gdb.mi/mi-var-child.exp: Step over new added statements.
4494 Update test to match the new output.
4495 * gdb.mi/var-cmd.c (nothing1): New function.
4496 (nothing2): New function.
4497 (do_children_tests): Set function pointers by nothing1 and
4498 nothing2.
4499 * gdb.mi/mi-var-display.exp: Update test to match output.
4500 Step to the line specified by $line_dct_nothing.
4501 Increase the number of lines to step.
4502
46a93de2
YQ
45032014-10-14 Yao Qi <yao@codesourcery.com>
4504
4505 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4506 tests.
4507 * gdb.mi/mi2-var-child.exp: Likewise.
4508
14ea52ee
DE
45092014-10-13 Doug Evans <dje@google.com>
4510
4511 * gdb.python/py-objfile.exp: Change name of file name test.
4512
e5c6e92b
DE
45132014-10-13 Doug Evans <dje@google.com>
4514
4515 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4516 from the start of the CU.
4517
c780cc2f
JK
45182014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4519 Yao Qi <yao@codesourcery.com>
4520
4521 Fix "save breakpoints" for "catch" command.
4522 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4523 Remove -nonewline. Match also the added "main" line.
4524
99894e11
JK
45252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4526
4527 Fix "save breakpoints" for "disable $bpnum" command.
4528 * gdb.base/save-bp.c (main): Add label.
4529 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4530
6e1ac5a3
JK
45312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4532
4533 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4534
754dd2b0
YQ
45352014-10-11 Yao Qi <yao@codesourcery.com>
4536
4537 * gdb.server/server-kill.exp: Execute command
4538 "set remote trace-status-packet on" before "tstatus".
4539
f90183d7
YQ
45402014-10-11 Yao Qi <yao@codesourcery.com>
4541
4542 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4543 (main): Call getppid.
4544 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4545 and continue to it. Read variable "server_pid".
4546
bf40a607
YQ
45472014-10-11 Yao Qi <yao@codesourcery.com>
4548
4549 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4550
052ca370
YQ
45512014-10-11 Yao Qi <yao@codesourcery.com>
4552
4553 * gdb.threads/thread-find.exp: Don't execute command
4554 "info threads".
4555 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4556 * gdb.threads/linux-dp.exp: Don't check the condition
4557 $threads_created equals to zero.
4558
3831839c
PA
45592014-10-10 Pedro Alves <palves@redhat.com>
4560
4561 * gdb.base/bigcore.exp: Remove references to IRIX.
4562 * gdb.base/funcargs.exp: Likewise.
4563 * gdb.base/interrupt.exp: Likewise.
4564 * gdb.base/mips_pro.exp: Likewise.
4565 * gdb.base/nodebug.exp: Likewise.
4566 * gdb.base/setvar.exp: Likewise.
4567 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4568
8b9a549d
PA
45692014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4570 Pedro Alves <palves@redhat.com>
4571
4572 PR symtab/14466
4573 * gdb.base/vdso-warning.c: New file.
4574 * gdb.base/vdso-warning.exp: New file.
4575
d48ba5e8
DE
45762014-10-02 Doug Evans <dje@google.com>
4577
4578 * gdb.base/structs.c (main): Don't run forever.
4579
2278c276
PA
45802014-10-02 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4583 (top level) <stop threads 1, stop threads 2>: Use it.
4584
b57bacec
PA
45852014-10-02 Pedro Alves <palves@redhat.com>
4586
4587 * gdb.threads/break-while-running.exp (test): Add new
4588 'update_thread_list' argument. Skip "info threads" if false.
4589 (top level): Add new 'update_thread_list' axis.
4590
13fd3ff3
PA
45912014-10-02 Pedro Alves <palves@redhat.com>
4592
4593 PR breakpoints/17431
4594 * gdb.base/execl-update-breakpoints.c: New file.
4595 * gdb.base/execl-update-breakpoints.exp: New file.
4596
0fec99e8
PA
45972014-10-01 Pedro Alves <palves@redhat.com>
4598
4599 * gdb.base/breakpoint-in-ro-region.c: New file.
4600 * gdb.base/breakpoint-in-ro-region.exp: New file.
4601
2ddf4301
SM
46022014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4603
4604 * gdb.mi/mi-exit-code.exp: New file.
4605 * gdb.mi/mi-exit-code.c: New file.
4606
6a5f3f43
YQ
46072014-09-30 Yao Qi <yao@codesourcery.com>
4608
4609 * lib/prelink-support.exp (build_executable_own_libs): Error if
4610 the target isn't native.
4611
345bcc73
YQ
46122014-09-30 Yao Qi <yao@codesourcery.com>
4613
4614 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4615 false.
4616
a25a5a45
PA
46172014-09-22 Pedro Alves <palves@redhat.com>
4618
4619 * gdb.threads/break-while-running.exp: New file.
4620 * gdb.threads/break-while-running.c: New file.
4621
00ba3162
YQ
46222014-09-19 Yao Qi <yao@codesourcery.com>
4623
4624 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4625 Invoke test. Restart GDB with --readnow and invoke test again.
4626
c3b7b696
YQ
46272014-09-19 Yao Qi <yao@codesourcery.com>
4628
4629 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4630 proc set_breakpoint_on_gcd_function. Invoke
4631 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4632 invoke set_breakpoint_on_gcd_function again.
4633
2b4fd423
DE
46342014-09-18 Doug Evans <dje@google.com>
4635
4636 * gdb.dwarf2/symtab-producer.exp: New file.
4637
a5947601
SDJ
46382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4639
4640 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4641 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4642 * gdb.base/global-var-nested-by-dso.c: Likewise.
4643 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4644
91c19059
SDJ
46452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4646 Pedro Alves <palves@redhat.com>
4647
4648 * gdb.base/watch-bitfields.exp: Pass string other than test file
4649 name to prepare_for_testing.
4650 (watch): New procedure.
4651 (expect_watchpoint): Use with_test_prefix.
4652 (top level): Factor out tests to ...
4653 (test_watch_location, test_regular_watch): ... these new
4654 procedures, and use with_test_prefix and gdb_continue_to_end.
4655
bb9d5f81
PP
46562014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4657
4658 PR breakpoints/12526
4659 * gdb.base/watch-bitfields.exp: New file.
4660 * gdb.base/watch-bitfields.c: New file.
4661
635856f5
PA
46622014-09-16 Pedro Alves <palves@redhat.com>
4663
4664 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4665 software and hardware addresses, not software address against
4666 itself.
4667
7280ceea
PA
46682014-09-16 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4671 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4672
428b16bd
PA
46732014-09-16 Pedro Alves <palves@redhat.com>
4674
4675 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4676 files.
4677 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4678 "*-*-vxworks*" throughout.
4679 * gdb.base/break.exp: Likewise.
4680 * gdb.base/default.exp: Likewise.
4681 * gdb.base/scope.exp: Likewise.
4682 * gdb.base/sepdebug.exp: Likewise.
4683 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4684 throughout.
4685 * gdb.base/run.c: Likewise.
4686 * gdb.base/sepdebug.c: Likewise.
4687 * gdb.hp/gdb.aCC/run.c: Likewise.
4688 * gdb.reverse/until-reverse.c: Likewise.
4689 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4690
666d413c
YQ
46912014-09-16 Yao Qi <yao@codesourcery.com>
4692
4693 * boards/local-remote-host-native.exp: New file.
4694
57cbd724
DE
46952014-09-14 Doug Evans <xdje42@gmail.com>
4696
4697 * gdb.threads/queue-signal.c (thread_count): New variable.
4698 (thread_count_mutex, thread_count_condvar): New variables.
4699 (incr_thread_count, wait_all_threads_running): New functions.
4700 (main): Wait for all threads to be in their thread functions.
4701
81219e53
DE
47022014-09-13 Doug Evans <xdje42@gmail.com>
4703
4704 * gdb.threads/queue-signal.c: New file.
4705 * gdb.threads/queue-signal.exp: New file.
4706
3714cea7
DE
47072014-09-13 Doug Evans <xdje42@gmail.com>
4708
4709 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4710 be consistent with what default_gdb_init uses.
4711 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4712 the plain text of the prompt. Add some logging printfs.
4713 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4714
fa43b1d7
PA
47152014-09-12 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4718 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4719 * gdb.arch/i386-size-overlap.exp: Likewise.
4720 * gdb.arch/i386-size.exp: Likewise.
4721 * gdb.arch/i386-unwind.exp: Likewise.
4722 * gdb.base/a2-run.exp: Likewise.
4723 * gdb.base/break.exp: Likewise.
4724 * gdb.base/charset.exp: Likewise.
4725 * gdb.base/chng-syms.exp: Likewise.
4726 * gdb.base/commands.exp: Likewise.
4727 * gdb.base/dbx.exp: Likewise.
4728 * gdb.base/find.exp: Likewise.
4729 * gdb.base/funcargs.exp: Likewise.
4730 * gdb.base/jit-simple.exp: Likewise.
4731 * gdb.base/reread.exp: Likewise.
4732 * gdb.base/sepdebug.exp: Likewise.
4733 * gdb.base/step-bt.exp: Likewise.
4734 * gdb.cp/mb-inline.exp: Likewise.
4735 * gdb.cp/mb-templates.exp: Likewise.
4736 * gdb.objc/basicclass.exp: Likewise.
4737 * gdb.threads/killed.exp: Likewise.
4738
9d9bf2df
EBM
47392014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4740
4741 PR tdep/17379
4742 * gdb.arch/powerpc-stackless.S: New file.
4743 * gdb.arch/powerpc-stackless.exp: New file.
4744
1cf2f1b0
JK
47452014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 * gdb.base/attach.c: Include unistd.h.
4748 (main): Call alarm. Add label postloop.
4749 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4750 gdb_breakpoint, gdb_continue_to_breakpoint.
4751 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4752
98880d46
PA
47532014-09-11 Pedro Alves <palves@redhat.com>
4754
4755 PR gdb/17347
4756 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4757 * gdb.base/attach.exp (test_command_line_attach_run): New
4758 procedure.
4759 (top level): Call it.
4760
4c92ff2c
PA
47612014-09-11 Pedro Alves <palves@redhat.com>
4762
4763 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4764 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4765 (do_command_attach_tests): Use spawn_wait_for_attach.
4766 * gdb.base/solib-overlap.exp: Likewise.
4767 * gdb.multi/multi-attach.exp: Likewise.
4768 * gdb.python/py-prompt.exp: Likewise.
4769 * gdb.python/py-sync-interp.exp: Likewise.
4770 * gdb.server/ext-attach.exp: Likewise.
4771
3adc1a7d
GKB
47722014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4773
4774 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4775 command in testcase. Simplify testcase.
4776
96334934
JB
47772014-09-10 Joel Brobecker <brobecker@adacore.com>
4778
4779 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4780
eb479039
JB
47812014-09-10 Joel Brobecker <brobecker@adacore.com>
4782
4783 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4784
deede10c
JB
47852014-09-10 Joel Brobecker <brobecker@adacore.com>
4786
4787 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4788
7828a5f5
JB
47892014-09-10 Joel Brobecker <brobecker@adacore.com>
4790
4791 * gdb.dwarf2/dynarr-ptr.c: New file.
4792 * gdb.dwarf2/dynarr-ptr.exp: New file.
4793
33aeebcf
MR
47942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4795
4796 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4797 of 30 rather than hardcoding 120 for a slow test case. Take the
4798 `gdb,timeout' target setting into account for this calculation.
4799 Don't extend the timeout for the test cases that don't need it.
4800
7b415901
MR
48012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4802
4803 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4804 a factor of 2 for a slow test case. Take the `gdb,timeout'
4805 target setting into account for this calculation.
4806 * gdb.reverse/until-precsave.exp: Increase the timeout by
4807 a factor of 15 and 3 respectively rather than adding 120
4808 for a pair of slow test cases. Take the `gdb,timeout'
4809 target setting into account for this calculation.
4810
4a40f85a
MR
48112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4812
4813 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4814 timeout, don't pass one down to gdb_expect.
4815 (gdb_expect): Rework timeout selection.
4816
09635af7
MR
48172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4818
4819 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4820 exception on timeout.
4821 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4822 (gdbserver_start_extended): Catch any `gdbserver_start' error
4823 exceptions.
4824 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4825 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4826 `gdbserver_gdb_load' error exceptions.
4827
2bdd10b7
MR
48282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4829
4830 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4831 120 on waiting for the TCP socket to open.
4832
316935f0
DE
48332014-09-09 Doug Evans <xdje42@gmail.com>
4834
4835 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4836 _caller_matches, _any_caller_is, _any_caller_matches.
4837
83740597
DE
48382014-09-09 Doug Evans <xdje42@gmail.com>
4839
4840 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4841
4c122fc3
YQ
48422014-09-09 Yao Qi <yao@codesourcery.com>
4843
4844 * gdb.mi/mi-var-display.exp: Set print symbol off.
4845
a9f116cb
GKB
48462014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4847
4848 PR gdb/17035
4849 * gdb.base/commands.exp: Add tests to verify user-defined
4850 commands with empty bodies.
4851 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4852 python commands in `show user command`.
4853 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4854 scheme commands in `show user command`.
4855
c75bd3a2
JK
48562014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4857
4858 PR python/17355
4859 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4860 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4861 * gdb.python/py-framefilter-invalidarg.exp: New file.
4862 * gdb.python/py-framefilter-invalidarg.py: New file.
4863
faa42425
DE
48642014-09-06 Doug Evans <xdje42@gmail.com>
4865
4866 PR 15276
4867 * gdb.python/py-caller-is.c: New file.
4868 * gdb.python/py-caller-is.exp: New file.
4869
474ca4f6
SDJ
48702014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
4871
4872 PR gdb/17235
4873 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
4874 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
4875
eb0b0463
SDJ
48762014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
4877
4878 PR fortran/17237
4879 * gdb.fortran/print-formatted.exp: New file.
4880 * gdb.fortran/print-formatted.f90: Likewise.
4881
5f3b99cf
SS
48822014-09-03 Sasha Smundak <asmundak@google.com>
4883
4884 * gdb.python/py-frame.exp: Test Frame.read_register.
4885
7d793aa9
SDJ
48862014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
4887
4888 PR python/16699
4889 * gdb.python/py-completion.exp: New file.
4890 * gdb.python/py-completion.py: Likewise.
4891
fb0576e9
DE
48922014-08-28 Doug Evans <dje@google.com>
4893
4894 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
4895 eax,etc. are live with values set by gdb and thus the compiler can't
4896 use them.
4897 * gdb.arch/i386-pseudo.c (main): Ditto.
4898
ee92b0dd
DE
48992014-08-27 Doug Evans <dje@google.com>
4900
4901 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
4902
6649db35
DE
49032014-08-25 Doug Evans <dje@google.com>
4904
4905 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
4906 (main): Ditto.
4907
564b7600
DE
49082014-08-25 Doug Evans <dje@google.com>
4909
4910 * gdb.threads/thread-execl.exp: #include <stdio.h>.
4911
3881fb67
YQ
49122014-08-24 Yao Qi <yao@codesourcery.com>
4913
4914 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
4915 symbol off.
4916 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
4917
a05a36a5
DE
49182014-08-22 Doug Evans <dje@google.com>
4919
4920 PR 17276
4921 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
4922 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
4923 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
4924
7c343b48
YQ
49252014-08-22 Yao Qi <yao@codesourcery.com>
4926
4927 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
4928 * gdb.python/py-finish-breakpoint2.exp: Likewise.
4929 * gdb.python/python.exp: Likewise. Use .py file on the host
4930 instead of the build.
4931
22fd09ae
JK
49322014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4933
4934 * gdb.threads/gcore-stale-thread.c: New file.
4935 * gdb.threads/gcore-stale-thread.exp: New file.
4936
a8454a7c
PA
49372014-08-21 Pedro Alves <palves@redhat.com>
4938
4939 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
4940 * gdb.base/gcore-relro-pie.exp: Likewise.
4941 * gdb.base/gcore-relro.exp: Likewise.
4942 * gdb.base/gcore.exp: Likewise.
4943 * gdb.base/print-symbol-loading.exp: Likewise.
4944 * gdb.threads/gcore-thread.exp: Likewise.
4945 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
4946
2a31c623
PA
49472014-08-20 Pedro Alves <palves@redhat.com>
4948 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * Makefile.in (EXTRA_RULES, CC): New variables, get from
4951 configure.
4952 (EXPECT): Handle READ1 being set.
4953 (all): Depend on EXTRA_RULES.
4954 (check-read1, expect-read1, read1.so, read1): New rules.
4955 * README (Testsuite Parameters): Document the READ1 make variable.
4956 (Race detection): New section.
4957 * configure: Regenerate.
4958 * configure.ac: If build==host==target, and running under a
4959 GNU/glibc system, add read1 to the extra Makefile rules.
4960 (EXTRA_RULES): AC_SUBST it.
4961 * lib/read1.c: New file.
4962
d36430db
JB
49632014-08-20 Joel Brobecker <brobecker@adacore.com>
4964
4965 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
4966 the handling of variables declared as a typedef to an array
4967 which a DW_AT_data_location attribute.
4968
9a0dc9e3
PA
49692014-08-19 Andrew Burgess <aburgess@broadcom.com>
4970 Pedro Alves <palves@redhat.com>
4971
4972 PR symtab/14604
4973 PR symtab/14605
4974 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
4975 gdb_test.
4976
0718a8da
PA
49772014-08-19 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
4980
13b448cd
YQ
49812014-08-19 Yao Qi <yao@codesourcery.com>
4982
4983 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
4984 right line.
4985
1cbf5077
DB
49862014-08-18 David Blaikie <dblaikie@gmail.com>
4987
4988 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
4989
bf0fae19
JB
49902014-08-18 Joel Brobecker <brobecker@adacore.com>
4991
4992 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
4993 attribute in array range.
4994
3c8c5dcc
JB
49952014-08-18 Joel Brobecker <brobecker@adacore.com>
4996
4997 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
4998
e66d4446
SC
49992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5000
5001 PR c++/17132
5002 * gdb.cp/pr17132.cc: New file.
5003 * gdb.cp/pr17132.exp: New file.
5004
940df408
SC
50052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5006
5007 * gdb.python/py-xmethods.py (A_getarrayind)
5008 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5009 Use 'print' with function call syntax.
5010 (E_method_matcher.match): Fix tab vs space indentation mixup.
5011
ebcc6c3a
YQ
50122014-08-15 Yao Qi <yao@codesourcery.com>
5013
5014 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5015 false.
5016
775e0f04
YQ
50172014-08-15 Yao Qi <yao@codesourcery.com>
5018
5019 * gdb.cp/casts.exp: Set print symbol off.
5020 * gdb.cp/class2.exp: Likewise.
5021 * gdb.cp/overload.exp: Likewise.
5022 * gdb.cp/templates.exp: Likewise.
5023
d769e349
DE
50242014-08-11 Doug Evans <dje@google.com>
5025
5026 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5027 (test_load_shlib): Update.
5028
20c6f1e1
YQ
50292014-08-09 Yao Qi <yao@codesourcery.com>
5030
5031 * gdb.base/display.exp: Invoke is_address_zero_readable.
5032 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5033 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5034 * gdb.base/hbreak-unmapped.exp: Return if
5035 is_address_zero_readable returns true.
5036 * gdb.base/signest.exp: Likewise.
5037 * gdb.base/signull.exp: Likewise.
5038 * gdb.base/sigbpt.exp: Likewise.
5039 * gdb.guile/scm-disasm.exp: Do the test if
5040 is_address_zero_readable returns false.
5041 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5042 * gdb.python/py-arch.exp: Likewise.
5043 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5044 * lib/gdb.exp (is_address_zero_readable): New proc.
5045
5792e8e3
YQ
50462014-08-09 Yao Qi <yao@codesourcery.com>
5047
5048 PR testsuite/13443
5049 * gdb.mi/mi-var-display.exp: Make test messages unique.
5050
3cecbbbe
TT
50512014-08-04 Tom Tromey <tromey@redhat.com>
5052
5053 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5054 target 0".
5055
00b51ff5
TT
50562014-08-04 Tom Tromey <tromey@redhat.com>
5057
5058 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5059 "target_resume".
5060
6908c509
JB
50612014-08-01 Joel Brobecker <brobecker@adacore.com>
5062
5063 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5064 inner_vla_struct_object_size.
5065 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5066 as xfail.
5067
cc6563d2
PA
50682014-07-30 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5071 comment.
5072
7e09a223
YQ
50732014-07-29 Yao Qi <yao@codesourcery.com>
5074
5075 PR gdb/17206
5076 * gdb.base/until-nodebug.exp: New.
5077
7ebdbe92
DE
50782014-07-28 Doug Evans <xdje42@gmail.com>
5079
5080 PR guile/17203
5081 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5082 previously existing parameter, and previously ambiguously spelled
5083 parameter.
5084
fdb1adc6
WN
50852014-07-28 Will Newton <will.newton@linaro.org>
5086
5087 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5088
186fcde0
DE
50892014-07-26 Ludovic Courtès <ludo@gnu.org>
5090 Doug Evans <xdje42@gmail.com>
5091
5092 PR guile/17146
5093 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5094
70509625
PA
50952014-07-25 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.threads/signal-command-handle-nopass.c: New file.
5098 * gdb.threads/signal-command-handle-nopass.exp: New file.
5099 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5100 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5101 * gdb.threads/signal-delivered-right-thread.c: New file.
5102 * gdb.threads/signal-delivered-right-thread.exp: New file.
5103
c3f814a1
PA
51042014-07-25 Pedro Alves <palves@redhat.com>
5105
5106 * gdb.base/double-prompt-target-event-error.exp
5107 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5108 match.
5109 (cancel_pagination_in_target_event): Rework double prompt
5110 detection.
5111 * gdb.base/paginate-after-ctrl-c-running.exp
5112 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5113 <return>' match.
5114 * gdb.base/paginate-bg-execution.exp
5115 (test_bg_execution_pagination_return)
5116 (test_bg_execution_pagination_cancel): Remove '-notransfer
5117 <return>' matches.
5118 * gdb.base/paginate-execution-startup.exp
5119 (test_fg_execution_pagination_return)
5120 (test_fg_execution_pagination_cancel): Remove '-notransfer
5121 <return>' matches.
5122 * gdb.base/paginate-inferior-exit.exp
5123 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5124 match.
5125 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5126 * lib/gdb.exp (pagination_prompt): Run text through
5127 string_to_regexp.
5128 (gdb_test_multiple): Match $pagination_prompt instead of
5129 "<return>".
5130 (string_to_regexp): Move to lib/gdb-utils.exp.
5131
e214cf6c
JK
51322014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5133
5134 * gdb.arch/amd64-entry-value-paramref.S: New file.
5135 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5136 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5137 * gdb.arch/amd64-optimout-repeat.S: New file.
5138 * gdb.arch/amd64-optimout-repeat.c: New file.
5139 * gdb.arch/amd64-optimout-repeat.exp: New file.
5140
17d0c5c8
JK
51412014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5142
5143 PR gdb/17170
5144 * gdb.base/statistics.exp: New file.
5145
b8b8facf
DE
51462014-07-17 Doug Evans <dje@google.com>
5147
74b49205 5148 PR gdb/17170
b8b8facf
DE
5149 * gdb.base/maint.exp: Update testing of per-command stats.
5150
1b5d0ab3
PA
51512014-07-16 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5154 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5155 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5156 (tfile_write_buf): New functions.
5157 (add_memory_block): Rewrite using the above.
5158 (adjust_function_address): New function.
5159 (FUNCTION_ADDRESS): New macro.
5160 (write_basic_trace_file): Remove short_x local, and use
5161 tfile_write_16. Change type of func_addr local to unsigned long
5162 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5163 here. Cast argument of add_memory_block to char pointer.
5164 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5165 (main): Remove parameters.
5166 * gdb.trace/tfile.exp: Remove nowarnings.
5167
4d974e88
SM
51682014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5169
5170 * gdb.base/debug-expr.exp: Test string evaluation with
5171 "debug expression" on.
5172
41e99568
PA
51732014-07-15 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/reread.exp: Use clean_restart.
5176
487d9753
PL
51772014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5178
5179 * gdb.arch/avr-flash-qualifer.c: New.
5180 * gdb.arch/avr-flash-qualifer.exp: New.
5181
cc1c52ad
PA
51822014-07-14 Pedro Alves <palves@redhat.com>
5183
5184 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5185 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5186
1e973570
PA
51872014-07-14 Pedro Alves <palves@redhat.com>
5188
5189 * gdb.base/double-prompt-target-event-error.c: New file.
5190 * gdb.base/double-prompt-target-event-error.exp: New file.
5191
93d6eb10
PA
51922014-07-14 Pedro Alves <palves@redhat.com>
5193
5194 PR gdb/17072
5195 * gdb.base/paginate-inferior-exit.c: New file.
5196 * gdb.base/paginate-inferior-exit.exp: New file.
5197
0017922d
PA
51982014-07-14 Pedro Alves <palves@redhat.com>
5199
5200 PR gdb/17072
5201 * gdb.base/paginate-bg-execution.c: New file.
5202 * gdb.base/paginate-bg-execution.exp: New file.
5203
94696ad3
PA
52042014-07-14 Pedro Alves <palves@redhat.com>
5205
5206 PR gdb/17072
5207 * gdb.base/paginate-execution-startup.c: New file.
5208 * gdb.base/paginate-execution-startup.exp: New file.
5209 * lib/gdb.exp (pagination_prompt): New global.
5210 (default_gdb_spawn): New procedure, factored out from
5211 default_gdb_spawn.
5212 (default_gdb_start): Adjust to call default_gdb_spawn.
5213 (gdb_spawn): New procedure.
5214
bd293940
PA
52152014-07-14 Pedro Alves <palves@redhat.com>
5216
5217 * lib/gdb.exp (gdb_assert): New procedure.
5218 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5219
c933f875
PA
52202014-07-14 Pedro Alves <palves@redhat.com>
5221
5222 * gdb.base/execution-termios.c: New file.
5223 * gdb.base/execution-termios.exp: New file.
5224
d98b7a16
TT
52252014-07-14 Tom Tromey <tromey@redhat.com>
5226
5227 * gdb.cp/vla-cxx.cc: New file.
5228 * gdb.cp/vla-cxx.exp: New file.
5229
548740d6
TT
52302014-07-14 Tom Tromey <tromey@redhat.com>
5231
5232 * gdb.reverse/rerun-prec.c: New file.
5233 * gdb.reverse/rerun-prec.exp: New file.
5234
a25eb028
MR
52352014-07-12 Maciej W. Rozycki <macro@mips.com>
5236 Maciej W. Rozycki <macro@codesourcery.com>
5237
5238 * lib/gdb-utils.exp: New file.
5239 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5240 inline `gdb_init_command' processing.
5241 (gdb_start_cmd): Likewise.
5242 * lib/mi-support.exp (mi_run_cmd): Likewise.
5243 * README: Document `gdb_init_command' and `gdb_init_commands'.
5244
218c2655
JK
52452014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5246
5247 Fix false FAIL running under a very long directory name.
5248 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5249 and "set print elements 10000". Twice.
5250
5401fde3
YQ
52512014-07-11 Yao Qi <yao@codesourcery.com>
5252
5253 * gdb.base/exprs.exp: "set print symbol off".
5254
e76126e8
PA
52552014-07-11 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.threads/kill.c: New file.
5258 * gdb.threads/kill.exp: New file.
5259
2d6f0de6
YQ
52602014-07-10 Yao Qi <yao@codesourcery.com>
5261
5262 * gdb.trace/tfile.c (write_basic_trace_file)
5263 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5264 address written to trace file.
5265
7180e04a
PA
52662014-07-09 Pedro Alves <palves@redhat.com>
5267
5268 * gdb.base/attach-wait-input.exp: New file.
5269 * gdb.base/attach-wait-input.c: New file.
5270
9a9a7608
AB
52712014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5272
5273 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5274 setting up test structures.
5275 (main): Call new test function.
5276 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5277 test function, continue into test function and walk test
5278 structures.
5279
161ac41e
YQ
52802014-07-02 Yao Qi <yao@codesourcery.com>
5281
5282 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5283 'bar_start' at the beginning of functions 'foo' and 'bar'
5284 respectively.
5285 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5286 instead of 'foo' and 'bar'.
5287
1f267ae3
MM
52882014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5289
5290 * gdb.btrace/segv.exp: New.
5291 * gdb.btrace/segv.c: New.
5292
2b239efb
LM
52932014-07-02 Luis Machado <lgustavo@codesourcery.com>
5294
5295 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5296 instruction.
5297
cf363f18
MW
52982014-06-30 Mark Wielaard <mjw@redhat.com>
5299
5300 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5301 vulture, vilify, villar): New volatile array constants.
5302 (vindictive, vegetation): New const volatile array constants.
5303 * gdb.base/volatile.exp: Test volatile and const volatile array
5304 types.
5305
aebf9d24
AA
53062014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5307
5308 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5309 target lacks support for awatch, rwatch, or hbreak.
5310
b67a2c6f
YQ
53112014-06-27 Yao Qi <yao@codesourcery.com>
5312
5313 * gdb.multi/dummy-frame-restore.exp: New.
5314 * gdb.multi/dummy-frame-restore.c: New.
5315
aef92902
MM
53162014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5317
5318 * gdb.btrace/gcore.exp: New.
5319
8e9db26e
PA
53202014-06-23 Pedro Alves <palves@redhat.com>
5321
5322 * gdb.base/watchpoint-reuse-slot.c: New file.
5323 * gdb.base/watchpoint-reuse-slot.exp: New file.
5324
70afc5b7
SC
53252014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5326
5327 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5328 progspace's filename in 'info', 'enable' and 'disable' command
5329 tests.
5330
b972bd9c
JK
53312014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5334 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5335 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5336
125f8a3d
GB
53372014-06-20 Gary Benson <gbenson@redhat.com>
5338
5339 * gdb.arch/i386-avx.exp: Fix include file location.
5340 * gdb.arch/i386-sse.exp: Likewise.
5341
3ed9baed
IB
53422014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5343
5344 * gdb.dlang/expression.exp: New file.
5345
034f788c
PA
53462014-06-19 Pedro Alves <palves@redhat.com>
5347
5348 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5349 out from ...
5350 (top level): ... here. Iterate running tests under different
5351 scheduler-locking settings.
5352
45371d0c
LM
53532014-06-18 Luis Machado <lgustavo@codesourcery.com>
5354
5355 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5356 to DW_FORM_addr and use non-zero addresses.
5357
5d376983
SC
53582014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5359
5360 PR gdb/17017
5361 * gdb.python/py-xmethods.cc: Add global function call counters and
5362 increment them in their respective functions. Remove "cout"
5363 statements.
5364 * gdb.python/py-xmethods.exp: Make tests check the global function
5365 call counters instead of depending on inferior IO.
5366
a1aa2221
LM
53672014-06-18 Don Breazeal <donb@codesourcery.com>
5368
5369 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5370 Deleted procedure.
5371 (explicit_fork_parent_follow): Deleted procedure.
5372 (explicit_fork_child_follow): Deleted procedure.
5373 (test_follow_fork): New procedure.
5374 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5375 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5376 procedure calls.
5377
0fc05997
YQ
53782014-06-17 Yao Qi <yao@codesourcery.com>
5379
5380 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5381 CP1252.
5382
70795c52
LM
53832014-06-17 Luis Machado <lgustavo@codesourcery.com>
5384
5385 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5386 Initialize ptr and S explicitly.
5387 (skip_type_update_when_not_use_rtti_test): Likewise.
5388
6be47f0c
KS
53892014-06-16 Keith Seitz <keiths@redhat.com>
5390
5391 PR mi/15863
5392 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5393 the inferior is started.
5394
d03de421
PA
53952014-06-16 Pedro Alves <palves@redhat.com>
5396
5397 * gdb.base/break-main-file-remove-fail.c: New file.
5398 * gdb.base/break-main-file-remove-fail.exp: New file.
5399 * gdb.base/break-unload-file.exp: Use build_executable instead of
5400 prepare_for_testing.
5401 (test_break): New parameter "initial_load". Handle it.
5402 (top level): Add initial_load cmdline/file axis.
5403
f9579b99
TT
54042014-06-12 Tom Tromey <tromey@redhat.com>
5405
5406 * gdb.base/completion.exp: Don't use directory name in test.
5407
3657956b
GB
54082014-06-09 Gary Benson <gbenson@redhat.com>
5409
5410 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5411 separate the always-available ANSI-standard signals from the
5412 signals that require checking.
5413 (main): Likewise.
5414 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5415 Likewise.
5416 (main): Likewise.
5417
4186eb54
KS
54182014-06-07 Keith Seitz <keiths@redhat.com>
5419
5420 Revert:
5421 PR c++/16253
5422 * gdb.cp/var-tag.cc: New file.
5423 * gdb.cp/var-tag.exp: New file.
5424 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5425 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5426 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5427 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5428
25326a28 54292014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5430
5431 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5432
829155c9
PA
54332014-06-06 Pedro Alves <palves@redhat.com>
5434
5435 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5436 in target debug output instead of looking at RSP packets,
5437 disabling the test on any target that uses hardware stepping.
5438 Update comments.
5439
61c8d22e
PA
54402014-06-06 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.base/break-unload-file.exp: Fix typo.
5443
d9a47287
YQ
54442014-06-06 Yao Qi <yao@codesourcery.com>
5445
5446 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5447 from "jit_function" to "^jit_function".
5448
e5e01dbf
YQ
54492014-06-06 Yao Qi <yao@codesourcery.com>
5450
5451 * gdb.base/async.c (foo): Add one statement.
5452 * gdb.base/async.exp: Get the next instruction address and
5453 match the output of "nexti" by instruction address. Match
5454 the hex address in the output of "finish".
5455
73ba372c
GB
54562014-06-06 Gary Benson <gbenson@redhat.com>
5457
5458 * gdb.base/call-signals.c: Remove preprocessor conditionals
5459 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5460 SIGSEGV and SIGTERM.
5461 * gdb.base/sigall.c: Likewise.
5462 * gdb.base/unwindonsignal.c: Likewise.
5463 * gdb.reverse/sigall-reverse.c: Likewise.
5464
831517df
YQ
54652014-06-06 Yao Qi <yao@codesourcery.com>
5466
5467 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5468 readable, skip the test.
5469
b8b91e98
YQ
54702014-06-06 Yao Qi <yao@codesourcery.com>
5471
5472 * gdb.threads/staticthreads.c (thread_function): Move the line
5473 setting breakpoint on forward.
5474 * gdb.threads/staticthreads.exp: Update comments.
5475
fb934770
LC
54762014-06-05 Ludovic Courtès <ludo@gnu.org>
5477
5478 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5479 "history-append! type error".
5480
6ef284bd
SM
54812014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5482
5483 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5484 erroneous dprintf expected input.
5485
a872e241
DE
54862014-06-04 Doug Evans <xdje42@gmail.com>
5487
5488 * gdb.guile/scm-generics.exp: Delete.
5489
16f691fb
DE
54902014-06-04 Doug Evans <xdje42@gmail.com>
5491
5492 * gdb.guile/scm-breakpoint.exp: Update.
5493 Add tests for breakpoint registration.
5494
012370f6
TT
54952014-06-04 Tom Tromey <tromey@redhat.com>
5496
5497 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5498 VLA-in-union.
5499 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5500 inner_vla_struct, vla_union types. Initialize objects of those
5501 types and compute their sizes.
5502
9f5a4cef
HZ
55032014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5504 Hui Zhu <hui@codesourcery.com>
5505
5506 * gdb.base/fileio.exp: Add test for shell not available as well as
5507 available.
5508 * gdb.base/fileio.c (test_system): Check for shell twice.
5509
90a45c4d
YQ
55102014-06-04 Yao Qi <yao@codesourcery.com>
5511
5512 * gdb.base/auto-connect-native-target.exp: Remove redundant
5513 space from the regexp pattern.
5514
70017e41
YQ
55152014-06-04 Yao Qi <yao@codesourcery.com>
5516
5517 * gdb.base/default.exp: Replace "child" with "native" in
5518 regexp pattern.
5519
883964a7
SC
55202014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5521
5522 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5523 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5524 * gdb.python/py-xmethods.py: Python script supporting the
5525 new testcase and tests.
5526
ef370185
JB
55272014-06-03 Joel Brobecker <brobecker@adacore.com>
5528 Pedro Alves <palves@redhat.com>
5529
5530 PR breakpoints/17000
5531 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5532 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5533
1e2ccb61
BM
55342014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5535
5536 * gdb.base/subst.exp: Add tests to verify partial path matching
5537 output.
5538
c6ec5ab2
PA
55392014-06-03 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5542 target that doesn't use software single-stepping.
5543
835c559f
PA
55442014-06-03 Pedro Alves <palves@redhat.com>
5545
5546 PR breakpoints/17000
5547 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5548 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5549
06eb1586
DE
55502014-06-02 Doug Evans <xdje42@gmail.com>
5551
5552 * gdb.guile/scm-parameter.exp: New file.
5553
e698b8c4
DE
55542014-06-02 Doug Evans <xdje42@gmail.com>
5555
5556 * gdb.guile/scm-cmd.c: New file.
5557 * gdb.guile/scm-cmd.exp: New file.
5558
ded03782
DE
55592014-06-02 Doug Evans <xdje42@gmail.com>
5560
5561 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5562 pretty-printer lookup.
5563 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5564 (make-pp_s-printer): Call it.
5565 (make-pretty-printer-from-dict): New function.
5566 (lookup-pretty-printer-maker-from-dict): New function.
5567 (*pretty-printer*): Simplify.
5568 (make-objfile-pp_s-printer): New function.
5569 (install-objfile-pretty-printers!): New function.
5570 (make-progspace-pp_s-printer): New function.
5571 (install-progspace-pretty-printers!): New function.
5572 * gdb.guile/scm-progspace.c: New file.
5573 * gdb.guile/scm-progspace.exp: New file.
5574
41fac0cf
PA
55752014-06-02 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.base/dprintf-bp-same-addr.c: New file.
5578 * gdb.base/dprintf-bp-same-addr.exp: New file.
5579
96ae5695
EBM
55802014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5581
5582 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5583 * gdb.arch/powerpc-power.s: Likewise.
5584
da02b3a8
JB
55852014-06-02 Joel Brobecker <brobecker@adacore.com>
5586
5587 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5588
c72b2e7b
YQ
55892014-06-01 Yao Qi <yao@codesourcery.com>
5590
5591 * gdb.base/watchpoint.exp (test_watch_location): Check null
5592 pointer can be dereferenced. If not, do the test, otherwise
5593 skip it.
5594
53e8a631
AB
55952014-05-30 Andrew Burgess <aburgess@broadcom.com>
5596
5597 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5598 results.
5599 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5600
938f0e2f
AB
56012014-05-30 Andrew Burgess <aburgess@broadcom.com>
5602
5603 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5604 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5605 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5606 * gdb.arch/amd64-invalid-stack-top.c: New file.
5607 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5608
9ba6657a
PA
56092014-05-30 Pedro Alves <palves@redhat.com>
5610
5611 PR breakpoints/17000
5612 * gdb.base/sss-bp-on-user-bp.c: New file.
5613 * gdb.base/sss-bp-on-user-bp.exp: New file.
5614
522c09bf
DB
56152014-05-30 David Blaikie <dblaikie@gmail.com>
5616
5617 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5618 gnu_inline semantics via attribute.
5619 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5620 source explicitly specifies the required semantics.
5621
bf4ef81e
MR
56222014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5623
5624 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5625
329ea579
PA
56262014-05-29 Pedro Alves <palves@redhat.com>
5627 Tom Tromey <tromey@redhat.com>
5628
5629 * gdb.base/async-shell.exp: Don't enable target-async.
5630 * gdb.base/async.exp
5631 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5632 parameter. Adjust.
5633 (top level): Don't test with "target-async".
5634 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5635 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5636 * gdb.base/inferior-died.exp: Don't enable target-async.
5637 * gdb.base/interrupt-noterm.exp: Likewise.
5638 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5639 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5640 * gdb.mi/mi-nonstop.exp: Likewise.
5641 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5642 * gdb.mi/mi-nsintrall.exp: Likewise.
5643 * gdb.mi/mi-nsmoribund.exp: Likewise.
5644 * gdb.mi/mi-nsthrexec.exp: Likewise.
5645 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5646 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5647 * gdb.python/py-evsignal.exp: Don't enable target-async.
5648 * gdb.python/py-evthreads.exp: Likewise.
5649 * gdb.python/py-prompt.exp: Likewise.
5650 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5651 * gdb.server/solib-list.exp: Don't enable target-async.
5652 * gdb.threads/thread-specific-bp.exp: Likewise.
5653 * lib/mi-support.exp: Adjust to use mi-async.
5654
fd664c91
PA
56552014-05-29 Pedro Alves <palves@redhat.com>
5656
5657 PR gdb/13860
5658 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5659 reason, even in sync mode.
5660
251bde03
PA
56612014-05-29 Pedro Alves <palves@redhat.com>
5662 Hui Zhu <hui@codesourcery.com>
5663
5664 PR PR15693
5665 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5666 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5667 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5668 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5669
7f3c0343
JB
56702014-05-28 Joel Brobecker <brobecker@adacore.com>
5671
5672 * config/monitor.exp (gdb_target_monitor): Replace use of
5673 "set remotebaud" by "set serial baud".
5674
b2715b27
AW
56752014-05-26 Andy Wingo <wingo@igalia.com>
5676
5677 * gdb.guile/scm-breakpoint.exp:
5678 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5679 properties instead of gdb-object-properties.
5680
498a4489
YQ
56812014-05-26 Yao Qi <yao@codesourcery.com>
5682
5683 * gdb.server/no-thread-db.exp: Specify source file name
5684 explicitly when setting a breakpoint.
5685
589fdceb
MM
56862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5687
5688 * gdb.btrace/vdso.c: New.
5689 * gdb.btrace/vdso.exp: New.
5690
e9089e05
MM
56912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5692
5693 * gdb.base/gcore.exp (capture_command_output): Move ...
5694 * lib/gdb.exp (capture_command_output): ... here.
5695
67b5c0c1
MM
56962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5697
5698 * gdb.btrace/data.exp: Test memory access during btrace replay.
5699
a2199296
SM
57002014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5701
5702 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5703
17b2616c
PA
57042014-05-21 Pedro Alves <palves@redhat.com>
5705
5706 PR gdb/13860
5707 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5708 (top level): Test that output related to execution commands is
5709 sent to the console with CLI commands, but not with MI commands.
5710 Test that breakpoint events are always mirrored to the console.
5711 Also expect the new source line to be output after a "next" in
5712 async mode too. Make it a pass/fail test.
5713 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5714 output.
5715 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5716
5166082f
PA
57172014-05-21 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5720 Use them to test variations of "list" after reaching a breakpoint.
5721 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5722 Test "list" with listsize 10 after reaching a breakpoint.
5723 * gdb.python/python.exp (decode_line current location line
5724 number): Adjust expected line number.
5725
2f25d70f
SM
57262014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5727
5728 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5729 behavior for $args, pass it directly to "run".
5730
ff604a67
MR
57312014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5732
5733 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5734 30000 to 65536.
5735
6a3cb8e8
PA
57362014-05-21 Pedro Alves <palves@redhat.com>
5737
5738 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5739 auto-connect-native-target off".
5740 * gdb.base/auto-connect-native-target.c: New file.
5741 * gdb.base/auto-connect-native-target.exp: New file.
5742
4ebfc96e
PA
57432014-05-21 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.base/default.exp: Test "target native" instead of "target
5746 child".
5747
36d46afb
MW
57482014-05-21 Mark Wielaard <mjw@redhat.com>
5749
5750 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5751
5876f503
JK
57522014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5753
5754 Fix TLS access for -static -pthread.
5755 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5756 <HAVE_TLS> (thread_function, main): Initialize it.
5757 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5758 Add clean_restart.
5759 <$have_tls != "">: Check TLSVAR.
5760
0256a6ac
PA
57612014-05-21 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/dcache-line-read-error.c: New.
5764 * gdb.base/dcache-line-read-error.exp: New.
5765
936d2992
PA
57662014-05-20 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.base/compare-sections.c: New file.
5769 * gdb.base/compare-sections.exp: New file.
5770
802e8e6d
PA
57712014-05-20 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.base/break-idempotent.c: New file.
5774 * gdb.base/break-idempotent.exp: New file.
5775
e59fa00f
MM
57762014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5777
5778 * gdb.btrace/nohist.exp: New.
5779
8b696e31
YQ
57802014-05-20 Yao Qi <yao@codesourcery.com>
5781
5782 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5783 gdb.reverse directory and gdb_reverse_timeout exists in board
5784 setting.
5785 * README: Document gdb_reverse_timeout.
5786
73c9764f
YQ
57872014-05-20 Yao Qi <yao@codesourcery.com>
5788
5789 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5790 'test_file_name'. Treat args as a string instead of a list.
5791 (gdb_init): Rename argument 'args' by 'test_file_name'.
5792
f1f4348a
JK
57932014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 * gdb.arch/powerpc-power.exp: New file.
5796 * gdb.arch/powerpc-power.s: New file.
5797
0dbe70ce
DE
57982014-05-16 Doug Evans <dje@google.com>
5799
5800 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5801 * gdb.base/completion.exp: Check that all expected files exist
5802 before doing file completion.
0dbe70ce 5803
8d551b02
DE
58042014-05-16 Doug Evans <dje@google.com>
5805
5806 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5807 Update.
5808 (do_syscall_tests_without_xml): Update.
5809
73eb7709
PA
58102014-05-16 Pedro Alves <palves@redhat.com>
5811
5812 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5813 instead of "unknown output after running".
5814
3fae92fc
YQ
58152014-05-16 Yao Qi <yao@codesourcery.com>
5816
5817 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5818 file1.txt from host at the end.
5819 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5820
c2b2ccc5
DE
58212014-05-15 Doug Evans <dje@google.com>
5822
5823 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5824 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5825 loading file. Add test for TU lookup.
5826
8c217a4b
SM
58272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5828
5829 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5830 calling "-exec-arguments" or "set args" before running the
5831 inferior.
5832
3deb39c6
SM
58332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5834
5835 * lib/mi-support.exp (mi_expect_stop): Expect message for
5836 inferiors that exit with non-zero exit code.
5837
71a79f8c
YQ
58382014-05-14 Yao Qi <yao@codesourcery.com>
5839
5840 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5841 match absolute path on remote host.
5842 (test_file_list_exec_source_files): Remove "/" from the
5843 pattern.
5844
f23fcd46
YQ
58452014-05-14 Yao Qi <yao@codesourcery.com>
5846
5847 * boards/local-remote-host-notty.exp (${board}_file): New
5848 proc.
5849
9404b58f
KM
58502014-05-07 Kyle McMartin <kyle@redhat.com>
5851
5852 Pushed by Joel Brobecker <brobecker@adacore.com>.
5853 * gdb.arch/aarch64-atomic-inst.c: New file.
5854 * gdb.arch/aarch64-atomic-inst.exp: New file.
5855
5e45f04c
YQ
58562014-05-07 Yao Qi <yao@codesourcery.com>
5857
5858 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5859 in current context" too.
5860
c888a17d
KS
58612014-05-05 Keith Seitz <keiths@redhat.com>
5862
5863 * gdb.linespec/ls-dollar.exp: Add test for linespec
5864 file:convenience_variable.
5865
290a839c
YQ
58662014-05-05 Yao Qi <yao@codesourcery.com>
5867
5868 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
5869 traceframes into tfile and ctf trace files. Read data from
5870 trace file and test collected data.
5871 (gdb_collect_locals_test): Likewise.
5872 (gdb_unavailable_registers_test): Likewise.
5873 (gdb_unavailable_floats): Likewise.
5874 (gdb_collect_globals_test): Likewise.
5875 (top-level): Append "ctf" to trace_file_targets if GDB
5876 supports.
5877
b5262cd0
YQ
58782014-05-05 Yao Qi <yao@codesourcery.com>
5879
5880 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
5881 code to ...
5882 (gdb_collect_args_test_1): ... it. New proc.
5883 (gdb_collect_locals_test): Move some code to ...
5884 (gdb_collect_locals_test_1): ... it. New proc.
5885 (gdb_unavailable_registers_test): Move some code to ...
5886 (gdb_unavailable_registers_test_1): ... it. New proc.
5887 (gdb_unavailable_floats): Move some code to ...
5888 (gdb_unavailable_floats_1): ... it. New proc.
5889
30a1e6cc
SDJ
58902014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5891
5892 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
5893 probes to test for bitness recognition.
5894 * gdb.arch/amd64-stap-optional-prefix.exp
5895 (test_probe_value_without_reg): New procedure.
5896 Add code to test for different kinds of bitness.
5897
f33da99a
SDJ
58982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
5899
5900 PR breakpoints/16889
5901 * gdb.arch/amd64-stap-optional-prefix.S: New file.
5902 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5903
5b80f00d
PA
59042014-05-01 Pedro Alves <palves@redhat.com>
5905
5906 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
5907 gdb_file_cmd if no file is specified.
5908 * boards/native-extended-gdbserver.exp (gdb_load): Use the
5909 last_loaded_file to set the remote exec-file.
5910
f8c2a73c
PA
59112014-05-01 Pedro Alves <palves@redhat.com>
5912
5913 * boards/local-remote-host.exp: New file.
5914
be6e8ac7
PA
59152014-05-01 Pedro Alves <palves@redhat.com>
5916
5917 * boards/local-remote-host.exp: Rename to ...
5918 * boards/local-remote-host-notty.exp: ... this.
5919
cac0dc8f
JB
59202014-04-28 Joel Brobecker <brobecker@adacore.com>
5921
5922 * gdb.ada/dyn_arrayidx: New testcase.
5923
9730e6cc
YQ
59242014-04-26 Yao Qi <yao@codesourcery.com>
5925
5926 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
5927 and compute the length of function main. Save it in
5928 $main_length.
5929 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
5930 (top-level): Use gdb_compile to compile objects into
5931 executable and restart GDB. Remove invocation to
5932 prepare_for_testing.
5933
7ae1a6a6
PA
59342014-04-25 Simon Marchi <simon.marchi@ericsson.com>
5935 Pedro Alves <palves@redhat.com>
5936
5937 PR server/16255
5938 * gdb.multi/multi-attach.c: New file.
5939 * gdb.multi/multi-attach.exp: New file.
5940
4082afcc
PA
59412014-04-25 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
5944 user.
5945 (top level): Test that "set remote conditional-breakpoints-packet
5946 off" works as intended.
5947 * gdb.base/dprintf.exp: Test that "set remote
5948 breakpoint-commands-packet off" works as intended.
5949 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
5950 New function.
5951 (top level): Call it.
5952 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
5953 remote fast-tracepoints-packet off" works as intended.
5954 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
5955 * lib/gdb.exp (gdb_is_target_remote): ... here.
5956
2abc3f8d
DB
59572014-04-24 David Blaikie <dblaikie@gmail.com>
5958
5959 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
5960 ensure clang would not discard them.
5961 * gdb.base/gdbvars.c: Ditto.
5962 * gdb.base/memattr.c: Ditto.
5963 * gdb.base/whatis.c: Ditto.
5964 * gdb.python/py-prettyprint.c: Ditto.
5965 * gdb.trace/actions.c: Ditto.
5966 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
5967 ensure clang would not discard it.
5968
bfd39632
DB
59692014-04-24 David Blaikie <dblaikie@gmail.com>
5970
5971 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
5972 clang to emit the full definition of type required by the test
5973 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
5974
22842ff6
DB
59752014-04-24 David Blaikie <dblaikie@gmail.com>
5976
5977 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
5978 coax Clang into emitting the definition of the type.
5979 * gdb.cp/pr10728-x.h (y): Ditto.
5980 * gdb.cp/pr10728-y.cc (y): Ditto.
5981
c2e827ad
DB
59822014-04-24 David Blaikie <dblaikie@gmail.com>
5983
5984 * gdb.base/label.exp: XFAIL label related tests under Clang.
5985 * gdb.cp/cplabel.exp: Ditto.
5986 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
5987 under Clang those using labels.
5988
4c2d33e7
YQ
59892014-04-25 Yao Qi <yao@codesourcery.com>
5990
5991 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
5992 double_label.
5993 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
5994 partial_label and double_label.
5995
56083b99
DB
59962014-04-24 David Blaikie <dblaikie@gmail.com>
5997
5998 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
5999
25d4e99d
DB
60002014-04-24 David Blaikie <dblaikie@gmail.com>
6001
6002 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6003 of the function to work across GCC and Clang.
6004 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6005 pointer types (const void ** const V void **).
6006
01f9f808
MS
60072014-04-24 Michael Sturm <michael.sturm@mintel.com>
6008 Walfred Tedeschi <walfred.tedeschi@intel.com>
6009
6010 * Makefile.in (EXECUTABLES): Added i386-avx512.
6011 * gdb.arch/i386-avx512.c: New file.
6012 * gdb.arch/i386-avx512.exp: Likewise.
6013
4b48d439
KS
60142014-04-23 Keith Seitz <keiths@redhat.com>
6015
6016 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6017 (mi_make_breakpoint_table): New procedure.
6018 (mi_create_breakpoint): Use mi_make_breakpoint
6019 and return the result.
6020 (mi_make_breakpoint): New procedure.
6021 (mi_build_kv_pairs): New procedure.
6022
6023 * gdb.mi/mi-break.exp: Remove unused globals,
6024 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6025 All callers updated.
6026 * gdb.mi/mi-dprintf.exp: Use variable to track command
6027 number.
6028 Update all callers of mi_create_breakpoint and use
6029 mi_make_breakpoint_table.
6030 Remove any unused global variables.
6031 * gdb.mi/mi-nonstop.exp: Likewise.
6032 * gdb.mi/mi-nsintrall.exp: Likewise.
6033 * gdb.mi/mi-nsmoribund.exp: Likewise.
6034 * gdb.mi/mi-nsthrexec.exp: Likewise.
6035 * gdb.mi/mi-reverse.exp: Likewise.
6036 * gdb.mi/mi-simplerun.exp: Likewise.
6037 * gdb.mi/mi-stepn.exp: Likewise.
6038 * gdb.mi/mi-syn-frame.exp: Likewise.
6039 * gdb.mi/mi-until.exp: Likewise.
6040 * gdb.mi/mi-var-cp.exp: Likewise.
6041 * gdb.mi/mi-var-display.exp: Likewise.
6042 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6043 * gdb.mi/mi2-var-child.exp: Likewise.
6044 * gdb.mi/mi-vla-c99.exp: Likewise.
6045 * lib/mi-support.exp: Likewise.
6046
6047 From Ian Lance Taylor <iant@cygnus.com>:
6048 * lib/gdb.exp (parse_args): New procedure.
6049
08351840
PA
60502014-04-23 Pedro Alves <palves@redhat.com>
6051
6052 * gdb.base/break-unload-file.c: New file.
6053 * gdb.base/break-unload-file.exp: New file.
6054 * gdb.base/sym-file-lib.c (baz): New function.
6055 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6056 field.
6057 (load): Store the segment's mapped size.
6058 (unload): New function.
6059 (unload_shlib): New function.
6060 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6061 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6062 set a breakpoint at baz, and call it.
6063 * gdb.base/sym-file.exp: New tests for stale breakpoint
6064 instructions.
6065
076855f9
PA
60662014-04-23 Pedro Alves <palves@redhat.com>
6067
6068 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6069 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6070 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6071 * gdb.base/hbreak-unmapped.c: New file.
6072 * gdb.base/hbreak-unmapped.exp: New file.
6073 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6074 * lib/gdb.exp (gdb_is_target_remote): ... here.
6075
483805cf
PA
60762014-04-22 Pedro Alves <palves@redhat.com>
6077
6078 * gdb.base/consecutive-step-over.c: New file.
6079 * gdb.base/consecutive-step-over.exp: New file.
6080
06d97543
PA
60812014-04-22 Pedro Alves <palves@redhat.com>
6082
6083 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6084 instead of send_gdb/gdb_expect.
6085
b4429ea2
YQ
60862014-04-22 Yao Qi <yao@codesourcery.com>
6087
6088 * lib/trace-support.exp (generate_tracefile): New procedure.
6089 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6090 return 0.
6091 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6092 if generate_tracefile returns 1.
6093
51d48146
PA
60942014-04-18 Tom Tromey <palves@redhat.com>
6095 Pedro alves <tromey@redhat.com>
6096
6097 PR backtrace/15558
6098 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6099 with a backtrace limit.
6100 * gdb.python/py-frame-inline.exp: Test running to an inline
6101 function with a backtrace limit, and printing the newest frame.
6102 * gdb.python/py-frame-inline.c (main): Call f.
6103
bd1dce5f
MS
61042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6105
6106 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6107
40d1a503
MS
61082014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6109
6110 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6111 Drop prefix from unsupported source file path.
6112
389b98f7
YQ
61132014-04-17 Yao Qi <yao@codesourcery.com>
6114
6115 * lib/gdb.exp (with_target_charset): New proc.
6116 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6117 with_target_charset.
6118 (test_print_strings): Likewise.
6119 (test_repeat_bytes): Likewise.
6120 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6121 for some tests.
6122
22869d73
KS
61232014-04-16 Keith Seitz <keiths@redhat.com>
6124
6125 PR gdb/15827
6126 * gdb.dwarf2/corrupt.c: New file.
6127 * gdb.dwarf2/corrupt.exp: New file.
6128
c4f87ca6
KS
61292014-04-16 Keith Seitz <keiths@redhat.com>
6130
6131 PR c++/16597
6132 * gdb.cp/namelessclass.cc: New file.
6133 * gdb.cp/namelessclass.exp: New file.
6134 * gdb.cp/namelessclass.S: New file.
6135
ab19de87
DE
61362014-04-16 Doug Evans <dje@google.com>
6137
6138 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6139 Add comment.
6140 (gdbserver_default_get_comm_port): New function.
6141 (gdbserver_start): Check if board file provided
6142 "gdbserver,get_comm_port" and use it if so.
6143 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6144 (gdb,socketport): Set to "stdio".
6145 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6146 (stdio_gdbserver_template): Delete.
6147 (${board}_get_remote_address): Update.
6148 (${board}_build_remote_cmd): Delete.
6149 (${board}_get_comm_port): New function.
6150 (${board}_spawn): Update.
6151 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6152 Delete.
6153 (${board}_get_remote_address): Update.
6154 (${board}_get_comm_port): New function.
6155
fc98a809
AB
61562014-04-16 Andrew Burgess <aburgess@broadcom.com>
6157
6158 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6159 appearing in any order.
6160
87fd9e6e
DE
61612014-04-15 Doug Evans <dje@google.com>
6162
6163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6164 uninitialized value of "description".
6165
099fc3ea
KS
61662014-04-15 Keith Seitz <keiths@redhat.com>
6167
6168 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6169 Remove unused globals.
6170 (test_running_the_program): Likewise.
6171 (test_controlled_execution): Likewise.
6172 (test_controlling_breakpoints): Likewise.
6173 (test_program_termination): Likewise.
6174
5da151d4
KS
61752014-04-15 Keith Seitz <keiths@redhat.com>
6176
6177 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6178 unused globals.
6179 (test_rbreak_creation_and_listing): Likewise.
6180 (test_ignore_count): Likewise.
6181 (test_error): Likewise.
6182
35e5d2f0
PA
61832014-04-15 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6186 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6187 sym-file-loader.c.
6188 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6189 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6190 to sym-file-loader.c.
6191 (struct library): Forward declare.
6192 (load_shlib, lookup_function): Change prototypes.
6193 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6194 (translate_offset): Remove declarations.
6195 (get_text_addr): New declaration.
6196 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6197 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6198 sym-file-loader.h.
6199 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6200 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6201 here from sym-file-loader.h.
6202 (struct library): New structure.
6203 (load_shlib, lookup_function): Change prototypes and adjust to
6204 work with a struct library.
6205 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6206 (translate_offset): Make static.
6207 (get_text_addr): New function.
6208 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6209
eb4c1710
PA
62102014-04-15 Pedro Alves <palves@redhat.com>
6211
6212 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6213
2d1baf52
PA
62142014-04-15 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.base/sym-file-loader.c: Include <limits.h>.
6217 (SELF_LINK): New define.
6218 (get_origin): New function.
6219 (load_shlib): Use it.
6220 * gdb.base/sym-file.exp: Don't early return if the target is
6221 remote. Use runto_main, and issue fail is that fails. Use
6222 gdb_load_shlibs.
6223 (shlib_name): Delete.
6224 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6225
7dd6df01
PA
62262014-04-15 Pedro Alves <palves@redhat.com>
6227
6228 * gdb.base/sym-file.exp: Remove regex characters from test
6229 message. Don't refer to breakpoint numbers in test messages.
6230
b50c8614
KS
62312014-04-14 Keith Seitz <keiths@redhat.com>
6232
6233 PR c++/16253
6234 * gdb.cp/var-tag.cc: New file.
6235 * gdb.cp/var-tag.exp: New file.
6236 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6237 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6238 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6239 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6240
3d567982
TT
62412014-04-14 Tom Tromey <tromey@redhat.com>
6242
6243 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6244 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6245 type.
6246 * gdb.cp/enum-class.exp: New file.
6247 * gdb.cp/enum-class.cc: New file.
6248
0626fc76
TT
62492014-04-14 Tom Tromey <tromey@redhat.com>
6250
6251 * gdb.dwarf2/enum-type.exp: New file.
6252
dca325b3
SA
62532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6254
6255 * gdb.mi/mi-vla-c99.exp: New file.
6256 * gdb.mi/vla.c: New file.
6257
5854b38a
SA
62582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6259
6260 * gdb.base/vla-datatypes.c: New file.
6261 * gdb.base/vla-datatypes.exp: New file.
6262
463bb957
SA
62632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6264
6265 * gdb.base/vla-ptr.c: New file.
6266 * gdb.base/vla-ptr.exp: New file.
6267
3dd170be
SA
62682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6269
6270 * gdb.dwarf2/count.exp: New file.
6271
5ecaaa66
SA
62722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6273
6274 * gdb.base/vla-sideeffect.c: New file.
6275 * gdb.base/vla-sideeffect.exp: New file.
6276
41f1ada5
DB
62772014-04-14 David Blaikie <dblaikie@gmail.com>
6278
6279 * gdb.mi/non-stop.c: Add return value for non-void function return
6280 statement.
6281 * gdb.threads/staticthreads.c: Ditto.
6282
0be03e84
DE
62832014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6284 Doug Evans <xdje42@gmail.com>
6285
6286 * gdb.guile/scm-value.c: Improve test case.
6287 * gdb.guile/scm-value.exp: Add new test.
6288
f180a1fb
DB
62892014-04-11 David Blaikie <dblaikie@gmail.com>
6290
6291 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6292 override Clang's default.
6293
6b662e19
JB
62942014-04-11 Joel Brobecker <brobecker@adacore.com>
6295
6296 Revert the following changes (regressions):
6297
6298 * gdb.base/vla-sideeffect.c: New file.
6299 * gdb.base/vla-sideeffect.exp: New file.
6300
6301 * gdb.dwarf2/count.exp: New file.
6302
6303 * gdb.base/vla-multi.c: New file.
6304 * gdb.base/vla-multi.exp: New file.
6305
6306 * gdb.base/vla-ptr.c: New file.
6307 * gdb.base/vla-ptr.exp: New file.
6308
6309 * gdb.base/vla-datatypes.c: New file.
6310 * gdb.base/vla-datatypes.exp: New file.
6311
6312 * gdb.mi/mi-vla-c99.exp: New file.
6313 * gdb.mi/vla.c: New file.
6314
245a5f0b
KS
63152014-04-11 Keith Seitz <keiths@redhat.com>
6316
6317 PR c++/16675
6318 * gdb.cp/cpsizeof.exp: New file.
6319 * gdb.cp/cpsizeof.cc: New file.
6320
58a84dcf
SA
63212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6322
191a8a90
JB
6323 * gdb.mi/mi-vla-c99.exp: New file.
6324 * gdb.mi/vla.c: New file.
58a84dcf 6325
c8655f75
SA
63262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6327
6328 * gdb.base/vla-datatypes.c: New file.
6329 * gdb.base/vla-datatypes.exp: New file.
6330
024e13b4
SA
63312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6332
6333 * gdb.base/vla-ptr.c: New file.
6334 * gdb.base/vla-ptr.exp: New file.
6335
1a237e0e
SA
63362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6337
6338 * gdb.base/vla-multi.c: New file.
6339 * gdb.base/vla-multi.exp: New file.
6340
504f3432
SA
63412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6342
6343 * gdb.dwarf2/count.exp: New file.
6344
3bce8237
SA
63452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6346
191a8a90
JB
6347 * gdb.base/vla-sideeffect.c: New file.
6348 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6349
322f9c21
YQ
63502014-04-11 Yao Qi <yao@codesourcery.com>
6351
6352 * gdb.base/completion.exp: Check file exists before running tests
6353 on file completion.
6354
d708bcd1
PA
63552014-04-10 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/cond-eval-mode.c: New file.
6358 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6359 prepare_for_testing to build the new file. Check result of
6360 runto_main.
6361 (test_break, test_watch): New procedures.
6362 (top level): Use them.
6363
ae1d2761
PM
63642014-04-08 Pierre Muller <muller@sourceware.org>
6365
6366 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6367 Ctrl-V use for mingw hosts.
6368
7af389b8
SC
63692014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6370
6371 * gdb.python/py-value.c: Improve test case.
6372 * gdb.python/py-value.exp: Add new test.
6373
5e703181
DE
63742014-04-07 David Blaikie <dblaikie@gmail.com>
6375
6376 * lib/compiler.c: Identify the clang compiler.
6377 * lib/compiler.cc: Ditto.
6378
9810b410
YQ
63792014-04-03 Yao Qi <yao@codesourcery.com>
6380
6381 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6382
98d1b8dc
AB
63832014-04-01 Anton Blanchard <anton@samba.org>
6384
6385 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6386 messages unique.
6387
3114cea1
AB
63882014-04-01 Anton Blanchard <anton@samba.org>
6389
6390 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6391 prepare_for_testing.
6392
62f7182c
AB
63932014-04-01 Anton Blanchard <anton@samba.org>
6394
6395 * gdb.arch/ppc64-atomic-inst.c: Remove.
6396 * gdb.arch/ppc64-atomic-inst.S: New file.
6397 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6398
770e7fc7
DE
63992014-03-31 Doug Evans <dje@google.com>
6400
6401 * gdb.base/print-symbol-loading-lib.c: New file.
6402 * gdb.base/print-symbol-loading-main.c: New file.
6403 * gdb.base/print-symbol-loading.exp: New file.
6404
46e2bafa
YQ
64052014-03-31 Yao Qi <yao@codesourcery.com>
6406
6407 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6408
8776cfe9
JB
64092014-03-28 Joel Brobecker <brobecker@adacore.com>
6410
6411 * gdb.ada/mi_dyn_arr: New testcase.
6412
5d1ef361
DE
64132014-03-27 Doug Evans <dje@google.com>
6414
6415 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6416
b5bee914
YQ
64172014-03-27 Yao Qi <yao@codesourcery.com>
6418
6419 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6420 if target is nios2-*-*.
6421
0d4d0e77
YQ
64222014-03-26 Yao Qi <yao@codesourcery.com>
6423
6424 * lib/gdb.exp (readline_is_used): New proc.
6425 * gdb.base/completion.exp: Move tests on command complete up.
6426 Skip the rest of tests if readline is not used.
6427 * gdb.ada/complete.exp: Skp the test if readline is not
6428 used.
6429 * gdb.base/filesym.exp: Likewise.
6430 * gdb.base/macscp.exp: Likewise.
6431 * gdb.base/readline-ask.exp: Likewise.
6432 * gdb.base/readline.exp: Likewise.
6433 * gdb.python/py-cmd.exp: Likewise.
6434 * gdb.trace/tfile.exp: Likewise.
6435
29361eee
YQ
64362014-03-26 Yao Qi <yao@codesourcery.com>
6437
6438 * gdb.base/macscp.exp: Fix code format issues.
6439
bc9a5525
UW
64402014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6441
6442 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6443 * gdb.asm/powerpc64le.inc: New file.
6444
d3839ede
PA
64452014-03-25 Pedro Alves <palves@redhat.com>
6446 Doug Evans <dje@google.com>
6447
6448 * gdb.base/source-execution.c: New file.
6449 * gdb.base/source-execution.exp: New file.
6450 * gdb.base/source-execution.gdb: New file.
6451
01672a57
DE
64522014-03-24 Doug Evans <dje@google.com>
6453
6454 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6455 using fission.
6456
88bbeca9
HZ
64572014-03-24 Hui Zhu <hui@codesourcery.com>
6458 Pedro Alves <palves@redhat.com>
6459
6460 PR breakpoints/16101
6461 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6462 test pass/fail messages. Detect missing support for dprintf when
6463 breakpoints are actually inserted.
6464 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6465 breakpoints are actually inserted.
6466 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6467 fails.
6468
d2348791
JK
64692014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6472
feef67ab
DE
64732014-03-22 Doug Evans <xdje42@gmail.com>
6474
6475 * gdb.python/python.exp (python not supported): Verify multi-line
6476 python command issues an error.
25d743f9 6477 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6478 guile command issues an error.
feef67ab 6479
ecebef6a
MR
64802014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6481
6482 * gdb.threads/thread-specific.exp: Handle the lack of usable
6483 $this_breakpoint and $this_thread.
6484
ccdd1909
HZ
64852014-03-21 Hui Zhu <hui@codesourcery.com>
6486
6487 * gdb.base/attach.exp (do_command_attach_tests): New.
6488
beb460e8
PA
64892014-03-20 Tom Tromey <tromey@redhat.com>
6490 Pedro Alves <palves@redhat.com>
6491
6492 PR cli/15718
6493 * gdb.base/condbreak-call-false.c: New file.
6494 * gdb.base/condbreak-call-false.exp: New file.
6495
40acf43a
PA
64962014-03-20 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6499 Delete.
6500 (block_signals, unblock_signals): Delete.
6501 (child_function_2, main): Remove references to deleted variable
6502 and functions.
6503
9f5e1e02
PA
65042014-03-20 Pedro Alves <palves@redhat.com>
6505
6506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6507 Use pthread_kill to signal thread 2.
6508 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6509 Adjust to make the test send itself a signal rather than using the
6510 host's "kill" command.
6511
99619bea
PA
65122014-03-20 Pedro Alves <palves@redhat.com>
6513
6514 * gdb.threads/multiple-step-overs.c: New file.
6515 * gdb.threads/multiple-step-overs.exp: New file.
6516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6517 Adjust expected infrun debug output.
6518
2adfaa28
PA
65192014-03-20 Pedro Alves <palves@redhat.com>
6520
6521 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6522 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6523
31e77af2
PA
65242014-03-20 Pedro Alves <palves@redhat.com>
6525
6526 PR breakpoints/7143
6527 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6528 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6529 of gdb_test_multiple.
6530 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6531 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6532
b9f437de
PA
65332014-03-20 Pedro Alves <palves@redhat.com>
6534
6535 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6536 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6537
05adc73e
PA
65382014-03-19 Pedro Alves <palves@redhat.com>
6539
6540 * gdb.base/async.exp: Remove early return.
6541
6048b950
PA
65422014-03-19 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6545
8bcfb00a
PA
65462014-03-19 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.base/async.exp (test_background): Expect \r\n after
6549 "completed." in the fail pattern.
6550
884e37dc
PA
65512014-03-19 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.base/async.exp (test_background): New procedure.
6554 Use it for all background execution command tests.
6555
148e57e2
PA
65562014-03-19 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/async.exp: Use prepare_for_testing.
6559
f48088c7
PA
65602014-03-19 Pedro Alves <palves@redhat.com>
6561
6562 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6563 the same line.
6564
e2f6c966
PA
65652014-03-19 Pedro Alves <palves@redhat.com>
6566
6567 * gdb.base/async.c (main): Add "jump here" and "until here" line
6568 marker comments.
6569 * gdb.base/async.exp (jump_here): New global.
6570 (jump& test): Use it.
6571 (until_here): New global.
6572 (until& test): Use it.
6573
c30568d4
PA
65742014-03-19 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.base/async.exp: Don't frob gdb_protocol.
6577
0172b6a7
DE
65782014-03-18 Doug Evans <xdje42@gmail.com>
6579
6580 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6581 Fix spelling of exec-done-display.
6582
06c868a8
JK
65832014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6584
6585 PR gdb/15358
6586 * gdb.base/gdb-sigterm.c: New file.
6587 * gdb.base/gdb-sigterm.exp: New file.
6588
0c7e1a46
PA
65892014-03-18 Pedro Alves <palves@redhat.com>
6590
6591 PR gdb/13860
6592 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6593 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6594 solib-event.
6595
f7c77d93
JB
65962014-03-17 Joel Brobecker <brobecker@adacore.com>
6597
6598 * gdb.ada/pckd_arr_ren: New testcase.
6599
5a1e8c7a
DE
66002014-03-13 Doug Evans <xdje42@gmail.com>
6601
6602 PR guile/16612
6603 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6604 collect after discarding symbols.
6605
350e1a76
DE
66062014-03-13 Ludovic Courtès <ludo@gnu.org>
6607 Doug Evans <xdje42@gmail.com>
6608
6609 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6610 to history survives a gc.
6611
a69900ae
PA
66122014-03-13 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.base/default.exp: Don't test "target procfs".
6615
5db9f0bd
PA
66162014-03-13 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.base/default.exp: Update "target child" and "target procfs"
6619 tests to not expect "Unix".
6620
b3ccfe11
TT
66212014-03-12 Tom Tromey <tromey@redhat.com>
6622
6623 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6624 New procs. Add target-async tests.
6625 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6626 Add target-async tests.
6627
646f4417
AA
66282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6629
6630 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6631 'func_start' and 'func_end' for the beginning and end of the
6632 function code, respectively.
6633 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6634 'func_end' instead of 'func' and 'main'.
6635
288c211f
AA
66362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6637
6638 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6639 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6640 generate the debug info assembler source.
6641
e0c0f156
AA
66422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6643
6644 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6645 * gdb.dwarf2/arr-subrange.exp: Likewise.
6646 * gdb.dwarf2/dwz.exp: Likewise.
6647 * gdb.dwarf2/method-ptr.exp: Likewise.
6648 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6649 * gdb.dwarf2/subrange.exp: Likewise.
6650 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6651 * gdb.dwarf2/implptrpiece.exp: Likewise.
6652 * gdb.dwarf2/nostaticblock.exp: Likewise.
6653
0e5c4555
AA
66542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6655
6656 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6657 directory to absolute path name arguments.
6658
5ec18f2b
JG
66592014-03-10 Joel Brobecker <brobecker@adacore.com>
6660
6661 * gdb.ada/tagged_access: New testcase.
6662
847fc4f2
MM
66632014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6664
6665 * gdb.btrace/data.exp: Update expected output.
6666
cc3da688
YQ
66672014-03-06 Yao Qi <yao@codesourcery.com>
6668
6669 * gdb.trace/pr16508.exp: New file.
6670
0f26cec1
PA
66712014-03-05 Pedro Alves <palves@redhat.com>
6672
6673 PR gdb/16575
6674 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6675 procedure.
6676 (top level): Adjust to use it. Add tests that exercise breakpoint
6677 interaction with the code-cache.
6678
7a5a839f
LC
66792014-02-26 Ludovic Courtès <ludo@gnu.org>
6680
6681 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6682 test for 'history-append!'.
6683
31aa7e4e
JB
66842014-02-26 Joel Brobecker <brobecker@adacore.com>
6685
6686 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6687 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6688 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6689 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6690 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6691 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6692
1b588015
JB
66932014-02-26 Joel Brobecker <brobecker@adacore.com>
6694
6695 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6696 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6697 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6698
55426c9d
JB
66992014-02-26 Joel Brobecker <brobecker@adacore.com>
6700
6701 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6702
dc53a7ad
JB
67032014-02-26 Joel Brobecker <brobecker@adacore.com>
6704
6705 * gdb.dwarf2/arr-stride.c: New file.
6706 * gdb.dwarf2/arr-stride.exp: New file.
6707
12ab52e9
PA
67082014-02-26 Pedro Alves <palves@redhat.com>
6709
6710 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6711 that won't ever trigger. Make sure that GDB reports the correct
6712 breakpoint that caused the stop.
6713
849c862e
JK
67142014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 PR gdb/16626
6717 * gdb.base/auto-load-script: New file.
6718 * gdb.base/auto-load.c: New file.
6719 * gdb.base/auto-load.exp: New file.
6720
71b7d793
JK
6721 PR gdb/16626
6722 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6723
e2f0d509
JK
67242014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6725
6726 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6727 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6728
50cc37c8
DE
67292014-02-24 Doug Evans <dje@google.com>
6730
6731 * lib/gdb.exp (run_on_host): Log error output if program fails.
6732
ea4758f2
PA
67332014-02-21 Pedro Alves <palves@redhat.com>
6734
6735 * gdb.threads/step-after-sr-lock.c: Rename to ...
6736 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6737 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6738 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6739 ... this.
6740
d7b30f67
SDJ
67412014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6742
6743 PR tdep/16397
6744 * gdb.arch/amd64-stap-special-operands.exp: New file.
6745 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6746 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6747 * gdb.arch/amd64-stap-triplet.S: Likewise.
6748 * gdb.arch/amd64-stap-triplet.c: Likewise.
6749
83deb43f
JB
67502014-02-20 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6753 in .section pseudo-op.
6754
adde2bff
DE
67552014-02-20 lin zuojian <manjian2006@gmail.com>
6756 Joel Brobecker <brobecker@adacore.com>
6757 Doug Evans <xdje42@gmail.com>
6758
6759 PR symtab/16581
6760 * gdb.dwarf2/dw2-icycle.S: New file.
6761 * gdb.dwarf2/dw2-icycle.c: New file.
6762 * gdb.dwarf2/dw2-icycle.exp: New file.
6763
f7bd0f78
SC
67642014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6765
6766 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6767 operations on gdb.Value objects.
6768 * gdb.python/py-value-cc.exp: Add new test to test operations on
6769 gdb.Value objects.
6770
c17ef0d5
DE
67712014-02-18 Doug Evans <dje@google.com>
6772
6773 * Makefile.in (TESTS): New variable.
6774 (expanded_tests, expanded_tests_or_none): New variables
6775 (check-single): Pass $(expanded_tests_or_none) to runtest.
6776 (check-parallel): Only run tests in $(TESTS) if non-empty.
6777 (check/no-matching-tests-found): New rule.
6778 * README: Document TESTS makefile variable.
6779
5dd3176f
DE
67802014-02-18 Doug Evans <dje@google.com>
6781
6782 * Makefile.in (check-parallel): rm -rf outputs temp.
6783
0b10be4f
JK
67842014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6785
6786 Fix "ERROR: no fileid for" in the testsuite.
6787 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6788
85f224e7
DE
67892014-02-12 Doug Evans <dje@google.com>
6790
6791 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6792 (MISCELLANEOUS): New variable.
6793 (clean): rm -rf $(MISCELLANEOUS).
6794 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6795 dwp live in the same directory as symlinks, with each symlink pointed
6796 to a differently named file in a different directory.
6797
149b30ff
DE
67982014-02-11 Doug Evans <dje@google.com>
6799
6800 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6801 of Tcl file commands.
6802
1dfdac32
MK
68032014-02-10 Mark Kettenis <kettenis@gnu.org>
6804
6805 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6806 "kill -SIGUSR1 -1".
6807
aa4fb036
JB
68082014-02-10 Joel Brobecker <brobecker@adacore.com>
6809
6810 * gdb.ada/tick_length_array_enum_idx: New testcase.
6811
ed3ef339
DE
68122014-02-10 Doug Evans <xdje42@gmail.com>
6813
6814 * configure.ac (AC_OUTPUT): Add gdb.guile.
6815 * configure: Regenerate.
6816 * lib/gdb-guile.exp: New file.
6817 * lib/gdb.exp (get_target_charset): New function.
6818 * gdb.base/help.exp: Update expected output from "apropos apropos".
6819 * gdb.guile/Makefile.in: New file.
6820 * gdb.guile/guile.exp: New file.
6821 * gdb.guile/scm-arch.c: New file.
6822 * gdb.guile/scm-arch.exp: New file.
6823 * gdb.guile/scm-block.c: New file.
6824 * gdb.guile/scm-block.exp: New file.
6825 * gdb.guile/scm-breakpoint.c: New file.
6826 * gdb.guile/scm-breakpoint.exp: New file.
6827 * gdb.guile/scm-disasm.c: New file.
6828 * gdb.guile/scm-disasm.exp: New file.
6829 * gdb.guile/scm-equal.c: New file.
6830 * gdb.guile/scm-equal.exp: New file.
6831 * gdb.guile/scm-error.exp: New file.
6832 * gdb.guile/scm-error.scm: New file.
6833 * gdb.guile/scm-frame-args.c: New file.
6834 * gdb.guile/scm-frame-args.exp: New file.
6835 * gdb.guile/scm-frame-args.scm: New file.
6836 * gdb.guile/scm-frame-inline.c: New file.
6837 * gdb.guile/scm-frame-inline.exp: New file.
6838 * gdb.guile/scm-frame.c: New file.
6839 * gdb.guile/scm-frame.exp: New file.
6840 * gdb.guile/scm-generics.exp: New file.
6841 * gdb.guile/scm-gsmob.exp: New file.
6842 * gdb.guile/scm-iterator.c: New file.
6843 * gdb.guile/scm-iterator.exp: New file.
6844 * gdb.guile/scm-math.c: New file.
6845 * gdb.guile/scm-math.exp: New file.
6846 * gdb.guile/scm-objfile-script-gdb.in: New file.
6847 * gdb.guile/scm-objfile-script.c: New file.
6848 * gdb.guile/scm-objfile-script.exp: New file.
6849 * gdb.guile/scm-objfile.c: New file.
6850 * gdb.guile/scm-objfile.exp: New file.
6851 * gdb.guile/scm-ports.exp: New file.
6852 * gdb.guile/scm-pretty-print.c: New file.
6853 * gdb.guile/scm-pretty-print.exp: New file.
6854 * gdb.guile/scm-pretty-print.scm: New file.
6855 * gdb.guile/scm-section-script.c: New file.
6856 * gdb.guile/scm-section-script.exp: New file.
6857 * gdb.guile/scm-section-script.scm: New file.
6858 * gdb.guile/scm-symbol.c: New file.
6859 * gdb.guile/scm-symbol.exp: New file.
6860 * gdb.guile/scm-symtab-2.c: New file.
6861 * gdb.guile/scm-symtab.c: New file.
6862 * gdb.guile/scm-symtab.exp: New file.
6863 * gdb.guile/scm-type.c: New file.
6864 * gdb.guile/scm-type.exp: New file.
6865 * gdb.guile/scm-value-cc.cc: New file.
6866 * gdb.guile/scm-value-cc.exp: New file.
6867 * gdb.guile/scm-value.c: New file.
6868 * gdb.guile/scm-value.exp: New file.
6869 * gdb.guile/source2.scm: New file.
6870 * gdb.guile/types-module.cc: New file.
6871 * gdb.guile/types-module.exp: New file.
6872
7026a7c1
YQ
68732014-02-10 Yao Qi <yao@codesourcery.com>
6874
6875 PR testsuite/16543
6876 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
6877 * configure: Regenerated.
6878 * Makefile.in: New file.
6879
6c466447
AS
68802014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6881
6882 * gdb.python/py-framefilter.exp: Fix typo.
6883
6e854735
YQ
68842014-02-08 Yao Qi <yao@codesourcery.com>
6885
6886 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
6887 that no =breakpoint-modified is emitted when breakpoints are
6888 modified through MI commands.
6889
d137e6dc
PA
68902014-02-07 Pedro Alves <pedro@codesourcery.com>
6891 Pedro Alves <palves@redhat.com>
6892
6893 * gdb.threads/step-after-sr-lock.c: New file.
6894 * gdb.threads/step-after-sr-lock.exp: New file.
6895
b5ee5a50
PA
68962014-02-07 Pedro Alves <palves@redhat.com>
6897
6898 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
6899
3c77faf3
JK
69002014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6901
6902 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
6903 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
6904
6dddc817
DE
69052014-02-06 Doug Evans <xdje42@gmail.com>
6906
6907 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
6908 output.
6909
6910 * gdb.gdb/python-interrupts.exp: New file.
6911
de7b2893
YQ
69122014-02-05 Yao Qi <yao@codesourcery.com>
6913
6914 * gdb.trace/report.exp (use_collected_data): Test the output
6915 of "info threads" and "info inferiors".
6916
66d032ac
YQ
69172014-02-05 Yao Qi <yao@codesourcery.com>
6918
6919 Revert this patch:
6920
6921 2013-05-24 Yao Qi <yao@codesourcery.com>
6922
6923 * gdb.trace/tfile.exp: Test inferior and thread.
6924
591a12a1
UW
69252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6926
6927 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
6928 on a function.
6929 * gdb.base/step-bt.c: Call hello via function pointer to make
6930 sure its first instruction is executed on powerpc64le-linux.
6931
0ff3e01f
UW
69322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6933
6934 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
6935
084ee545
UW
69362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6937
6938 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
6939 of the test patterns for use on little-endian systems.
6940
6ed14ff3
UW
69412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
6942
6943 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
6944 (decimal_vector): Fix for little-endian.
6945
401e27fd
JM
69462014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
6947
6948 * gdb.arch/sparc-sysstep.exp: New file.
6949 * gdb.arch/sparc-sysstep.c: Likewise.
6950
6951 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
6952
8b924729
EBM
69532014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6954
6955 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
6956
fb151210
JB
69572014-01-23 Tom Tromey <tromey@redhat.com>
6958
6959 * gdb.ada/array_char_idx: New testcase.
6960
0740f8d8
TT
69612014-01-23 Tom Tromey <tromey@redhat.com>
6962
6963 PR python/16487:
6964 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
6965 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
6966 classes.
6967
21909fa1
TT
69682014-01-23 Tom Tromey <tromey@redhat.com>
6969
6970 PR python/16491:
6971 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
6972 string from an inferior frame.
6973 * gdb.python/py-framefilter-mi.exp: Update.
6974
87ce2a04
DE
69752014-01-22 Doug Evans <dje@google.com>
6976
6977 * gdb.server/server-mon.exp: Add tests for "set debug-format".
6978
237b092b
AA
69792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6980
6981 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
6982
d674a709
AA
69832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6984
6985 * gdb.trace/entry-values.exp: Remove excess space character from
6986 regex patterns. Handle s390 call instruction.
6987
20fa3390
AA
69882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6989
6990 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
6991 define "*_start" label. Make "name" static.
6992 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
6993 ${name} by references to ${name}_start.
6994
78466714
AA
69952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
6996
6997 * gdb.base/info-macros.exp: Remove "debug" from the compile
6998 options.
6999
ec9f644a
IB
70002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7001
7002 * gdb.dlang/demangle.exp: New file.
7003
94b1b47e
IB
70042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7005
7006 * gdb.dlang/primitive-types.exp: New file.
7007
7f420862
IB
70082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7009
7010 * configure.ac: Create gdb.dlang/Makefile.
7011 * configure: Regenerate.
7012 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7013 * gdb.dlang/Makefile.in: New file.
7014 * lib/d-support.exp: New file.
7015 * lib/gdb.exp (skip_d_tests): New proc.
7016
52834460
MM
70172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7018
7019 * gdb.btrace/delta.exp: Check reverse stepi.
7020 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7021 * gdb.btrace/finish.exp: New.
7022 * gdb.btrace/next.exp: New.
7023 * gdb.btrace/nexti.exp: New.
7024 * gdb.btrace/record_goto.c: Add comments.
7025 * gdb.btrace/step.exp: New.
7026 * gdb.btrace/stepi.exp: New.
7027 * gdb.btrace/multi-thread-step.c: New.
7028 * gdb.btrace/multi-thread-step.exp: New.
7029 * gdb.btrace/rn-dl-bind.c: New.
7030 * gdb.btrace/rn-dl-bind.exp: New.
7031 * gdb.btrace/data.c: New.
7032 * gdb.btrace/data.exp: New.
7033 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7034
6e07b1d2
MM
70352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7036
7037 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7038 * gdb.btrace/exception.exp: Update.
7039 * gdb.btrace/instruction_history.exp: Update.
7040 * gdb.btrace/record_goto.exp: Update.
7041 * gdb.btrace/tailcall.exp: Update.
7042 * gdb.btrace/unknown_functions.exp: Update.
7043 * gdb.btrace/delta.exp: New.
7044
0b722aec
MM
70452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7046
7047 * gdb.btrace/record_goto.exp: Add backtrace test.
7048 * gdb.btrace/tailcall.exp: Add backtrace test.
7049
066ce621
MM
70502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7051
7052 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7053 * gdb.btrace/record_goto.c: New.
7054 * gdb.btrace/record_goto.exp: New.
7055 * gdb.btrace/x86-record_goto.S: New.
7056
0688d04e
MM
70572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7058
7059 * gdb.btrace/function_call_history.exp: Update tests.
7060 * gdb.btrace/instruction_history.exp: Update tests.
7061
8710b709
MM
70622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7063
7064 * gdb.btrace/function_call_history.exp: Fix expected field
7065 order for "record function-call-history".
7066 Add new tests for "record function-call-history /c".
7067 * gdb.btrace/exception.cc: New.
7068 * gdb.btrace/exception.exp: New.
7069 * gdb.btrace/tailcall.exp: New.
7070 * gdb.btrace/x86-tailcall.S: New.
7071 * gdb.btrace/x86-tailcall.c: New.
7072 * gdb.btrace/unknown_functions.c: New.
7073 * gdb.btrace/unknown_functions.exp: New.
7074 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7075
5de9129b
MM
70762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7077
7078 * gdb.btrace/instruction_history.exp: Update.
7079 * gdb.btrace/function_call_history.exp: Update.
7080
23a7fe75
MM
70812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7082
7083 * gdb.btrace/function_call_history.exp: Fix expected function
7084 trace.
7085 * gdb.btrace/instruction_history.exp: Initialize traced.
7086 Remove traced_functions.
7087
724c7dd8
MM
70882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7089
7090 * gdb.btrace/function_call_history.exp: Update
7091 * gdb.btrace/instruction_history.exp: Update.
7092
6d78d93b
MM
70932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7094
7095 * gdb.btrace/enable.exp: Update expected text.
7096
93a360cc
OJ
70972014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7098
7099 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7100 bytes.
7101
3772b53f
MR
71022014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7103
7104 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7105
596662fa
OJ
71062014-01-15 Omair Javaid <omair.javaid@linaro.org>
7107
7108 * lib/gdb.exp (supports_process_record): Return true for
7109 arm*-linux*. (supports_reverse): Likewise.
7110
b5b08fb4
SC
71112014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7112
7113 PR python/15464
7114 PR python/16113
7115 * gdb.python/py-type.c: Enhance test case.
7116 * gdb.python/py-value-cc.cc: Likewise
7117 * gdb.python/py-type.exp: Add new tests.
7118 * gdb.python/py-value-cc.exp: Likewise
7119
52d7fb13
AA
71202014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7121 Pedro Alves <palves@redhat.com>
7122
7123 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7124 Make "name" extern.
7125 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7126 references to ${name}_start by references to ${name}.
7127
a2cd8cfe
JB
71282014-01-10 Joel Brobecker <brobecker@adacore.com>
7129
7130 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7131
4e23fced
JB
71322014-01-10 Joel Brobecker <brobecker@adacore.com>
7133
7134 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7135
c6a9e42c
PA
71362014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7137 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7140 mi_gdb_target_load.
c6a9e42c 7141
b7ea362b
PA
71422014-01-08 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.threads/reconnect-signal.c: New file.
7145 * gdb.threads/reconnect-signal.exp: New file.
7146
5e3f4fab
EBM
71472014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7148
7149 * gdb.base/source-dir.exp: New file.
7150
79301218
JB
71512014-01-07 Joel Brobecker <brobecker@adacore.com>
7152
7153 * gdb.ada/mi_interface: New testcase.
7154
8e355c5d
JB
71552014-01-07 Joel Brobecker <brobecker@adacore.com>
7156
7157 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7158 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7159 gdb.ada/pp-rec-component/pck.ads: New files.
7160
c0d48811
JB
71612014-01-07 Joel Brobecker <brobecker@adacore.com>
7162
7163 * gdb.python/py-pp-integral.c: New file.
7164 * gdb.python/py-pp-integral.py: New file.
7165 * gdb.python/py-pp-integral.exp: New file.
7166
17b609c3 7167For older changes see ChangeLog-1993-2013.
c906108c 7168\f
8d8cb839
EZ
7169;; Local Variables:
7170;; mode: change-log
7171;; left-margin: 8
7172;; fill-column: 74
7173;; version-control: never
7174;; End:
902f2ccb 7175
618f726f 7176 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7177 Copying and distribution of this file, with or without modification,
7178 are permitted provided the copyright notice and this notice are preserved.