]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6e774b13
SM
12016-04-05 Simon Marchi <simon.marchi@ericsson.com>
2
3 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4 absolute.
5 * gdb.trace/ftrace.exp: Likewise.
6 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7 targets as well.
8 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9 (gdb_load_shlibs): Copy libraries to test directory when testing
10 natively. Only set solib-search-path if testing remotely.
11 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12
7817ea46
SM
132016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14
15 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16 gdb_download. Use it even if the target is not remote.
17 * gdb.base/jit.exp (compile_jit_test): Likewise.
18 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
19 output directory if the destination board is local, otherwise use
20 the standard remote_download from DejaGnu.
21 (gdb_download): Remove.
22 (gdb_load_shlibs): Use gdb_remote_download instead of
23 gdb_download.
24 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
25 Use gdb_remote_download instead of gdb_download. Use it even if
26 the target is not remote.
27 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
28 instead of gdb_download.
29
7beb7f68
SM
302016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
31
32 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
33 (test_insert_delete_modify): Call mi_load_shlibs before trying to
34 run.
35
cc63428a
AV
362016-04-01 Artemiy Volkov <artemiyv@acm.org>
37
38 PR gdb/19820
39 * gdb.base/printcmds.exp: Add artificial arrays tests.
40
64cdf930
PA
412016-03-31 Pedro Alves <palves@redhat.com>
42
43 PR gdb/19858
44 * gdb.base/jit-main.c: Include unistd.h.
45 (ATTACH): Define to 0 if not already defined.
46 (wait_for_gdb, mypid): New globals.
47 (WAIT_FOR_GDB): New macro.
48 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
49 some breakpoint locations.
50 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
51 New procedures.
52 (one_jit_test): Add REATTACH parameter, and handle it. Use
53 continue_to_test_location.
54 (top level): Test attach, and adjusts calls to one_jit_test.
55
40dea8cb
PA
562016-03-31 Pedro Alves <palves@redhat.com>
57
58 PR gdb/19858
59 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
60 BINSUFFIX parameter, and handle it.
61 (top level): Adjust calls compile_jit_test.
62
e7ea3ec7
CU
632016-03-31 Catalin Udma <catalin.udma@freescale.com>
64
65 PR python/19743
66 * gdb.python/py-mi-events-gdb.py: New file.
67 * gdb.python/py-mi-events.c: New file.
68 * gdb.python/py-mi-events.exp: New file.
69
e6359af3
YQ
702016-03-30 Yao Qi <yao.qi@linaro.org>
71
72 * gdb.reverse/until-precsave.exp: Match function name only.
73 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
74 Move malloc to a condition block.
75 * gdb.reverse/until-reverse.exp: Match function name only.
76
a4105d04
MK
772016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
78
79 * gdb.trace/ftrace.exp: Set arg0exp for s390.
80 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
81 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
82 variable for GPR 0 instead of assuming it is register 0.
83 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
84 * lib/trace-support.exp: Add s390 registers.
85
bfa6adb9
YQ
862016-03-29 Yao Qi <yao.qi@linaro.org>
87
88 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
89
1e6697ea
YQ
902016-03-24 Yao Qi <yao.qi@linaro.org>
91
92 * gdb.reverse/break-reverse.exp: Add quotation mark in the
93 test message.
94
64bcd522
AA
952016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
96
97 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
98 maintaining separate logic for constructing the output path.
99
7868401b
DB
1002016-03-16 Don Breazeal <donb@codesourcery.com>
101
102 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
103 Retry fork and waitpid on interrupted system call errors.
104 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
105 Use with_timeout_factor to increase timeout by factor of 10.
106
1cafadb4
DB
1072016-03-15 Don Breazeal <donb@codesourcery.com>
108
109 * gdb.cp/scope-err.cc: New test program.
110 * gdb.cp/scope-err.exp: New test script.
111 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
112 lines and "set breakpoint here" comment.
113 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
114 Fixed some whitespace and format issues.
115 * gdb.mi/mi-linespec-err-cp.cc: New test program.
116 * gdb.mi/mi-linespec-err-cp.exp: New test script.
117
81516450
DE
1182016-03-15 Doug Evans <dje@google.com>
119
120 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
121 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
122 All callers updated. Add tests for enums, mixed flags register.
123
aa52b601
DE
1242016-03-15 Doug Evans <dje@google.com>
125
126 * gdb.base/skip.c (main): Call test_skip_file_and_function.
127 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
128
fa4ff313
SM
1292016-03-14 Simon Marchi <simon.marchi@ericsson.com>
130
131 * gdb.base/default.exp: Add $_as_string to the list of expected
132 convenience functions.
133
f2403c39
AB
1342016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 * gdb.base/maint.exp: New tests for 'maint info line-table'.
137
f2f3ccb9
SM
1382016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
139
140 * gdb.python/py-as-string.exp: New file.
141 * gdb.python/py-as-string.c: New file.
142
00dbd492
PA
1432016-03-09 Pedro Alves <palves@redhat.com>
144
145 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
146 signal" -> "Thread NN received signal" output change.
147 * gdb.threads/ia64-sigill.exp: Likewise.
148 * gdb.threads/linux-dp.exp: Likewise.
149 * gdb.threads/manythreads.exp: Likewise.
150 * gdb.threads/pending-step.exp: Likewise.
151 * gdb.threads/print-threads.exp: Likewise.
152 * gdb.threads/sigstep-threads.exp: Likewise.
153 * gdb.threads/staticthreads.exp: Likewise.
154 * gdb.threads/tls.exp: Likewise.
155
1e6697ea
YQ
1562016-03-09 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/command-line-input.exp: New file.
159
b04fd3be
MK
1602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
161
162 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
163 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
164 * gdb.trace/pending.exp: Accept leading dot before function name.
165 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
166 * lib/trace-support.exp: Set registers for ppc.
167
98fa59e9
MK
1682016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
169
170 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
171 use it for disassembly; accept .main in addition to main in backtrace.
172
f77198c8
MK
1732016-03-09 Wei-cheng Wang <cole945@gmail.com>
174 Marcin Kościelnicki <koriakin@0x04.net>
175
176 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
177 (gdb_recursion_test_ptr): New global variable.
178 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
179 gdb_recursion_test.
180 (gdb_c_test): Ditto.
181
ba84e0da
MK
1822016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
183
184 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
185 ordering.
186
4366d36e
MK
1872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
188
189 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
190 (bar): Add bar_start_lbl label.
191 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
192 of foo/bar for emitting DWARF and tracing.
193
5eb264df
SDJ
1942016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
195
196 * analyze-racy-logs.py: Set executable bit.
197
fb6a751f
SDJ
1982016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
199
200 * Makefile.in (DEFAULT_RACY_ITER): New variable.
201 (CHECK_TARGET_TMP): Likewise.
202 (check-single-racy): New rule.
203 (check-parallel-racy): Likewise.
204 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
205 (do-check-parallel-racy): New rule.
206 (check-racy/%.exp): Likewise.
207 * README (Racy testcases): New section.
208 * analyze-racy-logs.py: New file.
209
bdf7e230
DE
2102016-03-03 Doug Evans <dje@google.com>
211
212 * gdb.base/skip.exp: Use with_test_prefix.
213
4719d415
YQ
2142016-03-03 Yao Qi <yao.qi@linaro.org>
215
216 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
217 Invoke step_over_syscall "clone" and break_cond_on_syscall
218 "clone".
219 * gdb.base/step-over-clone.c: New file.
220
ea507862
YQ
2212016-03-03 Yao Qi <yao.qi@linaro.org>
222
223 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
224 code format.
225
8fc8cbda
YQ
2262016-03-03 Yao Qi <yao.qi@linaro.org>
227
228 * gdb.base/disp-step-fork.c: Rename to ...
229 * gdb.base/step-over-fork.c: ... it. New file.
230 * gdb.base/disp-step-vfork.c: Rename to ...
231 * gdb.base/step-over-vfork.c: ... it. New file.
232 * gdb.base/disp-step-syscall.exp: Rename to ...
233 * gdb.base/step-over-syscall.exp: ... it. New file.
234 (disp_step_cross_syscall): Rename to ...
235 (step_over_syscall): ... it.
236
92fa70b0
YQ
2372016-03-03 Yao Qi <yao.qi@linaro.org>
238
239 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
240 If target supports condition evaluation on target, invoke
241 break_cond_on_syscall for fork and vfork.
242
e197ad3c
YQ
2432016-03-03 Yao Qi <yao.qi@linaro.org>
244
245 * gdb.base/disp-step-syscall.exp: Don't invoke
246 support_displaced_stepping.
247 (disp_step_cross_syscall): Test with displaced stepping off and
248 on if supported.
249
0b47da9f
YQ
2502016-03-03 Yao Qi <yao.qi@linaro.org>
251
252 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
253 proc.
254 (setup): New proc.
255 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
256 and setup.
257
065ab6dc
BH
2582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
259
260 * gdb.fortran/vla-history.exp: Remove breakpoint.
261
07e448ad 2622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
263
264 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
265
9ac2d526 2662016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
267
268 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
269
17807369
BH
2702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
271
272 * gdb.mi/vla.f90: Nullify pointer after declaration.
273
86e501af
PA
2742016-03-01 Pedro Alves <palves@redhat.com>
275
276 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
277
1e903e32
PA
2782016-03-01 Pedro Alves <palves@redhat.com>
279
280 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
281 before anything else.
282 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
283 _GNU_SOURCE here.
284 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
285 before anything else.
286 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
287
6ccb54e2
PA
2882016-03-01 Pedro Alves <palves@redhat.com>
289
290 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
291
30ca9da1
YQ
2922016-03-01 Yao Qi <yao.qi@linaro.org>
293
294 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
295 prepare_for_testing.
296
dc856b38
YQ
2972016-03-01 Yao Qi <yao.qi@linaro.org>
298
299 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
300
4a932159
AA
3012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
302
303 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
304 manually constructing the output path.
305
f2489477
AA
3062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
307
308 * gdb.arch/s390-stackless.S: New.
309 * gdb.arch/s390-stackless.exp: New.
310
38899f16
IB
3112016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
312
313 * gdb.dlang/circular.c: New file.
314 * gdb.dlang/circular.exp: New file.
315
9fde51ed
YQ
3162016-02-26 Yao Qi <yao.qi@linaro.org>
317
318 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
319 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
320 (testcases): Update.
321
ce90fefe
YQ
3222016-02-26 Yao Qi <yao.qi@linaro.org>
323
324 * gdb.reverse/aarch64.c: Rename to ...
325 * gdb.reverse/insn-reverse.c: ... it.
326 * gdb.reverse/aarch64.exp: Rename to ...
327 * gdb.reverse/insn-reverse.exp: ... it.
328
3263bceb
YQ
3292016-02-26 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
332 (testcase_ftype): New.
333 (testcases): New array.
334 (n_testcases): New.
335 (main): Call each element in testcases.
336 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
337 (read_testcase): New.
338 Do the tests in a loop.
339
6cb59ff1
YQ
3402016-02-25 Yao Qi <yao.qi@linaro.org>
341
342 * gdb.base/branches.c: Remove.
343
ae91f625
MK
3442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
345
346 PR gdb/13808
347 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
348
678b48b7
MK
3492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
350
351 * gdb.trace/ftrace.exp: Remove unnecessary target check.
352
7337a6f2
MK
3532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
354
355 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
356 change x86_64 call_insn to 'callq'.
357
861ca91f
AT
3582016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
359
360 * gdb.trace/tfile-avx.c: Move to...
361 * gdb.trace/tracefile-pseudo-reg.c: Here.
362 * gdb.trace/tfile-avx.exp: Move to...
363 * gdb.trace/tracefile-pseudo-reg.exp: Here.
364
bf74e428
GB
3652016-02-24 Gary Benson <gbenson@redhat.com>
366
367 * gdb.base/attach-pie-noexec.exp: Do not expect an error
368 message on attach.
369
cce0e923
DE
3702016-02-23 Doug Evans <dje@google.com>
371
372 * gdb.base/skip.c (test_skip): New function.
373 (end_test_skip_file_and_function): New function.
374 (test_skip_file_and_function): New function.
375 * gdb.base/skip1.c (test_skip): New function.
376 (skip1_test_skip_file_and_function): New function.
377 * gdb.base/skip.exp: Add tests for new skip options.
378 * gdb.base/skip-solib.exp: Update expected output.
379 * gdb.perf/skip-command.cc: New file.
380 * gdb.perf/skip-command.exp: New file.
381 * gdb.perf/skip-command.py: New file.
382
4000e47e
MK
3832016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
384
385 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
386 info registers pattern.
387
24f75ead
IB
3882016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
389
390 * lib/future.exp: Add D support.
391 (gdb_find_gdc): New proc.
392 (gdb_default_target_compile): Add D support.
393
fbb7bcbe
WW
3942016-02-18 Wei-cheng Wang <cole945@gmail.com>
395
396 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
397 user+system time.
398 (trace_speed_test): Determine the iteration count for a time
399 between 15..30 seconds.
400
012b3a21
WT
4012016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
402
403 * gdb.arch/i386-mpx-sigsegv.c: New file.
404 * gdb.arch/i386-mpx-sigsegv.exp: New file.
405 * gdb.arch/i386-mpx-simple_segv.c: New file.
406 * gdb.arch/i386-mpx-simple_segv.exp: New file.
407
2d5189bd
YQ
4082016-02-18 Yao Qi <yao.qi@linaro.org>
409
410 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
411 Don't call setup_kfail.
412
40fb20d0
YQ
4132016-02-18 Yao Qi <yao.qi@linaro.org>
414
415 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
416 Set "set breakpoint condition-evaluation" per $cond_bp_target.
417
21b1f8d2
DE
4182016-02-16 Doug Evans <dje@google.com>
419
420 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
421 * gdb.base/skip1.c: Ditto.
422 * gdb.base/skip.exp: Whitespace cleanup.
423
4041ed77
DB
4242016-02-16 Don Breazeal <donb@codesourcery.com>
425
426 PR remote/19496
427 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
428 Remove kfail for PR remote/19496.
429
c4ef31bf
SM
4302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
431
432 * lib/gdb.exp (standard_temp_file): Return a path specific to
433 the runtest invocation.
434
266b65b3
SM
4352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
436
437 * gdb.trace/save-trace.exp: Change relative path to be in the
438 standard output directory.
439
a7a0a6a9
JK
4402016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
441
442 * gdb.arch/i386-prologue.c: Add missing prototypes.
443
c99dbb42
JK
4442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
447 * gdb.arch/i386-prologue.exp: Likewise.
448 * gdb.arch/i386-size.exp: Likewise.
449
aa480355
SM
4502016-02-15 Simon Marchi <simon.marchi@ericsson.com>
451
452 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
453 define object file path.
454 * gdb.btrace/gcore.exp: Use standard_output_file to define core
455 file path.
456 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
457 standard_output_file to define binfile.
458
ba881f50
JK
4592016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 Fix compatibility with recent gfortran-5.3.1.
462 * gdb.fortran/vla-history.exp (print vla1 allocated)
463 (print vla2 allocated, print $2, print $3): Remove
464 (print $4): Rename to ...
465 (print $2): ... here.
466 (print $9): Rename to ...
467 (print $5): ... here.
468 (print $10): Rename to ...
469 (print $6): ... here.
470 * gdb.fortran/vla.f90: Add pvla initialization.
471
e9fb005c
JK
4722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
475 New test.
476 * gdb.fortran/vla-value-sub.exp: Likewise.
477
e44e00ff
MK
4782016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
479
480 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
481
97e94151
SM
4822016-02-12 Simon Marchi <simon.marchi@ericsson.com>
483
484 * i386-biarch-core.exp: Define corefile using
485 standard_output_file.
486
01113bc1
YQ
4872016-02-12 Yao Qi <yao.qi@linaro.org>
488
489 * gdb.arch/arm-single-step-kernel-helper.c: New.
490 * gdb.arch/arm-single-step-kernel-helper.exp: New.
491
33b4777c
MM
4922016-02-12 Markus Metzger <markus.t.metzger@intel.com>
493
494 * gdb.btrace/tailcall-only.exp: New.
495 * gdb.btrace/tailcall-only.c: New.
496 * gdb.btrace/x86_64-tailcall-only.S: New.
497 * gdb.btrace/i686-tailcall-only.S: New.
498
acc23c11
PA
4992016-02-11 Pedro Alves <palves@redhat.com>
500
501 * README (Parallel testing): Add missing double quotes.
502
e352bf0a
PA
5032016-02-11 Pedro Alves <palves@redhat.com>
504
505 * README (Parallel testing): New section.
506 (GDB_PARALLEL): Rewrite.
507 (FORCE_PARALLEL): Document.
508
9f5fed78
MK
5092016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
510
511 * gdb.trace/tfile-avx.c: New test.
512 * gdb.trace/tfile-avx.exp: New test.
513
9ef9e6a6
KS
5142016-02-09 Keith Seitz <keiths@redhat.com>
515
516 PR breakpoints/19546
517 * gdb.base/infcall-exec.c: New file.
518 * gdb.base/infcall-exec2.c: New file.
519 * gdb.base/infcall-exec.exp: New file.
520
a96e36da
KS
5212016-02-09 Keith Seitz <keiths@redhat.com>
522
523 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
524 (toplevel): Call test_bkpt_address.
525
9f61929f
KS
5262016-02-09 Keith Seitz <keiths@redhat.com>
527
528 PR python/19506
529 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
530 (toplevel): Call test_bkpt_address.
531
1e94266c
SM
5322016-02-09 Simon Marchi <simon.marchi@ericsson.com>
533
534 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
535 to AC_OUTPUT.
536 * configure: Regenerate.
537
2a7f3dff
PA
5382016-02-09 Pedro Alves <palves@redhat.com>
539
540 PR breakpoints/19548
541 * gdb.base/execl-update-breakpoints.c (some_function): New
542 function.
543 (main): Call it.
544 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
545 Tighten expected GDB output.
546
2151ccc5
SM
5472016-02-08 Simon Marchi <simon.marchi@ericsson.com>
548
549 * Makefile.in (ALL_SUBDIRS): Remove.
550 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
551 (distclean maintainer-clean realclean): Likewise.
552 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
553 * configure: Regenerate.
554 * gdb.ada/Makefile.in: Delete.
555 * gdb.arch/Makefile.in: Likewise.
556 * gdb.asm/Makefile.in: Likewise.
557 * gdb.base/Makefile.in: Likewise.
558 * gdb.btrace/Makefile.in: Likewise.
559 * gdb.cell/Makefile.in: Likewise.
560 * gdb.compile/Makefile.in: Likewise.
561 * gdb.cp/Makefile.in: Likewise.
562 * gdb.disasm/Makefile.in: Likewise.
563 * gdb.dlang/Makefile.in: Likewise.
564 * gdb.dwarf2/Makefile.in: Likewise.
565 * gdb.fortran/Makefile.in: Likewise.
566 * gdb.gdb/Makefile.in: Likewise.
567 * gdb.go/Makefile.in: Likewise.
568 * gdb.guile/Makefile.in: Likewise.
569 * gdb.java/Makefile.in: Likewise.
570 * gdb.linespec/Makefile.in: Likewise.
571 * gdb.mi/Makefile.in: Likewise.
572 * gdb.modula2/Makefile.in: Likewise.
573 * gdb.multi/Makefile.in: Likewise.
574 * gdb.objc/Makefile.in: Likewise.
575 * gdb.opencl/Makefile.in: Likewise.
576 * gdb.opt/Makefile.in: Likewise.
577 * gdb.pascal/Makefile.in: Likewise.
578 * gdb.perf/Makefile.in: Likewise.
579 * gdb.python/Makefile.in: Likewise.
580 * gdb.reverse/Makefile.in: Likewise.
581 * gdb.server/Makefile.in: Likewise.
582 * gdb.stabs/Makefile.in: Likewise.
583 * gdb.threads/Makefile.in: Likewise.
584 * gdb.trace/Makefile.in: Likewise.
585 * gdb.xml/Makefile.in: Likewise.
586 * lib/gdb.exp (make_gdb_parallel_path): Add check for
587 GDB_PARALLEL.
588 (standard_output_file): Remove check for GDB_PARALLEL, always
589 return path in outputs/$subdir/$testname.
590
437277d4
SM
5912016-02-08 Simon Marchi <simon.marchi@ericsson.com>
592
593 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
594 (site.exp): Assign abs_srcdir to tcl's srcdir.
595
31d913c7
YQ
5962016-02-04 Yao Qi <yao.qi@linaro.org>
597
598 * gdb.base/foll-exec-mode.c: Include limits.h.
599 (main): Add parameters argc and argv. Get directory from
600 argv[0].
601 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
602 compilation.
603 * gdb.base/foll-exec.c: Include limits.h.
604 (main): Add parameters argc and argv.
605 Get directory from argv[0].
606 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
607 Adjust tests on the number of lines as source code changed.
608 * gdb.base/foll-vfork-exit.c: Include limits.h.
609 (main): Add one line of statement before vfork.
610 * gdb.base/foll-vfork.c: Include limits.h and string.h.
611 (main): Add parameters argc and argv. Get directory from
612 argv[0].
613 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
614 (setup_gdb): Set tbreak to skip some source lines.
615 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
616 (main): Add parameters argc and argv. Get directory from
617 argv[0].
618 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
619 compilation.
620 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
621 (main): Add parameters argc and argv. Get directory from
622 argv[0].
623 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
624 compilation.
625
9482b9fb
DE
6262016-02-01 Doug Evans <dje@google.com>
627
628 * gdb.base/skip.exp: Clean up multiple references to same test name.
629
6b2e4f10
PA
6302016-02-01 Pedro Alves <palves@redhat.com>
631
ccb6afd6 632 PR remote/19496
6b2e4f10
PA
633 * gdb.threads/forking-threads-plus-breakpoint.exp
634 (displaced_stepping_supported): New global.
635 (probe_displaced_stepping_support): New procedure.
636 (do_test): Add 'displaced' parameter, and use it.
637 (top level): Check for displaced stepping support. Add displaced
638 stepping on/off testing axis.
639
37a8db1a
AB
6402016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
641
642 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
643 pointer. Don't perform further tests on the unassociated pointer
644 if the first test fails.
645
5fdf6324
AB
6462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
647
648 * gdb.base/max-value-size.c: New file.
649 * gdb.base/max-value-size.exp: New file.
650 * gdb.base/huge.exp: Disable max-value-size for this test.
651
935c6144
IB
6522016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
653
654 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
655
7fe8399d
YQ
6562016-01-28 Yao Qi <yao.qi@linaro.org>
657
658 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
659
a2077e25
PA
6602016-01-25 Pedro Alves <palves@redhat.com>
661
662 PR threads/19461
663 * gdb.base/fork-running-state.c: New file.
664 * gdb.base/fork-running-state.exp: New file.
665
1d2736d4
PA
6662016-01-25 Pedro Alves <palves@redhat.com>
667
668 PR gdb/19494
669 * gdb.base/catch-fork-kill.c: New file.
670 * gdb.base/catch-fork-kill.exp: New file.
671
f1da4b11
PA
6722016-01-25 Pedro Alves <palves@redhat.com>
673
674 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
675 Delete, moved to lib/gdb.exp.
676 * gdb.threads/forking-threads-plus-breakpoint.exp
677 (foreach_with_prefix): Likewise.
678 * gdb.threads/process-dies-while-handling-bp.exp
679 (foreach_with_prefix): Likewise.
680 * lib/gdb.exp (foreach_with_prefix): New procedure.
681
45f38546
MK
6822016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
683
684 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
685 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
686
dc29a1ce
MK
6872016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
688
689 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
690 endian targets.
691
092127d7
JK
6922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
693 Pedro Alves <palves@redhat.com>
694
695 Fix testsuite compatibility with Guile.
696 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
697 number.
698
31d765d3
JK
6992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
700
701 Fix testsuite compatibility with Guile.
702 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
703 (thread 1): New test for backtrace through signal handler.
704
1ac78c04
YQ
7052016-01-22 Yao Qi <yao.qi@linaro.org>
706
707 PR testsuite/19491
708 * gdb.base/multi-forks.c: Include
709 ../lib/unbuffer_output.c
710 (main): Call gdb_unbuffer_output.
711
4f5946a8
DE
7122016-01-21 Doug Evans <dje@google.com>
713
714 * lib/ada.exp (gdb_compile_ada): Fix typo.
715
305e13e6
JB
7162016-01-21 Joel Brobecker <brobecker@adacore.com>
717
718 * gdb.base/break-fun-addr.exp: New file.
719 * gdb.base/break-fun-addr1.c: New file.
720 * gdb.base/break-fun-addr2.c: New file.
721
5f5dfff6
SM
7222016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
723
724 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
725 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
726 enum flag values.
727
fd356fa2
AA
7282016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
729
730 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
731 when GDB can not set the vector return value. Add more comments
732 for clarification.
733
9df22175
AT
7342016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
735
736 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
737 command.
738
41d1845e
SM
7392016-01-19 Simon Marchi <simon.marchi@ericsson.com>
740
741 * Makefile.in (DO_RUNTEST): Add --status and update usages.
742
01ac6840
SM
7432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
744
745 * Makefile.in (check-single): Pass --status to runtest.
746 (check/%.exp): Likewise.
747
7482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
749
750 * Makefile.in (check-parallel): Propagate return code from make
751 do-check-parallel.
752
bd0a71fa
MK
7532016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
754
755 * gdb.trace/ftrace.exp: Fix expected message on continue.
756 * gdb.trace/pending.exp: Fix expected message on continue.
757 * gdb.trace/trace-break.exp: Fix expected message on continue.
758
8bcbad33
SM
7592016-01-18 Simon Marchi <simon.marchi@ericsson.com>
760
761 * lib/gdb.exp (gdb_test): Remove unused global references.
762
f303dbd6
PA
7632016-01-18 Pedro Alves <palves@redhat.com>
764
765 * gdb.base/async-shell.exp: Adjust expected output.
766 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
767 * gdb.base/siginfo-thread.exp: Adjust expected output.
768 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
769 * gdb.java/jnpe.exp: Adjust expected output.
770 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
771 * gdb.threads/continue-pending-status.exp: Adjust expected output.
772 * gdb.threads/leader-exit.exp: Adjust expected output.
773 * gdb.threads/manythreads.exp: Adjust expected output.
774 * gdb.threads/pthreads.exp: Adjust expected output.
775 * gdb.threads/schedlock.exp: Adjust expected output.
776 * gdb.threads/siginfo-threads.exp: Adjust expected output.
777 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
778 expected output.
779 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
780 output.
781 * gdb.threads/sigthread.exp: Adjust expected output.
782 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
783
b2789696
YQ
7842016-01-18 Yao Qi <yao.qi@linaro.org>
785
786 * gdb.guile/scm-section-script.c: Replace @progbits with
787 %progbits.
788 * gdb.python/py-section-script.c: Likewise.
789
71ef29a8
PA
7902016-01-15 Pedro Alves <palves@redhat.com>
791
792 * gdb.multi/tids.exp: Test star wildcard ranges.
793
3f5b7598
PA
7942016-01-15 Pedro Alves <palves@redhat.com>
795
796 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
797 command from "thread apply" invocation.
798 (thr_apply_info_thr_invalid): Default the expected output to the
799 input tid list.
800 (top level): Add tests that use convenience variables. Add tests
801 for "thread apply" with a valid TID list, but missing the command.
802
663f6d42
PA
8032016-01-13 Pedro Alves <palves@redhat.com>
804
805 * gdb.base/default.exp: Expect $_gthread as well.
806 * gdb.multi/tids.exp: Test $_gthread.
807 * gdb.threads/thread-specific.exp: Test $_gthread.
808
c84f6bbf
PA
8092016-01-13 Pedro Alves <palves@redhat.com>
810
811 * gdb.multi/tids.exp: Test "info threads -gid".
812
22a02324
PA
8132016-01-13 Pedro Alves <palves@redhat.com>
814
815 * gdb.multi/tids.exp: Test InferiorThread.global_num and
816 Breakpoint.thread.
817 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
818
5d5658a1
PA
8192016-01-07 Pedro Alves <palves@redhat.com>
820
821 * gdb.base/break.exp: Adjust to output changes.
822 * gdb.base/hbreak2.exp: Likewise.
823 * gdb.base/sepdebug.exp: Likewise.
824 * gdb.base/watch_thread_num.exp: Likewise.
825 * gdb.linespec/keywords.exp: Likewise.
826 * gdb.multi/info-threads.exp: Likewise.
827 * gdb.threads/thread-find.exp: Likewise.
828 * gdb.multi/tids.c: New file.
829 * gdb.multi/tids.exp: New file.
830
84654457
PA
8312016-01-13 Pedro Alves <palves@redhat.com>
832
833 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
834
e3940304
PA
8352016-01-13 Pedro Alves <palves@redhat.com>
836
837 * gdb.base/default.exp: Expect $_inferior as well.
838 * gdb.multi/base.exp: Test $_inferior.
839
a911d87a
PA
8402016-01-13 Pedro Alves <palves@redhat.com>
841
842 PR breakpoints/19388
843 * gdb.base/catch-signal-siginfo-cond.c: New file.
844 * gdb.base/catch-signal-siginfo-cond.exp: New file.
845
82075af2
JS
8462016-01-12 Josh Stone <jistone@redhat.com>
847 Philippe Waroquiers <philippe.waroquiers@skynet.be>
848
849 * gdb.base/catch-syscall.c (do_execve): New variable.
850 (main): Conditionally trigger an execve.
851 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
852 (test_catch_syscall_execve): New, check entry/return across execve.
853 (do_syscall_tests): Call test_catch_syscall_execve.
854
e46eeedd
PA
8552016-01-12 Pedro Alves <palves@redhat.com>
856
857 * gdb.base/random-signal.exp (do_test): New procedure, with body
858 of testcase moved in.
859
01d8c27e
JK
8602016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
861 Pedro Alves <palves@redhat.com>
862
863 * gdb.base/funcargs.exp (finish from indirectly called function):
864 Reintroduce the case for 'First'.
865
9a706302
JK
8662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
867 Pedro Alves <palves@redhat.com>
868
869 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
870 (tcatch_vfork_then_child_follow_exec)
871 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
872 identification.
873
c0ecb95f
JK
8742016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
875
876 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
877 and repeats to unlimited.
878 * gdb.python/py-value.exp: Likewise.
879 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
880 and repeats to unlimited.
881
6cfc1fcb
JK
8822016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
885 and reordering the functions.
886 * gdb.multi/hangout.c: Likewise.
887 * gdb.multi/hello.c: Likewise.
888
582a1b00
SM
8892016-01-08 Simon Marchi <simon.marchi@ericsson.com>
890
891 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
892 absolute.
893 (SingleStatisticTestResult.report): Use dict.keys instead of
894 dict.iterkeys.
895
79bc59cb
PA
8962016-01-06 Pedro Alves <palves@redhat.com>
897
898 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
899
43368e1d
MM
9002016-01-04 Markus Metzger <markus.t.metzger@intel.com>
901
902 * gdb.btrace/dlopen.exp: New.
903 * gdb.btrace/dlopen.c: New.
904 * gdb.btrace/dlopen-dso.c: New.
905
79fad5b8
SL
9062015-12-25 Sandra Loosemore <sandra@codesourcery.com>
907
908 * lib/gdb.exp (gdb_test): Update comments to clarify that the
909 PATTERN argument is optional.
910
ab8314b3
JB
9112015-12-24 Joel Brobecker <brobecker@adacore.com>
912
913 * lib/ada.exp (target_compile_ada_from_dir): New function.
914 (gdb_compile_ada): Reimplement avoiding the use of project files.
915 * gdb.ada/gnat_ada.gpr: Delete.
916 * gdb.ada/cond_lang.exp: Adjust test to make path before
917 filename optional.
918 * gdb.ada/small_reg_param.exp: Likewise.
919
fe33faff
SM
9202015-12-22 Simon Marchi <simon.marchi@ericsson.com>
921
922 * gdb.base/foll-vork.exp: Remove HP-UX special case.
923
6d265cb4
TP
9242015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
925
926 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
927 case.
928
10125099
SM
9292015-12-21 Simon Marchi <simon.marchi@ericsson.com>
930
931 * gdb.base/break.exp: Remove dead code.
932 * gdb.base/sepdebug.exp: Likewise.
933
3ca22649
SM
9342015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
935
936 * gdb.asm/asm-source.exp: Remove HP-UX references.
937 * gdb.base/annota1.exp: Likewise.
938 * gdb.base/annota3.exp: Likewise.
939 * gdb.base/attach.exp: Likewise.
940 * gdb.base/bigcore.exp: Likewise.
941 * gdb.base/break.exp: Likewise.
942 * gdb.base/call-ar-st.exp: Likewise.
943 * gdb.base/callfuncs.exp: Likewise.
944 * gdb.base/catch-fork-static.exp: Likewise.
945 * gdb.base/display.exp: Likewise.
946 * gdb.base/foll-exec-mode.exp: Likewise.
947 * gdb.base/foll-exec.exp: Likewise.
948 * gdb.base/foll-fork.exp: Likewise.
949 * gdb.base/foll-vfork.exp: Likewise.
950 * gdb.base/funcargs.exp: Likewise.
951 * gdb.base/hbreak2.exp: Likewise.
952 * gdb.base/inferior-died.exp: Likewise.
953 * gdb.base/interrupt.exp: Likewise.
954 * gdb.base/multi-forks.exp: Likewise.
955 * gdb.base/nodebug.exp: Likewise.
956 * gdb.base/sepdebug.exp: Likewise.
957 * gdb.base/solib1.c: Likewise.
958 * gdb.base/step-test.exp: Likewise.
959 * gdb.mi/non-stop.c: Likewise.
960 * gdb.mi/pthreads.c: Likewise.
961 * gdb.multi/bkpt-multi-exec.ex: Likewise.
962 * gdb.threads/pthreads.c: Likewise.
963 * gdb.threads/staticthreads.exp: Likewise.
964 * lib/future.exp: Likewise.
965 * lib/gdb.exp: Likewise.
966 * gdb.base/so-indr-cl.c: Remove.
967 * gdb.base/so-indr-cl.exp: Likewise.
968 * gdb.base/solib.c: Likewise.
969 * gdb.base/solib.exp: Likewise.
970 * gdb.base/solib2.c: Likewise.
971
b6304613
SM
9722015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
973
974 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
975 * gdb.base/call-ar-st.exp: Likewise.
976 * gdb.base/callfuncs.exp: Likewise.
977 * gdb.base/condbreak.exp: Likewise.
978 * gdb.base/constvars.exp: Likewise.
979 * gdb.base/hbreak2.exp: Likewise.
980 * gdb.base/langs.exp: Likewise.
981 * gdb.base/list.exp: Likewise.
982 * gdb.base/long_long.exp: Likewise.
983 * gdb.base/ptype.exp: Likewise.
984 * gdb.base/scope.exp: Likewise.
985 * gdb.base/signals.exp: Likewise.
986 * gdb.base/so-impl-ld.exp: Likewise.
987 * gdb.base/varargs.exp: Likewise.
988 * gdb.base/volatile.exp: Likewise.
989 * gdb.base/whatis.exp: Likewise.
990 * gdb.cp/cplusfuncs.exp: Likewise.
991 * gdb.cp/inherit.exp: Likewise.
992 * gdb.cp/local.exp: Likewise.
993 * gdb.cp/member-ptr.exp: Likewise.
994 * gdb.cp/method.exp: Likewise.
995 * gdb.cp/overload.exp: Likewise.
996 * gdb.cp/templates.exp: Likewise.
997 * gdb.stabs/weird.exp: Likewise.
998 * lib/compiler.c: Likewise.
999 * lib/compiler.cc: Likewise.
1000 * lib/cp-support.exp: Likewise.
1001 * lib/gdb.exp: Likewise.
1002
bf401b07
SM
10032015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1004
1005 * configure.ac: Remove HP-UX case.
1006 * configure: Regenerate.
1007
aff9c0f8
SM
10082015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1009
1010 * lib/gdb.exp (gdb_compile): Add function doc.
1011
a6904d5a
PA
10122015-12-17 Pedro Alves <palves@redhat.com>
1013
1014 PR threads/19354
1015 * gdb.multi/info-threads.exp: New file.
1016
a22279dd
YQ
10172015-12-15 Yao Qi <yao.qi@linaro.org>
1018
1019 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1020 is aarch64*-*-*.
1021
0588c796
SL
10222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1023
1024 * gdb.base/history-duplicates.exp: Skip if no readline support.
1025
5d978e17
SL
10262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1027
1028 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1029
7e763b86
SL
10302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1031
1032 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1033
87a3a92c
SL
10342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1035
1036 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1037 ctrl-C if nointerrupts target property is set.
1038 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1039 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1040 * gdb.base/paginate-bg-execution.exp: Likewise.
1041 * gdb.base/paginate-execution-startup.exp: Likewise.
1042 * gdb.base/random-signal.exp: Likewise.
1043 * gdb.base/range-stepping.exp: Likewise.
1044 * gdb.cp/annota2.exp: Likewise.
1045 * gdb.cp/annota3.exp: Likewise.
1046 * gdb.gdb/selftest.exp: Likewise.
1047 * gdb.threads/continue-pending-status.exp: Likewise.
1048 * gdb.threads/leader-exit.exp: Likewise.
1049 * gdb.threads/manythreads.exp: Likewise.
1050 * gdb.threads/pthreads.exp: Likewise.
1051 * gdb.threads/schedlock.exp: Likewise.
1052 * gdb.threads/sigthread.exp: Likewise.
1053
a8f077dc
DB
10542015-12-11 Don Breazeal <donb@codesourcery.com>
1055
1056 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1057 remote.
1058 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1059 * gdb.base/foll-exec.exp (main): Enable for target remote.
1060 * gdb.base/foll-fork.exp (main): Likewise.
1061 * gdb.base/foll-vfork.exp (main): Likewise.
1062 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1063 (proc continue_to_exit_bp_loc): Use clean_restart.
1064 * gdb.base/pie-execl.exp (main): Disable for target remote.
1065 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1066 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1067 * gdb.threads/execl.exp (main): Likewise.
1068 * gdb.threads/fork-child-threads.exp (main): Likewise.
1069 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1070 remote.
1071 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1072 remote.
1073 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1074 pid.tid style ptids, instead of just tid.
1075 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1076 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1077 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1078 ptids, instead of just tid.
1079
3b2464a8
AB
10802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.base/list.exp (test_list_forward): Add end of file error
1083 test.
1084 (test_repeat_list_command): Add end of file error test.
1085 (test_list_backwards): Add beginning of file error test.
1086
a0def019
AB
10872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.base/list.exp (test_list_invalid_args): New function,
1090 defined, and called.
1091
5c000dff
AB
10922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.base/list.exp (test_list): Make test names unique.
1095
f1637ebe
YQ
10962015-12-11 Yao Qi <yao.qi@linaro.org>
1097
1098 * gdb.base/coremaker2.c: Remove.
1099
36d6fc0a
PA
11002015-12-10 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.multi/base.exp: Remove stale "spaces" references.
1103
762f7747
PA
11042015-12-10 Pedro Alves <palves@redhat.com>
1105
1106 * gdb.multi/base.exp: Don't use nowarnings.
1107 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1108 * gdb.multi/hangout.c: Include stdio.h.
1109 * gdb.multi/hello.c: Include stdlib.h.
1110 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1111 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1112 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1113
28d2bfb9
AB
11142015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * gdb.dwarf2/dw2-ranges-base.c: New file.
1117 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1118 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1119 support additional line table, and debug ranges generation.
1120 (Dwarf::ranges): New function, generate .debug_ranges.
1121 (Dwarf::lines): Support generating simple line table programs.
1122 (Dwarf::assemble): Initialise new namespace variables.
1123
5fc2beac
KB
11242015-12-09 Kevin Buettner <kevinb@redhat.com>
1125
1126 * gdb.base/async.exp (proc test_background): Add case for
1127 asynchronous execution not supported.
1128
1c35a88f
LM
11292015-12-09 Luis Machado <lgustavo@codesourcery.com>
1130
1131 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1132 format and change test names to make them unique.
1133
b593e3d9
RK
11342015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1135 Pedro Alves <pedro@redhat.com>
1136
1137 PR gdb/18702
1138 Add checking of floatformats setup on x86_64 hosts.
1139 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1140 (smallval, bigval): New labels/constants.
1141 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1142 float" after loading bigval and smallval.
1143
d72413e6
PMR
11442015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1145
1146 * gdb.ada/fun_overload_menu.exp: New testcase.
1147 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1148
ece66d65
JS
11492015-12-04 Josh Stone <jistone@redhat.com>
1150
1151 * gdb.base/catch-fork-static.exp: New.
1152
41d0efca
YQ
11532015-12-03 Yao Qi <yao.qi@linaro.org>
1154
1155 * gdb.base/sizeof.c: Don't include stdio.h and
1156 ../lib/unbuffer_output.c.
1157 (main): New variable 'size' and 'value'. Remove printf and
1158 gdb_unbuffer_output. Assign return value to size and value.
1159 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1160 at the beginning.
1161 (check_sizeof): Check the result by printing variable 'size'.
1162 (check_valueof): Check the result by printing variable 'value'.
1163
99fd02d9
YQ
11642015-12-01 Yao Qi <yao.qi@linaro.org>
1165
1166 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1167 for aarch64*-*-linux* target.
1168
f2faf941
PA
11692015-11-30 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1172
04bf20c5
PA
11732015-11-30 Pedro Alves <palves@redhat.com>
1174
1175 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1176 Handle non-stop mode vCont replies.
1177
09df4675
PA
11782015-11-30 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1181 prepare_for_testing. Start gdb with "set non-stop on" appended to
1182 GDBFLAGS. Lax expected stop output.
1183
58b584af
YQ
11842015-11-27 Yao Qi <yao.qi@linaro.org>
1185
1186 * gdb.arch/arm-neon.exp: New.
1187 * gdb.arch/arm-neon.c: New.
1188
dfcb77a8
YQ
11892015-11-27 Yao Qi <yao.qi@linaro.org>
1190
1191 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1192
88e8ec1b
YQ
11932015-11-27 Yao Qi <yao.qi@linaro.org>
1194
1195 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1196 frames-invalid annotation.
1197
bfde72c2
YQ
11982015-11-27 Yao Qi <yao.qi@linaro.org>
1199
1200 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1201
f6512a69
SM
12022015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1203
1204 * gdb.threads/names.exp: New file.
1205 * gdb.threads/names.c: New file.
1206 * README: Mention gdb,no_thread_names.
1207
46a3515b
MM
12082015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1209
1210 PR 19297
1211 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1212 support" error.
1213
62147a22
PA
12142015-11-24 Pedro Alves <palves@redhat.com>
1215
1216 PR 17539
1217 * gdb.base/display.exp: Expect displays to be sorted in ascending
1218 order. Use multi_line.
1219 * gdb.base/solib-display.exp: Likewise.
1220
2f341b6e
PA
12212015-11-24 Pedro Alves <palves@redhat.com>
1222
1223 PR 17539
1224 * gdb.base/display.exp: Expect displays to be sorted in ascending
1225 order. Use multi_line.
1226 * gdb.base/solib-display.exp: Likewise.
1227
7e0aa6aa
PA
12282015-11-24 Pedro Alves <palves@redhat.com>
1229
1230 PR 17539
1231 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1232 threads in ascending order.
1233 * gdb.base/foll-fork.exp: Likewise.
1234 * gdb.base/foll-vfork.exp: Likewise.
1235 * gdb.base/multi-forks.exp: Likewise.
1236 * gdb.mi/mi-nonstop.exp: Likewise.
1237 * gdb.mi/mi-nsintrall.exp: Likewise.
1238 * gdb.multi/base.exp: Likewise.
1239 * gdb.multi/multi-arch.exp: Likewise.
1240 * gdb.python/py-inferior.exp: Likewise.
1241 * gdb.threads/break-while-running.exp: Likewise.
1242 * gdb.threads/execl.exp: Likewise.
1243 * gdb.threads/gcore-thread.exp: Likewise.
1244 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1245 * gdb.threads/kill.exp: Likewise.
1246 * gdb.threads/linux-dp.exp: Likewise.
1247 * gdb.threads/multiple-step-overs.exp: Likewise.
1248 * gdb.threads/next-bp-other-thread.exp: Likewise.
1249 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1250 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1251 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1252 * gdb.threads/thread-find.exp: Likewise.
1253 * gdb.threads/tls.exp: Likewise.
1254 * lib/mi-support.exp (mi_reverse_list): Delete.
1255 (mi_check_thread_states): No longer reverse list.
1256
2cc57ad8
PA
12572015-11-24 Pedro Alves <palves@redhat.com>
1258
1259 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1260 use lowercase.
1261
c93e8391
SM
12622015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1263
1264 * gdb.trace/actions.c: Include trace-common.h.
1265 (main): Add a location for a fast tracepoint.
1266 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1267 the normal tracepoints.
1268 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1269
045ccf91
SM
12702015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1271
1272 * save-trace.exp: Factor out code to these...
1273 (gdb_save_tracepoints): New.
1274 (gdb_load_tracepoints): New.
1275 (do_save_load_test): New.
1276
5506f9f6
KB
12772015-11-23 Kevin Buettner <kevinb@redhat.com>
1278
1279 * gdb.base/asmlabel.exp: New test.
1280 * gdb.base/asmlabel.c: New test case.
1281
16c3b12f
JB
12822015-11-23 Joel Brobecker <brobecker@adacore.com>
1283
1284 * gdb.base/wrong_frame_bt_full-main.c: New file.
1285 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1286 * gdb.base/wrong_frame_bt_full.exp: New file.
1287
155bfbd3
JB
12882015-11-23 Joel Brobecker <brobecker@adacore.com>
1289
1290 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1291
bb097445
JM
12922015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1293
206853a0 1294 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1295 pstate register when comparing registers values in
1296 sparc64-*-linux-gnu targets to avoid spurious differences.
1297
9c88ed8f
JM
12982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1299
206853a0 1300 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1301
96161e25
SL
13022015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1303
1304 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1305 as type argument to gdb_compile.
1306 * gdb.base/nested-subp2.exp: Likewise.
1307 * gdb.base/nested-subp3.exp: Likewise.
1308
340c2830
DV
13092015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1310
1311 * lib/dwarf.exp (_note): Fix left shift of negative value.
1312 * gdb.trace/trace-condition.exp: Likewise.
1313
c1862d0f
YQ
13142015-11-13 Yao Qi <yao.qi@linaro.org>
1315
1316 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1317 comments about d10v.
1318 (test_scalar_returns): Likewise.
1319 * gdb.base/d10v.ld: Remove.
1320 * gdb.base/overlays.exp: Remove the target triplet checking for
1321 d10v-*-*.
1322 * gdb.base/structs.exp (test_struct_returns): Remove the
1323 comments about d10v.
1324 (test_struct_calls): Likewise.
1325
77ae9c19
YQ
13262015-11-13 Yao Qi <yao.qi@linaro.org>
1327
1328 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1329 * gdb.base/gnu_vector.c: Don't include stdio.h.
1330 (main): Don't print res and call add_some_intvecs.
1331
430e004e
MK
13322015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1333
1334 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1335 macro.
1336 (func5): Removed.
1337 (func4): Use FAST_TRACEPOINT_LABEL.
1338 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1339 macro.
1340 (func): Removed.
1341 (thread_function): Use FAST_TRACEPOINT_LABEL.
1342 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1343 (func): Remove.
1344 (marker): Use FAST_TRACEPOINT_LABEL.
1345 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1346 (pendfunc1): Remove.
1347 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1348 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1349 (foo): Remove.
1350 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1351 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1352 macro.
1353 (func): Remove.
1354 (marker): Use FAST_TRACEPOINT_LABEL.
1355 * gdb.trace/trace-common.h: New header.
1356 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1357 macro.
1358 (func): Remove.
1359 (marker): Use FAST_TRACEPOINT_LABEL.
1360 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1361 (func): Remove.
1362 (thread_function): Use FAST_TRACEPOINT_LABEL.
1363
6e7675a7
MK
13642015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1365
1366 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1367 in front.
1368 * gdb.trace/change-loc.exp: Use global pcreg definition.
1369 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1370 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1371 in front.
1372 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1373 * gdb.trace/pending.exp: Likewise.
1374 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1375 * gdb.trace/trace-break.exp: Likewise.
1376 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1377 in front.
1378 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1379 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1380 in front.
1381 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1382
dddc0e16
JB
13832015-11-09 Joel Brobecker <brobecker@adacore.com>
1384
1385 * gdb.ada/fin_fun_out: New testcase.
1386
c6f0b406
KB
13872015-11-07 Kevin Buettner <kevinb@redhat.com>
1388
1389 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1390 value associated with DW_AT_byte_size.
1391 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1392 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1393 DW_AT_upper_bound.
1394
f01dcfd9
KB
13952015-11-07 Kevin Buettner <kevinb@redhat.com>
1396
1397 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1398 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1399 version.
1400 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1401 gdb.dwarf2/dw2-canonicalize-type.exp,
1402 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1403 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1404 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1405 provided by gdb_target_symbol_prefix_flags_asm.
1406 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1407 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1408 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1409 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1410 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1411 macros where needed). Use this macro for symbols which require
1412 the prefix provided by SYMBOL_PREFIX.
1413
2223449a
KB
14142015-11-05 Kevin Buettner <kevinb@redhat.com>
1415
1416 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1417 New procs.
1418 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1419 representing expressions, of more than one list element.
1420 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1421 to prepend linker symbol prefix to f.
1422 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1423 table_1 and table_2.
1424 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1425 Likewise, for f and g.
1426 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1427 for ptr.
1428 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1429 for main.
1430 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1431 table_1_ptr and table_2_ptr.
1432
6f2f1a3a
JK
14332015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1434 Joel Brobecker <brobecker@adacore.com>
1435
1436 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1437
566c56c9
MK
14382015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1439
1440 * gdb.reverse/s390-mvcle.c: New test.
1441 * gdb.reverse/s390-mvcle.exp: New file.
1442 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1443
d5f0636b
MK
14442015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1445
1446 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1447
7ad8b86c
MK
14482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1449
1450 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1451 reaching marker2.
1452 * gdb.reverse/getresuid-reverse.exp: Likewise.
1453 * gdb.reverse/pipe-reverse.exp: Likewise.
1454 * gdb.reverse/readv-reverse.exp: Likewise.
1455 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1456 * gdb.reverse/time-reverse.exp: Likewise.
1457 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1458
4081c0f1
YQ
14592015-10-30 Yao Qi <yao.qi@linaro.org>
1460
1461 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1462 (empty_cycle): Remove.
1463 (main): Don't call empty_cycle. Don't use watch_count_done.
1464 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1465 empty_cycle. Rewrite the code counting HW watchpoints.
1466
452b4ba5
MK
14672015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1468
1469 * gdb.reverse/fstatat-reverse.c: New test.
1470 * gdb.reverse/fstatat-reverse.exp: New file.
1471 * gdb.reverse/getresuid-reverse.c: New test.
1472 * gdb.reverse/getresuid-reverse.exp: New file.
1473 * gdb.reverse/pipe-reverse.c: New test.
1474 * gdb.reverse/pipe-reverse.exp: New file.
1475 * gdb.reverse/readv-reverse.c: New test.
1476 * gdb.reverse/readv-reverse.exp: New file.
1477 * gdb.reverse/recvmsg-reverse.c: New test.
1478 * gdb.reverse/recvmsg-reverse.exp: New file.
1479 * gdb.reverse/time-reverse.c: New test.
1480 * gdb.reverse/time-reverse.exp: New file.
1481 * gdb.reverse/waitpid-reverse.c: New test.
1482 * gdb.reverse/waitpid-reverse.exp: New file.
1483
5e2e7507
JK
14842015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1487
0fde2c53
DE
14882015-10-26 Doug Evans <dje@google.com>
1489
1490 PR symtab/17391
1491 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1492 * gdb.dwarf2/bad-regnum.c: New file.
1493 * gdb.dwarf2/bad-regnum.exp: New file.
1494
1a70ae97
DE
14952015-10-26 Doug Evans <dje@google.com>
1496
1497 PR python/18938
1498 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1499 file.
1500
27dc26ab
JK
15012015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1502
1503 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1504 for a change by "Mention language in compile error message".
1505
bed91f4d
SM
15062015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1507
1508 PR python/18073
1509 * gdb.python/py-type.c (C::a_method): New.
1510 (C::a_const_method): New.
1511 (C::a_static_method): New.
1512 (a_function): New.
1513 * gdb.python/py-type.exp (test_fields): Test getting fields
1514 from function and method.
1515
3f2f83dd
KB
15162015-10-21 Keven Boell <keven.boell@intel.com>
1517
1518 * gdb.fortran/vla-alloc-assoc.exp: New file.
1519 * gdb.fortran/vla-datatypes.exp: New file.
1520 * gdb.fortran/vla-datatypes.f90: New file.
1521 * gdb.fortran/vla-history.exp: New file.
1522 * gdb.fortran/vla-ptype-sub.exp: New file.
1523 * gdb.fortran/vla-ptype.exp: New file.
1524 * gdb.fortran/vla-sizeof.exp: New file.
1525 * gdb.fortran/vla-sub.f90: New file.
1526 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1527 * gdb.fortran/vla-value-sub-finish.exp: New file.
1528 * gdb.fortran/vla-value-sub.exp: New file.
1529 * gdb.fortran/vla-value.exp: New file.
1530 * gdb.fortran/vla-ptr-info.exp: New file.
1531 * gdb.mi/mi-vla-fortran.exp: New file.
1532 * gdb.mi/vla.f90: New file.
1533
27145d50
SL
15342015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1535
1536 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1537 of hardwired timeout value.
1538
5f3ff4f8
JK
15392015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1540 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1543 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1544
bfd09d20
JS
15452015-10-19 Josh Stone <jistone@redhat.com>
1546
1547 * gdb.base/catch-syscall.c: Include <sched.h>.
1548 (unknown_syscall): New variable.
1549 (main): Trigger a vfork and an unknown syscall.
1550 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1551 (unknown_syscall_number): Likewise.
1552 (check_call_to_syscall): Accept an optional syscall pattern.
1553 (check_return_from_syscall): Likewise.
1554 (check_continue): Likewise.
1555 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1556 (test_catch_syscall_skipping_return): New test toggling off 'catch
1557 syscall' to step over the syscall return, then toggling back on.
1558 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1559 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1560 (do_syscall_tests): Call test_catch_syscall_without_args and
1561 test_catch_syscall_mid_vfork.
1562 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1563 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1564
b32b93c6
AS
15652015-10-19 Andrew Stubbs <ams@codesourcery.com>
1566
1567 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1568 print g_vE): Add new pass patterns.
1569 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1570 print various symbol names for vptr fields.
1571
9d622bda
AB
15722015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1573
1574 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1575 results.
1576
0fd8ac1c
YQ
15772015-10-12 Yao Qi <yao.qi@linaro.org>
1578
1579 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1580
34240514
YQ
15812015-10-12 Yao Qi <yao.qi@linaro.org>
1582
1583 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1584 is aarch64*-*-linux*.
1585
8240f442
YQ
15862015-10-12 Yao Qi <yao.qi@linaro.org>
1587
1588 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1589 (can_relocate_bcond_true): ... it.
1590 (can_relocate_bcond_false): New function.
1591 (foo): Likewise.
1592 (can_relocate_bl): Likewise.
1593 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1594 can_relocate_bl.
1595
2520f728
PMR
15962015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1597
1598 * gdb.base/nested-addr.c: New file.
1599 * gdb.base/nested-addr.exp: New testcase.
1600
abcef95a
MM
16012015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1602
1603 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1604 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1605 its output. Ignore the output of "record goto begin" and instead
1606 check that GDB is replaying.
1607
145e3ddb
PA
16082015-10-09 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1611 (top level): Use it in the run with no args test.
1612
d5d8c4e1
IB
16132015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1614
1615 * gdb.dlang/properties.exp: New file.
1616
06e635ef
SL
16172015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1618
1619 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1620 whether or not address 0x1000 is mapped on the target.
1621
e019fd1d
SM
16222015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1623
1624 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1625 build.
1626
77ba2a67
MM
16272015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1628
1629 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1630 instruction-history test.
1631
c60eb31f
DE
16322015-09-28 Doug Evans <dje@google.com>
1633
1634 * gdb.base/gcore.c (array_func): Add reference to static_array.
1635
9a3c8263
SM
16362015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1637
1638 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1639 source line.
1640
9720e656
SL
16412015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1642
1643 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1644 short or char as base type.
1645
938d3bf2
SL
16462015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1647
1648 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1649 to allow any size enum.
1650
e6c2c623
PMR
16512015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1652
1653 * gdb.ada/array_ptr_renaming.exp: New testcase.
1654 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1655 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1656
06da0f77
PL
16572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1658
1659 * gdb.trace/ftrace-lock.c: New file.
1660 * gdb.trace/ftrace-lock.exp: New file.
1661
4f51c22a
PL
16622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1663
1664 * gdb.arch/insn-reloc.c: New file.
1665 * gdb.arch/ftrace-insn-reloc.exp: New file.
1666
7041adf4
PL
16672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1668
1669 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1670 instruction.
1671 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1672 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1673 * gdb.trace/range-stepping.c: Likewise.
1674 * gdb.trace/trace-break.c: Likewise.
1675 * gdb.trace/trace-mt.c (thread_function): Likewise.
1676 * gdb.trace/ftrace.c (marker): Likewise.
1677 * gdb.trace/trace-condition.c (marker): Likewise.
1678 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1679 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1680 is_aarch64_target.
1681
015d2e7e
DE
16822015-09-18 Doug Evans <xdje42@gmail.com>
1683
1684 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1685 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1686
26b188a2
SL
16872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1688
1689 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1690 the breakpoint.
1691
79dc332b
SL
16922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1693
1694 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1695 the pending breakpoint. Remove timeout override for "Run till
1696 MI pending breakpoint on pendfunc3 on thread 2" test.
1697
f57929f2
SL
16982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1699
1700 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1701 filename pattern.
1702
3f469b17
SL
17032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1704
1705 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1706 in breakpoint filename pattern.
1707
515b89b3
SL
17082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1709
7800dbe4
SL
1710 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1711
17122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1713
515b89b3
SL
1714 * gdb.linespec/explicit.exp: Check for readline support for
1715 tab-completion tests. Fix obvious typo.
1716
d2939ba2
MM
17172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1718
1719 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1720 and replay.
1721
cbb55fa7
MM
17222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1723
1724 * gdb.btrace/non-stop.c: New.
1725 * gdb.btrace/non-stop.exp: New.
1726
43691ca1
PL
17272015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1728 Yao Qi <yao.qi@linaro.org>
1729
1730 * gdb.trace/trace-condition.c: New file.
1731 * gdb.trace/trace-condition.exp: New file.
1732
d78908cf
WW
17332015-09-16 Wei-cheng Wang <cole945@gmail.com>
1734
1735 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1736 for testing bytecode compilation.
1737
1ed415e2
PA
17382015-09-16 Pedro Alves <palves@redhat.com>
1739 Sandra Loosemore <sandra@codesourcery.com>
1740
1741 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1742 (SECONDS): Redefine.
1743 (main): Call pthread_kill and alarm early.
1744 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1745 support.
1746 (test): If the target can't hardware step and doesn't support
1747 displaced stepping, increase the timeout.
1748
d136eff5
PA
17492015-09-16 Pedro Alves <palves@redhat.com>
1750
1751 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1752 (enable_debug): New procedures.
1753 (test): Use them. Bail out if waiting for threads fails.
1754 (top level): Bail out if a test fails.
1755
991f019c
YQ
17562015-09-16 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.asm/asm-source.exp: Set asm-arch for
1759 aarch64*-*-* target.
1760 * gdb.asm/aarch64.inc: New file.
1761
bfca584f
PMR
17622015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1763
1764 * gdb.ada/array_of_variable_length.exp: New testcase.
1765 * gdb.ada/array_of_variable_length/foo.adb: New file.
1766 * gdb.ada/array_of_variable_length/pck.adb: New file.
1767 * gdb.ada/array_of_variable_length/pck.ads: New file.
1768
b326e587
DE
17692015-09-15 Doug Evans <dje@google.com>
1770
1771 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1772 of function static local variable.
1773
5382cfab
PW
17742015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1775
1776 * gdb.threads/tls-so_extern.exp: New test file.
1777 * gdb.threads/tls-so_extern.c: New test file.
1778 * gdb.threads/tls-so_extern_main.c: New test file.
1779
141c5cc4
JK
17802015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1781
1782 * gdb.opt/solib-intra-step-lib.c: New file.
1783 * gdb.opt/solib-intra-step-main.c: New file.
1784 * gdb.opt/solib-intra-step.exp: New file.
1785
d15dcecd
PA
17862015-09-15 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1789 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1790
4c2f2a79
PA
17912015-09-14 Pedro Alves <palves@redhat.com>
1792
1793 * gdb.base/hook-stop-continue.c: Delete.
1794 * gdb.base/hook-stop-continue.exp: Delete.
1795 * gdb.base/hook-stop-frame.c: Delete.
1796 * gdb.base/hook-stop-frame.exp: Delete.
1797 * gdb.base/hook-stop.c: New file.
1798 * gdb.base/hook-stop.exp: New file.
1799
919e6dbe
PMR
18002015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1801
1802 * gdb.ada/access_to_packed_array.exp: New testcase.
1803 * gdb.ada/access_to_packed_array/foo.adb: New file.
1804 * gdb.ada/access_to_packed_array/pack.adb: New file.
1805 * gdb.ada/access_to_packed_array/pack.ads: New file.
1806
157280a4
MM
18072015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1808
1809 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1810 buffer size test.
1811
2fd33e94
DB
18122015-09-11 Don Breazeal <donb@codesourcery.com>
1813
1814 * gdb.base/foll-exec.c: Add copyright header. Fix
1815 formatting issues.
1816 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1817 (do_exec_tests): Use clean_restart in place of zap_session,
1818 and for test initialization. Fix formatting issues. Use
1819 fail in place of perror.
1820 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1821 an expect statement to match an expression with output from
1822 the program under debug.
1823 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1824 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1825 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1826 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1827 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1828
e70b6e8e
DE
18292015-09-09 Doug Evans <dje@google.com>
1830
1831 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1832
7a551a51
DE
18332015-09-09 Doug Evans <dje@google.com>
1834
1835 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1836
4c666f84
DE
18372015-09-09 Doug Evans <dje@google.com>
1838
1839 * gdb.base/savedregs.exp: Fix typo.
1840
243a9253
PA
18412015-09-09 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1844
c0fa8fbd
SL
18452015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1846
1847 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1848 command actually switches threads. Give up on remaining
1849 tests if target fails to stop at breakpoint.
1850
cd7c1778
PMR
18512015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1852
1853 * gdb.ada/funcall_char.exp: New testcase.
1854 * gdb.ada/funcall_char/foo.adb: New file.
1855
dc5c8746
PMR
18562015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1857
1858 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1859 expected outputs. Add two testcases for completing ambiguous
1860 functions.
1861 * gdb.ada/complete/aux_pck.adb: New file.
1862 * gdb.ada/complete/aux_pck.ads: New file.
1863 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1864 Ambiguous_Func functions.
1865 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1866 * gdb.ada/complete/pck.adb: Likewise.
1867
4e83a1e7
UW
18682015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1869
1870 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1871 failures to run the test program under GDB.
1872
8ce74153
LM
18732015-08-26 Luis Machado <lgustavo@codesourcery.com>
1874
1875 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1876 to C.
1877
e9756d52
PP
18782015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1879
1880 * gdb.base/run-after-attach.exp: New test file.
1881 * gdb.base/run-after-attach.c: New test file.
1882
8d37573b
DB
18832015-08-26 Don Breazeal <donb@codesourcery.com>
1884
1885 * gdb.base/foll-exec-2.c: New test program.
1886 * gdb.base/foll-exec-2.exp: New test.
1887
63e43d3a
PMR
18882015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1889
1890 * gdb.base/nested-subp1.exp: New file.
1891 * gdb.base/nested-subp1.c: New file.
1892 * gdb.base/nested-subp2.exp: New file.
1893 * gdb.base/nested-subp2.c: New file.
1894 * gdb.base/nested-subp3.exp: New file.
1895 * gdb.base/nested-subp3.c: New file.
1896
3d40fbb5
PA
18972015-08-24 Pedro Alves <palves@redhat.com>
1898
1899 * gdb.server/connect-without-multi-process.c: New file.
1900 * gdb.server/connect-without-multi-process.exp: New file.
1901
4422ac93
LM
19022015-08-24 Luis Machado <lgustavo@codesourcery.com>
1903
1904 * gdb.opt/inline-markers.c: Make z int.
1905
91dddb86
LM
19062015-08-24 Luis Machado <lgustavo@codesourcery.com>
1907
1908 * gdb.opt/inline-markers.c: Make z volatile.
1909
a48847ee
LM
19102015-08-24 Luis Machado <lgustavo@codesourcery.com>
1911
1912 * gdb.opt/inline-bt.c: New volatile global z.
1913 * gdb.opt/inline-cmds.c: Likewise.
1914 * gdb.opt/inline-locals.c: Likewise.
1915 * gdb.opt/inline-markers.c: New extern global z.
1916 (marker): Use z.
1917 (inline_fn): Likewise.
1918
0ebbc52b
PA
19192015-08-24 Pedro Alves <palves@redhat.com>
1920
1921 * config/m32r-stub.exp: Remove file.
1922 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1923 * gdb.base/call-rt-st.exp: Likewise.
1924 * gdb.base/call-strs.exp: Likewise.
1925 * gdb.base/default.exp: Remove references to h8300-*-hms and
1926 *-*-udi*.
1927 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1928
77c365df
AA
19292015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1930
1931 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1932 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1933 and "return" use KFAIL when GDB can not read/write the vector
1934 return value.
1935
4313b8c0
GB
19362015-08-21 Gary Benson <gbenson@redhat.com>
1937
1938 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1939
0e433b32
PA
19402015-08-20 Pedro Alves <palves@redhat.com>
1941
1942 * gdb.server/solib-list.exp: No longer expect an interior stop in
1943 non-stop mode.
1944
221e1a37
PA
19452015-08-20 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.server/connect-stopped-target.c: New file.
1948 * gdb.server/connect-stopped-target.exp: New file.
1949
40e3ad0e
PA
19502015-08-20 Pedro Alves <palves@redhat.com>
1951
1952 * gdb.dwarf2/comp-unit-lang.exp: New file.
1953 * gdb.dwarf2/comp-unit-lang.c: New file.
1954
af39b327
PMR
19552015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1956
1957 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1958 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1959
7d45c7c3 19602015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1961
7d45c7c3
KB
1962 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1963 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1964
4d6cceb4
DE
19652015-08-18 Doug Evans <dje@google.com>
1966 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1967
1968 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1969 skip_python_tests. New arg prompt_regexp.
1970 (skip_python_tests): New function.
1971 * lib/mi-support.exp (mi_skip_python_tests): New function.
1972 * gdb.python/py-mi-objfile-gdb.py: New file.
1973 * gdb.python/py-mi-objfile.c: New file.
1974 * gdb.python/py-mi-objfile.exp: New file.
1975
ad89c2aa
KS
19762015-08-17 Keith Seitz <keiths@redhat.com>
1977
1978 * gdb.linespec/explicit.exp: Move strace test from here ...
1979 * gdb.trace/strace.exp: ... to here.
1980
e3ae3c43
PP
19812015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1982
1983 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1984 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1985
604b2636
DE
19862015-08-14 Doug Evans <xdje42@gmail.com>
1987
1988 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1989 inferior before selecting a new file.
1990
6ff0ba5f
DE
19912015-08-14 Doug Evans <xdje42@gmail.com>
1992
1993 * gdb.mi/mi-disassemble.exp: Update.
1994 * gdb.base/disasm-optim.S: New file.
1995 * gdb.base/disasm-optim.c: New file.
1996 * gdb.base/disasm-optim.h: New file.
1997 * gdb.base/disasm-optim.exp: New file.
1998
9ca98f92
KS
19992015-08-14 Keith Seitz <keiths@redhat.com>
2000
2001 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2002 "evaluated-by".
2003
52bbc560
JB
20042015-08-13 Joel Brobecker <brobecker@adacore.com>
2005
2006 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2007
5d8c3ed3
PMR
20082015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2009
2010 * gdb.ada/fun_renaming.exp: New testcase.
2011 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2012 * gdb.ada/fun_renaming/pack.adb: New file.
2013 * gdb.ada/fun_renaming/pack.ads: New file.
2014
ea8812bc
KS
20152015-08-12 Keith Seitz <keiths@redhat.com>
2016
2017 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2018 gdb_get_line_number.
2019
4dafcdeb
JB
20202015-08-12 Joel Brobecker <brobecker@adacore.com>
2021
2022 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2023 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2024 gdb.base/dso2dso.exp: New files.
2025
5ba32597
SDJ
20262015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2027 Pedro Alves <palves@redhat.com>
2028 Keith Seitz <keiths@redhat.com>
2029
2030 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2031 GDBFLAGS.
2032
b6dafabf
PP
20332015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2034
2035 * gdb.base/gdbhistsize-history.exp
2036 (test_histsize_history_setting): Use save_vars.
2037 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2038 Use save_vars.
2039 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2040 * gdb.base/readline.exp: Use save_vars.
2041
abe8e607
PP
20422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2043
2044 * lib/gdb.exp (save_vars): New proc.
2045
629500fa
KS
20462015-08-11 Keith Seitz <keiths@redhat.com>
2047
2048 * gdb.base/help.exp: Update help_breakpoint_text.
2049
eb8c4e2e
KS
20502015-08-11 Keith Seitz <keiths@redhat.com>
2051
2052 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2053 (at toplevel): Call test_explicit_breakpoints.
2054 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2055 breakpoints.
2056 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2057 breakpoint conditions, "-cond".
2058
87f0e720
KS
20592015-08-11 Keith Seitz <keiths@redhat.com>
2060
2061 * gdb.linespec/3explicit.c: New file.
2062 * gdb.linespec/cpexplicit.cc: New file.
2063 * gdb.linespec/cpexplicit.exp: New file.
2064 * gdb.linespec/explicit.c: New file.
2065 * gdb.linespec/explicit.exp: New file.
2066 * gdb.linespec/explicit2.c: New file.
2067 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2068 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2069 before using in the matching pattern.
2070 Clarify that `prefix' is a regular expression.
2071
f00aae0f
KS
20722015-08-11 Keith Seitz <keiths@redhat.com>
2073
2074 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2075 test.
2076 Add tests for missing ",FMT" and ",".
2077
e27852be
DE
20782015-08-10 Doug Evans <dje@google.com>
2079 Keith Seitz <keiths@redhat.com>
2080
2081 PR gdb/17960
2082 * gdb.base/completion.exp: Add location completer tests.
2083
7f03bd92
PA
20842015-08-07 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2087 tests here.
2088 (top level): Run do_test with and without displaced stepping.
2089
3fc8eb30
PA
20902015-08-07 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/valgrind-disp-step.c: New file.
2093 * gdb.base/valgrind-disp-step.exp: New file.
2094
d4569d7b
PA
20952015-08-07 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2098 Delete function.
2099 (main): Add alarm. Run an infinite loop instead of calling
2100 wait_threads.
2101 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2102 comment.
2103 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2104 Delete function.
2105 (main): Add alarm. Run an infinite loop instead of calling
2106 wait_threads.
2107 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2108 comment.
2109
e1316e60
PA
21102015-08-07 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.base/checkpoint-ns.exp: New file.
2113 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2114 standard_testfile.
2115
da8c46d2
MM
21162015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2117
2118 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2119 * gdb.btrace/instruction_history.exp: Update.
2120 * gdb.btrace/tsx.exp: New.
2121 * gdb.btrace/tsx.c: New.
2122
de1c2c52
PA
21232015-08-06 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2126 increase timeout.
2127 * gdb.reverse/until-precsave.exp: Bump timeouts.
2128
782e0bf4
PA
21292015-08-06 Pedro Alves <palves@redhat.com>
2130
2131 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2132
83e97ed0
PA
21332015-08-06 Pedro Alves <palves@redhat.com>
2134
2135 PR gdb/18749
2136 * gdb.threads/process-dies-while-handling-bp.c: New file.
2137 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2138
863d01bd
PA
21392015-08-06 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2142 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2143
0a39bb32
PA
21442015-08-05 Pedro Alves <palves@redhat.com>
2145
2146 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2147 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2148
ee2d2b10
SL
21492015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2150
2151 * gdb.base/bp-permanent.exp: Report test as unsupported if
2152 the target cannot stop at the permanent breakpoint.
2153
4e1bdb00
DE
21542015-08-03 Doug Evans <dje@google.com>
2155
2156 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2157 10000.
2158
3d338901
DE
21592015-08-03 Doug Evans <dje@google.com>
2160
2161 * Makefile.in (workers/%.worker, build-perf): New rule.
2162 (GDB_PERFTEST_MODE): New variable.
2163 (check-perf): Use it.
2164 (clean): Clean up gdb.perf parallel build subdirs.
2165 * lib/build-piece.exp: New file.
2166 * lib/gdb.exp (make_gdb_parallel_path): New function
2167 (standard_output_file, standard_temp_file): Call it.
2168 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2169 of $GDB_PARALLEL.
2170 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2171
af061d3e
DE
21722015-08-03 Doug Evans <dje@google.com>
2173
8e1afc81 2174 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2175 (LOG_FILE_NAME): New global.
2176 (TextReporter.__init__): Initialize self.txt_sum.
2177 (TextReporter.report): Add support for multiple data-points.
2178 Move report to perftest.sum, put raw data in perftest.log.
2179 (TextReporter.start): Open sum and log files.
2180 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2181 * gdb.perf/lib/perftest/testresult.py
2182 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2183
2c8c5d37
PA
21842015-07-31 Pedro Alves <palves@redhat.com>
2185
2186 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2187 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2188 kill_wait_spawned_process instead of explicit "kill -9".
2189 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2190 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2191 kill_wait_spawned_process.
2192 * gdb.base/attach-twice.exp: Likewise.
2193 * gdb.base/attach.exp: Likewise.
2194 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2195 gdb_test_multiple.
2196 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2197 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2198 kill_wait_spawned_process.
2199 * gdb.base/valgrind-infcall.exp: Likewise.
2200 * gdb.multi/multi-attach.exp: Likewise.
2201 * gdb.python/py-prompt.exp: Likewise.
2202 * gdb.python/py-sync-interp.exp: Likewise.
2203 * gdb.server/ext-attach.exp: Likewise.
2204 * gdb.threads/attach-into-signal.exp (corefunc): Use
2205 spawn_wait_for_attach, spawn_id_get_pid and
2206 kill_wait_spawned_process.
2207 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2208 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2209 spawn_id_get_pid and kill_wait_spawned_process.
2210 * gdb.threads/attach-stopped.exp (corefunc): Use
2211 spawn_wait_for_attach, spawn_id_get_pid and
2212 kill_wait_spawned_process.
2213 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2214 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2215 kill_wait_spawned_process instead of explicit "kill -9".
2216 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2217 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2218 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2219 processes. Don't map cygwin/windows pids here. Now returns a
2220 spawn id list.
2221
032a0fca
SL
22222015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2223
2224 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2225 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2226 correct patch.
2227
61a934ca
SL
22282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2229
2230 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2231
4bc4d428
SL
22322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2233
2234 Reapply:
2235 2014-05-21 Mark Wielaard <mjw@redhat.com>
2236
2237 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2238
998d452a
PA
22392015-07-30 Pedro Alves <palves@redhat.com>
2240
2241 * linux-low.c (handle_extended_wait): Set the child's last
2242 reported status to TARGET_WAITKIND_STOPPED.
2243
69dde7dc
PA
22442015-07-30 Pedro Alves <palves@redhat.com>
2245
2246 PR threads/18600
2247 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2248 only shows inferior 1.
2249
4dd63d48
PA
22502015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2251 Pedro Alves <palves@redhat.com>
2252
2253 PR threads/18600
2254 * gdb.threads/fork-plus-threads.c: New file.
2255 * gdb.threads/fork-plus-threads.exp: New file.
2256
d618e4c5
PP
22572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2258
2259 * gdb.base/batch-preserve-term-settings.exp
2260 (test_terminal_settings_preserved_after_cli_exit): Use
2261 send_quit_command.
2262
1eef6428
PA
22632015-07-29 Pedro Alves <palves@redhat.com>
2264 Don Breazeal <donb@codesourcery.com>
2265
2266 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2267 output from both inferior_spawn_id and gdb_spawn_id.
2268
7da5b897
SDJ
22692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2270
2271 * gdb.threads/attach-into-signal.exp (corefunc): Use
2272 with_test_prefix on nested loops, uniquefying the test messages.
2273
dac804df
SDJ
22742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2275
2276 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2277 commit.
2278
06265e53
PP
22792015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2280
2281 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2282 New proc.
2283 (test_terminal_settings_preserved_after_sigterm): New test.
2284
18206ca3
PP
22852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2286
2287 * gdb.base/batch-preserve-term-settings.exp
2288 (test_terminal_settings_preserved_after_cli_exit): New test.
2289
90074d11
PP
22902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2291
2292 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2293 manipulation of saved_gdbflags.
2294 (test_terminal_settings_preserved): Remove global declaration of
2295 the unused variable pagination_prompt. Remove manipulation of
2296 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2297 GDBFLAGS.
2298
eb1a7902
PA
22992015-07-29 Pedro Alves <palves@redhat.com>
2300
2301 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2302
8b75dd3b
PA
23032015-07-29 Pedro Alves <palves@redhat.com>
2304
2305 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2306 at the top.
2307
dedad4e3
PA
23082015-07-29 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2311 (main): Call gdb_unbuffer_output.
2312 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2313 (main): Call gdb_unbuffer_output.
2314 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2315 (main): Call gdb_unbuffer_output.
2316 * gdb.base/call-strs.exp: Adjust to step over the
2317 gdb_unbuffer_output call.
2318 * gdb.base/catch-gdb-caused-signals.c: Include
2319 "../lib/unbuffer_output.c".
2320 (main): Call gdb_unbuffer_output.
2321 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2322 (main): Call gdb_unbuffer_output.
2323 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2324 (main): Call gdb_unbuffer_output.
2325 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2326 (main): Call gdb_unbuffer_output.
2327 * gdb.base/shlib-call.exp: Adjust to step over the
2328 gdb_unbuffer_output call.
2329 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2330 (main): Call gdb_unbuffer_output.
2331 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2332 (main): Call gdb_unbuffer_output.
2333 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2334 (main): Rename to ...
2335 (test): ... this.
2336 (main): Reimplement.
2337 * gdb.base/varargs.exp: Run to test instead of to main.
2338 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2339 (main): Call gdb_unbuffer_output.
2340
58789a91
PA
23412015-07-29 Pedro Alves <palves@redhat.com>
2342
2343 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2344 factore out from mi_continue_dprintf. For call-style dprintfs,
2345 expect dprintf output out of $inferior_spawn_id.
2346 (mi_continue_dprintf): Use mi_expect_dprintf.
2347 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2348 (main): Call gdb_unbuffer_output.
2349
e8376742
PA
23502015-07-29 Pedro Alves <palves@redhat.com>
2351
2352 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2353 (default_mi_gdb_start): Set inferior_spawn_id instead of
2354 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2355 gdb_spawn_id.
2356 (mi_gdb_test): Always expect inferior output from both
2357 $inferior_spawn_id and $gdb_spawn_id.
2358
08280010
PA
23592015-07-29 Pedro Alves <palves@redhat.com>
2360
2361 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2362 send_inferior and $inferior_spawn_id.
2363
4d30e432
PA
23642015-07-29 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.gdb/complaints.exp (test_initial_complaints)
2367 (test_serial_complaints, test_short_complaints): Use
2368 gdb_test_stdio.
2369 (test_empty_complaint): Handle $inferior_spawn_id !=
2370 $gdb_spawn_id.
2371
0d30a335
PA
23722015-07-29 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.base/varargs.exp: Use gdb_test_stdio.
2375
39413b29
PA
23762015-07-29 Pedro Alves <palves@redhat.com>
2377
2378 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2379
7cb000a9
PA
23802015-07-29 Pedro Alves <palves@redhat.com>
2381
2382 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2383
d7b8ac82
PA
23842015-07-29 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2387 parameter into two new parameters, "inf_result" and "gdb_result".
2388 Expect inferior output and gdb output from $inferior_spawn_id and
2389 $gdb_spawn_id, respectively. Adjust all callers.
2390
789c3a0c
PA
23912015-07-29 Pedro Alves <palves@redhat.com>
2392
2393 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2394 of gdb_test_sequence.
2395
77e760c3
PA
23962015-07-29 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2399 (saw_spurious_output): Expect inferior output from
2400 $inferior_spawn_id. Use gdb_test_stdio.
2401
8396d2cd
PA
24022015-07-29 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.base/dprintf.exp: Use standard_testfile. Change
2405 prepare_for_testing call.
2406 (srcfile): Don't set.
2407 (restart): New procedure.
2408 (test_dprintf): New procecure, use to continue over dprintfs.
2409 (test_call, test_agent): New procedures, tests moved here.
2410 Restart gdb and recreate dprintfs. Adjust expected output.
2411
2051d61f
PA
24122015-07-29 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2415
452397af
PA
24162015-07-29 Pedro Alves <palves@redhat.com>
2417
2418 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2419
8aed9555
PA
24202015-07-29 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2423 gdb_test_stdio.
2424
188a61b4
PA
24252015-07-29 Pedro Alves <palves@redhat.com>
2426
2427 * lib/gdb.exp (gdb_test_stdio): New procedure.
2428
12264a45
PA
24292015-07-29 Pedro Alves <palves@redhat.com>
2430
2431 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2432
23ffc893
PA
24332015-07-29 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/call-signal-resume.exp: Remove check for
2436 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2437 * gdb.base/unwindonsignal.exp: Likewise.
2438 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2439 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2440
65566918
PA
24412015-07-29 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.base/siginfo-addr.c (pass): New function.
2444 (handler): Call it iff si_addr is correct.
2445 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2446 Set a breakpoint at "pass" and continue to it.
2447
d60a9221
SDJ
24482015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2449
2450 * gdb.python/py-objfile.exp: Make some tests have unique names.
2451 * gdb.python/py-pp-registration.exp: Likewise.
2452
bde40b8f
PA
24532015-07-28 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2456
13e1dec8
SM
24572015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2458
2459 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2460
da33c9a7
SM
24612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2462
2463 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2464
077836f7
PP
24652015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2466
2467 * gdb.base/gdb-sigterm-2.exp: New test.
2468
b8cc7b2e
DE
24692015-07-25 Doug Evans <xdje42@gmail.com>
2470
2471 Revert:
2472 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2473 (workers/%.worker, build-perf): New rule.
2474 (GDB_PERFTEST_MODE): New variable.
2475 (check-perf): Use it.
2476 (clean): Clean up gdb.perf parallel build subdirs.
2477 * lib/build-piece.exp: New file.
2478 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2479 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2480 name.
2481 (standard_temp_file): Ditto.
2482 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2483 of $GDB_PARALLEL.
2484
c8bd4544
DE
24852015-07-24 Doug Evans <dje@google.com>
2486
2487 * gdb.perf/lib/perftest/utils.py: New file.
2488 * gdb.perf/gm-hello.cc: New file.
2489 * gdb.perf/gm-pervasive-typedef.cc: New file.
2490 * gdb.perf/gm-pervasive-typedef.h: New file.
2491 * gdb.perf/gm-std.cc: New file.
2492 * gdb.perf/gm-std.h: New file.
2493 * gdb.perf/gm-use-cerr.cc: New file.
2494 * gdb.perf/gm-utils.h: New file.
2495 * gdb.perf/gmonster-null-lookup.py: New file.
2496 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2497 * gdb.perf/gmonster-print-cerr.py: New file.
2498 * gdb.perf/gmonster-ptype-string.py: New file.
2499 * gdb.perf/gmonster-runto-main.py: New file.
2500 * gdb.perf/gmonster-select-file.py: New file.
2501 * gdb.perf/gmonster1-null-lookup.exp: New file.
2502 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2503 * gdb.perf/gmonster1-print-cerr.exp: New file.
2504 * gdb.perf/gmonster1-ptype-string.exp: New file.
2505 * gdb.perf/gmonster1-runto-main.exp: New file.
2506 * gdb.perf/gmonster1-select-file.exp: New file.
2507 * gdb.perf/gmonster1.cc: New file.
2508 * gdb.perf/gmonster1.exp: New file.
2509 * gdb.perf/gmonster2-null-lookup.exp: New file.
2510 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2511 * gdb.perf/gmonster2-print-cerr.exp: New file.
2512 * gdb.perf/gmonster2-ptype-string.exp: New file.
2513 * gdb.perf/gmonster2-runto-main.exp: New file.
2514 * gdb.perf/gmonster2-select-file.exp: New file.
2515 * gdb.perf/gmonster2.cc: New file.
2516 * gdb.perf/gmonster2.exp: New file.
2517
6eab34f3
DE
25182015-07-24 Doug Evans <dje@google.com>
2519
2520 * gdb.perf/README: New file.
2521 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2522 * lib/gen-perf-test.exp: New file.
2523
63738bfd
DE
25242015-07-24 Doug Evans <dje@google.com>
2525
2526 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2527 (PerfTest::startup): New function.
2528 (PerfTest::run): Return result of calling body.
2529 (PerfTest::assemble): Rewrite.
2530 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2531 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2532 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2533 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2534 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2535
7b606f95
DE
25362015-07-24 Doug Evans <dje@google.com>
2537
2538 * lib/gdb.exp (clean_restart): Make executable optional.
2539
a97b16b8
DE
25402015-07-24 Doug Evans <dje@google.com>
2541
2542 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2543 compiler_info references.
2544 * gdb.cp/temargs.exp: Ditto.
2545 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2546 (get_compiler_info): Early exit if already computed. Set compiler_info
2547 to "unknown" if there was a problem.
2548 (test_compiler_info): Add function comment. Call get_compiler_info.
2549
35baa57f
DE
25502015-07-24 Doug Evans <dje@google.com>
2551
2552 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2553 (workers/%.worker, build-perf): New rule.
2554 (GDB_PERFTEST_MODE): New variable.
2555 (check-perf): Use it.
2556 (clean): Clean up gdb.perf parallel build subdirs.
2557 * lib/build-piece.exp: New file.
2558 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2559 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2560 name.
2561 (standard_temp_file): Ditto.
2562 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2563 of $GDB_PARALLEL.
2564
6ebea266
DE
25652015-07-24 Doug Evans <dje@google.com>
2566
2567 * lib/future.exp (gdb_default_target_compile): New option
2568 "early_flags".
2569 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2570 --as-needed.
2571
1e76a7e9
SDJ
25722015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2573
2574 * gdb.base/catch-syscall.exp: Call gdb_exit before
2575 gdb_skip_xml_test.
2576
5068630a
PA
25772015-07-24 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.python/py-events.exp: Accept output between the stop event
2580 and the prompt.
2581 * gdb.python/py-evsignal.exp: Likewise.
2582 * gdb.python/py-evthreads.exp: Likewise.
2583
77598427
PA
25842015-07-24 Pedro Alves <palves@redhat.com>
2585
2586 PR gdb/18717
2587 * gdb.threads/non-ldr-exit.c: New file.
2588 * gdb.threads/non-ldr-exit.exp: New file.
2589
11e6c98f
YQ
25902015-07-24 Yao Qi <yao.qi@linaro.org>
2591
2592 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2593 restarting process.
2594
51aee833
YQ
25952015-07-24 Yao Qi <yao.qi@linaro.org>
2596
2597 * gdb.server/ext-restart.exp: New file.
2598
8cfe207c
YQ
25992015-07-24 Yao Qi <yao.qi@linaro.org>
2600
2601 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2602 argument options.
2603 * gdb.server/ext-wrapper.exp: New file.
2604
cc12ce38
DE
26052015-07-23 Doug Evans <dje@google.com>
2606
2607 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2608 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2609
d0d84780
PMR
26102015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2611
2612 * gdb.ada/var_arr_typedef.exp: New testcase.
2613 * gdb.ada/var_arr_typedef/pack.adb: New file.
2614 * gdb.ada/var_arr_typedef/pack.ads: New file.
2615 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2616
8b558f79
JB
26172015-07-20 Joel Brobecker <brobecker@adacore.com>
2618
2619 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2620
775a3298
JK
26212015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.arch/i386-biarch-core.exp: Replace istarget
2624 by "complete set gnutarget". Remove expectation for the "core-file"
2625 command.
2626
db1ff28b
JK
26272015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2628
2629 Revert the previous commit:
2630 Tests for validate symbol file using build-id.
2631
0a94970d
JK
26322015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2633
2634 Tests for validate symbol file using build-id.
2635 * gdb.base/solib-mismatch-lib.c: New file.
2636 * gdb.base/solib-mismatch-libmod.c: New file.
2637 * gdb.base/solib-mismatch.c: New file.
2638 * gdb.base/solib-mismatch.exp: New file.
2639
03346981
SL
26402015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2641
2642 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2643 nios2-*-linux*.
2644 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2645 * gdb.base/siginfo.exp: Likewise.
2646 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2647
42422cc7
PL
26482015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2649
2650 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2651 Move it to ...
2652 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2653 ... here.
2654 * gdb.trace/range-stepping.exp: Check that the target supports
2655 range stepping.
2656
cfa68bae
JK
26572015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2658
2659 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2660
8ffdba26
PA
26612015-07-14 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.base/killed-outside.exp: New file.
2664 * gdb.base/killed-outside.c: New file.
2665
218a5a11
JK
26662015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2667
2668 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2669 (n at main): New.
2670 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2671
e03ed3c6
AA
26722015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2673
2674 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2675 infcall tests instead of setting up for KFAIL.
2676
485668e5
MM
26772015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2678
2679 * gdb.btrace/record_goto-step.exp: New.
2680
08464196
JK
26812015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2682
2683 PR compile/18484
2684 * gdb.compile/compile.c (struct struct_type): Add volatile to
2685 selffield's type.
2686 * gdb.compile/compile.exp
2687 (compile code struct_object.selffield = &struct_object): Skip further
2688 struct_object tests if this one xfails.
2689
bcf5c1d9
RC
26902015-07-08 Robert O'Callahan <robert@ocallahan.org>
2691
2692 PR exp/18617
2693 * gdb.trace/ax.exp: Add test.
2694
4931af25
YQ
26952015-07-07 Yao Qi <yao.qi@linaro.org>
2696
2697 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2698 instead of istarget "aarch64*-*-*".
2699 * gdb.arch/aarch64-fp.exp: Likewise.
2700 * gdb.base/float.exp: Likewise.
2701 * gdb.reverse/aarch64.exp: Likewise.
2702 * lib/gdb.exp (is_aarch64_target): New proc.
2703
9fcf688e
YQ
27042015-07-07 Yao Qi <yao.qi@linaro.org>
2705
2706 * lib/gdb.exp (is_aarch32_target): New proc.
2707 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2708 instead of "istarget "arm*-*-*"".
2709 * gdb.arch/arm-disp-step.exp: Likewise.
2710 * gdb.arch/thumb-bx-pc.exp: Likewise.
2711 * gdb.arch/thumb-prologue.exp: Likewise.
2712 * gdb.arch/thumb-singlestep.exp: Likewise.
2713 * gdb.base/disp-step-syscall.exp: Likewise.
2714 * gdb.base/float.exp: Likewise.
2715
fbd8d50d
YQ
27162015-07-07 Yao Qi <yao.qi@linaro.org>
2717
2718 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2719 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2720
71be1fdc
YQ
27212015-07-07 Yao Qi <yao.qi@linaro.org>
2722
2723 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2724 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2725 if it exists.
2726 * gdb.multi/multi-arch.exp: Likewise.
2727
3e221d36
SM
27282015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2729
2730 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2731 print.
2732
d441430b
YQ
27332015-07-07 Yao Qi <yao.qi@linaro.org>
2734
2735 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2736
06f810bd
MG
27372015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2738
2739 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2740 '[' and ']' characters.
2741
5e61e7c0
IB
27422015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2743
2744 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2745
28bf096c
PA
27462015-06-29 Pedro Alves <palves@redhat.com>
2747
2748 PR threads/18127
2749 * gdb.threads/hand-call-new-thread.c: New file.
2750 * gdb.threads/hand-call-new-thread.c: New file.
2751
ee93cd5e
KS
27522015-06-26 Keith Seitz <keiths@redhat.com>
2753 Doug Evans <dje@google.com>
2754
2755 PR 16253
2756 * gdb.cp/var-tag-2.cc: New file.
2757 * gdb.cp/var-tag-3.cc: New file.
2758 * gdb.cp/var-tag-4.cc: New file.
2759 * gdb.cp/var-tag.cc: New file.
2760 * gdb.cp/var-tag.exp: New file.
2761
fc637f04
PP
27622015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2763
2764 * gdb.base/history-duplicates.exp: New test.
2765
2e52ae68
PP
27662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2767
2768 * gdb.base/completion.exp: Test the completion of the "focus"
2769 command.
2770
6e22494e
JK
27712015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.arch/amd64-prologue-skip.S: New file.
2774 * gdb.arch/amd64-prologue-skip.exp: New file.
2775
bf7b9cd9
SM
27762015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2777
2778 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2779 is_address_zero_readable check.
2780
201e8dfd
PB
27812015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2782
2783 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2784 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2785
5cd867b4
YQ
27862015-06-24 Yao Qi <yao.qi@linaro.org>
2787
2788 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2789 linux targets.
2790
4d7be007
YQ
27912015-06-24 Yao Qi <yao.qi@linaro.org>
2792
2793 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2794 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2795 * gdb.base/siginfo-thread.exp: Likewise.
2796
07fcd301
YQ
27972015-06-22 Yao Qi <yao.qi@linaro.org>
2798
2799 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2800
52042a00
YQ
28012015-06-22 Yao Qi <yao.qi@linaro.org>
2802
2803 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2804 aarch64*-*-*.
2805 (skip_hw_watchpoint_tests): Likewise.
2806
74bd41ce
PP
28072015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2808
2809 * gdb.base/gdbinit-history.exp: Test the interaction between
2810 setting GDBHISTSIZE and setting the history size via .gdbinit.
2811
bc460514
PP
28122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2813
2814 PR gdb/16999
2815 * gdb.base/gdbhistsize-history.exp: New test.
2816
b58c513b
PP
28172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2818
2819 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2820 with GDBHISTSIZE.
2821 * gdb.base/readline.exp: Likewise.
2822
92046791
YQ
28232015-06-17 Yao Qi <yao.qi@linaro.org>
2824
2825 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2826 line.
2827
2093d2d3
PP
28282015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2829
2830 * gdb.base/gdbinit-history.exp: Add test case to check that
2831 an unlimited history file does not get truncated on exit.
2832
e6c693af
AA
28332015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2834
2835 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2836 (VECTOR): New macro. Use it...
2837 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2838 ...for these typedefs.
2839 (int8, char1, int1, double1): New typedefs.
2840 (struct just_int2, struct two_int2): New structures.
2841 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2842 (add_structvecs, add_singlevecs): New functions.
2843 (main): Call add_some_intvecs twice.
2844 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2845 the compile and exit upon failure. Try compiling for the "native"
2846 architecture. Test inferior function calls with vector arguments
2847 and vector return value handling with "finish" and "return".
2848
c74f7d1c
JT
28492015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2850
2851 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2852 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2853 PE file.
2854 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2855
98aa42ee
AT
28562015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2857
2858 PR breakpoints/16465
2859 * gdb.mi/mi-dprintf-pending.c: New file.
2860 * gdb.mi/mi-dprintf-pending.exp: New test.
2861 * gdb.mi/mi-dprintf-pendshr.c: New file.
2862
7d73c23c 28632015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2864 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2865
2866 * gdb.arch/i386-mpx-map.c: New file.
2867 * gdb.arch/i386-mpx-map.exp: New File.
2868
28692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2870
2871 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2872 * gdb.arch/i386-mpx.exp: Indentation fixed.
2873
28742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2875
2876 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2877 function and improved indentation.
2878 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2879 gdb_test_multiple. Added additional tests to skip the test.
2880
28812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2882
2883 * gdb.arch/i386-avx512.c: Change path in include file.
2884 * gdb.arch/i386-avx512.exp: Change include dir path
2885 compilation flag.
2886 * gdb.arch/i386-mpx.c: Change path in include file.
2887 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2888 flag.
2889
d5eba19a
JK
28902015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2891
2892 * gdb.compile/compile-print.exp (compile print *vararray@3)
2893 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2894
7f361056
JK
28952015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2898 (do not keep jit in memory): ... this.
2899 (expect 5): Change it to ...
2900 (expect no 5): ... this.
2901
3b462ec2
SM
29022015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2903
2904 PR gdb/15564
2905 * gdb.mi/mi-detach.exp: New file.
2906
e0619de6
JK
29072015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 PR symtab/18392
2910 * gdb.arch/amd64-tailcall-self.S: New file.
2911 * gdb.arch/amd64-tailcall-self.c: New file.
2912 * gdb.arch/amd64-tailcall-self.exp: New file.
2913
e970cb34
DB
29142015-05-28 Don Breazeal <donb@codesourcery.com>
2915
2916 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2917 tests for remote targets by checking is_target_gdbserver.
2918
b2e2f908
DE
29192015-05-27 Doug Evans <dje@google.com>
2920
2921 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2922 * gdb.dwarf2/opaque-type-lookup.c: New file.
2923 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2924
82c7be31
DE
29252015-05-26 Doug Evans <dje@google.com>
2926
2927 * gdb.cp/iostream.cc: New file.
2928 * gdb.cp/iostream.exp: New file.
2929
b4f54984
DE
29302015-05-26 Doug Evans <dje@google.com>
2931
2932 * gdb.dwarf2/dw2-op-call.exp: Update.
2933 * gdb.dwarf2/dw4-sig-types.exp: Update.
2934 * gdb.dwarf2/implptr.exp: Update.
2935 * gdb.mi/mi-cmd-param-changed.exp: Update.
2936
4ea6efe9
DE
29372015-05-26 Doug Evans <dje@google.com>
2938
2939 * gdb.python/py-lazy-string.c: New file.
2940 * gdb.python/py-lazy-string.exp: New file.
2941 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2942 (main): Update. Add estring3.
2943 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2944 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2945
f6bb7db3
YQ
29462015-05-26 Omair Javaid <omair.javaid@linaro.org>
2947 Yao Qi <yao.qi@linaro.org>
2948
2949 * gdb.reverse/aarch64.c: New.
2950 * gdb.reverse/aarch64.exp: New.
2951
a81bfbd0
OJ
29522015-05-26 Omair Javaid <omair.javaid@linaro.org>
2953
2954 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2955 (supports_reverse): Likewise.
2956
158bf1b4
PP
29572015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2958
2959 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2960 Use with_test_prefix.
2961
a0145030
AB
29622015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2963
2964 * gdb.base/completion.exp: Add test for completion of layout
2965 names.
2966
ebe3b578
AB
29672015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2968
2969 * lib/gdb.exp (skip_tui_tests): New proc.
2970 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2971
84204ed7
PA
29722015-05-19 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2975 Save the whole env array instead of just HOME. Unset HISTSIZE in
2976 the environment while testing. Restore whole environment
2977 afterwards.
2978
37442ce1
DE
29792015-05-16 Doug Evans <xdje42@gmail.com>
2980
2981 * gdb.guile/scm-ports.c: New file.
2982 * gdb.guile/scm-ports.exp: Add memory port tests.
2983
36de76f9
JK
29842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2985
2986 * gdb.compile/compile-print.c: New file.
2987 * gdb.compile/compile-print.exp: New file.
2988
3a9558c4
JK
29892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * gdb.compile/compile-ops.exp: Cast param to void.
2992 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2993 (compile code struct_object.selffield = &struct_object): Add xfail.
2994
aa715135
JG
29952015-05-15 Joel Brobecker <brobecker@adacore.com>
2996
2997 * gdb.ada/arr_enum_with_gap: New testcase.
2998
931e5bc3
JG
29992015-05-15 Joel Brobecker <brobecker@adacore.com>
3000
3001 * gdb.ada/byte_packed_arr: New testcase.
3002
9cd4d857
JB
30032015-05-15 Joel Brobecker <brobecker@adacore.com>
3004
3005 * gdb.ada/pckd_neg: New testcase.
3006
ebfd00d2
PP
30072015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3008
3009 PR gdb/17820
3010 * gdb.base/gdbinit-history.exp: New test.
3011 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3012 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3013
4c082a81
SC
30142015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3015
3016 * gdb.python/py-xmethods.cc: Enhance test case.
3017 * gdb.python/py-xmethods.exp: New tests.
3018 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3019 function.
3020 (B_indexoper): Likewise.
3021 (global_dm_list) : Add new xmethod worker functions.
3022
f7797074
SDJ
30232015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3024
3025 * gdb.base/coredump-filter.exp: Correctly unset
3026 "coredump_var_addr" array.
3027
a4674e4e
PA
30282015-05-08 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.server/non-existing-program.exp: Unset spawn_id.
3031
df2eb078
SC
30322015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3033
3034 PR python/18291
3035 * gdb.python/py-xmethods.exp: Add tests.
3036
422349a3
YQ
30372015-05-08 Yao Qi <yao.qi@linaro.org>
3038
3039 PR gdb/18208
3040 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3041 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3042 function set_coredump_filter, and remove remote_exec call.
3043 Remove argument ipid. Callers update.
3044 (top level): Don't get inferior's PID.
3045
63fc80ce
AA
30462015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3047
3048 * gdb.base/watch_thread_num.exp: Skip test on targets without
3049 access watchpoints.
3050
80ad801e
PA
30512015-05-06 Pedro Alves <palves@redhat.com>
3052
3053 PR server/18081
3054 * gdb.server/non-existing-program.exp: New file.
3055
0fa7fe50
JB
30562015-05-05 Joel Brobecker <brobecker@adacore.com>
3057
3058 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3059
3ea89b92
PMR
30602015-05-05 Joel Brobecker <brobecker@adacore.com>
3061
3062 * gdb.ada/out_of_line_in_inlined: New testcase.
3063
87b8eff0
JB
30642015-05-05 Joel Brobecker <brobecker@adacore.com>
3065
3066 * gdb.ada/var_rec_arr: New testcase.
3067
5fccc635
YQ
30682015-04-30 Yao Qi <yao.qi@linaro.org>
3069
3070 * gdb.base/break-idempotent.exp: If
3071 skip_hw_watchpoint_multi_tests returns true, skip the tests
3072 on "rwatch" and "awatch".
3073
42d38f42
YQ
30742015-04-30 Yao Qi <yao.qi@linaro.org>
3075
3076 * gdb.base/relativedebug.exp: Invoke gdb command
3077 "info sharedlibrary", and if libc.so doesn't have debug info,
3078 skip the test.
3079
2ce1cdbf
DE
30802015-04-29 Doug Evans <dje@google.com>
3081
3082 * gdb.python/py-xmethods.exp: Add ptype tests.
3083 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3084 get_result_type method.
3085
f24a38c5
LM
30862015-04-29 Luis Machado <lgustavo@codesourcery.com>
3087
3088 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3089 the target does not support hardware watchpoints.
3090
ecbf2b3c
LM
30912015-04-29 Luis Machado <lgustavo@codesourcery.com>
3092
3093 * gdb.base/break-always.exp: Abort testing if writing to memory
3094 causes an error.
3095
34f5f757
DE
30962015-04-28 Doug Evans <dje@google.com>
3097
3098 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3099 * gdb.python/py-pp-registration.exp: ... here. New file.
3100 * gdb.python/py-pp-registration.c: New file.
3101 * gdb.python/py-pp-registration.py: New file.
3102
69b4374a
DE
31032015-04-28 Doug Evans <dje@google.com>
3104
3105 * gdb.python/py-bad-printers.c: New file.
3106 * gdb.python/py-bad-printers.py: New file.
3107 * gdb.python/py-bad-printers.exp: New file.
3108
59fb7612
SS
31092015-04-28 Sasha Smundak <asmundak@google.com>
3110
3111 * gdb.python/py-type.exp: New test.
3112
2631b16a
AW
31132015-04-28 Andy Wingo <wingo@igalia.com>
3114
3115 * gdb.python/py-parameter.exp:
3116 * gdb.guile/scm-parameter.exp: Escape the path that we are
3117 matching against, as it might contain characters that are special
3118 to regular expressions.
3119
460efde1
JB
31202015-04-27 Joel Brobecker <brobecker@adacore.com>
3121
3122 * gdb.ada/rec_comp: New testcase.
3123
2d369d8e
SDJ
31242015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3125
3126 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3127 before using it.
3128
cf75d6c3
AB
31292015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3130
3131 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3132 new tests for verilog output.
3133
8dbe7ca5
YQ
31342015-04-24 Yao Qi <yao.qi@linaro.org>
3135
3136 * boards/remote-gdbserver-on-localhost.exp: New file.
3137
4ef9fb2f
PA
31382015-04-23 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3141 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3142 "end of file", remove $inferior_spawn_id from the indirect list.
3143
0a803169
PA
31442015-04-23 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3147
749ef8f8
PA
31482015-04-23 Pedro Alves <palves@redhat.com>
3149
3150 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3151 on $any_spawn_id instead of only on $gdb_spawn_id.
3152
8aae4344
PM
31532015-04-21 Pierre Muller <muller@sourceware.org>
3154
3155 PR pascal/17815
3156 * lib/pascal.exp (gpc_compile): Add new option "class".
3157 (fpc_compile): Likewise.
3158 * gdb.pascal/case-insensitive-symbols.pas: New file.
3159 * gdb.pascal/case-insensitive-symbols.exp: New file.
3160
1586c8fb
GB
31612015-04-20 Gary Benson <gbenson@redhat.com>
3162
3163 * gdb.base/attach.exp: Fix three extended remote failures.
3164
1b6e6f5c
GB
31652015-04-17 Gary Benson <gbenson@redhat.com>
3166
3167 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3168 the main executable over the remote protocol.
3169
e797481d
PA
31702015-04-16 Pedro Alves <palves@redhat.com>
3171
3172 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3173 a new gdbserver if gdbserver_reconnect_p is set.
3174
1ca99c42
PA
31752015-04-16 Pedro Alves <palves@redhat.com>
3176
3177 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3178 is set, don't exit gdbserver.
3179
af9fd6f8
AA
31802015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3181
3182 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3183 appropriate .insn, such that an older assembler can be used.
3184 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3185 the z/Architecture instruction set on 31-bit targets as well.
3186
04ff1e61
AA
31872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3188
3189 * gdb.go/handcall.exp: Remove all logic related to the first
3190 breakpoint and rely on go_runto_main instead.
3191 * gdb.go/strings.exp: Likewise.
3192 * gdb.go/unsafe.exp: Likewise.
3193 * gdb.go/hello.exp: Likewise. Also rename the remaining
3194 breakpoint marker to "breakpoint 1".
3195 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3196 * gdb.go/strings.go: Likewise.
3197 * gdb.go/unsafe.go: Likewise.
3198 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3199 "set breakpoint 2 here" and rename the remaining breakpoint marker
3200 to "breakpoint 1".
3201
40d2f8d6
SM
32022015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3203
3204 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3205 if itertools.imap is not present.
3206 * gdb.python/py-objfile.exp: Add parentheses.
3207 * gdb.python/py-type.exp: Same.
3208 * gdb.python/py-unwind-maint.py: Same.
3209
8cbc97c6
YQ
32102015-04-15 Yao Qi <yao.qi@linaro.org>
3211
3212 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3213 of ":$ptr_size" and set its form explicitly.
3214
45fd756c
YQ
32152015-04-15 Pedro Alves <palves@redhat.com>
3216 Yao Qi <yao.qi@linaro.org>
3217
3218 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3219 timeout by factor of 4.
3220 (test_regular_watch): Likewise.
3221 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3222 * gdb.reverse/sigall-reverse.exp: Likewise.
3223 * gdb.reverse/until-precsave.exp: Likewise.
3224 * lib/gdb.exp (with_timeout_factor): New proc.
3225 (gdb_expect): Move some code to ...
3226 (get_largest_timeout): ... here. New procedure.
3227
9e811bc3
LM
32282015-04-14 Luis Machado <lgustavo@codesourcery.com>
3229
3230 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3231
0ff6fcb2
LM
32322015-04-13 Luis Machado <lgustavo@codesourcery.com>
3233
3234 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3235 to write to the .text section.
3236
7578d5f7
LM
32372015-04-13 Luis Machado <lgustavo@codesourcery.com>
3238
3239 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3240 Handle the case of targets that do not provide PID information.
3241
2efe15c4
YQ
32422015-04-13 Yao Qi <yao.qi@linaro.org>
3243
3244 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3245 and use expect instead of gdb_expect.
3246
8cd8f2f8
SDJ
32472015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3248
3249 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3250 "coredump_var_addr" to avoid naming conflict with other testcases.
3251
9ee41772
PA
32522015-04-10 Pedro Alves <palves@redhat.com>
3253
3254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3255 gdb_test_sequence and gdb_assert.
3256
07473109
PA
32572015-04-10 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3260 test messages that don't include the breakpoint address.
3261
de3db44c
YQ
32622015-04-10 Yao Qi <yao.qi@linaro.org>
3263
3264 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3265 false for some offset and width combinations which aren't
3266 supported by linux kernel.
3267
c79d856c
PA
32682015-04-10 Pedro Alves <palves@redhat.com>
3269
3270 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3271 procedure, factored out from ...
3272 (top level): ... here. Add "set displaced-stepping" testing axis.
3273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3274 parameter "displaced". Use it.
3275 (top level): Use foreach and add "set displaced-stepping" testing
3276 axis.
3277
ebc90b50
PA
32782015-04-10 Pedro Alves <palves@redhat.com>
3279
3280 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3281 Remove comment.
3282 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3283 both the address of the instruction that triggers the watchpoint
3284 and the address of the instruction immediately after, and use
3285 those addresses for the test. Fix comment.
3286
8f572e5c
PA
32872015-04-10 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.base/sigstep.exp (breakpoint_to_handler)
3290 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3291 Test "backtrace" in handler.
3292 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3293 (top level): Add new "displaced" test axis to
3294 breakpoint_to_handler, breakpoint_to_handler_entry and
3295 breakpoint_over_handler.
3296
8d707a12
PA
32972015-04-10 Pedro Alves <palves@redhat.com>
3298
3299 PR gdb/18216
3300 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3301
ef713951
YQ
33022015-04-10 Yao Qi <yao.qi@linaro.org>
3303
3304 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3305 (test_add_rn_pc): New function.
3306 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3307 (top level): Invoke test_add_rn_pc.
3308
906d60cf
PA
33092015-04-10 Pedro Alves <palves@redhat.com>
3310
3311 PR gdb/13858
3312 * gdb.base/step-over-no-symbols.exp: New file.
3313
f2983cc3
AW
33142015-04-09 Andy Wingo <wingo@igalia.com>
3315
3316 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3317 after the Python tests.
3318
6d62641c
SDJ
33192015-04-08 Keith Seitz <keiths@redhat.com>
3320
3321 PR python/16699
3322 * gdb.python/py-completion.exp: New tests for completion.
3323 * gdb.python/py-completion.py (CompleteLimit1): New class.
3324 (CompleteLimit2): Likewise.
3325 (CompleteLimit3): Likewise.
3326 (CompleteLimit4): Likewise.
3327 (CompleteLimit5): Likewise.
3328 (CompleteLimit6): Likewise.
3329 (CompleteLimit7): Likewise.
3330
f3770638
PA
33312015-04-08 Pedro Alves <palves@redhat.com>
3332
3333 PR gdb/18214
3334 PR gdb/18216
3335 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3336 function.
3337 (main): Install it as SIGUSR1 handler.
3338 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3339 parameter. Always use "setup" as prefix. Toggle "set
3340 displaced-stepping" off/on depending on global. Don't switch to
3341 thread 1 here.
3342 (top level): Add displaced stepping "off/on" test axis. Update
3343 "setup" calls. Wrap each subtest with with_test_prefix. Test
3344 continuing with a queued signal in each thread.
3345
4496bed7
PA
33462015-04-08 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3349 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3350 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3351 Return early if running to main fails.
3352 * gdb.trace/while-stepping.exp: Likewise.
3353
b97fde92
PA
33542015-04-07 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3357 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3358 interact with inferior program.
3359
f71c18e7
PA
33602015-04-07 Pedro Alves <palves@redhat.com>
3361
3362 * lib/gdb.exp (inferior_spawn_id): New global.
3363 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3364 spawn id after processing the user code.
3365 (default_gdb_start): Set inferior_spawn_id.
3366 (send_inferior): New procedure.
3367 * lib/gdbserver-support.exp (gdbserver_start): Set
3368 inferior_spawn_id.
3369 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3370
6423214f
PA
33712015-04-07 Pedro Alves <palves@redhat.com>
3372
3373 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3374 * lib/gdbserver-support.exp (gdbserver_start): Make
3375 $server_spawn_id global.
3376 (gdbserver_start): Don't wait for gdbserver's spawn id with
3377 expect_background.
3378 (close_gdbserver): New procedure.
3379 (gdb_exit): Rename the default version and reimplement.
3380
71c0ee8c
PA
33812015-04-07 Pedro Alves <palves@redhat.com>
3382
72f4393d 3383 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3384 append the substituted item, not the original item.
3385
203bc29b
PA
33862015-04-07 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3389 gdb_expect.
3390
508a3ddf
PA
33912015-04-07 Pedro Alves <palves@redhat.com>
3392
3393 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3394 output appearing once only.
3395
9f6dbe2b
PA
33962015-04-07 Pedro Alves <palves@redhat.com>
3397
3398 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3399 that doesn't expect anything. Return early if running to main
3400 fails.
3401
337532fa
YQ
34022015-04-07 Yao Qi <yao.qi@linaro.org>
3403
3404 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3405 (child_function): Call alarm.
3406 (main): Move call to alarm into the loop.
3407 * gdb.threads/non-stop-fair-events.exp: Build program with
3408 -DTIMEOUT=$timeout.
3409
01b622d4
DE
34102015-04-06 Doug Evans <xdje42@gmail.com>
3411
3412 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3413 Fix dest parameter to board_info.
3414 (fpc_compile): Ditto.
3415 (gdb_compile_pascal): Rename dest arg to destfile.
3416
961f4160
PMR
34172015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3418
3419 * gdb.ada/funcall_ref.exp: New file.
3420 * gdb.ada/funcall_ref/foo.adb: New file.
3421
cafda597
YQ
34222015-04-02 Yao Qi <yao.qi@linaro.org>
3423
3424 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3425 is remote.
3426
fed040c6
GB
34272015-04-02 Gary Benson <gbenson@redhat.com>
3428
3429 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3430
d11916aa
SS
34312015-04-01 Sasha Smundak <asmundak@google.com>
3432
3433 * gdb.python/py-unwind-maint.c: New file.
3434 * gdb.python/py-unwind-maint.exp: New test.
3435 * gdb.python/py-unwind-maint.py: New file.
3436 * gdb.python/py-unwind.c: New file.
3437 * gdb.python/py-unwind.exp: New test.
3438 * gdb.python/py-unwind.py: New test.
3439
a1471180
PA
34402015-04-01 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3443 to fail instead of non-existent $test.
3444
0bbeccb1
PA
34452015-04-01 Pedro Alves <palves@redhat.com>
3446
3447 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3448 GDBFLAGS if not empty.
3449
3c724c8c
PMR
34502015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3451
3452 * gdb.ada/complete.exp: Remove "multi_line".
3453 * gdb.ada/info_exc.exp: Remove "multi_line".
3454 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3455 * gdb.ada/ptype_field.exp: Remove "multi_line".
3456 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3457 * gdb.ada/tagged.exp: Remove "multi_line".
3458 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3459 [multi_line ...]
3460 * gdb.btrace/delta.exp: Likewise.
3461 * gdb.btrace/exception.exp: Likewise.
3462 * gdb.btrace/function_call_history.exp: Likewise.
3463 * gdb.btrace/instruction_history.exp: Likewise.
3464 * gdb.btrace/nohist.exp: Likewise.
3465 * gdb.btrace/record_goto.exp: Likewise.
3466 * gdb.btrace/segv.exp: Likewise.
3467 * gdb.btrace/stepi.exp: Likewise.
3468 * gdb.btrace/tailcall.exp: Likewise.
3469 * gdb.btrace/unknown_functions.exp: Likewise.
3470 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3471 * lib/gdb.exp: Add the "multi_line" helper.
3472
4eec2deb
PA
34732015-04-01 Pedro Alves <palves@redhat.com>
3474
3475 * gdb.threads/tid-reuse.c: New file.
3476 * gdb.threads/tid-reuse.exp: New file.
3477
df8411da
SDJ
34782015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3479
3480 PR corefiles/16092
3481 * gdb.base/coredump-filter.c: New file.
3482 * gdb.base/coredump-filter.exp: Likewise.
3483
6ef37366
PM
34842015-03-27 Petr Machata <pmachata@redhat.com>
3485
3486 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3487 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3488 (Dwarf::assemble): Initialize them.
3489 (Dwarf::lines): New function.
3490
7ec911b0
JT
34912015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3492
3493 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3494 SYMBOL_PREFIX for x86_64-*-cygwin.
3495
ff908ebf
AW
34962015-03-26 Andy Wingo <wingo@igalia.com>
3497
3498 PR symtab/18148
3499 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3500 const_value but not a location.
3501 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3502 location defined in non-main CUs are visible.
3503
6d5f0679
YQ
35042015-03-26 Yao Qi <yao.qi@linaro.org>
3505
3506 PR testsuite/18139
3507 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3508 Add a line number entry for the same line.
3509 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3510 Add a line number entry for the same line.
3511
2898689b
YQ
35122015-03-26 Yao Qi <yao.qi@linaro.org>
3513
3514 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3515 .int 0.
3516 (func): Likewise. Add .Lfunc_1 label.
3517 Use .Lfunc_1 label.
3518 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3519 .int 0.
3520 (func): Likewise.
3521 Use .Lfunc_1 label.
3522
85180498
YQ
35232015-03-26 Yao Qi <yao.qi@linaro.org>
3524
3525 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3526 Call gdb_compile instead to compile each .s files without debug
3527 information.
3528
8aa08a8d
YQ
35292015-03-26 Yao Qi <yao.qi@linaro.org>
3530
3531 * gdb.base/savedregs.exp (process_saved_regs): Make
3532 "Saved registers:" optional in the pattern.
3533
66849923
MM
35342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3535
3536 * gdb.btrace/next.exp: Merged into step.exp.
3537 * gdb.btrace/finish.exp: Merged into step.exp.
3538 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3539 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3540 "record goto" and checking the exact replay position.
3541 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3542 check for "Recording format" in "info record" output.
3543 * gdb.btrace/record_goto.exp: Choose test file based on target.
3544 * gdb.btrace/x86-record_goto.S: Renamed into ...
3545 * gdb.btrace/x86_64-record_goto.S: ... this.
3546 * gdb.btrace/i686-record_goto.S: New.
3547 * gdb.btrace/x86-tailcall.S: Renamed into ...
3548 * gdb.btrace/x86_64-tailcall.S: ... this.
3549 * gdb.btrace/i686-tailcall.S: New.
3550 * gdb.btrace/x86-tailcall.c: Renamed into ...
3551 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3552 separate statements. Update test.
3553 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3554 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3555 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3556 * gdb.btrace/tailcall.exp: Choose test file based on target.
3557 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3558
11cc1b74
MM
35592015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3560
3561 * gdb.btrace/exception.exp: Increase BTS buffer size.
3562
a25d8bf9
PA
35632015-03-24 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3566
856e7dd6
PA
35672015-03-24 Pedro Alves <palves@redhat.com>
3568
3569 * gdb.threads/schedlock.exp (test_step): No longer expect that
3570 "set scheduler-locking step" with "next" over a function call runs
3571 threads unlocked.
3572
ad235a41
AT
35732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3574
3575 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3576
15630549
AT
35772015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3578
3579 PR breakpoints/16466
3580 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3581 * gdb.mi/mi-pending.c (thread_func): New function.
3582 (int main): Add threading support required.
3583 * gdb.mi/mi-pending.exp: Add tests for this issue.
3584 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3585 (pendfunc2): Remove stdio dependency.
3586 * gdb.mi/mi-pendshr2.c: New file.
3587
693dca06
KS
35882015-03-23 Keith Seitz <keiths@redhat.com>
3589
3590 * gdb.linespec/keywords.c: New file.
3591 * gdb.linespec/keywords.exp: New file.
3592
7e993ebf
KS
35932015-03-23 Keith Seitz <keiths@redhat.com>
3594
3595 PR gdb/18021
3596 * gdb.dwarf2/staticvirtual.exp: New test.
3597
bc23328c
JK
35982015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3599
3600 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3601 * README: Remove HP-UX and gdb.hp.
3602 (configuration):
3603 * configure: Regenerate.
3604 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3605 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3606 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3607 gdb.hp/gdb.defects/Makefile.
3608 * gdb.hp/Makefile.in: File deleted.
3609 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3610 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3611 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3612 * gdb.hp/gdb.aCC/run.c: File deleted.
3613 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3614 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3615 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3616 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3617 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3618 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3619 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3620 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3621 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3622 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3623 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3624 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3625 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3626 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3627 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3628 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3629 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3630 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3631 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3632 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3633 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3634 * gdb.hp/gdb.compat/average.c: File deleted.
3635 * gdb.hp/gdb.compat/sum.c: File deleted.
3636 * gdb.hp/gdb.compat/xdb.c: File deleted.
3637 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3638 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3639 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3640 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3641 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3642 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3643 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3644 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3645 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3646 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3647 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3648 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3649 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3650 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3651 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3652 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3653 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3654 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3655 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3656 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3657 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3658 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3659 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3660 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3661 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3662 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3663 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3664 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3665 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3666 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3667 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3668 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3669 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3670 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3671 * gdb.hp/tools/odump: File deleted.
3672
8bf3b159
PA
36732015-03-19 Pedro Alves <palves@redhat.com>
3674
3675 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3676 (saw_thread_3): New globals.
3677 (top level): Increment them when an event for the corresponding
3678 thread is seen.
3679 (no thread starvation): New test.
3680
eb54c8bf
PA
36812015-03-19 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.threads/continue-pending-status.c: New file.
3684 * gdb.threads/continue-pending-status.exp: New file.
3685
32d2e5d6
PA
36862015-03-18 Pedro Alves <palves@redhat.com>
3687
3688 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3689 Use gdb_is_target_remote instead of is_remote. Use
3690 gdb_test_multiple instead of gdb_expect. Exit early if
3691 gdb_test_multiple hits its internal matches. Tighten stepi tests
3692 expected output. Fail on exit with any signal, instead of just
3693 SIGILL.
3694
f68f11b7
YQ
36952015-03-18 Yao Qi <yao.qi@linaro.org>
3696
3697 PR tdep/18107
3698 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3699 variable.
3700 * gdb.base/catch-syscall.exp: Don't skip it on
3701 aarch64*-*-linux* target. Remove elements in all_syscalls.
3702 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3703 target.
3704 (setup_all_syscalls): New proc.
3705
ca5fd19b
YQ
37062015-03-16 Yao Qi <yao.qi@linaro.org>
3707
3708 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3709 (top level): Skip tests if valid_addr_p returns false for
3710 $cmd1 or $cmd2.
3711
85642ba0
AW
37122015-03-11 Andy Wingo <wingo@igalia.com>
3713
3714 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3715
e03f9645
YQ
37162015-03-11 Yao Qi <yao.qi@linaro.org>
3717
3718 * gdb.base/catch-syscall.exp: Fix typo in comments.
3719
5d0962b2
YQ
37202015-03-11 Yao Qi <yao.qi@linaro.org>
3721
3722 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3723
b2df3cef
PA
37242015-03-09 Pedro Alves <palves@redhat.com>
3725
3726 * dg-extract-results.py: Delete.
3727
ef878e53
PA
37282015-03-09 Pedro Alves <palves@redhat.com>
3729
3730 Merge dg-extract-results.sh from GCC upstream (r218843).
3731
3732 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3733 * dg-extract-results.sh: Use --text with grep to avoid issues with
3734 binary files. Fall back to cat -v, if that doesn't work.
3735
9494d219
PA
37362015-03-05 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3739
a8d9763a
SM
37402015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3741
3742 * lib/mi-support.exp (mi_expect_interrupt): Accept
3743 alternative event for when in all-stop mode.
3744
be9957b8
PA
37452015-03-04 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3748
d57be0f4 37492015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3750
3751 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3752
c214c7cf
AA
37532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3754
3755 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3756 regexps for GDB's current line display, accept a hex address
3757 preceding the line number.
3758
6d74a497
AA
37592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3760
3761 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3762 the 'arch1' variable for "s390*-linux*" targets.
3763
511aee7c
PA
37642015-03-04 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3767 (main): Pass missing retval argument to pthread_join call.
3768
95e50b27
PA
37692015-03-02 Pedro Alves <palves@redhat.com>
3770
3771 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3772 (top level): Call do_test with non-stop as well.
3773
28054d69
PA
37742015-03-02 Pedro Alves <palves@redhat.com>
3775
3776 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3777 -1.
3778
4fa5d7b4
AA
37792015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3780
3781 * gdb.arch/s390-vregs.exp: New test.
3782 * gdb.arch/s390-vregs.S: New file.
3783
97c18565
PA
37842015-02-27 Pedro Alves <palves@redhat.com>
3785
3786 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3787 call to catch_command_errors.
3788 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3789 catch_command_errors.
3790
a37bfa30
PA
37912015-02-27 Pedro Alves <palves@redhat.com>
3792
3793 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3794 "true" for boolean result.
3795 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3796 prototype of main.
3797
6f98576f
PA
37982015-02-27 Pedro Alves <palves@redhat.com>
3799
3800 * lib/unbuffer_output.c: New file.
3801 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3802 (main): Call gdb_unbuffer_output.
3803
eba5ab56
YQ
38042015-02-27 Yao Qi <yao.qi@linaro.org>
3805
3806 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3807 target.
3808
0def5aaa
DE
38092015-02-26 Doug Evans <dje@google.com>
3810
3811 * gdb.cp/class2.cc (Dbase, D): New classes.
3812 (main): New local delta.
3813 * gdb.cp/class2.exp: Test printing delta.
3814 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3815 (dynbar): New global.
3816 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3817
081a1c2c
JK
38182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 * gdb.compile/compile-ifunc.c: New file.
3821 * gdb.compile/compile-ifunc.exp: New file.
3822
2f41223f
AT
38232015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3824
3825 * gdb.base/structs.exp: Check for correct struct on finish.
3826
03eddd80
YQ
38272015-02-26 Yao Qi <yao.qi@linaro.org>
3828
3829 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3830 is zero.
3831
80c57053
JK
38322015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 * gdb.arch/cordic.ko.bz2: New file.
3835 * gdb.arch/cordic.ko.debug.bz2: New file.
3836 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3837
21613c12
YQ
38382015-02-25 Yao Qi <yao.qi@linaro.org>
3839
3840 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3841 aarch64*-*-* target.
3842
d8b901ed
PA
38432015-02-23 Pedro Alves <palves@redhat.com>
3844
3845 * lib/gdb.exp (delete_breakpoints): Rewrite using
3846 gdb_test_multiple.
3847
e5b85ead
PA
38482015-02-23 Pedro Alves <palves@redhat.com>
3849
3850 * gdb.base/info-os.c: Include stdlib.h.
3851
85c3a371
DE
38522015-02-22 Doug Evans <xdje42@gmail.com>
3853
3854 PR symtab/17855
3855 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3856 is read after symbols have been re-read.
3857 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3858 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3859
96553a0c
DE
38602015-02-21 Doug Evans <dje@google.com>
3861
3862 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3863
97a0c697
JK
38642015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3865
3866 PR corefiles/17808
3867 * gdb.arch/i386-biarch-core.core.bz2: New file.
3868 * gdb.arch/i386-biarch-core.exp: New file.
3869
a47cd6e9
PA
38702015-02-21 Pedro Alves <palves@redhat.com>
3871
3872 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3873 runto_main fails.
3874
c5facdc4
PA
38752015-02-20 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3878 info probes.
3879
2db9a427
PA
38802015-02-20 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3883
60fb7e9e
PA
38842015-02-20 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3887 clean_restart before gdb_target_supports_trace.
3888
5c5019c2
PA
38892015-02-20 Pedro Alves <palves@redhat.com>
3890
3891 PR threads/18006
3892 * gdb.threads/clone-thread_db.c: New file.
3893 * gdb.threads/clone-thread_db.exp: New file.
3894
c9587f88
AT
38952015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3896
3897 PR breakpoints/16812
3898 * gdb.base/catch-gdb-caused-signals.c: New file.
3899 * gdb.base/catch-gdb-caused-signals.exp: New file.
3900
f6a88844
JM
39012015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3902
3903 * configure: Regenerated.
3904 * configure.ac: Use GDB_AC_TRANSFORM.
3905 * aclocal.m4: sinclude ../transform.m4.
3906
497c491b
JM
39072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3908
3909 * lib/dtrace.exp: New file.
3910 * gdb.base/dtrace-probe.exp: Likewise.
3911 * gdb.base/dtrace-probe.d: Likewise.
3912 * gdb.base/dtrace-probe.c: Likewise.
3913 * lib/pdtrace.in: Likewise.
3914 * configure.ac: Output variables with the transformed names of
3915 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3916 * configure: Regenerated.
3917
03e98035
JM
39182015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3919
3920 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3921 expected message when trying to access $_probe_* convenience
3922 variables while not on a probe.
3923
63cc30e9
JK
39242015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3925
3926 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3927
0703599a
PA
39282015-02-11 Pedro Alves <pedro@codesourcery.com>
3929
3930 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3931 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3932
7e60a48e
DE
39332015-02-10 Doug Evans <xdje42@gmail.com>
3934
3935 * lib/gdb.exp (gdb_load): Always return a result.
3936
01b088bc
PA
39372015-02-10 Pedro Alves <palves@redhat.com>
3938
3939 * gdb.threads/signal-sigtrap.c: New file.
3940 * gdb.threads/signal-sigtrap.exp: New file.
3941
b05ec7a5
AT
39422015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3943
3944 * gdb.trace/no-attach-trace.c: New file.
3945 * gdb.trace/no-attach-trace.exp: New file.
3946
a2c2acaf
MW
39472015-02-09 Mark Wielaard <mjw@redhat.com>
3948
3949 * gdb.dwarf2/atomic.c: New file.
3950 * gdb.dwarf2/atomic-type.exp: Likewise.
3951
31fd9caa
MM
39522015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3953
3954 * gdb.btrace/buffer-size.exp: Update "info record" output.
3955 * gdb.btrace/delta.exp: Update "info record" output.
3956 * gdb.btrace/enable.exp: Update "info record" output.
3957 * gdb.btrace/finish.exp: Update "info record" output.
3958 * gdb.btrace/instruction_history.exp: Update "info record" output.
3959 * gdb.btrace/next.exp: Update "info record" output.
3960 * gdb.btrace/nexti.exp: Update "info record" output.
3961 * gdb.btrace/step.exp: Update "info record" output.
3962 * gdb.btrace/stepi.exp: Update "info record" output.
3963 * gdb.btrace/nohist.exp: Update "info record" output.
3964
d33501a5
MM
39652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3966
3967 * gdb.btrace/buffer-size: New.
3968
f4abbc16
MM
39692015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3970
3971 * gdb.btrace/delta.exp: Update "info record" output.
3972 * gdb.btrace/enable.exp: Update "info record" output.
3973 * gdb.btrace/finish.exp: Update "info record" output.
3974 * gdb.btrace/instruction_history.exp: Update "info record" output.
3975 * gdb.btrace/next.exp: Update "info record" output.
3976 * gdb.btrace/nexti.exp: Update "info record" output.
3977 * gdb.btrace/step.exp: Update "info record" output.
3978 * gdb.btrace/stepi.exp: Update "info record" output.
3979 * gdb.btrace/nohist.exp: Update "info record" output.
3980
b9d61307
SM
39812015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3982
3983 PR gdb/15678
3984 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3985
e584fdbc
PA
39862015-02-06 Pedro Alves <palves@redhat.com>
3987
3988 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3989 macro.
3990 (seconds_left, again): New globals.
3991 (main): Wait seconds_left in a 1-second sleep loop instead of
3992 sleeping 180 seconds. If 'again' is set, reset the seconds
3993 counter.
3994 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3995 'again' in the inferior before detaching. Print the seconds left.
3996 (options): New global.
3997 (top level): Build program with -DTIMEOUT=$timeout.
3998
77f41761
PA
39992015-02-06 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4002 determine how many seconds to pass to 'alarm'.
4003 * gdb.base/gdb-sigterm.exp (top level): Build program with
4004 -DTIMEOUT=$timeout.
4005 (do_test): Return success/failure indication. Add more verbose
4006 logging. Don't fail if 200 single steps are seen. Instead, fail
4007 when the test times out.
4008 (passes): New global.
4009 (top level): Break the testing loop if testing fails on any
4010 iteration. Use gdb_assert.
4011
b9394193
DB
40122015-02-04 Don Breazeal <donb@codesourcery.com>
4013
4014 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4015 and initialize them.
4016 (ipc_cleanup): New function.
4017 (main): Don't declare shmid, semid, and msqid. Add a call to
4018 atexit so that we call ipc_cleanup on exit.
4019
42d9e528
PA
40202015-02-04 Pedro Alves <palves@redhat.com>
4021
4022 * boards/native-extended-gdbserver.exp: Remove any target variant
4023 specifications from the board name before clearing the isremote
4024 flag from board_info.
4025
ae6ae975
DE
40262015-01-31 Doug Evans <xdje42@gmail.com>
4027
4028 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4029
cfb069a8
GB
40302015-01-31 Gary Benson <gbenson@redhat.com>
4031
4032 * gdb.base/completion.exp: Disable completion limiting for
4033 existing tests. Add new tests to check completion limiting.
4034 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4035
5dd31d79
DE
40362015-01-31 Doug Evans <xdje42@gmail.com>
4037
4038 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4039
9f050062
DE
40402015-01-31 Doug Evans <xdje42@gmail.com>
4041
4042 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4043 entries. Duplicate file section script entries.
4044 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4045 inlined entries. Add test for safe-path rejection.
4046 * gdb.python/py-section-script.c: Add duplicate inlined section script
4047 entries. Duplicate file section script entries.
4048 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4049 inlined entries. Add test for safe-path rejection.
4050
df25ebbd
JB
40512015-01-29 Joel Brobecker <brobecker@adacore.com>
4052
4053 * gdb.ada/disc_arr_bound: New testcase.
4054
4a0ca9ec
JB
40552015-01-29 Joel Brobecker <brobecker@adacore.com>
4056
4057 * gdb.ada/mi_var_array: New testcase.
4058
3a8b707a
DE
40592015-01-27 Doug Evans <dje@google.com>
4060
4061 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4062 Add test for objfile.filename, objfile.username after objfile
4063 has been unloaded.
4064
f8313f6e
JB
40652015-01-26 Joel Brobecker <brobecker@adacore.com>
4066
4067 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4068 the second test to print the name attribute of value
4069 returned by the call to gdb.lookup_type, and adjust
4070 the expected output accordingly.
4071
37bc665e
MW
40722015-01-25 Mark Wielaard <mjw@redhat.com>
4073
4074 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4075 * gdb.base/disp-step-fork.c: Include unistd.h.
4076 * gdb.base/siginfo-obj.c: Include stdio.h.
4077 * gdb.base/siginfo-thread.c: Likewise.
4078 * gdb.mi/non-stop.c: Include unistd.h.
4079 * gdb.mi/nsthrexec.c: Include stdio.h.
4080 * gdb.mi/pthreads.c: Include unistd.h.
4081 * gdb.modula2/unbounded1.c (main): Declare returns int.
4082 * gdb.reverse/consecutive-reverse.c: Likewise.
4083 * gdb.threads/create-fail.c: Include unistd.h.
4084 * gdb.threads/killed.c: Likewise.
4085 * gdb.threads/linux-dp.c: Likewise.
4086 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4087 * gdb.threads/non-ldr-exc-2.c: Likewise.
4088 * gdb.threads/non-ldr-exc-3.c: Likewise.
4089 * gdb.threads/non-ldr-exc-4.c: Likewise.
4090 * gdb.threads/pthreads.c: Include unistd.h.
4091 (main): Declare returns int.
4092 * gdb.threads/tls-main.c (foo): New declaration.
4093 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4094
f7e5394d
SM
40952015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4096
4097 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4098 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4099
743649fd
MW
41002015-01-15 Mark Wielaard <mjw@redhat.com>
4101
4102 * gdb.base/noreturn-return.c: New file.
4103 * gdb.base/noreturn-return.exp: New file.
4104 * gdb.base/noreturn-finish.c: New file.
4105 * gdb.base/noreturn-finish.exp: New file.
4106
198297aa
PA
41072015-01-23 Pedro Alves <palves@redhat.com>
4108
4109 * gdb.threads/continue-pending-after-query.c: New file.
4110 * gdb.threads/continue-pending-after-query.exp: New file.
4111
717cf30c
AG
41122015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4113 Simon Marchi <simon.marchi@ericsson.com>
4114
4115 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4116 * gdb.base/valgrind-db-attach.exp: Same.
4117 * gdb.base/valgrind-infcall.exp: Same.
4118 * lib/mi-support.exp (default_mi_gdb_start): Same.
4119 * lib/prompt.exp (default_prompt_gdb_start): Same.
4120 * lib/gdb.exp (default_gdb_spawn): Same.
4121 (gdb_interact): New.
4122
4123
4b62a76e
JK
41242015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4125
4126 * gdb.compile/compile.exp (pointer to jit function): New test.
4127
b4cdae6f
WW
41282015-01-17 Wei-cheng Wang <cole945@gmail.com>
4129
4130 * lib/gdb.exp (supports_process_record): Return true for
4131 powerpc*-*-linux*.
4132 (supports_reverse): Likewise.
4133
d221e7ef
DB
41342015-01-15 Don Breazeal <donb@codesourcery.com>
4135
4136 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4137 instead of checking whether the target board is remote and
4138 use spawn_wait_for_attach instead of exec/sleep.
4139 * gdb.base/attach-twice.exp: Likewise.
4140
bafffb51
JB
41412015-01-15 Joel Brobecker <brobecker@adacore.com>
4142
4143 * gdb.ada/var_arr_attrs: New testcase.
4144
5589af0e
PA
41452015-01-14 Pedro Alves <palves@redhat.com>
4146 Joel Brobecker <brobecker@adacore.com>
4147
4148 PR gdb/17525
4149 * gdb.base/bp-cmds-execution-x-script.c: New file.
4150 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4151 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4152
6c400b59
PA
41532015-01-14 Pedro Alves <palves@redhat.com>
4154
4155 PR cli/17828
4156 * gdb.base/batch-preserve-term-settings.c: New file.
4157 * gdb.base/batch-preserve-term-settings.exp: New file.
4158
e02c96a7
DE
41592015-01-13 Doug Evans <dje@google.com>
4160
4161 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4162 binary.
4163
576fd14c
JB
41642015-01-13 Joel Brobecker <brobecker@adacore.com>
4165
4166 * Makefile.in (clean mostlyclean): Do not delete *.py.
4167
04dccad0
JB
41682015-01-13 Joel Brobecker <brobecker@adacore.com>
4169
4170 * gdb.python/py-lookup-type.exp: New file.
4171
3d230f71
PA
41722015-01-12 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4175 restore GDBFLAGS before returning.
4176
7e67715d
JK
41772015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4178
4179 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4180 is_amd64_regs_target and is_x86_like_target.
4181
f2e0d4b4
DE
41822015-01-11 Doug Evans <xdje42@gmail.com>
4183
4184 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4185 is given without an explicit form.
4186 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4187 attributes.
4188 * gdb.dwarf/corrupt.exp: Ditto.
4189 * gdb.dwarf2/enum-type.exp: Ditto.
4190 * gdb.trace/entry-values.exp: Ditto.
4191 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4192
439250fb
DE
41932015-01-11 Doug Evans <xdje42@gmail.com>
4194
4195 PR gdb/15830
4196 * gdb.base/maint.exp: Remove references to "maint demangle".
4197 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4198 Add tests for explicitly specifying language to demangle.
4199 * gdb.dlang/demangle.exp: Ditto.
4200
ede9f622
PA
42012015-01-09 Pedro Alves <palves@redhat.com>
4202
4203 * gdb.threads/non-stop-fair-events.c: New file.
4204 * gdb.threads/non-stop-fair-events.exp: New file.
4205
a7b796db
PA
42062015-01-09 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4209 the global scope. Set a breakpoint after all threads are started
4210 rather than stepping over two source lines. Expect the prompt.
4211 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4212 global.
4213 (NUM): Now 15.
4214 (main): Use threads_started_barrier to wait for all threads to
4215 start. Main thread no longer calls thread_function. Exit after
4216 180 seconds.
4217 (loop): New function.
4218 (thread_function): Wait on threads_started_barrier barrier. Call
4219 'loop' at each iteration.
4220 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4221 threads have started, instead of hardcoding number of "next"
4222 steps. Use an access watchpoint instead of a write watchpoint.
4223
9665ffdd
PA
42242015-01-09 Pedro Alves <palves@redhat.com>
4225
4226 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4227 (thread_func): Wait on barrier.
4228 (main): Wait for all threads to start before stopping GDB.
4229 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4230 global.
4231 (thread1_func, thread2_func): Wait on barrier.
4232 (main): Wait for all threads to start before stopping GDB.
4233 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4234 New global.
4235 (thread1_func, thread2_func): Wait on barrier.
4236 (main): Wait for all threads to start before stopping GDB.
4237
c945a99f
PA
42382015-01-09 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.threads/attach-many-short-lived-threads.c: New file.
4241 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4242
c1a747c1
PA
42432014-01-09 Pedro Alves <palves@redhat.com>
4244
4245 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4246 instead of to thread 2.
4247 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4248 Add barrier around each pthread_create call instead of around all
4249 calls.
4250 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4251 Set a break on thread_function and have the child threads hit it
4252 one at at a time.
4253
60b3033e
PA
42542015-01-09 Pedro Alves <palves@redhat.com>
4255
4256 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4257 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4258 false.
4259 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4260 checking whether the target board is remote.
4261 * gdb.multi/multi-attach.exp: Likewise.
4262 * gdb.python/py-sync-interp.exp: Likewise.
4263 * gdb.server/ext-attach.exp: Likewise.
4264 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4265 tests that need to attach, instead of checking whether the target
4266 board is remote at the top of the file.
4267
acc018ac
YQ
42682015-01-08 Yao Qi <yao@codesourcery.com>
4269
4270 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4271
50a18af8
JK
42722015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4273
4274 Fix testcase compilation.
4275 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4276
8503d6e1
JB
42772015-01-06 Joel Brobecker <brobecker@adacore.com>
4278
4279 * gdb.python/py-type.exp: Add a couple test about empty
4280 array creation, and negative-length array creation.
4281
cc73dbcc
DE
42822015-01-02 Doug Evans <xdje42@gmail.com>
4283
4284 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4285
0300bbc7
DE
42862015-01-02 Doug Evans <dje@google.com>
4287
4288 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4289
9d85a0ec
YQ
42902014-12-29 Yao Qi <yao@codesourcery.com>
4291
4292 * gdb.trace/entry-values.exp: Update comments. Rename variable
4293 bar_call_foo to returned_from_foo.
4294
87186c6a
MMN
42952014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4296
4297 PR gdb/17394
4298 * gdb.linespec/break-asm-file.c: New file.
4299 * gdb.linespec/break-asm-file.exp: New file.
4300 * gdb.linespec/break-asm-file0.s: New file.
4301 * gdb.linespec/break-asm-file1.s: New file.
4302
1bab7383
YQ
43032014-12-18 Nigel Stephens <nigel@mips.com>
4304 Maciej W. Rozycki <macro@codesourcery.com>
4305
4306 * gdb.base/float.exp: Handle the new output from "info float" on
4307 MIPS targets.
4308
1bc1068a
JK
43092014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4310
4311 Fix MinGW compilation.
4312 * gdb.compile/compile-ops.exp: Update untested message if
4313 !skip_compile_feature_tests.
4314 * gdb.compile/compile-setjmp.exp: Likewise.
4315 * gdb.compile/compile-tls.exp: Likewise.
4316 * gdb.compile/compile.exp: Likewise.
4317 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4318 supported on this host".
4319
b6615d10
DE
43202014-12-16 Doug Evans <xdje42@gmail.com>
4321
4322 * boards/stabs.exp: New file.
4323
25dda427
AA
43242014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4325
4326 * gdb.base/completion.exp: Adjust to format changes of "maint
4327 print user-registers".
4328
bf330350
CU
43292014-12-16 Catalin Udma <catalin.udma@freescale.com>
4330
4331 PR server/17457
4332 * gdb.arch/aarch64-fp.c: New file.
4333 * gdb.arch/aarch64-fp.exp: New file.
4334
395cf596
SDJ
43352014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4336
4337 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4338 r210637, r210913, r211666, r215400, r215817).
4339
4340 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4341 * dg-extract-results.py: New file.
4342 * dg-extract-results.sh: Use it if the environment seems
4343 suitable.
4344
4345 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4346
4347 * dg-extract-results.py (parse_run): Handle warnings that
4348 are printed before a test harness is run.
4349
4350 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4351
4352 * dg-extract-results.py (Named): Remove __cmp__ method.
4353 (output_variation): Use a key to sort variation.harnesses.
4354
4355 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4356
4357 * dg-extract-results.py: For Python 3, force sys.stdout to
4358 handle surrogate escape sequences.
4359 (safe_open): New function.
4360 (output_segment, main): Use it.
4361
4362 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4363
4364 * dg-extract-results.py (Prog.result_re): Include options
4365 in test name.
4366
4367 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4368
4369 * dg-extract-results.py (output_variation): Always sort if
4370 do_sum.
4371
e882ef3c
SM
43722014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4373
4374 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4375 as long as we get pagination notifications.
4376
4992aa20
JM
43772014-12-15 Jason Merrill <jason@redhat.com>
4378
4379 * Makefile.in (check-gdb.%): Restore.
4380 * README: Mention it.
4381
c1b5a1a6
JB
43822014-12-13 Joel Brobecker <brobecker@adacore.com>
4383
4384 * gdb.ada/str_uninit: New testcase.
4385
5537b577
JK
43862014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4387
4388 PR symtab/17642
4389 * gdb.base/vla-stub-define.c: New file.
4390 * gdb.base/vla-stub.c: New file.
4391 * gdb.base/vla-stub.exp: New file.
4392
bb2ec1b3
TT
43932014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4394 Jan Kratochvil <jan.kratochvil@redhat.com>
4395 Tom Tromey <tromey@redhat.com>
4396
4397 * configure.ac: Add gdb.compile/.
4398 * configure: Regenerate.
4399 * gdb.compile/Makefile.in: New file.
4400 * gdb.compile/compile-ops.exp: New file.
4401 * gdb.compile/compile-ops.c: New file.
4402 * gdb.compile/compile-tls.c: New file.
4403 * gdb.compile/compile-tls.exp: New file.
4404 * gdb.compile/compile-constvar.S: New file.
4405 * gdb.compile/compile-constvar.c: New file.
4406 * gdb.compile/compile-mod.c: New file.
4407 * gdb.compile/compile-nodebug.c: New file.
4408 * gdb.compile/compile-setjmp-mod.c: New file.
4409 * gdb.compile/compile-setjmp.c: New file.
4410 * gdb.compile/compile-setjmp.exp: New file.
4411 * gdb.compile/compile-shlib.c: New file.
4412 * gdb.compile/compile.c: New file.
4413 * gdb.compile/compile.exp: New file.
4414 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4415
4ff709eb
TT
44162014-12-12 Tom Tromey <tromey@redhat.com>
4417
4418 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4419 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4420
6dddd6a5
DE
44212014-12-12 Doug Evans <dje@google.com>
4422
4423 * lib/gdb-python.exp (get_python_valueof): New function.
4424 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4425
71c24708
AA
44262014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4427
4428 * gdb.base/completion.exp: Add test for completion of "info
4429 registers ".
4430
3e29f34a
MR
44312014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4432
4433 * gdb.base/func-ptrs.c: New file.
4434 * gdb.base/func-ptrs.exp: New file.
4435
fc126975
SM
44362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4437
4438 PR breakpoints/17012
4439 * gdb.base/dprintf-detach.c: New file.
4440 * gdb.base/dprintf-detach.exp: New file.
4441
0a46d518
SM
44422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4443
4444 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4445 * lib/gdb.exp (target_is_gdbserver): New procedure.
4446
a0be3e44
DE
44472014-12-08 Doug Evans <dje@google.com>
4448
4449 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4450
df1b803a
YQ
44512014-12-05 Yao Qi <yao@codesourcery.com>
4452
4453 * gdb.guile/scm-error.exp: Remove the third argument to
4454 gdb_remote_download.
4455 * gdb.guile/scm-frame-args.exp: Likewise.
4456 * gdb.guile/scm-section-script.exp: Likewise.
4457
ddb9f679
YQ
44582014-12-05 Yao Qi <yao@codesourcery.com>
4459
4460 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4461
86e4ed39
DE
44622014-12-04 Doug Evans <dje@google.com>
4463
4464 * gdb.python/py-objfile.exp: Add tests for
4465 objfile.add_separate_debug_file.
4466
7c50a931
DE
44672014-12-04 Doug Evans <dje@google.com>
4468
4469 * lib/gdb.exp (get_build_id): New function.
4470 (build_id_debug_filename_get): Rewrite to use it.
4471 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4472
621661e3
MR
44732014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4474
4475 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4476 `method(long)', not just 0x0.
4477 * gdb.cp/nsalias.exp: Align code labels to 4.
4478 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4479 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4480 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4481 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4482 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4483 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4484
29f0c3b7
DE
44852014-12-02 Doug Evans <dje@google.com>
4486
e1e061e7 4487 PR symtab/17602
29f0c3b7 4488 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4489 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4490 * gdb.cp/anon-ns.exp: Update.
4491
162078c8
NB
44922014-12-02 Nick Bull <nicholaspbull@gmail.com>
4493
4494 * gdb.python/py-events.py (inferior_call_handler): New.
4495 (register_changed_handler, memory_changed_handler): New.
4496 (test_events.invoke): Register new handlers.
4497 * gdb.python/py-events.exp: Add tests for inferior call,
4498 memory_changed and register_changed events.
4499
fdb09caf
AA
45002014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4501
4502 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4503 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4504 if the linker doesn't understand this.
4505
55cfb2c4
SM
45062014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4507
4508 * gdb.python/python.exp: Change expected reply to help().
4509
9e8cd6df
YQ
45102014-12-01 Yao Qi <yao@codesourcery.com>
4511
4512 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4513 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4514 * configure: Re-generated.
4515
6c659fc2
SC
45162014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4517
4518 * gdb.cp/chained-calls.cc: New file.
4519 * gdb.cp/chained-calls.exp: New file.
4520 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4521
d7fc3181
SM
45222014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4523
4524 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4525 * gdb.dwarf2/symtab-producer.exp: Same.
4526 * gdb.gdb/python-interrupts.exp: Same.
4527 * gdb.gdb/python-selftest.exp: Same.
4528 * gdb.python/py-linetable.exp: Same.
4529 * gdb.python/py-type.exp: Same.
4530 * gdb.python/py-value-cc.exp: Same.
4531 * gdb.python/py-value.exp: Same.
4532
10e79639
YQ
45332014-11-28 Yao Qi <yao@codesourcery.com>
4534
4535 * gdb.base/break-probes.exp: Match library name prefixed with
4536 sysroot.
4537
f28a0564
SM
45382014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4539
4540 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4541 test expected output. Add parentheses for the call to print.
4542 Remove L suffix from integers.
4543
3fe1ce1d
DE
45442014-11-26 Doug Evans <dje@google.com>
4545
4546 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4547
84429e27
YQ
45482014-11-22 Yao Qi <yao@codesourcery.com>
4549
4550 * gdb.trace/entry-values.c: Remove asms.
4551 (foo): Add foo_label.
4552 (bar): Add bar_label.
4553 * gdb.trace/entry-values.exp: Remove code computing foo's
4554 length and bar's length.
4555 (Dwarf::assemble): Invoke function_range for bar and use
4556 MACRO_AT_func for foo.
4557
26741859
YQ
45582014-11-22 Yao Qi <yao@codesourcery.com>
4559
4560 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4561 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4562 Use .Lgcc43_procstart instead of gcc43.
4563
45e44d27
JB
45642014-11-21 Joel Brobecker <brobecker@adacore.com>
4565
4566 * gdb.ada/n_arr_bound: New testcase.
4567
458c8db8
SDJ
45682014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4569
4570 PR breakpoints/10737
4571 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4572 test_catch_syscall_multi_arch.
4573 (test_catch_syscall_multi_arch): New function.
4574
43f3e411
DE
45752014-11-20 Doug Evans <xdje42@gmail.com>
4576
4577 * gdb.base/maint.exp: Update expected output.
4578
0d7b2549
AA
45792014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4580
4581 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4582 4-byte instruction on S390.
4583
8908fca5
JB
45842014-11-19 Joel Brobecker <brobecker@adacore.com>
4585
4586 * gdb.ada/arr_arr: New testcase.
4587
4a46959e
JB
45882014-11-19 Joel Brobecker <brobecker@adacore.com>
4589
4590 * gdb.ada/pkd_arr_elem: New Testcase.
4591
470e2f4e
LM
45922014-11-18 Luis Machado <lgustavo@codesourcery.com>
4593
4594 * gdb.reverse/break-precsave: Expect completion message for
4595 core file reads.
4596 * gdb.reverse/consecutive-precsave.exp: Likewise.
4597 * gdb.reverse/finish-precsave.exp: Likewise.
4598 * gdb.reverse/i386-precsave.exp: Likewise.
4599 * gdb.reverse/machinestate-precsave.exp: Likewise.
4600 * gdb.reverse/sigall-precsave.exp: Likewise.
4601 * gdb.reverse/solib-precsave.exp: Likewise.
4602 * gdb.reverse/step-precsave.exp: Likewise.
4603 * gdb.reverse/until-precsave.exp: Likewise.
4604 * gdb.reverse/watch-precsave.exp: Likewise.
4605
a267f3ad
AA
46062014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4607
4608 * gdb.base/bp-permanent.c: Include unistd.h.
4609 * gdb.python/py-framefilter-mi.c (main): Add return type.
4610 * gdb.python/py-framefilter.c (main): Likewise.
4611 * gdb.trace/actions-changed.c (main): Likewise.
4612
12084a9a
AA
46132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * gdb.mi/until.c: Add eye-catchers.
4616 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4617 line numbers.
4618
dc7e1a77
AA
46192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620
4621 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4622 function header variants in break1.c.
4623 * gdb.base/ena-dis-br.exp: Likewise.
4624 * gdb.base/hbreak2.exp: Likewise.
4625 * gdb.reverse/until-precsave.exp: Drop references to removed
4626 non-prototype function header variants in ur1.c.
4627 * gdb.reverse/until-reverse.exp: Likewise.
4628
41c77605
PM
46292014-11-17 Petr Machata <pmachata@redhat.com>
4630
4631 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4632 ${_cu_offset_size} bytes abbrev offset.
4633
34248c3a
DE
46342014-11-15 Doug Evans <xdje42@gmail.com>
4635
4636 PR symtab/17559
4637 * gdb.base/line-symtabs.exp: New file.
4638 * gdb.base/line-symtabs.c: New file.
4639 * gdb.base/line-symtabs.h: New file.
4640
646da059
YQ
46412014-11-14 Yao Qi <yao@codesourcery.com>
4642
4643 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4644 (func): Add label func_label.
4645 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4646 Replace low_pc and high_pc with MACRO_AT_range.
4647 Replace name, low_pc and high_pc with MACRO_AT_func.
4648
9301ebe6
YQ
46492014-11-14 Yao Qi <yao@codesourcery.com>
4650
4651 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4652 Replace name, low_pc and high_pc with MACRO_AT_func.
4653
f166b542
YQ
46542014-11-14 Yao Qi <yao@codesourcery.com>
4655
4656 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4657 produce debug information.
4658 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4659
0f6e71e3
YQ
46602014-11-14 Yao Qi <yao@codesourcery.com>
4661
4662 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4663 object and get function length.
4664 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4665 with MACRO_AT_func.
4666 (top-level): Replace gdb_compile and clean_restart with
4667 prepare_for_testing.
4668 * gdb.dwarf2/main.c (main): Add label main_label.
4669
876c4df9
YQ
46702014-11-14 Yao Qi <yao@codesourcery.com>
4671
4672 * lib/dwarf.exp (function_range): New procedure.
4673 (Dwarf::_handle_macro_at_func): New procedure.
4674 (Dwarf::_handle_macro_at_range): New procedure.
4675 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4676
02ad9cf1
YQ
46772014-11-14 Yao Qi <yao@codesourcery.com>
4678
4679 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4680 (_handle_attribute): New procedure.
4681
a59add0c
AA
46822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4683
4684 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4685 * gdb.base/call-sc.c (zed): Likewise.
4686 * gdb.base/checkpoint.c (main): Likewise.
4687 * gdb.base/dump.c (main): Likewise.
4688 * gdb.base/gcore.c (main): Likewise.
4689 * gdb.base/huge.c (main): Likewise.
4690 * gdb.base/multi-forks.c (main): Likewise.
4691 * gdb.base/pr10179-a.c (main): Likewise.
4692 * gdb.base/savedregs.c (main): Likewise.
4693 * gdb.base/sigaltstack.c (main): Likewise.
4694 * gdb.base/siginfo.c (main): Likewise.
4695 * gdb.base/structs.c (zed): Likewise.
4696 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4697 * gdb.mi/mi-syn-frame.c (main): Likewise.
4698 * gdb.mi/until.c (foo, main): Likewise.
4699 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4700 * gdb.base/solib-weak.c (foo): Declare.
4701 * gdb.base/attach-twice.c: Include stdio.h.
4702 * gdb.base/weaklib1.c: Likewise.
4703 * gdb.base/weaklib2.c: Likewise.
4704 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4705 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4706 unistd.h.
4707 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4708 * gdb.mi/mi-exit-code.c: Likewise.
4709 * gdb.base/break-interp-lib.c: Include string.h.
4710 * gdb.base/coremaker.c: Likewise.
4711 * gdb.base/testenv.c: Likewise.
4712 * gdb.python/py-finish-breakpoint.c: Likewise.
4713 * gdb.base/inferior-died.c: Include sys/wait.h.
4714 * gdb.base/fileio.c: Include time.h.
4715 * gdb.base/async-shell.c: Include unistd.h.
4716 * gdb.base/dprintf-non-stop.c: Likewise.
4717 * gdb.base/info-os.c: Likewise.
4718 * gdb.mi/mi-console.c: Likewise.
4719 * gdb.mi/watch-nonstop.c: Likewise.
4720 * gdb.python/py-events.c: Likewise.
4721 * gdb.base/async.c (baz): Move up before its invocation.
4722 * gdb.base/code_elim2.c (my_global_func): Likewise.
4723 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4724 * gdb.base/advance.c (func2): Likewise.
4725
3b5d5997
AA
47262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4727
4728 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4729 variant.
4730 * gdb.base/annota3.c: Likewise.
4731 * gdb.base/async.c: Likewise.
4732 * gdb.base/average.c: Likewise.
4733 * gdb.base/call-ar-st.c: Likewise.
4734 * gdb.base/call-rt-st.c: Likewise.
4735 * gdb.base/call-sc.c: Likewise.
4736 * gdb.base/call-strs.c: Likewise.
4737 * gdb.base/ending-run.c: Likewise.
4738 * gdb.base/execd-prog.c: Likewise.
4739 * gdb.base/exprs.c: Likewise.
4740 * gdb.base/foll-exec.c: Likewise.
4741 * gdb.base/foll-fork.c: Likewise.
4742 * gdb.base/foll-vfork.c: Likewise.
4743 * gdb.base/funcargs.c: Likewise.
4744 * gdb.base/gcore.c: Likewise.
4745 * gdb.base/jump.c: Likewise.
4746 * gdb.base/langs0.c: Likewise.
4747 * gdb.base/langs1.c: Likewise.
4748 * gdb.base/langs2.c: Likewise.
4749 * gdb.base/mips_pro.c: Likewise.
4750 * gdb.base/nodebug.c: Likewise.
4751 * gdb.base/opaque0.c: Likewise.
4752 * gdb.base/opaque1.c: Likewise.
4753 * gdb.base/recurse.c: Likewise.
4754 * gdb.base/run.c: Likewise.
4755 * gdb.base/scope0.c: Likewise.
4756 * gdb.base/scope1.c: Likewise.
4757 * gdb.base/setshow.c: Likewise.
4758 * gdb.base/setvar.c: Likewise.
4759 * gdb.base/shmain.c: Likewise.
4760 * gdb.base/shr1.c: Likewise.
4761 * gdb.base/shr2.c: Likewise.
4762 * gdb.base/sigall.c: Likewise.
4763 * gdb.base/signals.c: Likewise.
4764 * gdb.base/so-indr-cl.c: Likewise.
4765 * gdb.base/solib2.c: Likewise.
4766 * gdb.base/structs.c: Likewise.
4767 * gdb.base/sum.c: Likewise.
4768 * gdb.base/vforked-prog.c: Likewise.
4769 * gdb.base/watchpoint.c: Likewise.
4770 * gdb.reverse/shr2.c: Likewise.
4771 * gdb.reverse/until-reverse.c: Likewise.
4772 * gdb.reverse/ur1.c: Likewise.
4773 * gdb.reverse/watch-reverse.c: Likewise.
4774
066a77c5
AA
47752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4776
4777 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4778 variant.
4779 * gdb.base/sepdebug.exp: Drop references to removed code.
4780
4f204ea5
AA
47812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4782
4783 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4784 variant. Preserve original line numbering.
4785 * gdb.base/list1.c: Likewise.
4786
3b377a3a
AA
47872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4788
4789 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4790 variant.
4791 * gdb.base/break1.c: Likewise.
4792 * gdb.base/break.exp: Drop references to removed code.
4793
e444df73
AA
47942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4795
4796 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4797 variant.
4798
8008f2a7
AA
47992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4800
4801 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4802
a5a06887
AA
48032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4804
4805 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4806 logic into perform_all_tests() and invoke it with and without
4807 function header prototypes.
4808 (do_function_calls): Remove conditional XFAIL for PR 5318.
4809 (rerun_and_prepare): Remove duplicate code.
4810 (perform_all_tests): New. Main logic moved here.
4811
44dba9b9
AA
48122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4813
4814 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4815 code guarded by #ifdef NO_PROTOTYPES.
4816 (t_double_many_args): Likewise.
4817 (DEF_FUNC_MANY_ARGS_1): Likewise.
4818 (DEF_FUNC_VALUES_1): Likewise.
4819 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4820 guarded by #ifdef PROTOTYPES.
4821
d1fbcd56
AA
48222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4823
4824 * gdb.mi/mi-console.c: Add eye-catcher.
4825 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4826 instead of literal line number.
4827
b0e59b8f
AA
48282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4829
4830 * gdb.base/shr2.c: Add eye-catcher.
4831 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4832 line number.
4833
78f98cca
AA
48342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4835
4836 * gdb.base/jump.c: Add eye-catchers.
4837 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4838 numbers.
4839
58fa2af0
AA
48402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4841
4842 * gdb.base/execd-prog.c: Add eye-catchers.
4843 * gdb.base/foll-exec.c: Likewise.
4844 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4845 line numbers.
4846
04e5059b
AA
48472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4848
4849 * gdb.base/ending-run.c: Add eye-catchers.
4850 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4851 literal line numbers.
4852
dbfdb174
AA
48532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4854
4855 * gdb.base/call-rt-st.c: Add eye-catchers.
4856 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4857 literal line numbers.
4858
888a2ade
AA
48592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860
4861 * gdb.base/call-ar-st.c: Add eye-catchers.
4862 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4863 literal line numbers.
4864
6acc2dde
AA
48652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4866
4867 * gdb.base/average.c: Add eye-catchers.
4868 * gdb.base/sum.c: Likewise.
4869 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4870 regexps dynamically.
4871
9ecfcd1d
AA
48722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4873
4874 * gdb.base/solib1.c: Add eye-catchers.
4875 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4876 literal line numbers.
4877
78708b7c
PA
48782014-11-12 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4881 leader has exited.
4882
af48d08f
PA
48832014-11-12 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.arch/i386-bp_permanent.c: New file.
4886 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4887 (srcfile): Set to i386-bp_permanent.c.
4888 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4889 that stepi does not execute the 'leave' instruction, instead of
4890 testing it does execute.
4891 * gdb.base/bp-permanent.c: New file.
4892 * gdb.base/bp-permanent.exp: New file.
4893
af3768e9
DE
48942014-11-10 Doug Evans <xdje42@gmail.com>
4895
4896 PR symtab/17564
4897 * gdb.base/symtab-search-order.exp: New file.
4898 * gdb.base/symtab-search-order.c: New file.
4899 * gdb.base/symtab-search-order-1.c: New file.
4900 * gdb.base/symtab-search-order-shlib-1.c: New file.
4901
9de00a4a
PA
49022014-11-07 Pedro Alves <palves@redhat.com>
4903
4904 PR gdb/17511
4905 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4906 i?86-*-linux*.
4907
e0f52461
SC
49082014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4909
4910 PR c++/17494
4911 * gdb.cp/pr17494.cc: New file.
4912 * gdb.cp/pr17494.exp: New file.
4913
6ce8c980
YQ
49142014-11-02 Yao Qi <yao@codesourcery.com>
4915
4916 * gdb.python/python.exp: Get working directory and match the
4917 output of "set extended-prompt \\w " with it.
4918
02be9a71
DE
49192014-10-30 Doug Evans <dje@google.com>
4920
4921 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4922 in objfiles.
4923 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4924 in progspaces.
4925
3bdff46b
LM
49262014-10-30 Janis Johnson <janisjo@codesourcery.com>
4927
4928 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4929 * gdb.base/realname-expand.exp: Likewise.
4930 * gdb.linespec/macro-relative.exp: Likewise.
4931
ab917dfb
PA
49322014-10-29 Pedro Alves <palves@redhat.com>
4933
4934 PR gdb/17408
4935 * gdb.threads/schedlock.c (some_function): New function.
4936 (call_function): New global.
4937 (MAYBE_CALL_SOME_FUNCTION): New macro.
4938 (thread_function): Call it.
4939 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4940 and use it instead of a global counter. Adjust all callers.
4941 (get_current_thread): Use "find current thread" for test message
4942 here rather than having all callers pass down the same string.
4943 (goto_loop): New procedure, factored out from ...
4944 (my_continue): ... this.
4945 (step_ten_loops): Change parameter from test message to command to
4946 use. Adjust.
4947 (list_count): Delete global.
4948 (check_result): New procedure, factored out from duplicate top
4949 level code.
4950 (continue tests): Wrap in with_test_prefix.
4951 (test_step): New procedure, factored out from duplicate top level
4952 code.
4953 (top level): Test "step" in combination with all scheduler-locking
4954 modes. Test "next" in combination with all scheduler-locking
4955 modes, and in combination with stepping over a function call or
4956 not.
4957 * gdb.threads/next-bp-other-thread.c: New file.
4958 * gdb.threads/next-bp-other-thread.exp: New file.
4959
d3d4baed
PA
49602014-10-29 Pedro Alves <palves@redhat.com>
4961
4962 PR python/17372
4963 * gdb.python/python.exp: Test a multi-line command that spawns
4964 interactive Python.
4965 * gdb.base/multi-line-starts-subshell.exp: New file.
4966
563e8d85
YQ
49672014-10-29 Yao Qi <yao@codesourcery.com>
4968
4969 * gdb.base/fileio.exp: Make directories on host.
4970
0ea4d52e
YQ
49712014-10-29 Yao Qi <yao@codesourcery.com>
4972
4973 * gdb.base/fileio.c (test_write): Close the file.
4974
7f5ef605
PA
49752014-10-28 Pedro Alves <palves@redhat.com>
4976
4977 PR gdb/12623
4978 * gdb.base/sigstep.c (no_handler): New global.
4979 (main): If 'no_handler is true, set the signal handlers to
4980 SIG_IGN.
4981 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4982 with_sw_watch and no_handler parameters. Handle them.
4983 (top level) <stepping over handler when stopped at a breakpoint
4984 test>: Add a test axis for testing with a software watchpoint, and
4985 another for testing with the signal handler set to SIG_IGN.
4986 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4987 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4988
abbdbd03
PA
49892014-10-28 Pedro Alves <palves@redhat.com>
4990
4991 PR gdb/17511
4992 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4993 * gdb.base/sigstep.exp (other_handler_location): New global.
4994 (advance): Support stepping into the signal handler, and running
4995 commands while in the handler.
4996 (in_handler_map): New global.
4997 (top level): In the advance test, add combinations for getting
4998 into the handler with stepping commands, and for running commands
4999 in the handler. Add comment descripting the advancei tests.
5000
1df4399f
PA
50012014-10-28 Pedro Alves <palves@redhat.com>
5002
5003 * gdb.base/sigstep.exp: Use build_executable instead of
5004 prepare_for_testing.
5005 (top level): Move code that starts GDB, runs to main and creates a
5006 display to ...
5007 (restart): ... this new procedure.
5008 (top level): Move backtrace from signal handler test to ...
5009 (validate_backtrace): ... this new procedure.
5010 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5011 with_test_prefix. Always restart GDB.
5012 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5013 with_test_prefix. Always restart GDB. No need to delete
5014 breakpoints after the test.
5015 (test_skip_handler): Remove prefix parameter.
5016 (skip_over_handler, breakpoint_to_handler)
5017 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5018 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5019 restart GDB. No need to delete breakpoints after the test.
5020 (top level): Use foreach to call the test procedures with
5021 different commands.
5022
a5b6e449
PA
50232014-10-28 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5026 instead of GNATS numbers.
5027 * gdb.base/sigbpt.exp: Likewise.
5028 * gdb.base/siginfo.exp: Likewise.
5029 * gdb.base/sigstep.exp: Likewise.
5030
e5f8a7cc
PA
50312014-10-27 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.base/sigstep.c (dummy): New global.
5034 (main): Issue a couple writes to the new global.
5035 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5036 procedures.
5037 (skip_over_handler): Use test_skip_handler.
5038 (top level): Call skip_over_handler for stepi and nexti too.
5039 (breakpoint_over_handler): Use test_skip_handler.
5040 (top level): Call breakpoint_over_handler for stepi and nexti too.
5041
763905a3
YQ
50422014-10-27 Yao Qi <yao@codesourcery.com>
5043
5044 * gdb.trace/tfile.c (adjust_function_address)
5045 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5046 function descriptor.
5047
6f259a23
DB
50482014-10-24 Don Breazeal <donb@codesourcery.com>
5049
5050 * gdb.base/foll-fork.exp (test_follow_fork,
5051 catch_fork_child_follow): Check for updated fork messages emitted
5052 from infrun.c.
5053 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5054 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5055 vfork_and_exec_child_follow_through_step): Check for updated vfork
5056 messages emitted from infrun.c.
5057
09dd9a69
PA
50582014-10-24 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.base/corefile.exp: Remove references to ultrix.
5061 * gdb.base/interrupt.exp: Likewise.
5062 * gdb.base/whatis.exp: Likewise.
5063 * gdb.gdb/selftest.exp: Likewise.
5064 * gdb.threads/manythreads.exp: Likewise.
5065 * gdb.threads/print-threads.exp: Likewise.
5066 * gdb.threads/pthreads.exp:: Likewise.
5067 * gdb.threads/schedlock.exp: Likewise.
5068
3433cfa5
SC
50692014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5070
5071 * gdb.cp/non-trivial-retval.cc: Add a test case.
5072 * gdb.cp/non-trivial-retval.exp: Add a test.
5073
092f880b
YQ
50742014-10-20 Yao Qi <yao@codesourcery.com>
5075
5076 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5077 * gdb.python/py-objfile-script-gdb.py: New file.
5078 * gdb.python/py-objfile-script.exp: Update reference to
5079 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5080 of remote_download. Remove the dest file.
5081
acbdb7f3
YQ
50822014-10-20 Yao Qi <yao@codesourcery.com>
5083
5084 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5085 * gdb.base/step-line.exp: Likewise.
5086 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5087 * gdb.dwarf2/dw2-basic.exp: Likewise.
5088 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5089 * gdb.dwarf2/dw2-filename.exp: Likewise.
5090 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5091 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5092 * gdb.dwarf2/dw2-producer.exp: Likewise.
5093 * gdb.dwarf2/mac-fileno.exp: Likewise.
5094 * gdb.python/py-frame-args.exp: Likewise.
5095 * gdb.python/py-framefilter.exp: Likewise.
5096 * gdb.python/py-mi.exp: Likewise.
5097 * gdb.python/py-objfile-script.exp: Likewise
5098 * gdb.python/py-pp-integral.exp: Likewise.
5099 * gdb.python/py-pp-re-notag.exp: Likewise.
5100 * gdb.python/py-prettyprint.exp: Likewise.
5101 * gdb.python/py-section-script.exp: Likewise.
5102 * gdb.python/py-typeprint.exp: Likewise.
5103 * gdb.python/py-xmethods.exp: Likewise.
5104 * gdb.stabs/weird.exp: Likewise.
5105 * gdb.xml/tdesc-regs.exp: Likewise.
5106
bd286a29
KCY
51072014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5108
5109 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5110 (out_cu): Use addr_len for the size of addresses.
5111 (out_line): Likewise. Size DW_LNE_set_address instruction
5112 according to addr_len.
5113 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5114 (FUNC): Add START_INSNS to definition.
5115
673dc4a0
YQ
51162014-10-18 Yao Qi <yao@codesourcery.com>
5117
5118 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5119 gdb_has_argv0 return true.
5120 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5121 check [target_info exists noargs], check [gdb_has_argv0]
5122 instead.
5123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5124 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5125 procedures.
5126
4ffbba72
DE
51272014-10-17 Doug Evans <dje@google.com>
5128
5129 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5130 event.
5131 * gdb.python/py-events.py: Add clear_objfiles event.
5132
d096d8c1
DE
51332014-10-17 Doug Evans <dje@google.com>
5134
5135 * gdb.python/py-objfile.exp: Test progspace attribute.
5136
a80db015
LM
51372014-10-17 Luis Machado <lgustavo@codesourcery.com>
5138
5139 * gdb.guile/scm-breakpoint.exp: Do not assume any
5140 directory separators when matching source file paths.
5141 * gdb.python/py-breakpoint.exp: Likewise.
5142 * gdb.reverse/break-precsave.exp: Likewise.
5143 * gdb.reverse/break-reverse.exp: Likewise.
5144 * gdb.reverse/consecutive-precsave.exp: Likewise.
5145 * gdb.reverse/finish-precsave.exp: Likewise.
5146 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5147 * gdb.reverse/finish-reverse.exp: Likewise.
5148 * gdb.reverse/i386-precsave.exp: Likewise.
5149 * gdb.reverse/i387-env-reverse.exp: Likewise.
5150 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5151 * gdb.reverse/machinestate-precsave.exp: Likewise.
5152 * gdb.reverse/machinestate.exp: Likewise.
5153 * gdb.reverse/sigall-precsave.exp: Likewise.
5154 * gdb.reverse/solib-precsave.exp: Likewise.
5155 * gdb.reverse/step-precsave.exp: Likewise.
5156 * gdb.reverse/until-precsave.exp: Likewise.
5157 * gdb.reverse/watch-precsave.exp: Likewise.
5158 * gdb.reverse/watch-reverse.exp: Likewise.
5159
b22089ab
YQ
51602014-10-17 Yao Qi <yao@codesourcery.com>
5161
5162 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5163 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5164
6c4486e6
PA
51652014-10-17 Pedro Alves <palves@redhat.com>
5166
5167 PR gdb/17471
5168 * gdb.base/bg-execution-repeat.c: New file.
5169 * gdb.base/bg-execution-repeat.exp: New file.
5170
0ff33695
PA
51712014-10-17 Pedro Alves <palves@redhat.com>
5172
5173 PR gdb/17300
5174 * gdb.base/continue-all-already-running.c: New file.
5175 * gdb.base/continue-all-already-running.exp: New file.
5176
6fdebc3d
PA
51772014-10-17 Pedro Alves <palves@redhat.com>
5178
5179 PR gdb/17472
5180 * gdb.base/annota-input-while-running.c: New file.
5181 * gdb.base/annota-input-while-running.exp: New file.
5182
32a8097b
PA
51832014-10-17 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.base/callfuncs.exp: emove references to osf.
5186 * gdb.base/sigall.exp: Likewise.
5187 * gdb.gdb/selftest.exp: Likewise.
5188 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5189 * gdb.mi/non-stop.c: Likewise.
5190 * gdb.mi/pthreads.c: Likewise.
5191 * gdb.reverse/sigall-precsave.exp: Likewise.
5192 * gdb.reverse/sigall-reverse.exp: Likewise.
5193 * gdb.threads/pthreads.c: Likewise.
5194 * gdb.threads/pthreads.exp: Likewise.
5195
7a3517ff
YQ
51962014-10-17 Yao Qi <yao@codesourcery.com>
5197
5198 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5199 check 'target_info exists noargs'.
5200 (test_command_prompt_position): Likewise.
5201 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5202 Remove "set args".
5203 (progvar_simple_while_test): Likewise.
5204 (progvar_complex_if_while_test): Likewise.
5205 (if_while_breakpoint_command_test): Likewise.
5206 (infrun_breakpoint_command_test): Likewise.
5207 (breakpoint_command_test): Likewise.
5208 (watchpoint_command_test): Likewise.
5209 (bp_deleted_in_command_test): Likewise.
5210 (temporary_breakpoint_commands): Likewise.
5211
bb99c472
YQ
52122014-10-16 Yao Qi <yao@codesourcery.com>
5213
5214 * gdb.base/remotetimeout.exp: Remove noargs checking.
5215
7c16b83e
PA
52162014-10-15 Pedro Alves <palves@redhat.com>
5217
5218 PR breakpoints/9649
5219 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5220 * gdb.base/breakpoint-in-ro-region.exp
5221 (probe_target_hardware_step): New procedure.
5222 (top level): Probe hardware stepping and hardware breakpoint
5223 support. Test stepping through a read-only region, with both
5224 "breakpoint auto-hw" on and off and both "always-inserted" on and
5225 off.
5226
35a49624
IB
52272014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5228
5229 * gdb.dlang/demangle.exp: Update for demangling changes.
5230
2d1c107c
SC
52312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5232
5233 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5234 * gdb.cp/non-trivial-retval.exp: Add new tests.
5235
778811d5
SC
52362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5237
5238 PR c++/13403
5239 PR c++/15154
5240 * gdb.cp/non-trivial-retval.cc: New file.
5241 * gdb.cp/non-trivial-retval.exp: New file.
5242
10c5f0a8
YQ
52432014-10-15 Yao Qi <yao@codesourcery.com>
5244
5245 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5246 remote host.
5247
65d7b369
YQ
52482014-10-15 Yao Qi <yao@codesourcery.com>
5249
5250 * gdb.python/py-symbol.exp: Match file base name if host is
5251 remote, otherwise match file name with dir name.
5252 * gdb.python/py-symtab.exp: Likewise.
5253 * gdb.python/python.exp: Likewise.
5254
46dc1394
YQ
52552014-10-15 Yao Qi <yao@codesourcery.com>
5256
5257 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5258 pattern.
5259 * gdb.python/py-symtab.exp: Likewise.
5260 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5261 locationn.
5262
c40cc657
JB
52632014-10-14 Joel Brobecker <brobecker@adacore.com>
5264
5265 * gdb.ada/addr_arith: New testcase.
5266
2abf49e1
MR
52672014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5268
5269 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5270 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5271 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5272 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5273
f7088df3
SDJ
52742014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5275
5276 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5277 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5278 * gdb.arch/stap-eval-lang-ada.exp: New file.
5279
4dc06805
YQ
52802014-10-14 Yao Qi <yao@codesourcery.com>
5281
5282 * gdb.mi/mi-var-child.c (nothing1): New function.
5283 (nothing2): New function.
5284 (do_children_tests): Set function pointers by nothing1 and
5285 nothing2.
5286 * gdb.mi/mi-var-child.exp: Step over new added statements.
5287 Update test to match the new output.
5288 * gdb.mi/var-cmd.c (nothing1): New function.
5289 (nothing2): New function.
5290 (do_children_tests): Set function pointers by nothing1 and
5291 nothing2.
5292 * gdb.mi/mi-var-display.exp: Update test to match output.
5293 Step to the line specified by $line_dct_nothing.
5294 Increase the number of lines to step.
5295
46a93de2
YQ
52962014-10-14 Yao Qi <yao@codesourcery.com>
5297
5298 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5299 tests.
5300 * gdb.mi/mi2-var-child.exp: Likewise.
5301
14ea52ee
DE
53022014-10-13 Doug Evans <dje@google.com>
5303
5304 * gdb.python/py-objfile.exp: Change name of file name test.
5305
e5c6e92b
DE
53062014-10-13 Doug Evans <dje@google.com>
5307
5308 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5309 from the start of the CU.
5310
c780cc2f
JK
53112014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5312 Yao Qi <yao@codesourcery.com>
5313
5314 Fix "save breakpoints" for "catch" command.
5315 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5316 Remove -nonewline. Match also the added "main" line.
5317
99894e11
JK
53182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5319
5320 Fix "save breakpoints" for "disable $bpnum" command.
5321 * gdb.base/save-bp.c (main): Add label.
5322 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5323
6e1ac5a3
JK
53242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5325
5326 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5327
754dd2b0
YQ
53282014-10-11 Yao Qi <yao@codesourcery.com>
5329
5330 * gdb.server/server-kill.exp: Execute command
5331 "set remote trace-status-packet on" before "tstatus".
5332
f90183d7
YQ
53332014-10-11 Yao Qi <yao@codesourcery.com>
5334
5335 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5336 (main): Call getppid.
5337 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5338 and continue to it. Read variable "server_pid".
5339
bf40a607
YQ
53402014-10-11 Yao Qi <yao@codesourcery.com>
5341
5342 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5343
052ca370
YQ
53442014-10-11 Yao Qi <yao@codesourcery.com>
5345
5346 * gdb.threads/thread-find.exp: Don't execute command
5347 "info threads".
5348 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5349 * gdb.threads/linux-dp.exp: Don't check the condition
5350 $threads_created equals to zero.
5351
3831839c
PA
53522014-10-10 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.base/bigcore.exp: Remove references to IRIX.
5355 * gdb.base/funcargs.exp: Likewise.
5356 * gdb.base/interrupt.exp: Likewise.
5357 * gdb.base/mips_pro.exp: Likewise.
5358 * gdb.base/nodebug.exp: Likewise.
5359 * gdb.base/setvar.exp: Likewise.
5360 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5361
8b9a549d
PA
53622014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5363 Pedro Alves <palves@redhat.com>
5364
5365 PR symtab/14466
5366 * gdb.base/vdso-warning.c: New file.
5367 * gdb.base/vdso-warning.exp: New file.
5368
d48ba5e8
DE
53692014-10-02 Doug Evans <dje@google.com>
5370
5371 * gdb.base/structs.c (main): Don't run forever.
5372
2278c276
PA
53732014-10-02 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5376 (top level) <stop threads 1, stop threads 2>: Use it.
5377
b57bacec
PA
53782014-10-02 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.threads/break-while-running.exp (test): Add new
5381 'update_thread_list' argument. Skip "info threads" if false.
5382 (top level): Add new 'update_thread_list' axis.
5383
13fd3ff3
PA
53842014-10-02 Pedro Alves <palves@redhat.com>
5385
5386 PR breakpoints/17431
5387 * gdb.base/execl-update-breakpoints.c: New file.
5388 * gdb.base/execl-update-breakpoints.exp: New file.
5389
0fec99e8
PA
53902014-10-01 Pedro Alves <palves@redhat.com>
5391
5392 * gdb.base/breakpoint-in-ro-region.c: New file.
5393 * gdb.base/breakpoint-in-ro-region.exp: New file.
5394
2ddf4301
SM
53952014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5396
5397 * gdb.mi/mi-exit-code.exp: New file.
5398 * gdb.mi/mi-exit-code.c: New file.
5399
6a5f3f43
YQ
54002014-09-30 Yao Qi <yao@codesourcery.com>
5401
5402 * lib/prelink-support.exp (build_executable_own_libs): Error if
5403 the target isn't native.
5404
345bcc73
YQ
54052014-09-30 Yao Qi <yao@codesourcery.com>
5406
5407 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5408 false.
5409
a25a5a45
PA
54102014-09-22 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.threads/break-while-running.exp: New file.
5413 * gdb.threads/break-while-running.c: New file.
5414
00ba3162
YQ
54152014-09-19 Yao Qi <yao@codesourcery.com>
5416
5417 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5418 Invoke test. Restart GDB with --readnow and invoke test again.
5419
c3b7b696
YQ
54202014-09-19 Yao Qi <yao@codesourcery.com>
5421
5422 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5423 proc set_breakpoint_on_gcd_function. Invoke
5424 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5425 invoke set_breakpoint_on_gcd_function again.
5426
2b4fd423
DE
54272014-09-18 Doug Evans <dje@google.com>
5428
5429 * gdb.dwarf2/symtab-producer.exp: New file.
5430
a5947601
SDJ
54312014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5432
5433 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5434 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5435 * gdb.base/global-var-nested-by-dso.c: Likewise.
5436 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5437
91c19059
SDJ
54382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5439 Pedro Alves <palves@redhat.com>
5440
5441 * gdb.base/watch-bitfields.exp: Pass string other than test file
5442 name to prepare_for_testing.
5443 (watch): New procedure.
5444 (expect_watchpoint): Use with_test_prefix.
5445 (top level): Factor out tests to ...
5446 (test_watch_location, test_regular_watch): ... these new
5447 procedures, and use with_test_prefix and gdb_continue_to_end.
5448
bb9d5f81
PP
54492014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5450
5451 PR breakpoints/12526
5452 * gdb.base/watch-bitfields.exp: New file.
5453 * gdb.base/watch-bitfields.c: New file.
5454
635856f5
PA
54552014-09-16 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5458 software and hardware addresses, not software address against
5459 itself.
5460
7280ceea
PA
54612014-09-16 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5464 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5465
428b16bd
PA
54662014-09-16 Pedro Alves <palves@redhat.com>
5467
5468 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5469 files.
5470 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5471 "*-*-vxworks*" throughout.
5472 * gdb.base/break.exp: Likewise.
5473 * gdb.base/default.exp: Likewise.
5474 * gdb.base/scope.exp: Likewise.
5475 * gdb.base/sepdebug.exp: Likewise.
5476 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5477 throughout.
5478 * gdb.base/run.c: Likewise.
5479 * gdb.base/sepdebug.c: Likewise.
5480 * gdb.hp/gdb.aCC/run.c: Likewise.
5481 * gdb.reverse/until-reverse.c: Likewise.
5482 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5483
666d413c
YQ
54842014-09-16 Yao Qi <yao@codesourcery.com>
5485
5486 * boards/local-remote-host-native.exp: New file.
5487
57cbd724
DE
54882014-09-14 Doug Evans <xdje42@gmail.com>
5489
5490 * gdb.threads/queue-signal.c (thread_count): New variable.
5491 (thread_count_mutex, thread_count_condvar): New variables.
5492 (incr_thread_count, wait_all_threads_running): New functions.
5493 (main): Wait for all threads to be in their thread functions.
5494
81219e53
DE
54952014-09-13 Doug Evans <xdje42@gmail.com>
5496
5497 * gdb.threads/queue-signal.c: New file.
5498 * gdb.threads/queue-signal.exp: New file.
5499
3714cea7
DE
55002014-09-13 Doug Evans <xdje42@gmail.com>
5501
5502 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5503 be consistent with what default_gdb_init uses.
5504 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5505 the plain text of the prompt. Add some logging printfs.
5506 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5507
fa43b1d7
PA
55082014-09-12 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5511 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5512 * gdb.arch/i386-size-overlap.exp: Likewise.
5513 * gdb.arch/i386-size.exp: Likewise.
5514 * gdb.arch/i386-unwind.exp: Likewise.
5515 * gdb.base/a2-run.exp: Likewise.
5516 * gdb.base/break.exp: Likewise.
5517 * gdb.base/charset.exp: Likewise.
5518 * gdb.base/chng-syms.exp: Likewise.
5519 * gdb.base/commands.exp: Likewise.
5520 * gdb.base/dbx.exp: Likewise.
5521 * gdb.base/find.exp: Likewise.
5522 * gdb.base/funcargs.exp: Likewise.
5523 * gdb.base/jit-simple.exp: Likewise.
5524 * gdb.base/reread.exp: Likewise.
5525 * gdb.base/sepdebug.exp: Likewise.
5526 * gdb.base/step-bt.exp: Likewise.
5527 * gdb.cp/mb-inline.exp: Likewise.
5528 * gdb.cp/mb-templates.exp: Likewise.
5529 * gdb.objc/basicclass.exp: Likewise.
5530 * gdb.threads/killed.exp: Likewise.
5531
9d9bf2df
EBM
55322014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5533
5534 PR tdep/17379
5535 * gdb.arch/powerpc-stackless.S: New file.
5536 * gdb.arch/powerpc-stackless.exp: New file.
5537
1cf2f1b0
JK
55382014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5539
5540 * gdb.base/attach.c: Include unistd.h.
5541 (main): Call alarm. Add label postloop.
5542 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5543 gdb_breakpoint, gdb_continue_to_breakpoint.
5544 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5545
98880d46
PA
55462014-09-11 Pedro Alves <palves@redhat.com>
5547
5548 PR gdb/17347
5549 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5550 * gdb.base/attach.exp (test_command_line_attach_run): New
5551 procedure.
5552 (top level): Call it.
5553
4c92ff2c
PA
55542014-09-11 Pedro Alves <palves@redhat.com>
5555
5556 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5557 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5558 (do_command_attach_tests): Use spawn_wait_for_attach.
5559 * gdb.base/solib-overlap.exp: Likewise.
5560 * gdb.multi/multi-attach.exp: Likewise.
5561 * gdb.python/py-prompt.exp: Likewise.
5562 * gdb.python/py-sync-interp.exp: Likewise.
5563 * gdb.server/ext-attach.exp: Likewise.
5564
3adc1a7d
GKB
55652014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5566
5567 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5568 command in testcase. Simplify testcase.
5569
96334934
JB
55702014-09-10 Joel Brobecker <brobecker@adacore.com>
5571
5572 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5573
eb479039
JB
55742014-09-10 Joel Brobecker <brobecker@adacore.com>
5575
5576 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5577
deede10c
JB
55782014-09-10 Joel Brobecker <brobecker@adacore.com>
5579
5580 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5581
7828a5f5
JB
55822014-09-10 Joel Brobecker <brobecker@adacore.com>
5583
5584 * gdb.dwarf2/dynarr-ptr.c: New file.
5585 * gdb.dwarf2/dynarr-ptr.exp: New file.
5586
33aeebcf
MR
55872014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5588
5589 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5590 of 30 rather than hardcoding 120 for a slow test case. Take the
5591 `gdb,timeout' target setting into account for this calculation.
5592 Don't extend the timeout for the test cases that don't need it.
5593
7b415901
MR
55942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5595
5596 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5597 a factor of 2 for a slow test case. Take the `gdb,timeout'
5598 target setting into account for this calculation.
5599 * gdb.reverse/until-precsave.exp: Increase the timeout by
5600 a factor of 15 and 3 respectively rather than adding 120
5601 for a pair of slow test cases. Take the `gdb,timeout'
5602 target setting into account for this calculation.
5603
4a40f85a
MR
56042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5605
5606 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5607 timeout, don't pass one down to gdb_expect.
5608 (gdb_expect): Rework timeout selection.
5609
09635af7
MR
56102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5611
5612 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5613 exception on timeout.
5614 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5615 (gdbserver_start_extended): Catch any `gdbserver_start' error
5616 exceptions.
5617 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5618 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5619 `gdbserver_gdb_load' error exceptions.
5620
2bdd10b7
MR
56212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5622
5623 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5624 120 on waiting for the TCP socket to open.
5625
316935f0
DE
56262014-09-09 Doug Evans <xdje42@gmail.com>
5627
5628 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5629 _caller_matches, _any_caller_is, _any_caller_matches.
5630
83740597
DE
56312014-09-09 Doug Evans <xdje42@gmail.com>
5632
5633 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5634
4c122fc3
YQ
56352014-09-09 Yao Qi <yao@codesourcery.com>
5636
5637 * gdb.mi/mi-var-display.exp: Set print symbol off.
5638
a9f116cb
GKB
56392014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5640
5641 PR gdb/17035
5642 * gdb.base/commands.exp: Add tests to verify user-defined
5643 commands with empty bodies.
5644 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5645 python commands in `show user command`.
5646 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5647 scheme commands in `show user command`.
5648
c75bd3a2
JK
56492014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5650
5651 PR python/17355
5652 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5653 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5654 * gdb.python/py-framefilter-invalidarg.exp: New file.
5655 * gdb.python/py-framefilter-invalidarg.py: New file.
5656
faa42425
DE
56572014-09-06 Doug Evans <xdje42@gmail.com>
5658
5659 PR 15276
5660 * gdb.python/py-caller-is.c: New file.
5661 * gdb.python/py-caller-is.exp: New file.
5662
474ca4f6
SDJ
56632014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5664
5665 PR gdb/17235
5666 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5667 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5668
eb0b0463
SDJ
56692014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5670
5671 PR fortran/17237
5672 * gdb.fortran/print-formatted.exp: New file.
5673 * gdb.fortran/print-formatted.f90: Likewise.
5674
5f3b99cf
SS
56752014-09-03 Sasha Smundak <asmundak@google.com>
5676
5677 * gdb.python/py-frame.exp: Test Frame.read_register.
5678
7d793aa9
SDJ
56792014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5680
5681 PR python/16699
5682 * gdb.python/py-completion.exp: New file.
5683 * gdb.python/py-completion.py: Likewise.
5684
fb0576e9
DE
56852014-08-28 Doug Evans <dje@google.com>
5686
5687 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5688 eax,etc. are live with values set by gdb and thus the compiler can't
5689 use them.
5690 * gdb.arch/i386-pseudo.c (main): Ditto.
5691
ee92b0dd
DE
56922014-08-27 Doug Evans <dje@google.com>
5693
5694 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5695
6649db35
DE
56962014-08-25 Doug Evans <dje@google.com>
5697
5698 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5699 (main): Ditto.
5700
564b7600
DE
57012014-08-25 Doug Evans <dje@google.com>
5702
5703 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5704
3881fb67
YQ
57052014-08-24 Yao Qi <yao@codesourcery.com>
5706
5707 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5708 symbol off.
5709 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5710
a05a36a5
DE
57112014-08-22 Doug Evans <dje@google.com>
5712
5713 PR 17276
5714 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5715 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5716 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5717
7c343b48
YQ
57182014-08-22 Yao Qi <yao@codesourcery.com>
5719
5720 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5721 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5722 * gdb.python/python.exp: Likewise. Use .py file on the host
5723 instead of the build.
5724
22fd09ae
JK
57252014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 * gdb.threads/gcore-stale-thread.c: New file.
5728 * gdb.threads/gcore-stale-thread.exp: New file.
5729
a8454a7c
PA
57302014-08-21 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5733 * gdb.base/gcore-relro-pie.exp: Likewise.
5734 * gdb.base/gcore-relro.exp: Likewise.
5735 * gdb.base/gcore.exp: Likewise.
5736 * gdb.base/print-symbol-loading.exp: Likewise.
5737 * gdb.threads/gcore-thread.exp: Likewise.
5738 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5739
2a31c623
PA
57402014-08-20 Pedro Alves <palves@redhat.com>
5741 Jan Kratochvil <jan.kratochvil@redhat.com>
5742
5743 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5744 configure.
5745 (EXPECT): Handle READ1 being set.
5746 (all): Depend on EXTRA_RULES.
5747 (check-read1, expect-read1, read1.so, read1): New rules.
5748 * README (Testsuite Parameters): Document the READ1 make variable.
5749 (Race detection): New section.
5750 * configure: Regenerate.
5751 * configure.ac: If build==host==target, and running under a
5752 GNU/glibc system, add read1 to the extra Makefile rules.
5753 (EXTRA_RULES): AC_SUBST it.
5754 * lib/read1.c: New file.
5755
d36430db
JB
57562014-08-20 Joel Brobecker <brobecker@adacore.com>
5757
5758 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5759 the handling of variables declared as a typedef to an array
5760 which a DW_AT_data_location attribute.
5761
9a0dc9e3
PA
57622014-08-19 Andrew Burgess <aburgess@broadcom.com>
5763 Pedro Alves <palves@redhat.com>
5764
5765 PR symtab/14604
5766 PR symtab/14605
5767 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5768 gdb_test.
5769
0718a8da
PA
57702014-08-19 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5773
13b448cd
YQ
57742014-08-19 Yao Qi <yao@codesourcery.com>
5775
5776 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5777 right line.
5778
1cbf5077
DB
57792014-08-18 David Blaikie <dblaikie@gmail.com>
5780
5781 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5782
bf0fae19
JB
57832014-08-18 Joel Brobecker <brobecker@adacore.com>
5784
5785 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5786 attribute in array range.
5787
3c8c5dcc
JB
57882014-08-18 Joel Brobecker <brobecker@adacore.com>
5789
5790 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5791
e66d4446
SC
57922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5793
5794 PR c++/17132
5795 * gdb.cp/pr17132.cc: New file.
5796 * gdb.cp/pr17132.exp: New file.
5797
940df408
SC
57982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5799
5800 * gdb.python/py-xmethods.py (A_getarrayind)
5801 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5802 Use 'print' with function call syntax.
5803 (E_method_matcher.match): Fix tab vs space indentation mixup.
5804
ebcc6c3a
YQ
58052014-08-15 Yao Qi <yao@codesourcery.com>
5806
5807 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5808 false.
5809
775e0f04
YQ
58102014-08-15 Yao Qi <yao@codesourcery.com>
5811
5812 * gdb.cp/casts.exp: Set print symbol off.
5813 * gdb.cp/class2.exp: Likewise.
5814 * gdb.cp/overload.exp: Likewise.
5815 * gdb.cp/templates.exp: Likewise.
5816
d769e349
DE
58172014-08-11 Doug Evans <dje@google.com>
5818
5819 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5820 (test_load_shlib): Update.
5821
20c6f1e1
YQ
58222014-08-09 Yao Qi <yao@codesourcery.com>
5823
5824 * gdb.base/display.exp: Invoke is_address_zero_readable.
5825 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5826 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5827 * gdb.base/hbreak-unmapped.exp: Return if
5828 is_address_zero_readable returns true.
5829 * gdb.base/signest.exp: Likewise.
5830 * gdb.base/signull.exp: Likewise.
5831 * gdb.base/sigbpt.exp: Likewise.
5832 * gdb.guile/scm-disasm.exp: Do the test if
5833 is_address_zero_readable returns false.
5834 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5835 * gdb.python/py-arch.exp: Likewise.
5836 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5837 * lib/gdb.exp (is_address_zero_readable): New proc.
5838
5792e8e3
YQ
58392014-08-09 Yao Qi <yao@codesourcery.com>
5840
5841 PR testsuite/13443
5842 * gdb.mi/mi-var-display.exp: Make test messages unique.
5843
3cecbbbe
TT
58442014-08-04 Tom Tromey <tromey@redhat.com>
5845
5846 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5847 target 0".
5848
00b51ff5
TT
58492014-08-04 Tom Tromey <tromey@redhat.com>
5850
5851 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5852 "target_resume".
5853
6908c509
JB
58542014-08-01 Joel Brobecker <brobecker@adacore.com>
5855
5856 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5857 inner_vla_struct_object_size.
5858 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5859 as xfail.
5860
cc6563d2
PA
58612014-07-30 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5864 comment.
5865
7e09a223
YQ
58662014-07-29 Yao Qi <yao@codesourcery.com>
5867
5868 PR gdb/17206
5869 * gdb.base/until-nodebug.exp: New.
5870
7ebdbe92
DE
58712014-07-28 Doug Evans <xdje42@gmail.com>
5872
5873 PR guile/17203
5874 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5875 previously existing parameter, and previously ambiguously spelled
5876 parameter.
5877
fdb1adc6
WN
58782014-07-28 Will Newton <will.newton@linaro.org>
5879
5880 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5881
186fcde0
DE
58822014-07-26 Ludovic Courtès <ludo@gnu.org>
5883 Doug Evans <xdje42@gmail.com>
5884
5885 PR guile/17146
5886 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5887
70509625
PA
58882014-07-25 Pedro Alves <palves@redhat.com>
5889
5890 * gdb.threads/signal-command-handle-nopass.c: New file.
5891 * gdb.threads/signal-command-handle-nopass.exp: New file.
5892 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5893 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5894 * gdb.threads/signal-delivered-right-thread.c: New file.
5895 * gdb.threads/signal-delivered-right-thread.exp: New file.
5896
c3f814a1
PA
58972014-07-25 Pedro Alves <palves@redhat.com>
5898
5899 * gdb.base/double-prompt-target-event-error.exp
5900 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5901 match.
5902 (cancel_pagination_in_target_event): Rework double prompt
5903 detection.
5904 * gdb.base/paginate-after-ctrl-c-running.exp
5905 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5906 <return>' match.
5907 * gdb.base/paginate-bg-execution.exp
5908 (test_bg_execution_pagination_return)
5909 (test_bg_execution_pagination_cancel): Remove '-notransfer
5910 <return>' matches.
5911 * gdb.base/paginate-execution-startup.exp
5912 (test_fg_execution_pagination_return)
5913 (test_fg_execution_pagination_cancel): Remove '-notransfer
5914 <return>' matches.
5915 * gdb.base/paginate-inferior-exit.exp
5916 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5917 match.
5918 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5919 * lib/gdb.exp (pagination_prompt): Run text through
5920 string_to_regexp.
5921 (gdb_test_multiple): Match $pagination_prompt instead of
5922 "<return>".
5923 (string_to_regexp): Move to lib/gdb-utils.exp.
5924
e214cf6c
JK
59252014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5926
5927 * gdb.arch/amd64-entry-value-paramref.S: New file.
5928 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5929 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5930 * gdb.arch/amd64-optimout-repeat.S: New file.
5931 * gdb.arch/amd64-optimout-repeat.c: New file.
5932 * gdb.arch/amd64-optimout-repeat.exp: New file.
5933
17d0c5c8
JK
59342014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 PR gdb/17170
5937 * gdb.base/statistics.exp: New file.
5938
b8b8facf
DE
59392014-07-17 Doug Evans <dje@google.com>
5940
74b49205 5941 PR gdb/17170
b8b8facf
DE
5942 * gdb.base/maint.exp: Update testing of per-command stats.
5943
1b5d0ab3
PA
59442014-07-16 Pedro Alves <palves@redhat.com>
5945
5946 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5947 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5948 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5949 (tfile_write_buf): New functions.
5950 (add_memory_block): Rewrite using the above.
5951 (adjust_function_address): New function.
5952 (FUNCTION_ADDRESS): New macro.
5953 (write_basic_trace_file): Remove short_x local, and use
5954 tfile_write_16. Change type of func_addr local to unsigned long
5955 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5956 here. Cast argument of add_memory_block to char pointer.
5957 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5958 (main): Remove parameters.
5959 * gdb.trace/tfile.exp: Remove nowarnings.
5960
4d974e88
SM
59612014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5962
5963 * gdb.base/debug-expr.exp: Test string evaluation with
5964 "debug expression" on.
5965
41e99568
PA
59662014-07-15 Pedro Alves <palves@redhat.com>
5967
5968 * gdb.base/reread.exp: Use clean_restart.
5969
487d9753
PL
59702014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5971
5972 * gdb.arch/avr-flash-qualifer.c: New.
5973 * gdb.arch/avr-flash-qualifer.exp: New.
5974
cc1c52ad
PA
59752014-07-14 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5978 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5979
1e973570
PA
59802014-07-14 Pedro Alves <palves@redhat.com>
5981
5982 * gdb.base/double-prompt-target-event-error.c: New file.
5983 * gdb.base/double-prompt-target-event-error.exp: New file.
5984
93d6eb10
PA
59852014-07-14 Pedro Alves <palves@redhat.com>
5986
5987 PR gdb/17072
5988 * gdb.base/paginate-inferior-exit.c: New file.
5989 * gdb.base/paginate-inferior-exit.exp: New file.
5990
0017922d
PA
59912014-07-14 Pedro Alves <palves@redhat.com>
5992
5993 PR gdb/17072
5994 * gdb.base/paginate-bg-execution.c: New file.
5995 * gdb.base/paginate-bg-execution.exp: New file.
5996
94696ad3
PA
59972014-07-14 Pedro Alves <palves@redhat.com>
5998
5999 PR gdb/17072
6000 * gdb.base/paginate-execution-startup.c: New file.
6001 * gdb.base/paginate-execution-startup.exp: New file.
6002 * lib/gdb.exp (pagination_prompt): New global.
6003 (default_gdb_spawn): New procedure, factored out from
6004 default_gdb_spawn.
6005 (default_gdb_start): Adjust to call default_gdb_spawn.
6006 (gdb_spawn): New procedure.
6007
bd293940
PA
60082014-07-14 Pedro Alves <palves@redhat.com>
6009
6010 * lib/gdb.exp (gdb_assert): New procedure.
6011 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6012
c933f875
PA
60132014-07-14 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.base/execution-termios.c: New file.
6016 * gdb.base/execution-termios.exp: New file.
6017
d98b7a16
TT
60182014-07-14 Tom Tromey <tromey@redhat.com>
6019
6020 * gdb.cp/vla-cxx.cc: New file.
6021 * gdb.cp/vla-cxx.exp: New file.
6022
548740d6
TT
60232014-07-14 Tom Tromey <tromey@redhat.com>
6024
6025 * gdb.reverse/rerun-prec.c: New file.
6026 * gdb.reverse/rerun-prec.exp: New file.
6027
a25eb028
MR
60282014-07-12 Maciej W. Rozycki <macro@mips.com>
6029 Maciej W. Rozycki <macro@codesourcery.com>
6030
6031 * lib/gdb-utils.exp: New file.
6032 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6033 inline `gdb_init_command' processing.
6034 (gdb_start_cmd): Likewise.
6035 * lib/mi-support.exp (mi_run_cmd): Likewise.
6036 * README: Document `gdb_init_command' and `gdb_init_commands'.
6037
218c2655
JK
60382014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 Fix false FAIL running under a very long directory name.
6041 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6042 and "set print elements 10000". Twice.
6043
5401fde3
YQ
60442014-07-11 Yao Qi <yao@codesourcery.com>
6045
6046 * gdb.base/exprs.exp: "set print symbol off".
6047
e76126e8
PA
60482014-07-11 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.threads/kill.c: New file.
6051 * gdb.threads/kill.exp: New file.
6052
2d6f0de6
YQ
60532014-07-10 Yao Qi <yao@codesourcery.com>
6054
6055 * gdb.trace/tfile.c (write_basic_trace_file)
6056 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6057 address written to trace file.
6058
7180e04a
PA
60592014-07-09 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.base/attach-wait-input.exp: New file.
6062 * gdb.base/attach-wait-input.c: New file.
6063
9a9a7608
AB
60642014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6065
6066 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6067 setting up test structures.
6068 (main): Call new test function.
6069 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6070 test function, continue into test function and walk test
6071 structures.
6072
161ac41e
YQ
60732014-07-02 Yao Qi <yao@codesourcery.com>
6074
6075 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6076 'bar_start' at the beginning of functions 'foo' and 'bar'
6077 respectively.
6078 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6079 instead of 'foo' and 'bar'.
6080
1f267ae3
MM
60812014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6082
6083 * gdb.btrace/segv.exp: New.
6084 * gdb.btrace/segv.c: New.
6085
2b239efb
LM
60862014-07-02 Luis Machado <lgustavo@codesourcery.com>
6087
6088 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6089 instruction.
6090
cf363f18
MW
60912014-06-30 Mark Wielaard <mjw@redhat.com>
6092
6093 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6094 vulture, vilify, villar): New volatile array constants.
6095 (vindictive, vegetation): New const volatile array constants.
6096 * gdb.base/volatile.exp: Test volatile and const volatile array
6097 types.
6098
aebf9d24
AA
60992014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6100
6101 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6102 target lacks support for awatch, rwatch, or hbreak.
6103
b67a2c6f
YQ
61042014-06-27 Yao Qi <yao@codesourcery.com>
6105
6106 * gdb.multi/dummy-frame-restore.exp: New.
6107 * gdb.multi/dummy-frame-restore.c: New.
6108
aef92902
MM
61092014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6110
6111 * gdb.btrace/gcore.exp: New.
6112
8e9db26e
PA
61132014-06-23 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.base/watchpoint-reuse-slot.c: New file.
6116 * gdb.base/watchpoint-reuse-slot.exp: New file.
6117
70afc5b7
SC
61182014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6119
6120 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6121 progspace's filename in 'info', 'enable' and 'disable' command
6122 tests.
6123
b972bd9c
JK
61242014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6125
6126 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6127 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6128 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6129
125f8a3d
GB
61302014-06-20 Gary Benson <gbenson@redhat.com>
6131
6132 * gdb.arch/i386-avx.exp: Fix include file location.
6133 * gdb.arch/i386-sse.exp: Likewise.
6134
3ed9baed
IB
61352014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6136
6137 * gdb.dlang/expression.exp: New file.
6138
034f788c
PA
61392014-06-19 Pedro Alves <palves@redhat.com>
6140
6141 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6142 out from ...
6143 (top level): ... here. Iterate running tests under different
6144 scheduler-locking settings.
6145
45371d0c
LM
61462014-06-18 Luis Machado <lgustavo@codesourcery.com>
6147
6148 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6149 to DW_FORM_addr and use non-zero addresses.
6150
5d376983
SC
61512014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6152
6153 PR gdb/17017
6154 * gdb.python/py-xmethods.cc: Add global function call counters and
6155 increment them in their respective functions. Remove "cout"
6156 statements.
6157 * gdb.python/py-xmethods.exp: Make tests check the global function
6158 call counters instead of depending on inferior IO.
6159
a1aa2221
LM
61602014-06-18 Don Breazeal <donb@codesourcery.com>
6161
6162 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6163 Deleted procedure.
6164 (explicit_fork_parent_follow): Deleted procedure.
6165 (explicit_fork_child_follow): Deleted procedure.
6166 (test_follow_fork): New procedure.
6167 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6168 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6169 procedure calls.
6170
0fc05997
YQ
61712014-06-17 Yao Qi <yao@codesourcery.com>
6172
6173 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6174 CP1252.
6175
70795c52
LM
61762014-06-17 Luis Machado <lgustavo@codesourcery.com>
6177
6178 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6179 Initialize ptr and S explicitly.
6180 (skip_type_update_when_not_use_rtti_test): Likewise.
6181
6be47f0c
KS
61822014-06-16 Keith Seitz <keiths@redhat.com>
6183
6184 PR mi/15863
6185 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6186 the inferior is started.
6187
d03de421
PA
61882014-06-16 Pedro Alves <palves@redhat.com>
6189
6190 * gdb.base/break-main-file-remove-fail.c: New file.
6191 * gdb.base/break-main-file-remove-fail.exp: New file.
6192 * gdb.base/break-unload-file.exp: Use build_executable instead of
6193 prepare_for_testing.
6194 (test_break): New parameter "initial_load". Handle it.
6195 (top level): Add initial_load cmdline/file axis.
6196
f9579b99
TT
61972014-06-12 Tom Tromey <tromey@redhat.com>
6198
6199 * gdb.base/completion.exp: Don't use directory name in test.
6200
3657956b
GB
62012014-06-09 Gary Benson <gbenson@redhat.com>
6202
6203 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6204 separate the always-available ANSI-standard signals from the
6205 signals that require checking.
6206 (main): Likewise.
6207 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6208 Likewise.
6209 (main): Likewise.
6210
4186eb54
KS
62112014-06-07 Keith Seitz <keiths@redhat.com>
6212
6213 Revert:
6214 PR c++/16253
6215 * gdb.cp/var-tag.cc: New file.
6216 * gdb.cp/var-tag.exp: New file.
6217 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6218 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6219 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6221
25326a28 62222014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6223
6224 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6225
829155c9
PA
62262014-06-06 Pedro Alves <palves@redhat.com>
6227
6228 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6229 in target debug output instead of looking at RSP packets,
6230 disabling the test on any target that uses hardware stepping.
6231 Update comments.
6232
61c8d22e
PA
62332014-06-06 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.base/break-unload-file.exp: Fix typo.
6236
d9a47287
YQ
62372014-06-06 Yao Qi <yao@codesourcery.com>
6238
6239 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6240 from "jit_function" to "^jit_function".
6241
e5e01dbf
YQ
62422014-06-06 Yao Qi <yao@codesourcery.com>
6243
6244 * gdb.base/async.c (foo): Add one statement.
6245 * gdb.base/async.exp: Get the next instruction address and
6246 match the output of "nexti" by instruction address. Match
6247 the hex address in the output of "finish".
6248
73ba372c
GB
62492014-06-06 Gary Benson <gbenson@redhat.com>
6250
6251 * gdb.base/call-signals.c: Remove preprocessor conditionals
6252 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6253 SIGSEGV and SIGTERM.
6254 * gdb.base/sigall.c: Likewise.
6255 * gdb.base/unwindonsignal.c: Likewise.
6256 * gdb.reverse/sigall-reverse.c: Likewise.
6257
831517df
YQ
62582014-06-06 Yao Qi <yao@codesourcery.com>
6259
6260 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6261 readable, skip the test.
6262
b8b91e98
YQ
62632014-06-06 Yao Qi <yao@codesourcery.com>
6264
6265 * gdb.threads/staticthreads.c (thread_function): Move the line
6266 setting breakpoint on forward.
6267 * gdb.threads/staticthreads.exp: Update comments.
6268
fb934770
LC
62692014-06-05 Ludovic Courtès <ludo@gnu.org>
6270
6271 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6272 "history-append! type error".
6273
6ef284bd
SM
62742014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6275
6276 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6277 erroneous dprintf expected input.
6278
a872e241
DE
62792014-06-04 Doug Evans <xdje42@gmail.com>
6280
6281 * gdb.guile/scm-generics.exp: Delete.
6282
16f691fb
DE
62832014-06-04 Doug Evans <xdje42@gmail.com>
6284
6285 * gdb.guile/scm-breakpoint.exp: Update.
6286 Add tests for breakpoint registration.
6287
012370f6
TT
62882014-06-04 Tom Tromey <tromey@redhat.com>
6289
6290 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6291 VLA-in-union.
6292 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6293 inner_vla_struct, vla_union types. Initialize objects of those
6294 types and compute their sizes.
6295
9f5a4cef
HZ
62962014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6297 Hui Zhu <hui@codesourcery.com>
6298
6299 * gdb.base/fileio.exp: Add test for shell not available as well as
6300 available.
6301 * gdb.base/fileio.c (test_system): Check for shell twice.
6302
90a45c4d
YQ
63032014-06-04 Yao Qi <yao@codesourcery.com>
6304
6305 * gdb.base/auto-connect-native-target.exp: Remove redundant
6306 space from the regexp pattern.
6307
70017e41
YQ
63082014-06-04 Yao Qi <yao@codesourcery.com>
6309
6310 * gdb.base/default.exp: Replace "child" with "native" in
6311 regexp pattern.
6312
883964a7
SC
63132014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6314
6315 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6316 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6317 * gdb.python/py-xmethods.py: Python script supporting the
6318 new testcase and tests.
6319
ef370185
JB
63202014-06-03 Joel Brobecker <brobecker@adacore.com>
6321 Pedro Alves <palves@redhat.com>
6322
6323 PR breakpoints/17000
6324 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6325 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6326
1e2ccb61
BM
63272014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6328
6329 * gdb.base/subst.exp: Add tests to verify partial path matching
6330 output.
6331
c6ec5ab2
PA
63322014-06-03 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6335 target that doesn't use software single-stepping.
6336
835c559f
PA
63372014-06-03 Pedro Alves <palves@redhat.com>
6338
6339 PR breakpoints/17000
6340 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6341 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6342
06eb1586
DE
63432014-06-02 Doug Evans <xdje42@gmail.com>
6344
6345 * gdb.guile/scm-parameter.exp: New file.
6346
e698b8c4
DE
63472014-06-02 Doug Evans <xdje42@gmail.com>
6348
6349 * gdb.guile/scm-cmd.c: New file.
6350 * gdb.guile/scm-cmd.exp: New file.
6351
ded03782
DE
63522014-06-02 Doug Evans <xdje42@gmail.com>
6353
6354 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6355 pretty-printer lookup.
6356 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6357 (make-pp_s-printer): Call it.
6358 (make-pretty-printer-from-dict): New function.
6359 (lookup-pretty-printer-maker-from-dict): New function.
6360 (*pretty-printer*): Simplify.
6361 (make-objfile-pp_s-printer): New function.
6362 (install-objfile-pretty-printers!): New function.
6363 (make-progspace-pp_s-printer): New function.
6364 (install-progspace-pretty-printers!): New function.
6365 * gdb.guile/scm-progspace.c: New file.
6366 * gdb.guile/scm-progspace.exp: New file.
6367
41fac0cf
PA
63682014-06-02 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.base/dprintf-bp-same-addr.c: New file.
6371 * gdb.base/dprintf-bp-same-addr.exp: New file.
6372
96ae5695
EBM
63732014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6374
6375 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6376 * gdb.arch/powerpc-power.s: Likewise.
6377
da02b3a8
JB
63782014-06-02 Joel Brobecker <brobecker@adacore.com>
6379
6380 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6381
c72b2e7b
YQ
63822014-06-01 Yao Qi <yao@codesourcery.com>
6383
6384 * gdb.base/watchpoint.exp (test_watch_location): Check null
6385 pointer can be dereferenced. If not, do the test, otherwise
6386 skip it.
6387
53e8a631
AB
63882014-05-30 Andrew Burgess <aburgess@broadcom.com>
6389
6390 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6391 results.
6392 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6393
938f0e2f
AB
63942014-05-30 Andrew Burgess <aburgess@broadcom.com>
6395
6396 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6397 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6398 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6399 * gdb.arch/amd64-invalid-stack-top.c: New file.
6400 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6401
9ba6657a
PA
64022014-05-30 Pedro Alves <palves@redhat.com>
6403
6404 PR breakpoints/17000
6405 * gdb.base/sss-bp-on-user-bp.c: New file.
6406 * gdb.base/sss-bp-on-user-bp.exp: New file.
6407
522c09bf
DB
64082014-05-30 David Blaikie <dblaikie@gmail.com>
6409
6410 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6411 gnu_inline semantics via attribute.
6412 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6413 source explicitly specifies the required semantics.
6414
bf4ef81e
MR
64152014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6416
6417 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6418
329ea579
PA
64192014-05-29 Pedro Alves <palves@redhat.com>
6420 Tom Tromey <tromey@redhat.com>
6421
6422 * gdb.base/async-shell.exp: Don't enable target-async.
6423 * gdb.base/async.exp
6424 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6425 parameter. Adjust.
6426 (top level): Don't test with "target-async".
6427 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6428 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6429 * gdb.base/inferior-died.exp: Don't enable target-async.
6430 * gdb.base/interrupt-noterm.exp: Likewise.
6431 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6432 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6433 * gdb.mi/mi-nonstop.exp: Likewise.
6434 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6435 * gdb.mi/mi-nsintrall.exp: Likewise.
6436 * gdb.mi/mi-nsmoribund.exp: Likewise.
6437 * gdb.mi/mi-nsthrexec.exp: Likewise.
6438 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6439 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6440 * gdb.python/py-evsignal.exp: Don't enable target-async.
6441 * gdb.python/py-evthreads.exp: Likewise.
6442 * gdb.python/py-prompt.exp: Likewise.
6443 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6444 * gdb.server/solib-list.exp: Don't enable target-async.
6445 * gdb.threads/thread-specific-bp.exp: Likewise.
6446 * lib/mi-support.exp: Adjust to use mi-async.
6447
fd664c91
PA
64482014-05-29 Pedro Alves <palves@redhat.com>
6449
6450 PR gdb/13860
6451 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6452 reason, even in sync mode.
6453
251bde03
PA
64542014-05-29 Pedro Alves <palves@redhat.com>
6455 Hui Zhu <hui@codesourcery.com>
6456
6457 PR PR15693
6458 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6459 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6460 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6461 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6462
7f3c0343
JB
64632014-05-28 Joel Brobecker <brobecker@adacore.com>
6464
6465 * config/monitor.exp (gdb_target_monitor): Replace use of
6466 "set remotebaud" by "set serial baud".
6467
b2715b27
AW
64682014-05-26 Andy Wingo <wingo@igalia.com>
6469
6470 * gdb.guile/scm-breakpoint.exp:
6471 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6472 properties instead of gdb-object-properties.
6473
498a4489
YQ
64742014-05-26 Yao Qi <yao@codesourcery.com>
6475
6476 * gdb.server/no-thread-db.exp: Specify source file name
6477 explicitly when setting a breakpoint.
6478
589fdceb
MM
64792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6480
6481 * gdb.btrace/vdso.c: New.
6482 * gdb.btrace/vdso.exp: New.
6483
e9089e05
MM
64842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6485
6486 * gdb.base/gcore.exp (capture_command_output): Move ...
6487 * lib/gdb.exp (capture_command_output): ... here.
6488
67b5c0c1
MM
64892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6490
6491 * gdb.btrace/data.exp: Test memory access during btrace replay.
6492
a2199296
SM
64932014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6494
6495 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6496
17b2616c
PA
64972014-05-21 Pedro Alves <palves@redhat.com>
6498
6499 PR gdb/13860
6500 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6501 (top level): Test that output related to execution commands is
6502 sent to the console with CLI commands, but not with MI commands.
6503 Test that breakpoint events are always mirrored to the console.
6504 Also expect the new source line to be output after a "next" in
6505 async mode too. Make it a pass/fail test.
6506 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6507 output.
6508 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6509
5166082f
PA
65102014-05-21 Pedro Alves <palves@redhat.com>
6511
6512 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6513 Use them to test variations of "list" after reaching a breakpoint.
6514 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6515 Test "list" with listsize 10 after reaching a breakpoint.
6516 * gdb.python/python.exp (decode_line current location line
6517 number): Adjust expected line number.
6518
2f25d70f
SM
65192014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6520
6521 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6522 behavior for $args, pass it directly to "run".
6523
ff604a67
MR
65242014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6525
6526 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6527 30000 to 65536.
6528
6a3cb8e8
PA
65292014-05-21 Pedro Alves <palves@redhat.com>
6530
6531 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6532 auto-connect-native-target off".
6533 * gdb.base/auto-connect-native-target.c: New file.
6534 * gdb.base/auto-connect-native-target.exp: New file.
6535
4ebfc96e
PA
65362014-05-21 Pedro Alves <palves@redhat.com>
6537
6538 * gdb.base/default.exp: Test "target native" instead of "target
6539 child".
6540
36d46afb
MW
65412014-05-21 Mark Wielaard <mjw@redhat.com>
6542
6543 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6544
5876f503
JK
65452014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
6547 Fix TLS access for -static -pthread.
6548 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6549 <HAVE_TLS> (thread_function, main): Initialize it.
6550 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6551 Add clean_restart.
6552 <$have_tls != "">: Check TLSVAR.
6553
0256a6ac
PA
65542014-05-21 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.base/dcache-line-read-error.c: New.
6557 * gdb.base/dcache-line-read-error.exp: New.
6558
936d2992
PA
65592014-05-20 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/compare-sections.c: New file.
6562 * gdb.base/compare-sections.exp: New file.
6563
802e8e6d
PA
65642014-05-20 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.base/break-idempotent.c: New file.
6567 * gdb.base/break-idempotent.exp: New file.
6568
e59fa00f
MM
65692014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6570
6571 * gdb.btrace/nohist.exp: New.
6572
8b696e31
YQ
65732014-05-20 Yao Qi <yao@codesourcery.com>
6574
6575 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6576 gdb.reverse directory and gdb_reverse_timeout exists in board
6577 setting.
6578 * README: Document gdb_reverse_timeout.
6579
73c9764f
YQ
65802014-05-20 Yao Qi <yao@codesourcery.com>
6581
6582 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6583 'test_file_name'. Treat args as a string instead of a list.
6584 (gdb_init): Rename argument 'args' by 'test_file_name'.
6585
f1f4348a
JK
65862014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6587
6588 * gdb.arch/powerpc-power.exp: New file.
6589 * gdb.arch/powerpc-power.s: New file.
6590
0dbe70ce
DE
65912014-05-16 Doug Evans <dje@google.com>
6592
6593 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6594 * gdb.base/completion.exp: Check that all expected files exist
6595 before doing file completion.
0dbe70ce 6596
8d551b02
DE
65972014-05-16 Doug Evans <dje@google.com>
6598
6599 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6600 Update.
6601 (do_syscall_tests_without_xml): Update.
6602
73eb7709
PA
66032014-05-16 Pedro Alves <palves@redhat.com>
6604
6605 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6606 instead of "unknown output after running".
6607
3fae92fc
YQ
66082014-05-16 Yao Qi <yao@codesourcery.com>
6609
6610 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6611 file1.txt from host at the end.
6612 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6613
c2b2ccc5
DE
66142014-05-15 Doug Evans <dje@google.com>
6615
6616 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6617 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6618 loading file. Add test for TU lookup.
6619
8c217a4b
SM
66202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6621
6622 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6623 calling "-exec-arguments" or "set args" before running the
6624 inferior.
6625
3deb39c6
SM
66262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6627
6628 * lib/mi-support.exp (mi_expect_stop): Expect message for
6629 inferiors that exit with non-zero exit code.
6630
71a79f8c
YQ
66312014-05-14 Yao Qi <yao@codesourcery.com>
6632
6633 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6634 match absolute path on remote host.
6635 (test_file_list_exec_source_files): Remove "/" from the
6636 pattern.
6637
f23fcd46
YQ
66382014-05-14 Yao Qi <yao@codesourcery.com>
6639
6640 * boards/local-remote-host-notty.exp (${board}_file): New
6641 proc.
6642
9404b58f
KM
66432014-05-07 Kyle McMartin <kyle@redhat.com>
6644
6645 Pushed by Joel Brobecker <brobecker@adacore.com>.
6646 * gdb.arch/aarch64-atomic-inst.c: New file.
6647 * gdb.arch/aarch64-atomic-inst.exp: New file.
6648
5e45f04c
YQ
66492014-05-07 Yao Qi <yao@codesourcery.com>
6650
6651 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6652 in current context" too.
6653
c888a17d
KS
66542014-05-05 Keith Seitz <keiths@redhat.com>
6655
6656 * gdb.linespec/ls-dollar.exp: Add test for linespec
6657 file:convenience_variable.
6658
290a839c
YQ
66592014-05-05 Yao Qi <yao@codesourcery.com>
6660
6661 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6662 traceframes into tfile and ctf trace files. Read data from
6663 trace file and test collected data.
6664 (gdb_collect_locals_test): Likewise.
6665 (gdb_unavailable_registers_test): Likewise.
6666 (gdb_unavailable_floats): Likewise.
6667 (gdb_collect_globals_test): Likewise.
6668 (top-level): Append "ctf" to trace_file_targets if GDB
6669 supports.
6670
b5262cd0
YQ
66712014-05-05 Yao Qi <yao@codesourcery.com>
6672
6673 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6674 code to ...
6675 (gdb_collect_args_test_1): ... it. New proc.
6676 (gdb_collect_locals_test): Move some code to ...
6677 (gdb_collect_locals_test_1): ... it. New proc.
6678 (gdb_unavailable_registers_test): Move some code to ...
6679 (gdb_unavailable_registers_test_1): ... it. New proc.
6680 (gdb_unavailable_floats): Move some code to ...
6681 (gdb_unavailable_floats_1): ... it. New proc.
6682
30a1e6cc
SDJ
66832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6684
6685 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6686 probes to test for bitness recognition.
6687 * gdb.arch/amd64-stap-optional-prefix.exp
6688 (test_probe_value_without_reg): New procedure.
6689 Add code to test for different kinds of bitness.
6690
f33da99a
SDJ
66912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6692
6693 PR breakpoints/16889
6694 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6695 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6696
5b80f00d
PA
66972014-05-01 Pedro Alves <palves@redhat.com>
6698
6699 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6700 gdb_file_cmd if no file is specified.
6701 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6702 last_loaded_file to set the remote exec-file.
6703
f8c2a73c
PA
67042014-05-01 Pedro Alves <palves@redhat.com>
6705
6706 * boards/local-remote-host.exp: New file.
6707
be6e8ac7
PA
67082014-05-01 Pedro Alves <palves@redhat.com>
6709
6710 * boards/local-remote-host.exp: Rename to ...
6711 * boards/local-remote-host-notty.exp: ... this.
6712
cac0dc8f
JB
67132014-04-28 Joel Brobecker <brobecker@adacore.com>
6714
6715 * gdb.ada/dyn_arrayidx: New testcase.
6716
9730e6cc
YQ
67172014-04-26 Yao Qi <yao@codesourcery.com>
6718
6719 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6720 and compute the length of function main. Save it in
6721 $main_length.
6722 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6723 (top-level): Use gdb_compile to compile objects into
6724 executable and restart GDB. Remove invocation to
6725 prepare_for_testing.
6726
7ae1a6a6
PA
67272014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6728 Pedro Alves <palves@redhat.com>
6729
6730 PR server/16255
6731 * gdb.multi/multi-attach.c: New file.
6732 * gdb.multi/multi-attach.exp: New file.
6733
4082afcc
PA
67342014-04-25 Pedro Alves <palves@redhat.com>
6735
6736 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6737 user.
6738 (top level): Test that "set remote conditional-breakpoints-packet
6739 off" works as intended.
6740 * gdb.base/dprintf.exp: Test that "set remote
6741 breakpoint-commands-packet off" works as intended.
6742 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6743 New function.
6744 (top level): Call it.
6745 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6746 remote fast-tracepoints-packet off" works as intended.
6747 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6748 * lib/gdb.exp (gdb_is_target_remote): ... here.
6749
2abc3f8d
DB
67502014-04-24 David Blaikie <dblaikie@gmail.com>
6751
6752 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6753 ensure clang would not discard them.
6754 * gdb.base/gdbvars.c: Ditto.
6755 * gdb.base/memattr.c: Ditto.
6756 * gdb.base/whatis.c: Ditto.
6757 * gdb.python/py-prettyprint.c: Ditto.
6758 * gdb.trace/actions.c: Ditto.
6759 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6760 ensure clang would not discard it.
6761
bfd39632
DB
67622014-04-24 David Blaikie <dblaikie@gmail.com>
6763
6764 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6765 clang to emit the full definition of type required by the test
6766 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6767
22842ff6
DB
67682014-04-24 David Blaikie <dblaikie@gmail.com>
6769
6770 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6771 coax Clang into emitting the definition of the type.
6772 * gdb.cp/pr10728-x.h (y): Ditto.
6773 * gdb.cp/pr10728-y.cc (y): Ditto.
6774
c2e827ad
DB
67752014-04-24 David Blaikie <dblaikie@gmail.com>
6776
6777 * gdb.base/label.exp: XFAIL label related tests under Clang.
6778 * gdb.cp/cplabel.exp: Ditto.
6779 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6780 under Clang those using labels.
6781
4c2d33e7
YQ
67822014-04-25 Yao Qi <yao@codesourcery.com>
6783
6784 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6785 double_label.
6786 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6787 partial_label and double_label.
6788
56083b99
DB
67892014-04-24 David Blaikie <dblaikie@gmail.com>
6790
6791 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6792
25d4e99d
DB
67932014-04-24 David Blaikie <dblaikie@gmail.com>
6794
6795 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6796 of the function to work across GCC and Clang.
6797 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6798 pointer types (const void ** const V void **).
6799
01f9f808
MS
68002014-04-24 Michael Sturm <michael.sturm@mintel.com>
6801 Walfred Tedeschi <walfred.tedeschi@intel.com>
6802
6803 * Makefile.in (EXECUTABLES): Added i386-avx512.
6804 * gdb.arch/i386-avx512.c: New file.
6805 * gdb.arch/i386-avx512.exp: Likewise.
6806
4b48d439
KS
68072014-04-23 Keith Seitz <keiths@redhat.com>
6808
6809 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6810 (mi_make_breakpoint_table): New procedure.
6811 (mi_create_breakpoint): Use mi_make_breakpoint
6812 and return the result.
6813 (mi_make_breakpoint): New procedure.
6814 (mi_build_kv_pairs): New procedure.
6815
6816 * gdb.mi/mi-break.exp: Remove unused globals,
6817 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6818 All callers updated.
6819 * gdb.mi/mi-dprintf.exp: Use variable to track command
6820 number.
6821 Update all callers of mi_create_breakpoint and use
6822 mi_make_breakpoint_table.
6823 Remove any unused global variables.
6824 * gdb.mi/mi-nonstop.exp: Likewise.
6825 * gdb.mi/mi-nsintrall.exp: Likewise.
6826 * gdb.mi/mi-nsmoribund.exp: Likewise.
6827 * gdb.mi/mi-nsthrexec.exp: Likewise.
6828 * gdb.mi/mi-reverse.exp: Likewise.
6829 * gdb.mi/mi-simplerun.exp: Likewise.
6830 * gdb.mi/mi-stepn.exp: Likewise.
6831 * gdb.mi/mi-syn-frame.exp: Likewise.
6832 * gdb.mi/mi-until.exp: Likewise.
6833 * gdb.mi/mi-var-cp.exp: Likewise.
6834 * gdb.mi/mi-var-display.exp: Likewise.
6835 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6836 * gdb.mi/mi2-var-child.exp: Likewise.
6837 * gdb.mi/mi-vla-c99.exp: Likewise.
6838 * lib/mi-support.exp: Likewise.
6839
6840 From Ian Lance Taylor <iant@cygnus.com>:
6841 * lib/gdb.exp (parse_args): New procedure.
6842
08351840
PA
68432014-04-23 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.base/break-unload-file.c: New file.
6846 * gdb.base/break-unload-file.exp: New file.
6847 * gdb.base/sym-file-lib.c (baz): New function.
6848 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6849 field.
6850 (load): Store the segment's mapped size.
6851 (unload): New function.
6852 (unload_shlib): New function.
6853 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6854 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6855 set a breakpoint at baz, and call it.
6856 * gdb.base/sym-file.exp: New tests for stale breakpoint
6857 instructions.
6858
076855f9
PA
68592014-04-23 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6862 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6863 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6864 * gdb.base/hbreak-unmapped.c: New file.
6865 * gdb.base/hbreak-unmapped.exp: New file.
6866 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6867 * lib/gdb.exp (gdb_is_target_remote): ... here.
6868
483805cf
PA
68692014-04-22 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/consecutive-step-over.c: New file.
6872 * gdb.base/consecutive-step-over.exp: New file.
6873
06d97543
PA
68742014-04-22 Pedro Alves <palves@redhat.com>
6875
6876 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6877 instead of send_gdb/gdb_expect.
6878
b4429ea2
YQ
68792014-04-22 Yao Qi <yao@codesourcery.com>
6880
6881 * lib/trace-support.exp (generate_tracefile): New procedure.
6882 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6883 return 0.
6884 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6885 if generate_tracefile returns 1.
6886
51d48146
PA
68872014-04-18 Tom Tromey <palves@redhat.com>
6888 Pedro alves <tromey@redhat.com>
6889
6890 PR backtrace/15558
6891 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6892 with a backtrace limit.
6893 * gdb.python/py-frame-inline.exp: Test running to an inline
6894 function with a backtrace limit, and printing the newest frame.
6895 * gdb.python/py-frame-inline.c (main): Call f.
6896
bd1dce5f
MS
68972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6898
6899 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6900
40d1a503
MS
69012014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6902
6903 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6904 Drop prefix from unsupported source file path.
6905
389b98f7
YQ
69062014-04-17 Yao Qi <yao@codesourcery.com>
6907
6908 * lib/gdb.exp (with_target_charset): New proc.
6909 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6910 with_target_charset.
6911 (test_print_strings): Likewise.
6912 (test_repeat_bytes): Likewise.
6913 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6914 for some tests.
6915
22869d73
KS
69162014-04-16 Keith Seitz <keiths@redhat.com>
6917
6918 PR gdb/15827
6919 * gdb.dwarf2/corrupt.c: New file.
6920 * gdb.dwarf2/corrupt.exp: New file.
6921
c4f87ca6
KS
69222014-04-16 Keith Seitz <keiths@redhat.com>
6923
6924 PR c++/16597
6925 * gdb.cp/namelessclass.cc: New file.
6926 * gdb.cp/namelessclass.exp: New file.
6927 * gdb.cp/namelessclass.S: New file.
6928
ab19de87
DE
69292014-04-16 Doug Evans <dje@google.com>
6930
6931 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6932 Add comment.
6933 (gdbserver_default_get_comm_port): New function.
6934 (gdbserver_start): Check if board file provided
6935 "gdbserver,get_comm_port" and use it if so.
6936 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6937 (gdb,socketport): Set to "stdio".
6938 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6939 (stdio_gdbserver_template): Delete.
6940 (${board}_get_remote_address): Update.
6941 (${board}_build_remote_cmd): Delete.
6942 (${board}_get_comm_port): New function.
6943 (${board}_spawn): Update.
6944 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6945 Delete.
6946 (${board}_get_remote_address): Update.
6947 (${board}_get_comm_port): New function.
6948
fc98a809
AB
69492014-04-16 Andrew Burgess <aburgess@broadcom.com>
6950
6951 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6952 appearing in any order.
6953
87fd9e6e
DE
69542014-04-15 Doug Evans <dje@google.com>
6955
6956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6957 uninitialized value of "description".
6958
099fc3ea
KS
69592014-04-15 Keith Seitz <keiths@redhat.com>
6960
6961 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6962 Remove unused globals.
6963 (test_running_the_program): Likewise.
6964 (test_controlled_execution): Likewise.
6965 (test_controlling_breakpoints): Likewise.
6966 (test_program_termination): Likewise.
6967
5da151d4
KS
69682014-04-15 Keith Seitz <keiths@redhat.com>
6969
6970 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6971 unused globals.
6972 (test_rbreak_creation_and_listing): Likewise.
6973 (test_ignore_count): Likewise.
6974 (test_error): Likewise.
6975
35e5d2f0
PA
69762014-04-15 Pedro Alves <palves@redhat.com>
6977
6978 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6979 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6980 sym-file-loader.c.
6981 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6982 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6983 to sym-file-loader.c.
6984 (struct library): Forward declare.
6985 (load_shlib, lookup_function): Change prototypes.
6986 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6987 (translate_offset): Remove declarations.
6988 (get_text_addr): New declaration.
6989 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6990 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6991 sym-file-loader.h.
6992 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6993 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6994 here from sym-file-loader.h.
6995 (struct library): New structure.
6996 (load_shlib, lookup_function): Change prototypes and adjust to
6997 work with a struct library.
6998 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6999 (translate_offset): Make static.
7000 (get_text_addr): New function.
7001 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7002
eb4c1710
PA
70032014-04-15 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7006
2d1baf52
PA
70072014-04-15 Pedro Alves <palves@redhat.com>
7008
7009 * gdb.base/sym-file-loader.c: Include <limits.h>.
7010 (SELF_LINK): New define.
7011 (get_origin): New function.
7012 (load_shlib): Use it.
7013 * gdb.base/sym-file.exp: Don't early return if the target is
7014 remote. Use runto_main, and issue fail is that fails. Use
7015 gdb_load_shlibs.
7016 (shlib_name): Delete.
7017 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7018
7dd6df01
PA
70192014-04-15 Pedro Alves <palves@redhat.com>
7020
7021 * gdb.base/sym-file.exp: Remove regex characters from test
7022 message. Don't refer to breakpoint numbers in test messages.
7023
b50c8614
KS
70242014-04-14 Keith Seitz <keiths@redhat.com>
7025
7026 PR c++/16253
7027 * gdb.cp/var-tag.cc: New file.
7028 * gdb.cp/var-tag.exp: New file.
7029 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7030 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7031 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7032 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7033
3d567982
TT
70342014-04-14 Tom Tromey <tromey@redhat.com>
7035
7036 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7037 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7038 type.
7039 * gdb.cp/enum-class.exp: New file.
7040 * gdb.cp/enum-class.cc: New file.
7041
0626fc76
TT
70422014-04-14 Tom Tromey <tromey@redhat.com>
7043
7044 * gdb.dwarf2/enum-type.exp: New file.
7045
dca325b3
SA
70462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7047
7048 * gdb.mi/mi-vla-c99.exp: New file.
7049 * gdb.mi/vla.c: New file.
7050
5854b38a
SA
70512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7052
7053 * gdb.base/vla-datatypes.c: New file.
7054 * gdb.base/vla-datatypes.exp: New file.
7055
463bb957
SA
70562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7057
7058 * gdb.base/vla-ptr.c: New file.
7059 * gdb.base/vla-ptr.exp: New file.
7060
3dd170be
SA
70612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7062
7063 * gdb.dwarf2/count.exp: New file.
7064
5ecaaa66
SA
70652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7066
7067 * gdb.base/vla-sideeffect.c: New file.
7068 * gdb.base/vla-sideeffect.exp: New file.
7069
41f1ada5
DB
70702014-04-14 David Blaikie <dblaikie@gmail.com>
7071
7072 * gdb.mi/non-stop.c: Add return value for non-void function return
7073 statement.
7074 * gdb.threads/staticthreads.c: Ditto.
7075
0be03e84
DE
70762014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7077 Doug Evans <xdje42@gmail.com>
7078
7079 * gdb.guile/scm-value.c: Improve test case.
7080 * gdb.guile/scm-value.exp: Add new test.
7081
f180a1fb
DB
70822014-04-11 David Blaikie <dblaikie@gmail.com>
7083
7084 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7085 override Clang's default.
7086
6b662e19
JB
70872014-04-11 Joel Brobecker <brobecker@adacore.com>
7088
7089 Revert the following changes (regressions):
7090
7091 * gdb.base/vla-sideeffect.c: New file.
7092 * gdb.base/vla-sideeffect.exp: New file.
7093
7094 * gdb.dwarf2/count.exp: New file.
7095
7096 * gdb.base/vla-multi.c: New file.
7097 * gdb.base/vla-multi.exp: New file.
7098
7099 * gdb.base/vla-ptr.c: New file.
7100 * gdb.base/vla-ptr.exp: New file.
7101
7102 * gdb.base/vla-datatypes.c: New file.
7103 * gdb.base/vla-datatypes.exp: New file.
7104
7105 * gdb.mi/mi-vla-c99.exp: New file.
7106 * gdb.mi/vla.c: New file.
7107
245a5f0b
KS
71082014-04-11 Keith Seitz <keiths@redhat.com>
7109
7110 PR c++/16675
7111 * gdb.cp/cpsizeof.exp: New file.
7112 * gdb.cp/cpsizeof.cc: New file.
7113
58a84dcf
SA
71142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7115
191a8a90
JB
7116 * gdb.mi/mi-vla-c99.exp: New file.
7117 * gdb.mi/vla.c: New file.
58a84dcf 7118
c8655f75
SA
71192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7120
7121 * gdb.base/vla-datatypes.c: New file.
7122 * gdb.base/vla-datatypes.exp: New file.
7123
024e13b4
SA
71242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7125
7126 * gdb.base/vla-ptr.c: New file.
7127 * gdb.base/vla-ptr.exp: New file.
7128
1a237e0e
SA
71292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7130
7131 * gdb.base/vla-multi.c: New file.
7132 * gdb.base/vla-multi.exp: New file.
7133
504f3432
SA
71342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7135
7136 * gdb.dwarf2/count.exp: New file.
7137
3bce8237
SA
71382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7139
191a8a90
JB
7140 * gdb.base/vla-sideeffect.c: New file.
7141 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7142
322f9c21
YQ
71432014-04-11 Yao Qi <yao@codesourcery.com>
7144
7145 * gdb.base/completion.exp: Check file exists before running tests
7146 on file completion.
7147
d708bcd1
PA
71482014-04-10 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.base/cond-eval-mode.c: New file.
7151 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7152 prepare_for_testing to build the new file. Check result of
7153 runto_main.
7154 (test_break, test_watch): New procedures.
7155 (top level): Use them.
7156
ae1d2761
PM
71572014-04-08 Pierre Muller <muller@sourceware.org>
7158
7159 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7160 Ctrl-V use for mingw hosts.
7161
7af389b8
SC
71622014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7163
7164 * gdb.python/py-value.c: Improve test case.
7165 * gdb.python/py-value.exp: Add new test.
7166
5e703181
DE
71672014-04-07 David Blaikie <dblaikie@gmail.com>
7168
7169 * lib/compiler.c: Identify the clang compiler.
7170 * lib/compiler.cc: Ditto.
7171
9810b410
YQ
71722014-04-03 Yao Qi <yao@codesourcery.com>
7173
7174 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7175
98d1b8dc
AB
71762014-04-01 Anton Blanchard <anton@samba.org>
7177
7178 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7179 messages unique.
7180
3114cea1
AB
71812014-04-01 Anton Blanchard <anton@samba.org>
7182
7183 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7184 prepare_for_testing.
7185
62f7182c
AB
71862014-04-01 Anton Blanchard <anton@samba.org>
7187
7188 * gdb.arch/ppc64-atomic-inst.c: Remove.
7189 * gdb.arch/ppc64-atomic-inst.S: New file.
7190 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7191
770e7fc7
DE
71922014-03-31 Doug Evans <dje@google.com>
7193
7194 * gdb.base/print-symbol-loading-lib.c: New file.
7195 * gdb.base/print-symbol-loading-main.c: New file.
7196 * gdb.base/print-symbol-loading.exp: New file.
7197
46e2bafa
YQ
71982014-03-31 Yao Qi <yao@codesourcery.com>
7199
7200 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7201
8776cfe9
JB
72022014-03-28 Joel Brobecker <brobecker@adacore.com>
7203
7204 * gdb.ada/mi_dyn_arr: New testcase.
7205
5d1ef361
DE
72062014-03-27 Doug Evans <dje@google.com>
7207
7208 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7209
b5bee914
YQ
72102014-03-27 Yao Qi <yao@codesourcery.com>
7211
7212 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7213 if target is nios2-*-*.
7214
0d4d0e77
YQ
72152014-03-26 Yao Qi <yao@codesourcery.com>
7216
7217 * lib/gdb.exp (readline_is_used): New proc.
7218 * gdb.base/completion.exp: Move tests on command complete up.
7219 Skip the rest of tests if readline is not used.
7220 * gdb.ada/complete.exp: Skp the test if readline is not
7221 used.
7222 * gdb.base/filesym.exp: Likewise.
7223 * gdb.base/macscp.exp: Likewise.
7224 * gdb.base/readline-ask.exp: Likewise.
7225 * gdb.base/readline.exp: Likewise.
7226 * gdb.python/py-cmd.exp: Likewise.
7227 * gdb.trace/tfile.exp: Likewise.
7228
29361eee
YQ
72292014-03-26 Yao Qi <yao@codesourcery.com>
7230
7231 * gdb.base/macscp.exp: Fix code format issues.
7232
bc9a5525
UW
72332014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7234
7235 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7236 * gdb.asm/powerpc64le.inc: New file.
7237
d3839ede
PA
72382014-03-25 Pedro Alves <palves@redhat.com>
7239 Doug Evans <dje@google.com>
7240
7241 * gdb.base/source-execution.c: New file.
7242 * gdb.base/source-execution.exp: New file.
7243 * gdb.base/source-execution.gdb: New file.
7244
01672a57
DE
72452014-03-24 Doug Evans <dje@google.com>
7246
7247 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7248 using fission.
7249
88bbeca9
HZ
72502014-03-24 Hui Zhu <hui@codesourcery.com>
7251 Pedro Alves <palves@redhat.com>
7252
7253 PR breakpoints/16101
7254 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7255 test pass/fail messages. Detect missing support for dprintf when
7256 breakpoints are actually inserted.
7257 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7258 breakpoints are actually inserted.
7259 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7260 fails.
7261
d2348791
JK
72622014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7263
7264 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7265
feef67ab
DE
72662014-03-22 Doug Evans <xdje42@gmail.com>
7267
7268 * gdb.python/python.exp (python not supported): Verify multi-line
7269 python command issues an error.
25d743f9 7270 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7271 guile command issues an error.
feef67ab 7272
ecebef6a
MR
72732014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7274
7275 * gdb.threads/thread-specific.exp: Handle the lack of usable
7276 $this_breakpoint and $this_thread.
7277
ccdd1909
HZ
72782014-03-21 Hui Zhu <hui@codesourcery.com>
7279
7280 * gdb.base/attach.exp (do_command_attach_tests): New.
7281
beb460e8
PA
72822014-03-20 Tom Tromey <tromey@redhat.com>
7283 Pedro Alves <palves@redhat.com>
7284
7285 PR cli/15718
7286 * gdb.base/condbreak-call-false.c: New file.
7287 * gdb.base/condbreak-call-false.exp: New file.
7288
40acf43a
PA
72892014-03-20 Pedro Alves <palves@redhat.com>
7290
7291 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7292 Delete.
7293 (block_signals, unblock_signals): Delete.
7294 (child_function_2, main): Remove references to deleted variable
7295 and functions.
7296
9f5e1e02
PA
72972014-03-20 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7300 Use pthread_kill to signal thread 2.
7301 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7302 Adjust to make the test send itself a signal rather than using the
7303 host's "kill" command.
7304
99619bea
PA
73052014-03-20 Pedro Alves <palves@redhat.com>
7306
7307 * gdb.threads/multiple-step-overs.c: New file.
7308 * gdb.threads/multiple-step-overs.exp: New file.
7309 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7310 Adjust expected infrun debug output.
7311
2adfaa28
PA
73122014-03-20 Pedro Alves <palves@redhat.com>
7313
7314 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7315 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7316
31e77af2
PA
73172014-03-20 Pedro Alves <palves@redhat.com>
7318
7319 PR breakpoints/7143
7320 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7321 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7322 of gdb_test_multiple.
7323 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7324 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7325
b9f437de
PA
73262014-03-20 Pedro Alves <palves@redhat.com>
7327
7328 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7329 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7330
05adc73e
PA
73312014-03-19 Pedro Alves <palves@redhat.com>
7332
7333 * gdb.base/async.exp: Remove early return.
7334
6048b950
PA
73352014-03-19 Pedro Alves <palves@redhat.com>
7336
7337 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7338
8bcfb00a
PA
73392014-03-19 Pedro Alves <palves@redhat.com>
7340
7341 * gdb.base/async.exp (test_background): Expect \r\n after
7342 "completed." in the fail pattern.
7343
884e37dc
PA
73442014-03-19 Pedro Alves <palves@redhat.com>
7345
7346 * gdb.base/async.exp (test_background): New procedure.
7347 Use it for all background execution command tests.
7348
148e57e2
PA
73492014-03-19 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/async.exp: Use prepare_for_testing.
7352
f48088c7
PA
73532014-03-19 Pedro Alves <palves@redhat.com>
7354
7355 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7356 the same line.
7357
e2f6c966
PA
73582014-03-19 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.base/async.c (main): Add "jump here" and "until here" line
7361 marker comments.
7362 * gdb.base/async.exp (jump_here): New global.
7363 (jump& test): Use it.
7364 (until_here): New global.
7365 (until& test): Use it.
7366
c30568d4
PA
73672014-03-19 Pedro Alves <palves@redhat.com>
7368
7369 * gdb.base/async.exp: Don't frob gdb_protocol.
7370
0172b6a7
DE
73712014-03-18 Doug Evans <xdje42@gmail.com>
7372
7373 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7374 Fix spelling of exec-done-display.
7375
06c868a8
JK
73762014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7377
7378 PR gdb/15358
7379 * gdb.base/gdb-sigterm.c: New file.
7380 * gdb.base/gdb-sigterm.exp: New file.
7381
0c7e1a46
PA
73822014-03-18 Pedro Alves <palves@redhat.com>
7383
7384 PR gdb/13860
7385 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7386 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7387 solib-event.
7388
f7c77d93
JB
73892014-03-17 Joel Brobecker <brobecker@adacore.com>
7390
7391 * gdb.ada/pckd_arr_ren: New testcase.
7392
5a1e8c7a
DE
73932014-03-13 Doug Evans <xdje42@gmail.com>
7394
7395 PR guile/16612
7396 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7397 collect after discarding symbols.
7398
350e1a76
DE
73992014-03-13 Ludovic Courtès <ludo@gnu.org>
7400 Doug Evans <xdje42@gmail.com>
7401
7402 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7403 to history survives a gc.
7404
a69900ae
PA
74052014-03-13 Pedro Alves <palves@redhat.com>
7406
7407 * gdb.base/default.exp: Don't test "target procfs".
7408
5db9f0bd
PA
74092014-03-13 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.base/default.exp: Update "target child" and "target procfs"
7412 tests to not expect "Unix".
7413
b3ccfe11
TT
74142014-03-12 Tom Tromey <tromey@redhat.com>
7415
7416 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7417 New procs. Add target-async tests.
7418 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7419 Add target-async tests.
7420
646f4417
AA
74212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7422
7423 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7424 'func_start' and 'func_end' for the beginning and end of the
7425 function code, respectively.
7426 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7427 'func_end' instead of 'func' and 'main'.
7428
288c211f
AA
74292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7430
7431 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7432 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7433 generate the debug info assembler source.
7434
e0c0f156
AA
74352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7436
7437 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7438 * gdb.dwarf2/arr-subrange.exp: Likewise.
7439 * gdb.dwarf2/dwz.exp: Likewise.
7440 * gdb.dwarf2/method-ptr.exp: Likewise.
7441 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7442 * gdb.dwarf2/subrange.exp: Likewise.
7443 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7444 * gdb.dwarf2/implptrpiece.exp: Likewise.
7445 * gdb.dwarf2/nostaticblock.exp: Likewise.
7446
0e5c4555
AA
74472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7448
7449 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7450 directory to absolute path name arguments.
7451
5ec18f2b
JG
74522014-03-10 Joel Brobecker <brobecker@adacore.com>
7453
7454 * gdb.ada/tagged_access: New testcase.
7455
847fc4f2
MM
74562014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7457
7458 * gdb.btrace/data.exp: Update expected output.
7459
cc3da688
YQ
74602014-03-06 Yao Qi <yao@codesourcery.com>
7461
7462 * gdb.trace/pr16508.exp: New file.
7463
0f26cec1
PA
74642014-03-05 Pedro Alves <palves@redhat.com>
7465
7466 PR gdb/16575
7467 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7468 procedure.
7469 (top level): Adjust to use it. Add tests that exercise breakpoint
7470 interaction with the code-cache.
7471
7a5a839f
LC
74722014-02-26 Ludovic Courtès <ludo@gnu.org>
7473
7474 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7475 test for 'history-append!'.
7476
31aa7e4e
JB
74772014-02-26 Joel Brobecker <brobecker@adacore.com>
7478
7479 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7480 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7481 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7482 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7483 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7484 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7485
1b588015
JB
74862014-02-26 Joel Brobecker <brobecker@adacore.com>
7487
7488 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7489 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7490 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7491
55426c9d
JB
74922014-02-26 Joel Brobecker <brobecker@adacore.com>
7493
7494 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7495
dc53a7ad
JB
74962014-02-26 Joel Brobecker <brobecker@adacore.com>
7497
7498 * gdb.dwarf2/arr-stride.c: New file.
7499 * gdb.dwarf2/arr-stride.exp: New file.
7500
12ab52e9
PA
75012014-02-26 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7504 that won't ever trigger. Make sure that GDB reports the correct
7505 breakpoint that caused the stop.
7506
849c862e
JK
75072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7508
7509 PR gdb/16626
7510 * gdb.base/auto-load-script: New file.
7511 * gdb.base/auto-load.c: New file.
7512 * gdb.base/auto-load.exp: New file.
7513
71b7d793
JK
7514 PR gdb/16626
7515 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7516
e2f0d509
JK
75172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7520 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7521
50cc37c8
DE
75222014-02-24 Doug Evans <dje@google.com>
7523
7524 * lib/gdb.exp (run_on_host): Log error output if program fails.
7525
ea4758f2
PA
75262014-02-21 Pedro Alves <palves@redhat.com>
7527
7528 * gdb.threads/step-after-sr-lock.c: Rename to ...
7529 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7530 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7531 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7532 ... this.
7533
d7b30f67
SDJ
75342014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7535
7536 PR tdep/16397
7537 * gdb.arch/amd64-stap-special-operands.exp: New file.
7538 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7539 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7540 * gdb.arch/amd64-stap-triplet.S: Likewise.
7541 * gdb.arch/amd64-stap-triplet.c: Likewise.
7542
83deb43f
JB
75432014-02-20 Joel Brobecker <brobecker@adacore.com>
7544
7545 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7546 in .section pseudo-op.
7547
adde2bff
DE
75482014-02-20 lin zuojian <manjian2006@gmail.com>
7549 Joel Brobecker <brobecker@adacore.com>
7550 Doug Evans <xdje42@gmail.com>
7551
7552 PR symtab/16581
7553 * gdb.dwarf2/dw2-icycle.S: New file.
7554 * gdb.dwarf2/dw2-icycle.c: New file.
7555 * gdb.dwarf2/dw2-icycle.exp: New file.
7556
f7bd0f78
SC
75572014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7558
7559 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7560 operations on gdb.Value objects.
7561 * gdb.python/py-value-cc.exp: Add new test to test operations on
7562 gdb.Value objects.
7563
c17ef0d5
DE
75642014-02-18 Doug Evans <dje@google.com>
7565
7566 * Makefile.in (TESTS): New variable.
7567 (expanded_tests, expanded_tests_or_none): New variables
7568 (check-single): Pass $(expanded_tests_or_none) to runtest.
7569 (check-parallel): Only run tests in $(TESTS) if non-empty.
7570 (check/no-matching-tests-found): New rule.
7571 * README: Document TESTS makefile variable.
7572
5dd3176f
DE
75732014-02-18 Doug Evans <dje@google.com>
7574
7575 * Makefile.in (check-parallel): rm -rf outputs temp.
7576
0b10be4f
JK
75772014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 Fix "ERROR: no fileid for" in the testsuite.
7580 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7581
85f224e7
DE
75822014-02-12 Doug Evans <dje@google.com>
7583
7584 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7585 (MISCELLANEOUS): New variable.
7586 (clean): rm -rf $(MISCELLANEOUS).
7587 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7588 dwp live in the same directory as symlinks, with each symlink pointed
7589 to a differently named file in a different directory.
7590
149b30ff
DE
75912014-02-11 Doug Evans <dje@google.com>
7592
7593 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7594 of Tcl file commands.
7595
1dfdac32
MK
75962014-02-10 Mark Kettenis <kettenis@gnu.org>
7597
7598 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7599 "kill -SIGUSR1 -1".
7600
aa4fb036
JB
76012014-02-10 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.ada/tick_length_array_enum_idx: New testcase.
7604
ed3ef339
DE
76052014-02-10 Doug Evans <xdje42@gmail.com>
7606
7607 * configure.ac (AC_OUTPUT): Add gdb.guile.
7608 * configure: Regenerate.
7609 * lib/gdb-guile.exp: New file.
7610 * lib/gdb.exp (get_target_charset): New function.
7611 * gdb.base/help.exp: Update expected output from "apropos apropos".
7612 * gdb.guile/Makefile.in: New file.
7613 * gdb.guile/guile.exp: New file.
7614 * gdb.guile/scm-arch.c: New file.
7615 * gdb.guile/scm-arch.exp: New file.
7616 * gdb.guile/scm-block.c: New file.
7617 * gdb.guile/scm-block.exp: New file.
7618 * gdb.guile/scm-breakpoint.c: New file.
7619 * gdb.guile/scm-breakpoint.exp: New file.
7620 * gdb.guile/scm-disasm.c: New file.
7621 * gdb.guile/scm-disasm.exp: New file.
7622 * gdb.guile/scm-equal.c: New file.
7623 * gdb.guile/scm-equal.exp: New file.
7624 * gdb.guile/scm-error.exp: New file.
7625 * gdb.guile/scm-error.scm: New file.
7626 * gdb.guile/scm-frame-args.c: New file.
7627 * gdb.guile/scm-frame-args.exp: New file.
7628 * gdb.guile/scm-frame-args.scm: New file.
7629 * gdb.guile/scm-frame-inline.c: New file.
7630 * gdb.guile/scm-frame-inline.exp: New file.
7631 * gdb.guile/scm-frame.c: New file.
7632 * gdb.guile/scm-frame.exp: New file.
7633 * gdb.guile/scm-generics.exp: New file.
7634 * gdb.guile/scm-gsmob.exp: New file.
7635 * gdb.guile/scm-iterator.c: New file.
7636 * gdb.guile/scm-iterator.exp: New file.
7637 * gdb.guile/scm-math.c: New file.
7638 * gdb.guile/scm-math.exp: New file.
7639 * gdb.guile/scm-objfile-script-gdb.in: New file.
7640 * gdb.guile/scm-objfile-script.c: New file.
7641 * gdb.guile/scm-objfile-script.exp: New file.
7642 * gdb.guile/scm-objfile.c: New file.
7643 * gdb.guile/scm-objfile.exp: New file.
7644 * gdb.guile/scm-ports.exp: New file.
7645 * gdb.guile/scm-pretty-print.c: New file.
7646 * gdb.guile/scm-pretty-print.exp: New file.
7647 * gdb.guile/scm-pretty-print.scm: New file.
7648 * gdb.guile/scm-section-script.c: New file.
7649 * gdb.guile/scm-section-script.exp: New file.
7650 * gdb.guile/scm-section-script.scm: New file.
7651 * gdb.guile/scm-symbol.c: New file.
7652 * gdb.guile/scm-symbol.exp: New file.
7653 * gdb.guile/scm-symtab-2.c: New file.
7654 * gdb.guile/scm-symtab.c: New file.
7655 * gdb.guile/scm-symtab.exp: New file.
7656 * gdb.guile/scm-type.c: New file.
7657 * gdb.guile/scm-type.exp: New file.
7658 * gdb.guile/scm-value-cc.cc: New file.
7659 * gdb.guile/scm-value-cc.exp: New file.
7660 * gdb.guile/scm-value.c: New file.
7661 * gdb.guile/scm-value.exp: New file.
7662 * gdb.guile/source2.scm: New file.
7663 * gdb.guile/types-module.cc: New file.
7664 * gdb.guile/types-module.exp: New file.
7665
7026a7c1
YQ
76662014-02-10 Yao Qi <yao@codesourcery.com>
7667
7668 PR testsuite/16543
7669 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7670 * configure: Regenerated.
7671 * Makefile.in: New file.
7672
6c466447
AS
76732014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 * gdb.python/py-framefilter.exp: Fix typo.
7676
6e854735
YQ
76772014-02-08 Yao Qi <yao@codesourcery.com>
7678
7679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7680 that no =breakpoint-modified is emitted when breakpoints are
7681 modified through MI commands.
7682
d137e6dc
PA
76832014-02-07 Pedro Alves <pedro@codesourcery.com>
7684 Pedro Alves <palves@redhat.com>
7685
7686 * gdb.threads/step-after-sr-lock.c: New file.
7687 * gdb.threads/step-after-sr-lock.exp: New file.
7688
b5ee5a50
PA
76892014-02-07 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7692
3c77faf3
JK
76932014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7694
7695 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7696 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7697
6dddc817
DE
76982014-02-06 Doug Evans <xdje42@gmail.com>
7699
7700 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7701 output.
7702
7703 * gdb.gdb/python-interrupts.exp: New file.
7704
de7b2893
YQ
77052014-02-05 Yao Qi <yao@codesourcery.com>
7706
7707 * gdb.trace/report.exp (use_collected_data): Test the output
7708 of "info threads" and "info inferiors".
7709
66d032ac
YQ
77102014-02-05 Yao Qi <yao@codesourcery.com>
7711
7712 Revert this patch:
7713
7714 2013-05-24 Yao Qi <yao@codesourcery.com>
7715
7716 * gdb.trace/tfile.exp: Test inferior and thread.
7717
591a12a1
UW
77182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7719
7720 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7721 on a function.
7722 * gdb.base/step-bt.c: Call hello via function pointer to make
7723 sure its first instruction is executed on powerpc64le-linux.
7724
0ff3e01f
UW
77252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7726
7727 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7728
084ee545
UW
77292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7730
7731 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7732 of the test patterns for use on little-endian systems.
7733
6ed14ff3
UW
77342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7735
7736 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7737 (decimal_vector): Fix for little-endian.
7738
401e27fd
JM
77392014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7740
7741 * gdb.arch/sparc-sysstep.exp: New file.
7742 * gdb.arch/sparc-sysstep.c: Likewise.
7743
7744 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7745
8b924729
EBM
77462014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7747
7748 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7749
fb151210
JB
77502014-01-23 Tom Tromey <tromey@redhat.com>
7751
7752 * gdb.ada/array_char_idx: New testcase.
7753
0740f8d8
TT
77542014-01-23 Tom Tromey <tromey@redhat.com>
7755
7756 PR python/16487:
7757 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7758 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7759 classes.
7760
21909fa1
TT
77612014-01-23 Tom Tromey <tromey@redhat.com>
7762
7763 PR python/16491:
7764 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7765 string from an inferior frame.
7766 * gdb.python/py-framefilter-mi.exp: Update.
7767
87ce2a04
DE
77682014-01-22 Doug Evans <dje@google.com>
7769
7770 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7771
237b092b
AA
77722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7773
7774 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7775
d674a709
AA
77762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7777
7778 * gdb.trace/entry-values.exp: Remove excess space character from
7779 regex patterns. Handle s390 call instruction.
7780
20fa3390
AA
77812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7782
7783 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7784 define "*_start" label. Make "name" static.
7785 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7786 ${name} by references to ${name}_start.
7787
78466714
AA
77882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7789
7790 * gdb.base/info-macros.exp: Remove "debug" from the compile
7791 options.
7792
ec9f644a
IB
77932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7794
7795 * gdb.dlang/demangle.exp: New file.
7796
94b1b47e
IB
77972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7798
7799 * gdb.dlang/primitive-types.exp: New file.
7800
7f420862
IB
78012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7802
7803 * configure.ac: Create gdb.dlang/Makefile.
7804 * configure: Regenerate.
7805 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7806 * gdb.dlang/Makefile.in: New file.
7807 * lib/d-support.exp: New file.
7808 * lib/gdb.exp (skip_d_tests): New proc.
7809
52834460
MM
78102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7811
7812 * gdb.btrace/delta.exp: Check reverse stepi.
7813 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7814 * gdb.btrace/finish.exp: New.
7815 * gdb.btrace/next.exp: New.
7816 * gdb.btrace/nexti.exp: New.
7817 * gdb.btrace/record_goto.c: Add comments.
7818 * gdb.btrace/step.exp: New.
7819 * gdb.btrace/stepi.exp: New.
7820 * gdb.btrace/multi-thread-step.c: New.
7821 * gdb.btrace/multi-thread-step.exp: New.
7822 * gdb.btrace/rn-dl-bind.c: New.
7823 * gdb.btrace/rn-dl-bind.exp: New.
7824 * gdb.btrace/data.c: New.
7825 * gdb.btrace/data.exp: New.
7826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7827
6e07b1d2
MM
78282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7829
7830 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7831 * gdb.btrace/exception.exp: Update.
7832 * gdb.btrace/instruction_history.exp: Update.
7833 * gdb.btrace/record_goto.exp: Update.
7834 * gdb.btrace/tailcall.exp: Update.
7835 * gdb.btrace/unknown_functions.exp: Update.
7836 * gdb.btrace/delta.exp: New.
7837
0b722aec
MM
78382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7839
7840 * gdb.btrace/record_goto.exp: Add backtrace test.
7841 * gdb.btrace/tailcall.exp: Add backtrace test.
7842
066ce621
MM
78432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7844
7845 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7846 * gdb.btrace/record_goto.c: New.
7847 * gdb.btrace/record_goto.exp: New.
7848 * gdb.btrace/x86-record_goto.S: New.
7849
0688d04e
MM
78502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7851
7852 * gdb.btrace/function_call_history.exp: Update tests.
7853 * gdb.btrace/instruction_history.exp: Update tests.
7854
8710b709
MM
78552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7856
7857 * gdb.btrace/function_call_history.exp: Fix expected field
7858 order for "record function-call-history".
7859 Add new tests for "record function-call-history /c".
7860 * gdb.btrace/exception.cc: New.
7861 * gdb.btrace/exception.exp: New.
7862 * gdb.btrace/tailcall.exp: New.
7863 * gdb.btrace/x86-tailcall.S: New.
7864 * gdb.btrace/x86-tailcall.c: New.
7865 * gdb.btrace/unknown_functions.c: New.
7866 * gdb.btrace/unknown_functions.exp: New.
7867 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7868
5de9129b
MM
78692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7870
7871 * gdb.btrace/instruction_history.exp: Update.
7872 * gdb.btrace/function_call_history.exp: Update.
7873
23a7fe75
MM
78742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7875
7876 * gdb.btrace/function_call_history.exp: Fix expected function
7877 trace.
7878 * gdb.btrace/instruction_history.exp: Initialize traced.
7879 Remove traced_functions.
7880
724c7dd8
MM
78812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7882
7883 * gdb.btrace/function_call_history.exp: Update
7884 * gdb.btrace/instruction_history.exp: Update.
7885
6d78d93b
MM
78862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7887
7888 * gdb.btrace/enable.exp: Update expected text.
7889
93a360cc
OJ
78902014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7891
7892 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7893 bytes.
7894
3772b53f
MR
78952014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7896
7897 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7898
596662fa
OJ
78992014-01-15 Omair Javaid <omair.javaid@linaro.org>
7900
7901 * lib/gdb.exp (supports_process_record): Return true for
7902 arm*-linux*. (supports_reverse): Likewise.
7903
b5b08fb4
SC
79042014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7905
7906 PR python/15464
7907 PR python/16113
7908 * gdb.python/py-type.c: Enhance test case.
7909 * gdb.python/py-value-cc.cc: Likewise
7910 * gdb.python/py-type.exp: Add new tests.
7911 * gdb.python/py-value-cc.exp: Likewise
7912
52d7fb13
AA
79132014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7914 Pedro Alves <palves@redhat.com>
7915
7916 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7917 Make "name" extern.
7918 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7919 references to ${name}_start by references to ${name}.
7920
a2cd8cfe
JB
79212014-01-10 Joel Brobecker <brobecker@adacore.com>
7922
7923 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7924
4e23fced
JB
79252014-01-10 Joel Brobecker <brobecker@adacore.com>
7926
7927 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7928
c6a9e42c
PA
79292014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7930 Pedro Alves <palves@redhat.com>
7931
7932 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7933 mi_gdb_target_load.
c6a9e42c 7934
b7ea362b
PA
79352014-01-08 Pedro Alves <palves@redhat.com>
7936
7937 * gdb.threads/reconnect-signal.c: New file.
7938 * gdb.threads/reconnect-signal.exp: New file.
7939
5e3f4fab
EBM
79402014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7941
7942 * gdb.base/source-dir.exp: New file.
7943
79301218
JB
79442014-01-07 Joel Brobecker <brobecker@adacore.com>
7945
7946 * gdb.ada/mi_interface: New testcase.
7947
8e355c5d
JB
79482014-01-07 Joel Brobecker <brobecker@adacore.com>
7949
7950 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7951 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7952 gdb.ada/pp-rec-component/pck.ads: New files.
7953
c0d48811
JB
79542014-01-07 Joel Brobecker <brobecker@adacore.com>
7955
7956 * gdb.python/py-pp-integral.c: New file.
7957 * gdb.python/py-pp-integral.py: New file.
7958 * gdb.python/py-pp-integral.exp: New file.
7959
17b609c3 7960For older changes see ChangeLog-1993-2013.
c906108c 7961\f
8d8cb839
EZ
7962;; Local Variables:
7963;; mode: change-log
7964;; left-margin: 8
7965;; fill-column: 74
7966;; version-control: never
7967;; End:
902f2ccb 7968
618f726f 7969 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7970 Copying and distribution of this file, with or without modification,
7971 are permitted provided the copyright notice and this notice are preserved.